AGameSession::RegisterPlayer

Register a player with the online service session

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/GameSession.h"

Source

/Engine/Source/Runtime/Engine/Private/GameSession.cpp

Syntax

virtual void RegisterPlayer
(
    APlayerController * NewPlayer,
    const TSharedPtr< const FUniqueNetId > & UniqueId,
    bool bWasFromInvite
)

Remarks

Register a player with the online service session

Parameters

Parameter

Description

NewPlayer

player to register

UniqueId

uniqueId they sent over on Login

bWasFromInvite

was this from an invite

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