Skip to content

H7Hud

Class in MMH7Game · MMH7Game.H7Hud · transient, config

Object › Actor › HUD › H7Hud

Subclasses: H7CombatHud, H7MainMenuHud

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

Constants

NameValue
ATTACK_CURSOR_OFFSET_X-16
ATTACK_CURSOR_OFFSET_Y-32
TACTICS_CURSOR_OFFSET_X-16
TACTICS_CURSOR_OFFSET_Y-16

Structs

H7FrameTimer

FieldType
framesToWaitint
Defaults
framesToWait=0
callbackFunction=None

H7SecondsTimer

FieldType
secondsToWaitfloat
Defaults
secondsToWait=0.0000000
callbackFunction=None

H7StartupEntry

FieldType
MovieNamestring
Durationint
Defaults
MovieName=""
Duration=0

H7TutorialClickListener

FieldType
NodeH7SeqAct_HighlightGUIElement
containerNamestring
ElementNamestring
Defaults
Node=none
containerName=""
ElementName=""

Properties

NameTypeNotes
HideH7HUDboolglobalconfig
mBackgroundImageCntlH7BackgroundImageCntlprotected
mCheatWindowCntlH7CheatWindowCntlprotected
mCombatPopUpCntlH7CombatPopUpCntlprotected
mCurrentContextH7FlashMoviePopupCntlprotected
mCurrentLoadingMovieH7FlashMovieCntlprotected
mCurrentLoadingMovieStartTimeintprotected
mCursorRotationRotatorprotected
mCursorTextureTexture2Dprotected
mDelayInitboolprotected
mDialogCntlH7DialogCntlprotected
mFCTControllerH7FCTControllerprotected
mFinishHudAtFrameintprotected
mFirstTimeHardwareCursorboolprotected
mFocusMovieH7FlashMovieCntlprotected
mFramesDoneintprotected
mFrameTimersarray<H7FrameTimer>protected
mGUIOverlaySystemCntlH7GUIOverlaySystemCntlprotected
mHeropediaCntlH7HeropediaCntlprotected
mHudModeH7StructsAndEnums.EHUDModeprotected
mIsLoadedboolprotected
mLastPostRenderStartTimeintprotected
mLeftClickThisFrameboolprotected
mLeftMouseDownboolprotected
mLeftMouseDownSinceintprotected
mListeningManagerH7ListeningManagerprotected
mLoadingScreenCntlH7LoadingScreenCntlprotected
mLoadSaveWindowCntlH7LoadSaveWindowCntlprotected
mLogSystemCntlH7LogSystemCntlprotected
mMouseCntlH7MouseCntlprotected
mMoviesarray<H7FlashMovieCntl>protected
mMoviesToDeletearray<H7FlashMovieCntl>protected
mObjectRotationRotatorprotected
mObjectTextureTexture2Dprotected
mOldResVector2Dprotected
mOptionsMenuCntlH7OptionsMenuCntlprotected
mOverlaySystemCntlH7OverlaySystemCntlprotected
mOverwriteHardwareCursorboolprotected
mPauseMenuCntlH7PauseMenuCntlprotected
mPopupWasRequesterboolprivate
mPreventAllPendingHighlightsboolprotected
mPropertiesH7GUIGeneralPropertiesprotected
mRequestPopupCntlH7RequestPopupCntlprotected
mRightClickThisFrameboolprotected
mRightMouseDownboolprotected
mRightMouseDownSinceintprotected
mSecondsTimersarray<H7SecondsTimer>protected
mSpellbookCntlH7SpellbookCntlprotected
mStartupLogarray<H7StartupEntry>protected
mTickFunctionalityboolprotected
mTickFunctionalityInitedboolprotected
mTutorialClickListenersarray<H7TutorialClickListener>protected
mUnrealHeightintprotected
mUnrealWidthintprotected
mWorldWorldInfoprotected

Functions

