Skip to content

H7InstantCommandUpgradeUnit

Class in MMH7Game · MMH7Game.H7InstantCommandUpgradeUnit

Object › H7InstantCommandBase › H7InstantCommandUpgradeUnit

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

Properties

NameTypeNotes
mCountintprivate
mIsVisitingArmyboolprivate
mSiteH7VisitableSiteprivate
mSlotIDintprivate

Functions

NameDeclaration
CreateMPCommandfunction MPInstantCommand CreateMPCommand()
Executefunction Execute()
GetPlayerfunction H7Player GetPlayer()
Initfunction Init(H7VisitableSite Site, int slotID, bool isVisitingArmy, int Count)
InitFromMPDatafunction InitFromMPData(MPInstantCommand Command)

Inherited

FromMembers
H7InstantCommandBaseFunctions: CreateMPCommand, Execute, GetPlayer, InitFromMPData, WaitForInterceptingCommands
Object13 properties, 308 functions