H7BattleSite¶
Class in MMH7Game · MMH7Game.H7BattleSite · native, perobjectconfig
Object › Actor › SkeletalMeshActor › SkeletalMeshCinematicActor › SkeletalMeshActorMAT › H7EditorMapObject › H7AdventureObject › H7VisitableSite › H7NeutralSite › H7BattleSite
Implements: H7ITooltipable, H7IHideable
Subclasses: H7CrusaderCommandery, H7DragonUtopia
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mArmySetup | array<H7BattleSiteArmySetupData> | protected |
mCombatMapName | string | protected |
mCosts | array<H7ResourceQuantity> | protected |
mCreateAmbush | bool | protected |
mDefenderArmy | H7AdventureArmy | |
mDescription | string | const, localized, protected |
mDisableQuickCombat | bool | protected |
mGlobalItemList | bool | protected |
mGlobalItemNumbers | array | |
mHeroMsgOffset | Vector | |
mIgnoredByAI | bool | protected |
mIsHidden | bool | protected |
mIsVisited | bool | protected |
mItemReward | array<H7HeroItem> | protected |
mItems | array<H7HeroItem> | |
mMultiHero | bool | protected |
mNumberofItemRewards | int | protected |
mRandomItemDefinition | array<H7RewardData> | protected |
mRandomItemRewards | array<H7HeroItem> | |
mResourceReward | array<H7ResourceQuantity> | protected |
mStatModReward | array<H7MeModifiesStat> | protected |
mUseCustomPosition | bool | protected |
mVisitedArmies | array<H7AdventureHero> | protected |
mWarUnitSetup | array<H7EditorWarUnit> | protected |
mWeeklyGrowth | bool | protected |
Functions¶
| Name | Declaration |
|---|---|
CreateDefenderAdventureArmy | function CreateDefenderAdventureArmy() |
GetArmySetup | function array<H7BattleSiteArmySetupData> GetArmySetup() |
GetCombatMapName | function string GetCombatMapName() |
GetCostsSetup | function array<H7ResourceQuantity> GetCostsSetup() |
GetDefenderArmy | function H7AdventureArmy GetDefenderArmy() |
GetDescription | function string GetDescription() |
GetIsIgnoredByAI | function bool GetIsIgnoredByAI() |
GetItemReward | protected function GetItemReward(H7AdventureHero Hero) |
GetItemRewardSetup | function array<H7HeroItem> GetItemRewardSetup() |
GetResourceReward | protected function GetResourceReward(H7AdventureHero Hero) |
GetResourceRewardSetup | function array<H7ResourceQuantity> GetResourceRewardSetup() |
GetReward | function GetReward(H7AdventureHero Hero) |
GetStatModReward | protected function GetStatModReward(H7AdventureHero Hero) |
GetStatModRewardSetup | function array<H7MeModifiesStat> GetStatModRewardSetup() |
GetTooltipData | function H7TooltipData GetTooltipData(optional bool extendedVersion) |
HasVisited | function bool HasVisited(H7AdventureHero Hero) |
Hide | function Hide() |
InitAdventureObject | event InitAdventureObject() |
IsHiddenX | native function bool IsHiddenX() |
IsLootableDefined | function bool IsLootableDefined() |
IsLooted | function bool IsLooted() |
IsMultiHero | function bool IsMultiHero() |
OnAccept | function OnAccept(H7AdventureHero Hero) |
OnAttackerLostBattle | function OnAttackerLostBattle(H7AdventureHero Hero) |
OnCancel | function OnCancel() |
OnLeave | function OnLeave() |
OnVisit | function OnVisit(out H7AdventureHero Hero) |
PayBattleSiteCosts | function PayBattleSiteCosts(H7AdventureHero Hero) |
PostSerialize | event PostSerialize() |
Reveal | function Reveal() |
WasLootedByCurrentHero | function bool WasLootedByCurrentHero() |
WeeklyBattleSideArmyGrowth | function WeeklyBattleSideArmyGrowth() |