Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AGameSession > API/Runtime/Engine/GameFramework/AGameSession/RegisterPlayer
Deprecated * Use RegisterPlayer with FUniqueNetIdRepl
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 |
virtual void RegisterPlayer
&40;
APlayerController &42; NewPlayer,
const FUniqueNetIdPtr & UniqueId,
bool bWasFromInvite
&41;
Remarks
Register a player with the online service session
Parameters
| Name | Description |
|---|---|
| NewPlayer | player to register |
| UniqueId | uniqueId they sent over on Login |
| bWasFromInvite | was this from an invite |