Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > APlayerState
Deprecated * This version of IsPrimaryPlayer has been deprecated, please use the Platform Device Mapper to check the owning PlatformUserId instead.
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerState.h |
Include | #include "GameFramework/PlayerState.h" |
Source | /Engine/Source/Runtime/Engine/Private/PlayerState.cpp |
virtual bool IsPrimaryPlayer&40;&41; const
Remarks
Return true if PlayerState is primary (ie. non-splitscreen) player