Skip to content

H7GameViewportClient

Class in MMH7Game · MMH7Game.H7GameViewportClient · transient, native, config

Object › ScriptViewportClient › GameViewportClient › H7GameViewportClient

Within: Engine

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

Properties

NameTypeNotes
mCombatBackgroundMaterialInterface
mCurrentHintstring
mCursorTypeint
mGameHintsarray
mHintsArchetypeH7LoadingHints
mHintSizeVector
mLoadingScreenFontFont
mLoadingScreenFontCHNFont
mLoadingScreenFontCHTFont
mLoadingScreenFontCZEFont
mLoadingScreenFontDEUFont
mLoadingScreenFontESNFont
mLoadingScreenFontFRAFont
mLoadingScreenFontHUNFont
mLoadingScreenFontINTFont
mLoadingScreenFontITAFont
mLoadingScreenFontKORFont
mLoadingScreenFontPOLFont
mLoadingScreenFontPTBFont
mLoadingScreenFontRUMFont
mLoadingScreenFontRUSFont
mMainBackgroundMaterialInterface
mWheelMatMaterialInterface

Functions

NameDeclaration
DrawTransitionMessagefunction DrawTransitionMessage(Canvas Canvas, string Message)
InitLoadscreenfunction InitLoadscreen(optional MaterialInterface newBackground, optional bool IsCombat)
IsVSyncnative function bool IsVSync()
LoadLanguageFontfunction LoadLanguageFont()
LoadRandomHintfunction string LoadRandomHint()
NotifyConnectionErrorfunction NotifyConnectionError(PlayerController.EProgressMessageType MessageType, optional string Message = Localize("Errors", "ConnectionFailed", "Engine"), optional string Title = Localize("Errors", "ConnectionFailed_Title", "Engine"))
SetCursorfunction SetCursor(byte cursorNum)
SetVSyncnative function SetVSync(bool IsEnabled)

Default values

mLoadingScreenFont=Font'H7Components.MMH7Font_INT'
mLoadingScreenFontINT=Font'H7Components.MMH7Font_INT'
mLoadingScreenFontCHN=Font'H7Components.MMH7Font_CHN'
mLoadingScreenFontCHT=Font'H7Components.MMH7Font_CHT'
mLoadingScreenFontCZE=Font'H7Components.MMH7Font_CZE'
mLoadingScreenFontDEU=Font'H7Components.MMH7Font_DEU'
mLoadingScreenFontESN=Font'H7Components.MMH7Font_ESN'
mLoadingScreenFontFRA=Font'H7Components.MMH7Font_FRA'
mLoadingScreenFontHUN=Font'H7Components.MMH7Font_HUN'
mLoadingScreenFontITA=Font'H7Components.MMH7Font_ITA'
mLoadingScreenFontKOR=Font'H7Components.MMH7Font_KOR'
mLoadingScreenFontPOL=Font'H7Components.MMH7Font_POL'
mLoadingScreenFontPTB=Font'H7Components.MMH7Font_PTB'
mLoadingScreenFontRUM=Font'H7Components.MMH7Font_RUM'
mLoadingScreenFontRUS=Font'H7Components.MMH7Font_RUS'
mMainBackground=Material'H7Backgrounds.Materials.M_LoadingScreen_Neutral'
mCombatBackground=MaterialInstanceConstant'H7Backgrounds.Materials.M_LoadingScreen_Combat'
mWheelMat=MaterialInstanceConstant'H7Misc.LoadScreen.M_LoadWheel_INST'
mHintsArchetype=H7LoadingHints'H7Misc.Hints.A_LoadscreenHints'

Inherited

FromMembers
GameViewportClient31 properties, 60 functions
ScriptViewportClient0 properties, 0 functions
Object13 properties, 308 functions