UGameStateComponent

GameStateComponent is an actor component made for [AGameState](API\Runtime\Engine\GameFramework\AGameState) and receives GameState events.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

ModularGameplay

Header

/Engine/Plugins/Experimental/ModularGameplay/Source/ModularGameplay/Public/Components/GameStateComponent.h

Include

#include "Components/GameStateComponent.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UGameStateComponent : public UGameFrameworkComponent

Remarks

GameStateComponent is an actor component made for AGameState and receives GameState events.

Constructors

Name Description

Public function

UGameStateComponent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

T *

 

GetGameMode()

GameState accessors.

Public function Const

T *

 

GetGameState()

Public function Const

T *

 

GetGameStateChecked()

Public function Virtual

void

 

HandleMatchHasStarted()

GameState events.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss