Skip to content

H7AdventureMapInfo

Class in MMH7Game · MMH7Game.H7AdventureMapInfo · config

Object › Actor › Info › GameInfo › H7GameInfo › H7AdventureMapInfo

Subclasses: H73PGameInfo

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

Properties

NameTypeNotes
mCurrentLoadTimefloatprotected
mCurrentStartMatchWaitTimefloatprotected
mIsSimTurnsboolprotected
PendingPlayerPawnPawn
PendingSaveGameFileNamestringprotected

Functions

NameDeclaration
ArePlayersNeededfunction bool ArePlayersNeeded()
AtCapacityfunction bool AtCapacity(bool bSpectator, optional string PlayerName)
GenericPlayerInitializationfunction GenericPlayerInitialization(Controller Controller)
GetInstancestatic function H7AdventureMapInfo GetInstance()
InitGameevent InitGame(string Options, out string ErrorMessage)
isSimTurnsfunction bool isSimTurns()

States

State code replaces the class's functions while the object is in that state. Hook a state's version as MMH7Game.H7AdventureMapInfo.<State>.<Function>.

StateFunctions
MatchInProgressAllPlayersFinishedLoading
PendingMatchBeginState, InitStartMatch, PreInitStartMatch, StartMatch

Default values

bDelayedStart=true
bWaitingToStartMatch=true
HUDType=Class'H7AdventureHud'
PlayerControllerClass=Class'H7AdventurePlayerController'
PlayerReplicationInfoClass=Class'H7PlayerReplicationInfo'
GameReplicationInfoClass=Class'H7ReplicationInfo'

Inherited

FromMembers
H7GameInfoProperties: m_OverrideController, m_OverrideGameSpeed
Functions: ArePlayersNeeded, ArePlayersReady, AtCapacity, DidAllPlayersLoad, GenericPlayerInitialization, GetCombatController, GetGameSpeed, GetH7GameInfoInstance, HostGame, InitGame, Logout, RegisterServer, RestartPlayer, SpawnDefaultPawnFor
GameInfo101 properties, 164 functions
Info0 properties, 0 functions
Actor156 properties, 262 functions
Object13 properties, 308 functions