UGameViewportClient::PeekTravelFailureMessages

Notification of server travel error messages, generally network connection related (package verification, client server handshaking, etc) generally not expected to handle the failure here, but provide notification to the user

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/GameViewportClient.h

Include

#include "Engine/GameViewportClient.h"

Source

/Engine/Source/Runtime/Engine/Private/GameViewportClient.cpp

Syntax

virtual void PeekTravelFailureMessages
(
    UWorld * InWorld,
    enum ETravelFailure::Type FailureType,
    const FString & ErrorString
)

Remarks

Notification of server travel error messages, generally network connection related (package verification, client server handshaking, etc) generally not expected to handle the failure here, but provide notification to the user

Parameters

Parameter

Description

FailureType

the type of error

ErrorString

additional string detailing the error