struct NetcodeSessionStats
(Niantic.Lightship.SharedAR.Netcode.LightshipNetcodeTransport.NetcodeSessionStats)
概要
ネットワークの使用状況を示すセッション統計。
struct NetcodeSessionStats {
// fields
ulong TotalBytesSent;
ulong TotalBytesReceived;
uint TotalMessagesSent;
uint TotalMessagesReceived;
int PeerCount;
float Timestamp;
// メソッド
static void GetPerSecondStats(
NetcodeSessionStats stats1,
NetcodeSessionStats stats2,
out float bytesSentPerSec,
out float messagesSentPerSec,
out float bytesReceivedPerSec,
out float messagesReceivedPerSec
);
};