IOnlineSession::RegisterLocalPlayer

Registers a local player with a session.

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineSessionInterface.h

Include

#include "Interfaces/OnlineSessionInterface.h"

Syntax

void RegisterLocalPlayer
(
    const FUniqueNetId & PlayerId,
    FName SessionName,
    const FOnRegisterLocalPlayerCompleteDelegate & Delegate
)

Remarks

Registers a local player with a session.

Parameters

Parameter

Description

PlayerId

the player to register

SessionName

the session in which to register the player

Delegate

the delegate executed when the asynchronous operation completes

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