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..."
 
28days (talk | contribs)
No edit summary
Line 1: Line 1:
{{Info|Function|Server|1.0}}
{{Info|Function|Server|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Gets the clients' NetworkStats}}


{{FuncSyntax|GetPlayerNetworkStats(player)}}
{{FuncSyntax|GetPlayerNetworkStats(player)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|player|__EDIT_ME__}}
{{FuncParam|player|The player identifier}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|packetlossTotal, packetlossLastSecond, messagesInResendBuffer, bytesInResendBuffer, bytesSend, bytesReceived, bytesResent, bytesSendTotal, bytesReceivedTotal, bytesResentTotal, isLimitedByCongestionControl, isLimitedByOutgoingBandwidthLimit}}


== Example ==
== Example ==
Line 14: Line 14:


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
* [[GetPlayerNetworkStats]]
* [[GetNetworkStats]]

Revision as of 17:38, 18 November 2019

GetPlayerNetworkStats

Type: Function
Context: Server
Introduced: v1.0

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__

See also