FLobbyPlayerStateInfoArray

Struct for fast [TArray](API\Runtime\Core\Containers\TArray) replication of lobby player state

Windows
MacOS
Linux

Inheritance Hierarchy

FFastArraySerializer

FLobbyPlayerStateInfoArray

References

Module

Lobby

Header

/Engine/Plugins/Online/OnlineFramework/Source/Lobby/Public/LobbyBeaconState.h

Include

#include "LobbyBeaconState.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)()
struct FLobbyPlayerStateInfoArray : public FFastArraySerializer

Remarks

Struct for fast TArray replication of lobby player state

Functions

Name Description

Public function

ALobbyBeacon...

 

AddPlayer

(
    const FText& PlayerName,
    const FUniqueNetIdRepl& UniqueId
)

Create and replicate the appropriate player state for the new player

Public function Const

void

 

DumpState()

Output current state of players to log

Public function

TArray< FLob...

 

GetAllPlayers()

Get all players in the lobby

Public function Const

const TArray...

 

GetAllPlayers()

Public function Const

int32

 

GetNumPlayers()

Public function

ALobbyBeacon...

 

GetPlayer

(
    const FUniqueNetIdRepl& UniqueId
)

Get an existing player

Public function

ALobbyBeacon...

 

GetPlayer

(
    const AOnlineBeaconClient* Cli...
)

Get an existing player

Public function

bool

 

NetDeltaSerialize

(
    FNetDeltaSerializeInfo& DeltaParms
)

Implement support for fast TArray replication

Public function

void

 

RemovePlayer

(
    const FUniqueNetIdRepl& UniqueId
)

Remove an existing player from the lobby

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