StationObscurum/Assets/FishNet/Runtime/Managing/Statistic/NetworkTrafficArgs.cs

21 lines
557 B
C#

namespace FishNet.Managing.Statistic
{
public struct NetworkTrafficArgs
{
/// <summary>
/// Number of bytes sent to the server.
/// </summary>
public readonly ulong ToServerBytes;
/// <summary>
/// Number of bytes sent by the server.
/// </summary>
public readonly ulong FromServerBytes;
public NetworkTrafficArgs(ulong toServerBytes, ulong fromServerBytes)
{
ToServerBytes = toServerBytes;
FromServerBytes = fromServerBytes;
}
}
}