Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APlayerController
- AActor::OnNetCleanup()
- APlayerController::OnNetCleanup()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include | #include "GameFramework/PlayerController.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PlayerController.cpp |
virtual void OnNetCleanup
&40;
class UNetConnection &42; Connection
&41;
Remarks
Handles cleaning up the associated Actor when killing the connection
Parameters
| Name | Description |
|---|---|
| Connection | the connection associated with this actor |