Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

NetworkClient.GetConnectionStats

Switch to Manual
public function GetConnectionStats(): Dictionary<short,PacketStat>;

Returns

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

Description

Retrieves statistics about the network packets sent on this connection.