H7CombatHud¶
Class in MMH7Game · MMH7Game.H7CombatHud · transient, config
Object › Actor › HUD › H7Hud › H7CombatHud
Subclasses: H7AdventureHud
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mCombatHudCntl | H7CombatHudCntl | protected |
mCombatMapFCTController | H7FCTController | protected |
mCombatMapStatusBarController | H7CombatMapStatusBarController | protected |
mCreatureStackPlateController | H7CreatureStackPlateController | protected |
mDelayedarmy | H7CombatArmy | protected |
mDelayedfled | bool | protected |
mDelayedpaidGold | int | protected |
mDelayedsurrendered | bool | protected |
mDelayedXPLoser | int | protected |
mDelayedXPWinner | int | protected |
mIsInitialised | bool | protected |
mIsPlayerVictory | bool | protected |
mSpectatorHUDCntl | H7SpectatorHUDCntl | protected |
mTestMovie | H7CombatMapTestCntl | protected |
mUnitInfoWindowCntl | H7CombatUnitInfoCntl | protected |
Functions¶
| Name | Declaration |
|---|---|
ChildCompleted | function ChildCompleted() |
GetCombatHud | static function H7CombatHud GetCombatHud() |
GetCombatHudCntl | function H7CombatHudCntl GetCombatHudCntl() |
GetInstance | static function H7CombatHud GetInstance() |
GetMouseCntl | function H7MouseCntl GetMouseCntl() |
GetSpectatorHUDCntl | function H7SpectatorHUDCntl GetSpectatorHUDCntl() |
GetUnitInfoCntl | function H7CombatUnitInfoCntl GetUnitInfoCntl() |
Hide | function Hide() |
Init | simulated function Init() |
InitCombatHud | simulated function InitCombatHud(optional bool fromAdventure = false) |
PostRender | event PostRender() |
PrepareFleeOrSurrenderScreen | function PrepareFleeOrSurrenderScreen(H7CombatArmy Army, bool isFlee, int XPWinner, int XPLoser, optional int paidGold) |
PrepareVictoryOrDefeatScreen | function PrepareVictoryOrDefeatScreen(H7CombatArmy Army, bool isVictory, int XPWinner, int XPLoser, optional bool isVictoryFlee = false, optional int victorySurrenderGold = -1) |
ResolutionChanged | function ResolutionChanged(Vector2D newRes) |
SetCombatHudVisible | function SetCombatHudVisible(bool Visible, optional bool leaveLogAlone = false) |
ShowPreparedScreen | function ShowPreparedScreen() |