Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AActor
- AActor::GetNetOwningPlayer()
- APawn::GetNetOwningPlayer()
- APlayerController::GetNetOwningPlayer()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
| Include | #include "GameFramework/Actor.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Actor.cpp |
virtual UPlayer &42; GetNetOwningPlayer&40;&41;
Remarks
Return the owning UPlayer (if any) of this actor. This will be a local player, a net connection, or nullptr.