APlayerController::PreClientTravel

Called when the local player is about to travel to a new map or IP address.

Windows
MacOS
Linux

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

Syntax

virtual void PreClientTravel
(
    const FString & PendingURL,
    ETravelType TravelType,
    bool bIsSeamlessTravel
)

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss