Skip to content

H7CommandQueue

Class in MMH7Game · MMH7Game.H7CommandQueue · native

Object › H7CommandQueue

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

Properties

NameTypeNotes
mCommandQueuearray<H7Command>protected
mCurrentCommandH7Command[9]protected
mDelayTimefloatprotected
mDelayTimerfloatprotected
mLastCommandExecutedH7StructsAndEnumsNative.ECommandTagprotected
mLastCommandResultH7CombatResultprotected
mReplaceFakeAttackerboolprotected
mWaitingForAnimEndboolprotected

Functions

NameDeclaration
CanEnqueuesimulated function bool CanEnqueue()
Clearfunction Clear()
Dequeueprotected function bool Dequeue(int PlayerIndex)
Enqueuesimulated function Enqueue(H7Command Cmd)
GetCmdsForCasterevent array<H7Command> GetCmdsForCaster(H7ICaster caster)
GetCurrentCommandfunction H7Command GetCurrentCommand()
GetFrontQueueprotected function H7Command GetFrontQueue(int PlayerIndex)
GetQueueLengthfunction int GetQueueLength()
HasCommandInQueueForfunction bool HasCommandInQueueFor(H7ICaster Source)
InterruptCasterfunction InterruptCaster(H7ICaster caster)
IsCommandRunningfunction bool IsCommandRunning()
IsCommandRunningForAnyPlayerfunction bool IsCommandRunningForAnyPlayer()
IsCommandRunningForCasterfunction bool IsCommandRunningForCaster(H7ICaster caster)
IsEmptyevent bool IsEmpty()
IsReadyToEndTurnfunction bool IsReadyToEndTurn()
PopFrontQueuefunction H7Command PopFrontQueue(int PlayerIndex)
Removeprotected function Remove(int Index)
RemoveCmdsForCasterfunction RemoveCmdsForCaster(H7ICaster caster)
RemoveCmdsForTargetfunction RemoveCmdsForTarget(H7IEffectTargetable Target)
SetLastCommandExecutedfunction SetLastCommandExecuted(H7StructsAndEnumsNative.ECommandTag LastCommandExecuted)
StartNextCommandprotected function StartNextCommand(int PlayerIndex)
StartUnitCommandprotected function StartUnitCommand(int PlayerIndex)
UpdateCommandfunction bool UpdateCommand()
UpdateCommandByPlayerIndexprotected function bool UpdateCommandByPlayerIndex(int PlayerIndex)

Inherited

FromMembers
Object13 properties, 308 functions