Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APawn
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h |
| Include | #include "GameFramework/Pawn.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Pawn.cpp |
FPlatformUserId GetPlatformUserId&40;&41; const
Remarks
Returns the Platform User ID of the PlayerController that is controlling this character.
Returns an invalid Platform User ID if this character is not controlled by a local player.