Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APlayerController
Description
Return the owning UPlayer (if any) of this actor, regardless of it's current role. This will be a local player, a net connection, or nullptr.
Virtual Inheritance
- AActor::GetNetOwningPlayerAnyRole → APlayerController::GetNetOwningPlayerAnyRole
| Name | GetNetOwningPlayerAnyRole |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include Path | #include "GameFramework/PlayerController.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PlayerController.cpp |
virtual UPlayer * GetNetOwningPlayerAnyRole()