AGameMode::NotifyPendingConnectionLost

Called when a connection closes before getting to [PostLogin()](API\Runtime\Engine\GameFramework\AGameMode\PostLogin)

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/GameMode.h

Include

#include "GameFramework/GameMode.h"

Source

/Engine/Source/Runtime/Engine/Private/GameMode.cpp

Syntax

virtual void NotifyPendingConnectionLost
(
    const FUniqueNetIdRepl & ConnectionUniqueId
)

Remarks

Called when a connection closes before getting to PostLogin()

Parameters

Parameter

Description

ConnectionUniqueId

the unique id on the connection, if known (may be very early and impossible to know)