index
title: struct NetcodeSessionStats toc_max_heading_level: 4
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
);
};
詳細なドキュメント
ネットワークの使用状況を示すセッション統計。