Inglais@legacy41546699 (talk | contribs) mNo edit summary |
Muert39620@legacy41559547 (talk | contribs) No edit summary |
||
Line 39: | Line 39: | ||
---- |
---- |
||
− | {{ |
+ | {{WoW API}} |
− | [[Category:API Functions|GetNetStats]] |
||
− | [[Category:API Core Functions|GetNetStats]] |
Revision as of 05:00, 4 January 2006
Retrieve info about net statistics.
down, up, lag = GetNetStats();
- Arguments
- none
- Returns
- (- down)
- down
- -
- (- up)
- up
- -
- (Number lag)
- lag
- The lag (in milliseconds) of your connection.
- Example
local down, up, lag = GetNetStats();
message("Lag: "..lag.." milliseconds.");
- Result
Message box appears with amount of lag in milliseconds.
- Description
- Retrieve information about your current net statistics.
Template:WoW API