Skip to content

H7SimTurnNormalCommand

Class in MMH7Game · MMH7Game.H7SimTurnNormalCommand

Object › H7SimTurnBaseCommand › H7SimTurnNormalCommand

Using it from Lua
h7.find_all("H7SimTurnNormalCommand")            -- live instances
h7.find_class("MMH7Game.H7SimTurnNormalCommand")   -- the class
h7.hook("MMH7Game.H7SimTurnNormalCommand.CanBeExecuted", fn)

Properties

NameTypeNotes
mCommandMPCommandprotected
mStateH7StructsAndEnums.ESimTurnCommandStateprotected

Functions

NameDeclaration
CanBeExecutedfunction bool CanBeExecuted()
CancelCommandIfIlegalfunction bool CancelCommandIfIlegal()
CancelMoveCommandIfIlegalprotected function bool CancelMoveCommandIfIlegal()
ExecuteCommandfunction ExecuteCommand()
GetDebugInfofunction string GetDebugInfo()
GetSourceIdfunction int GetSourceId()
GetStatefunction H7StructsAndEnums.ESimTurnCommandState GetState()
GetTargetIdfunction int GetTargetId()
IsAttackArmyCommandfunction bool IsAttackArmyCommand()
IsRetreatfunction bool IsRetreat(int targetID)
SetCommandfunction SetCommand(MPCommand NewCommand)
SetStatefunction SetState(H7StructsAndEnums.ESimTurnCommandState State)
UpdateTradeFinishedfunction UpdateTradeFinished(H7AdventureHero Target)

Inherited

FromMembers
H7SimTurnBaseCommandProperties: mSender, mSimTurnCommandManager
Functions: CanBeExecuted, CancelCommandIfIlegal, ExecuteCommand, GetDebugInfo, GetSender, GetSourceId, GetTargetId, HasThePathATeleporter, IsAnyoneMovingAround, IsDoNormalCombat, IsRetreat, SetSender, SetSimTurnCommandManager, UpdateTradeFinished
Object13 properties, 308 functions