NameDeclaration
BlockAllFlashMoviesfunction BlockAllFlashMovies()
BlockFlashBelowfunction BlockFlashBelow(H7FlashMovieCntl popupMovie, optional bool withBlockLayer = true)
BlockUnrealfunction BlockUnreal()
CanOpenPopupfunction bool CanOpenPopup(H7FlashMoviePopupCntl PopUp)
CheckForResolutionChangefunction CheckForResolutionChange()
ChildCompletedfunction ChildCompleted()
ClearSelfMadeTimerfunction ClearSelfMadeTimer()
CloseAllWindowsfunction CloseAllWindows()
CloseCurrentPopupfunction bool CloseCurrentPopup(optional bool wasCanceled = false, optional bool forceClose = true)
CompleteHUDfunction CompleteHUD()
DeleteAllHighlightsfunction DeleteAllHighlights()
Destroyedsingular event Destroyed()
DisplayKismetMessagesfunction DisplayKismetMessages()
DrawFrameNumberfunction DrawFrameNumber(int frame, Canvas myCanvas)
EnableTickFunctionalityfunction EnableTickFunctionality()
EnsureInitfunction EnsureInit(H7FlashMovieCntl Movie)
GetBackgroundImageCntlfunction H7BackgroundImageCntl GetBackgroundImageCntl()
GetCheatWindowCntlfunction H7CheatWindowCntl GetCheatWindowCntl()
GetCombatPopUpCntlfunction H7CombatPopUpCntl GetCombatPopUpCntl()
GetCurrentContextfunction H7FlashMoviePopupCntl GetCurrentContext()
GetCursorTexturefunction Texture2D GetCursorTexture()
GetDialogCntlfunction H7DialogCntl GetDialogCntl()
GetFocusMoviefunction H7FlashMovieCntl GetFocusMovie()
GetFramesDonesfunction int GetFramesDones()
GetGUIOverlaySystemCntlfunction H7GUIOverlaySystemCntl GetGUIOverlaySystemCntl()
GetHeropediafunction H7HeropediaCntl GetHeropedia()
GetHUDModefunction H7StructsAndEnums.EHUDMode GetHUDMode()
GetLeftMouseDownfunction bool GetLeftMouseDown()
GetLeftMouseDownSincefunction int GetLeftMouseDownSince()
GetListeningManagerfunction H7ListeningManager GetListeningManager()
GetLoadingScreenfunction H7LoadingScreenCntl GetLoadingScreen()
GetLoadSaveWindowCntlfunction H7LoadSaveWindowCntl GetLoadSaveWindowCntl()
GetLogCntlfunction H7LogSystemCntl GetLogCntl()
GetMouseCntlfunction H7MouseCntl GetMouseCntl()
GetMoviesfunction array<H7FlashMovieCntl> GetMovies()
GetOptionsMenuCntlfunction H7OptionsMenuCntl GetOptionsMenuCntl()
GetOverlaySystemCntlfunction H7OverlaySystemCntl GetOverlaySystemCntl()
GetPauseMenuCntlfunction H7PauseMenuCntl GetPauseMenuCntl()
GetPlayTimefunction int GetPlayTime()
GetPopupCntlfunction H7RequestPopupCntl GetPopupCntl()
GetPropertiesfunction H7GUIGeneralProperties GetProperties()
GetRealTimeSecondsfunction float GetRealTimeSeconds()
GetRequestPopupCntlfunction H7RequestPopupCntl GetRequestPopupCntl()
GetRightMouseDownfunction bool GetRightMouseDown()
GetRightMouseDownSincefunction int GetRightMouseDownSince()
GetSchoolIconsfunction H7MagicSchoolIcons GetSchoolIcons()
GetSpellbookCntlfunction H7SpellbookCntl GetSpellbookCntl()
GetStatIconsfunction H7StatIcons GetStatIcons()
GetStatIconsInTextfunction H7StatIcons GetStatIconsInText()
GetTickEnabledfunction bool GetTickEnabled()
GetTimeMSfunction int GetTimeMS()
GetTimeStampfunction int GetTimeStamp()
GetUnrealSizefunction Vector2D GetUnrealSize()
HideHUDexec function HideHUD()
HighlightGUIElementfunction HighlightGUIElement(string container, string Element, optional string Text, optional H7SeqAct_HighlightGUIElement Node)
Initsimulated function Init()
InitHUDfunction InitHUD()
IsAllowFocusfunction bool IsAllowFocus()
IsFocusOnInputfunction bool IsFocusOnInput()
IsLeftClickThisFramefunction bool IsLeftClickThisFrame()
IsLeftMouseDownfunction bool IsLeftMouseDown()
isLoadedfunction bool isLoaded()
IsMouseInGamefunction bool IsMouseInGame()
IsOverwritingHardwareCursorfunction bool IsOverwritingHardwareCursor()
IsPreventingAllPendingHighlightsfunction bool IsPreventingAllPendingHighlights()
IsRemoveWhenClickedfunction bool IsRemoveWhenClicked(string containerName, string ElementName)
IsRightClickThisFramefunction bool IsRightClickThisFrame()
IsRightMouseDownfunction bool IsRightMouseDown()
LogEndfunction LogEnd(H7FlashMovieCntl Movie)
LogStartfunction LogStart(H7FlashMovieCntl Movie)
LoseFocusOnInputfunction LoseFocusOnInput()
OnFrameReacheddelegate OnFrameReached()
OnHudCompleteddelegate OnHudCompleted()
PopupWasClosedfunction PopupWasClosed(optional bool setCurrentToNone = true)
PopupWasOpenedfunction PopupWasOpened(H7FlashMoviePopupCntl popupMovie)
PostInitfunction PostInit()
PostRenderevent PostRender()
PreInitsimulated function PreInit()
PreventAllPendingHighlightsfunction PreventAllPendingHighlights()
RenderCanvasCursorfunction RenderCanvasCursor()
ResetPreventAllPendingHighlightsfunction ResetPreventAllPendingHighlights()
ResolutionChangedfunction ResolutionChanged(Vector2D newRes)
RestartMoviefunction RestartMovie(H7FlashMovieCntl Movie)
RotateCursorfunction RotateCursor()
SetAdditionalElementsfunction SetAdditionalElements(bool val)
SetAdventureHudVisiblefunction SetAdventureHudVisible(bool Visible)
SetCurrentContextfunction SetCurrentContext(H7FlashMoviePopupCntl PopUp)
SetFocusMoviefunction SetFocusMovie(H7FlashMovieCntl Movie)
SetFrameTimerfunction SetFrameTimer(int framesToWait)
SetHUDModefunction SetHUDMode(H7StructsAndEnums.EHUDMode Mode, optional H7StructsAndEnums.EHUDMode onlyFromMode)
SetLeftClickThisFramefunction SetLeftClickThisFrame(bool val)
SetLeftMouseDownfunction SetLeftMouseDown(bool val)
SetRightClickThisFramefunction SetRightClickThisFrame(bool val)
SetRightMouseDownfunction SetRightMouseDown(bool val)
SetSelfMadeTimerfunction SetSelfMadeTimer(float secondsToWait)
SetSoftwareCursorfunction SetSoftwareCursor(Texture2D cursorTexture, Rotator cursorRotation, optional float cursorOffsetX, optional float cursorOffsetY, optional Texture2D objectTexture, optional Rotator objectRotation, optional int objectOffsetX, optional int objectOffsetY, optional int obsizeX, optional int obsizeY)
ShowHUDexec function ShowHUD()
ShowStartupLogfunction ShowStartupLog()
StopUnnecessaryPopupsfunction StopUnnecessaryPopups()
Testfunction Test()
TickFrameTimersfunction TickFrameTimers()
TickSecondsTimersfunction TickSecondsTimers()
ToggleHUDexec function ToggleHUD()
TriggerKismetNodeClosePopupfunction TriggerKismetNodeClosePopup(string popupName)
TriggerKismetNodeOpenPopupfunction TriggerKismetNodeOpenPopup(string popupName)
TriggerKismetNodePathSetfunction TriggerKismetNodePathSet()
TriggerNoteElementClickfunction TriggerNoteElementClick(string containerName, string ElementName)
UnblockAllFlashMoviesfunction UnblockAllFlashMovies()
UnblockHeropediafunction UnblockHeropedia()
UnblockUnrealfunction UnblockUnreal()
UnLoadCursorObjectfunction int UnLoadCursorObject()
UpdateBorderBlackfunction UpdateBorderBlack()

Default values

mProperties=H7GUIGeneralProperties'H7GUIProperties.GeneralProperties'
mCursorTexture=Texture2D'H7Cursors.Pointer'

Inherited

FromMembers
HUD37 properties, 37 functions
Actor156 properties, 262 functions
Object13 properties, 308 functions