LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

NetworkServer.GetStatsOut

public static void GetStatsOut(out int numMsgs, out int numBufferedMsgs, out int numBytes, out int lastBufferedPerSecond);

Parameters

numMsgsNumber of messages sent so far (including collated messages send through buffer).
numBufferedMsgsNumber of messages sent through buffer.
numBytesNumber of bytes sent so far.
lastBufferedPerSecondNumber of messages buffered for sending per second.

Description

Get outbound network statistics for the client.