Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APlayerController
Description
Return the owning UPlayer (if any) of this actor if it's role is ROLE_Authority. This will be a local player, a net connection, or nullptr.
Virtual Inheritance
- AActor::GetNetOwningPlayer → APlayerController::GetNetOwningPlayer
| Name | GetNetOwningPlayer |
| 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 * GetNetOwningPlayer()