Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AGameMode
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/GameMode.h |
| Include | #include "GameFramework/GameMode.h" |
| Source | /Engine/Source/Runtime/Engine/Private/GameMode.cpp |
virtual void OverridePlayerState
(
APlayerController * PC,
APlayerState * OldPlayerState
)
Remarks
Override PC's PlayerState with the values in OldPlayerState as part of the inactive player handling