Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

NetworkClient.GetConnectionStats

public Dictionary<short,PacketStat> GetConnectionStats();

Returns

Dictionary<short,PacketStat> Dictionary of packet statistics for the client's connection.

Description

Retrieves statistics about the network packets sent on this connection.