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.GetConnectionStats

public static Dictionary<short,PacketStat> GetConnectionStats();

Returns

Dictionary<short,PacketStat> Dictionary of msg types and packet statistics.

Description

Gets aggregate packet stats for all connections.