Skip to content

H7CombatHud

Class in MMH7Game · MMH7Game.H7CombatHud · transient, config

Object › Actor › HUD › H7Hud › H7CombatHud

Subclasses: H7AdventureHud

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

Properties

NameTypeNotes
mCombatHudCntlH7CombatHudCntlprotected
mCombatMapFCTControllerH7FCTControllerprotected
mCombatMapStatusBarControllerH7CombatMapStatusBarControllerprotected
mCreatureStackPlateControllerH7CreatureStackPlateControllerprotected
mDelayedarmyH7CombatArmyprotected
mDelayedfledboolprotected
mDelayedpaidGoldintprotected
mDelayedsurrenderedboolprotected
mDelayedXPLoserintprotected
mDelayedXPWinnerintprotected
mIsInitialisedboolprotected
mIsPlayerVictoryboolprotected
mSpectatorHUDCntlH7SpectatorHUDCntlprotected
mTestMovieH7CombatMapTestCntlprotected
mUnitInfoWindowCntlH7CombatUnitInfoCntlprotected

Functions

NameDeclaration
ChildCompletedfunction ChildCompleted()
GetCombatHudstatic function H7CombatHud GetCombatHud()
GetCombatHudCntlfunction H7CombatHudCntl GetCombatHudCntl()
GetInstancestatic function H7CombatHud GetInstance()
GetMouseCntlfunction H7MouseCntl GetMouseCntl()
GetSpectatorHUDCntlfunction H7SpectatorHUDCntl GetSpectatorHUDCntl()
GetUnitInfoCntlfunction H7CombatUnitInfoCntl GetUnitInfoCntl()
Hidefunction Hide()
Initsimulated function Init()
InitCombatHudsimulated function InitCombatHud(optional bool fromAdventure = false)
PostRenderevent PostRender()
PrepareFleeOrSurrenderScreenfunction PrepareFleeOrSurrenderScreen(H7CombatArmy Army, bool isFlee, int XPWinner, int XPLoser, optional int paidGold)
PrepareVictoryOrDefeatScreenfunction PrepareVictoryOrDefeatScreen(H7CombatArmy Army, bool isVictory, int XPWinner, int XPLoser, optional bool isVictoryFlee = false, optional int victorySurrenderGold = -1)
ResolutionChangedfunction ResolutionChanged(Vector2D newRes)
SetCombatHudVisiblefunction SetCombatHudVisible(bool Visible, optional bool leaveLogAlone = false)
ShowPreparedScreenfunction ShowPreparedScreen()

Inherited

FromMembers
H7HudProperties: HideH7HUD, mBackgroundImageCntl, mCheatWindowCntl, mCombatPopUpCntl, mCurrentContext, mCurrentLoadingMovie, mCurrentLoadingMovieStartTime, mCursorRotation, mCursorTexture, mDelayInit, mDialogCntl, mFCTController, mFinishHudAtFrame, mFirstTimeHardwareCursor, mFocusMovie, mFramesDone, mFrameTimers, mGUIOverlaySystemCntl, mHeropediaCntl, mHudMode, mIsLoaded, mLastPostRenderStartTime, mLeftClickThisFrame, mLeftMouseDown, mLeftMouseDownSince, mListeningManager, mLoadingScreenCntl, mLoadSaveWindowCntl, mLogSystemCntl, mMouseCntl, mMovies, mMoviesToDelete, mObjectRotation, mObjectTexture, mOldRes, mOptionsMenuCntl, mOverlaySystemCntl, mOverwriteHardwareCursor, mPauseMenuCntl, mPopupWasRequester, mPreventAllPendingHighlights, mProperties, mRequestPopupCntl, mRightClickThisFrame, mRightMouseDown, mRightMouseDownSince, mSecondsTimers, mSpellbookCntl, mStartupLog, mTickFunctionality, mTickFunctionalityInited, mTutorialClickListeners, mUnrealHeight, mUnrealWidth, mWorld
Functions: BlockAllFlashMovies, BlockFlashBelow, BlockUnreal, CanOpenPopup, CheckForResolutionChange, ChildCompleted, ClearSelfMadeTimer, CloseAllWindows, CloseCurrentPopup, CompleteHUD, DeleteAllHighlights, Destroyed, DisplayKismetMessages, DrawFrameNumber, EnableTickFunctionality, EnsureInit, GetBackgroundImageCntl, GetCheatWindowCntl, GetCombatPopUpCntl, GetCurrentContext, GetCursorTexture, GetDialogCntl, GetFocusMovie, GetFramesDones, GetGUIOverlaySystemCntl, GetHeropedia, GetHUDMode, GetLeftMouseDown, GetLeftMouseDownSince, GetListeningManager, GetLoadingScreen, GetLoadSaveWindowCntl, GetLogCntl, GetMouseCntl, GetMovies, GetOptionsMenuCntl, GetOverlaySystemCntl, GetPauseMenuCntl, GetPlayTime, GetPopupCntl, GetProperties, GetRealTimeSeconds, GetRequestPopupCntl, GetRightMouseDown, GetRightMouseDownSince, GetSchoolIcons, GetSpellbookCntl, GetStatIcons, GetStatIconsInText, GetTickEnabled, GetTimeMS, GetTimeStamp, GetUnrealSize, HideHUD, HighlightGUIElement, Init, InitHUD, IsAllowFocus, IsFocusOnInput, IsLeftClickThisFrame, IsLeftMouseDown, isLoaded, IsMouseInGame, IsOverwritingHardwareCursor, IsPreventingAllPendingHighlights, IsRemoveWhenClicked, IsRightClickThisFrame, IsRightMouseDown, LogEnd, LogStart, LoseFocusOnInput, OnFrameReached, OnHudCompleted, PopupWasClosed, PopupWasOpened, PostInit, PostRender, PreInit, PreventAllPendingHighlights, RenderCanvasCursor, ResetPreventAllPendingHighlights, ResolutionChanged, RestartMovie, RotateCursor, SetAdditionalElements, SetAdventureHudVisible, SetCurrentContext, SetFocusMovie, SetFrameTimer, SetHUDMode, SetLeftClickThisFrame, SetLeftMouseDown, SetRightClickThisFrame, SetRightMouseDown, SetSelfMadeTimer, SetSoftwareCursor, ShowHUD, ShowStartupLog, StopUnnecessaryPopups, Test, TickFrameTimers, TickSecondsTimers, ToggleHUD, TriggerKismetNodeClosePopup, TriggerKismetNodeOpenPopup, TriggerKismetNodePathSet, TriggerNoteElementClick, UnblockAllFlashMovies, UnblockHeropedia, UnblockUnreal, UnLoadCursorObject, UpdateBorderBlack
HUD37 properties, 37 functions
Actor156 properties, 262 functions
Object13 properties, 308 functions