Skip to content

H7InstantCommandJoinArmy

Class in MMH7Game · MMH7Game.H7InstantCommandJoinArmy

Object › H7InstantCommandBase › H7InstantCommandJoinArmy

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

Properties

NameTypeNotes
mArmyJoinerH7AdventureArmyprivate
mArmyToJoinH7AdventureArmyprivate
mCanMergeboolprivate
mJoinboolprivate

Functions

NameDeclaration
CreateMPCommandfunction MPInstantCommand CreateMPCommand()
Executefunction Execute()
GetPlayerfunction H7Player GetPlayer()
Initfunction Init(H7AdventureArmy armyToJoin, H7AdventureArmy armyJoiner, bool join, bool canMerge)
InitFromMPDatafunction InitFromMPData(MPInstantCommand Command)

Inherited

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