Skip to content

H7Deployment

Class in MMH7Game · MMH7Game.H7Deployment

Object › H7Deployment

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

Constants

NameValue
DEFAULT_MAP_HEIGHT10

Properties

NameTypeNotes
mDeploymentDataH7DeploymentDataprotected
mIsCustomizedboolprotected

Functions

NameDeclaration
DebugLogSelffunction DebugLogSelf()
GetDeploymentByOrdinalsfunction array<H7StackDeployment> GetDeploymentByOrdinals()
GetDeploymentDatafunction H7DeploymentData GetDeploymentData()
GetForceAutodeploymentfunction bool GetForceAutodeployment()
GetIdOfCreatureStackfunction int GetIdOfCreatureStack(H7CreatureStack creatureStack)
GetNumberOfDeployedStacksfunction int GetNumberOfDeployedStacks()
GetNumberOfStacksToDeployfunction int GetNumberOfStacksToDeploy()
GetOriginalMapHeightfunction int GetOriginalMapHeight()
GetStackDeploymentfunction H7StackDeployment GetStackDeployment(int slotID)
GetStackDeploymentsfunction array<H7StackDeployment> GetStackDeployments()
IncNumberOfStacksToDeployfunction IncNumberOfStacksToDeploy()
IsCustomizedfunction bool IsCustomized()
IsOffGridUnitDefaultDeployedfunction bool IsOffGridUnitDefaultDeployed(H7IOffGridDeployable Unit)
RecalcStackOrdinalfunction RecalcStackOrdinal()
RememberDeployStateOffGridUnitfunction RememberDeployStateOffGridUnit(H7IOffGridDeployable Unit, bool deployed)
RemoveStackDeplyomentDatafunction RemoveStackDeplyomentData(int slotID)
Resetfunction Reset()
SetDeploymentDatafunction SetDeploymentData(H7DeploymentData Data)
SetForceAutodeploymentfunction SetForceAutodeployment(bool forceAD)
SetIsCustomizedfunction SetIsCustomized(bool B)
SetNumberOfDeployedStacksfunction SetNumberOfDeployedStacks(int Num)
SetNumberOfStacksToDeployfunction SetNumberOfStacksToDeploy(int Num)
SetOriginalMapHeightfunction SetOriginalMapHeight(int Height)
SetStackGridPosfunction SetStackGridPos(int slotID, IntPoint gp)
SetStackInfofunction SetStackInfo(int Idx, int sourceId, H7BaseCreatureStack BaseStack, H7CreatureStack creatureStack)
SetStackSpacingfunction SetStackSpacing(int slotID, int SpacingTop, int SpacingBottom)

Default values

mDeploymentData=(ForceAutodeployment=true,OriginalMapHeight=10,NumberOfDeployedStacks=0,NumberOfStacksToDeploy=0,StackDeployments=none,UnDeployedOffGridUnits=none)

Inherited

FromMembers
Object13 properties, 308 functions