H7Garrison¶
Class in MMH7Game · MMH7Game.H7Garrison · native, perobjectconfig
Object › Actor › SkeletalMeshActor › SkeletalMeshCinematicActor › SkeletalMeshActorMAT › H7EditorMapObject › H7AdventureObject › H7VisitableSite › H7AreaOfControlSite › H7Garrison
Implements: H7ITooltipable, H7IStackContainer, H7IDestructible
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mCombatMapName | string | protected |
mCurrentDestructionSteps | int | no declaration: type is approximate |
mDestructionSteps | int | no declaration: type is approximate |
mFactionBannerIcon | DynLoadObject | no declaration: type is approximate |
mGarrisonArmy | H7AdventureArmy | protected |
mIsDestroying | bool | no declaration: type is approximate |
mManipulators | array | no declaration: type is approximate |
mSiegeDecorationList | array | no declaration: type is approximate |
mSiegeObstacleGate | DynLoadObject | no declaration: type is approximate |
mSiegeObstacleMoat | DynLoadObject | no declaration: type is approximate |
mSiegeObstacleTower | DynLoadObject | no declaration: type is approximate |
mSiegeObstacleWall | DynLoadObject | no declaration: type is approximate |
Functions¶
| Name | Declaration |
|---|---|
Conquer | function Conquer(H7AdventureHero conqueror) |
CreateEmptyGarrison | function CreateEmptyGarrison(optional bool synchronise = false) |
DelCombatMapGateRef | function DelCombatMapGateRef() |
DelCombatMapMoatRef | function DelCombatMapMoatRef() |
DelCombatMapTowerRef | function DelCombatMapTowerRef() |
DelCombatMapWallRef | function DelCombatMapWallRef() |
DelFactionBannerIconRef | function DelFactionBannerIconRef() |
DestroyDestructibleObject | function DestroyDestructibleObject() |
GetCombatMapDecoList | function array<H7EditorSiegeDecoration> GetCombatMapDecoList() |
GetCombatMapGate | function H7CombatMapGate GetCombatMapGate() |
GetCombatMapMoat | function H7CombatMapMoat GetCombatMapMoat() |
GetCombatMapName | function string GetCombatMapName() |
GetCombatMapTower | function H7CombatMapTower GetCombatMapTower() |
GetCombatMapWall | function H7CombatMapWall GetCombatMapWall() |
GetCreatureAmount | function int GetCreatureAmount(H7Creature Creature) |
GetCreatureAmountTotal | function int GetCreatureAmountTotal() |
GetFaction | function H7Faction GetFaction() |
GetFactionBannerIconPath | function string GetFactionBannerIconPath() |
GetGarrisonArmy | event H7AdventureArmy GetGarrisonArmy() |
GetManipulators | function array<H7DestructibleObjectManipulator> GetManipulators() |
GetTooltipData | function H7TooltipData GetTooltipData(optional bool extendedVersion) |
GetUniqueStackTypeCount | static function int GetUniqueStackTypeCount(H7AdventureArmy army1, H7AdventureArmy army2) |
HandleOwnership | protected function HandleOwnership(H7AdventureHero visitingHero) |
InitAdventureObject | event InitAdventureObject() |
IsDestroyed | function bool IsDestroyed() |
IsDestroying | function bool IsDestroying() |
IsRepairing | function bool IsRepairing() |
OnDoubleClick | function OnDoubleClick() |
OnRightClick | function OnRightClick() |
OnVisit | function OnVisit(out H7AdventureHero Hero) |
OpenTownScreenForMe | function OpenTownScreenForMe() |
RepairDestructibleObject | function RepairDestructibleObject() |
SetDestroying | function SetDestroying(bool V) |
SetGarrisonArmy | function SetGarrisonArmy(H7AdventureArmy Army) |
SetRepairing | function SetRepairing(bool V) |
SetSiteOwner | function SetSiteOwner(H7StructsAndEnumsNative.EPlayerNumber NewOwner, optional bool showPopup = true) |
SortStackPoolMerge | function int SortStackPoolMerge(H7BaseCreatureStack A, H7BaseCreatureStack B) |
SpawnGarrisonedArmy | private final function SpawnGarrisonedArmy() |
TransferHero | function TransferHero(H7StructsAndEnums.EArmyNumber fromArmy, H7StructsAndEnums.EArmyNumber toArmy) |
TransferHeroComplete | function bool TransferHeroComplete(H7StructsAndEnums.EArmyNumber fromArmy, H7StructsAndEnums.EArmyNumber toArmy) |