Skip to content

H7SimTurnInstantCommand

Class in MMH7Game · MMH7Game.H7SimTurnInstantCommand

Object › H7SimTurnBaseCommand › H7SimTurnInstantCommand

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

Properties

NameTypeNotes
mCommandH7InstantCommandBase
mDataMPInstantCommand

Functions

NameDeclaration
CanBeExecutedfunction bool CanBeExecuted()
CancelCommandIfIlegalfunction bool CancelCommandIfIlegal()
ExecuteCommandfunction ExecuteCommand()
GetDebugInfofunction string GetDebugInfo()
GetSourceIdfunction int GetSourceId()
GetTargetIdfunction int GetTargetId()
IsDoNormalCombatfunction bool IsDoNormalCombat()
IsRetreatfunction bool IsRetreat(int targetID)
SetCommandfunction SetCommand(MPInstantCommand NewCommand)
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