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
Functions
| Name | Declaration |
CanEnqueue | simulated function bool CanEnqueue() |
Clear | function Clear() |
Dequeue | protected function bool Dequeue(int PlayerIndex) |
Enqueue | simulated function Enqueue(H7Command Cmd) |
GetCmdsForCaster | event array<H7Command> GetCmdsForCaster(H7ICaster caster) |
GetCurrentCommand | function H7Command GetCurrentCommand() |
GetFrontQueue | protected function H7Command GetFrontQueue(int PlayerIndex) |
GetQueueLength | function int GetQueueLength() |
HasCommandInQueueFor | function bool HasCommandInQueueFor(H7ICaster Source) |
InterruptCaster | function InterruptCaster(H7ICaster caster) |
IsCommandRunning | function bool IsCommandRunning() |
IsCommandRunningForAnyPlayer | function bool IsCommandRunningForAnyPlayer() |
IsCommandRunningForCaster | function bool IsCommandRunningForCaster(H7ICaster caster) |
IsEmpty | event bool IsEmpty() |
IsReadyToEndTurn | function bool IsReadyToEndTurn() |
PopFrontQueue | function H7Command PopFrontQueue(int PlayerIndex) |
Remove | protected function Remove(int Index) |
RemoveCmdsForCaster | function RemoveCmdsForCaster(H7ICaster caster) |
RemoveCmdsForTarget | function RemoveCmdsForTarget(H7IEffectTargetable Target) |
SetLastCommandExecuted | function SetLastCommandExecuted(H7StructsAndEnumsNative.ECommandTag LastCommandExecuted) |
StartNextCommand | protected function StartNextCommand(int PlayerIndex) |
StartUnitCommand | protected function StartUnitCommand(int PlayerIndex) |
UpdateCommand | function bool UpdateCommand() |
UpdateCommandByPlayerIndex | protected function bool UpdateCommandByPlayerIndex(int PlayerIndex) |
Inherited
| From | Members |
| Object | 13 properties, 308 functions |