Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APlayerController
Description
Called when the local player is about to travel to a new map or IP address. Provides subclass with an opportunity to perform cleanup or other tasks prior to the travel.
| Name | PreClientTravel |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include Path | #include "GameFramework/PlayerController.h" |
virtual void PreClientTravel
(
const FString & PendingURL,
ETravelType TravelType,
bool bIsSeamlessTravel
)