Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APawn
- AActor::GetNetOwningPlayer()
- APawn::GetNetOwningPlayer()
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 |
virtual UPlayer * GetNetOwningPlayer()
Remarks
Return the owning UPlayer (if any) of this actor. This will be a local player, a net connection, or nullptr.