The GameModeBase defines the game being played. It governs the game rules, scoring, what actors are allowed to exist in this game type, and who may enter the game. It is only instanced on the server and will never exist on the client. A GameModeBase actor is instantiated when the level is initialized for gameplay in C++ UGameEngine::LoadMap(). The class of this GameMode actor is determined by (in order) either the URL ?game=xxx, the GameMode Override value set in the World Settings, or the DefaultGameMode entry set in the game's Project Settings.
Member | Type | Offset | Share |
---|---|---|---|
OptionsString
Save options string and parse it when needed |
FString | 0x220 | |
GameSessionClass
Class of GameSession, which handles login approval and online game interface |
AGameSession* | 0x230 | |
GameStateClass
Class of GameState associated with this GameMode. |
AGameStateBase* | 0x238 | |
PlayerControllerClass
The class of PlayerController to spawn for players logging in. |
APlayerController* | 0x240 | |
PlayerStateClass
A PlayerState of this class will be associated with every player to replicate relevant player information to all clients. |
APlayerState* | 0x248 | |
HUDClass
HUD class this game uses. |
AHUD* | 0x250 | |
DefaultPawnClass
The default pawn class used by players. |
APawn* | 0x258 | |
SpectatorClass
The pawn class used by the PlayerController for players when spectating. |
ASpectatorPawn* | 0x260 | |
ReplaySpectatorPlayerControllerClass
The PlayerController class used when spectating a network replay. |
APlayerController* | 0x268 | |
ServerStatReplicatorClass | AServerStatReplicator* | 0x270 | |
GameSession
Game Session handles login approval, arbitration, online game interface |
AGameSession* | 0x278 | |
GameState
GameState is used to replicate game state relevant properties to all clients. |
AGameStateBase* | 0x280 | |
ServerStatReplicator | AServerStatReplicator* | 0x288 | |
DefaultPlayerName
The default player name assigned to players that join with no name specified. |
FText | 0x290 | |
bUseSeamlessTravel : 1 | char | 0x2a8 | |
bStartPlayersAsSpectators : 1 | char | 0x2a8 | |
bPauseable : 1 | char | 0x2a8 |