GetPlayerNetworkStats: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetPlayerNetworkStats(player)}} {{FuncParameters}} {{FuncParam|player|__EDIT_ME__}} {{FuncReturnV..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Server|1.0}} | {{Info|Function|Server|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Gets the clients' NetworkStats}} | ||
{{FuncSyntax|GetPlayerNetworkStats(player)}} | {{FuncSyntax|GetPlayerNetworkStats(player)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|player| | {{FuncParam|player|The player identifier}} | ||
{{FuncReturnValue| | {{FuncReturnValue|packetlossTotal, packetlossLastSecond, messagesInResendBuffer, bytesInResendBuffer, bytesSend, bytesReceived, bytesResent, bytesSendTotal, bytesReceivedTotal, bytesResentTotal, isLimitedByCongestionControl, isLimitedByOutgoingBandwidthLimit}} | ||
== Example == | == Example == | ||
Line 14: | Line 14: | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
* [[GetPlayerNetworkStats]] | |||
* [[GetNetworkStats]] |
Revision as of 17:38, 18 November 2019
Description
Gets the clients' NetworkStats
Syntax
GetPlayerNetworkStats(player)
Parameters
- player
The player identifier
Return Value
- packetlossTotal, packetlossLastSecond, messagesInResendBuffer, bytesInResendBuffer, bytesSend, bytesReceived, bytesResent, bytesSendTotal, bytesReceivedTotal, bytesResentTotal, isLimitedByCongestionControl, isLimitedByOutgoingBandwidthLimit
Example
__EDIT_ME__