LootLocker Unity SDK 8.0.0
Game backend SDK for Unity
Loading...
Searching...
No Matches
LootLocker.LootLockerPresenceConnectionStats Class Reference

Statistics about the presence connection to LootLocker. More...

Public Member Functions

override string ToString ()
 Returns a formatted string representation of the connection statistics.
 

Properties

string playerUlid [get, set]
 The player ULID this connection belongs to.
 
LootLockerPresenceConnectionState connectionState [get, set]
 Current connection state.
 
string lastSentStatus [get, set]
 The last status that was sent to the server (e.g., "online", "in_game", "away")
 
float currentLatencyMs [get, set]
 Current one-way latency to LootLocker in milliseconds.
 
float averageLatencyMs [get, set]
 Average one-way latency over the last few pings in milliseconds.
 
float minLatencyMs [get, set]
 Minimum recorded one-way latency in milliseconds.
 
float maxLatencyMs [get, set]
 Maximum recorded one-way latency in milliseconds.
 
int totalPingsSent [get, set]
 Total number of pings sent.
 
int totalPongsReceived [get, set]
 Total number of pongs received.
 
DateTime connectionStartTime [get, set]
 When the connection was established.
 
TimeSpan connectionDuration [get]
 How long the connection has been active.
 

Detailed Description

Statistics about the presence connection to LootLocker.