benilla-re systems structs docs

Script::GetNetStats

function · ui · orchestration

Address
0x48b8b0 · 104 bytes, up to 0x48b917
Signature
int __fastcall (lua_State *L)
Meaning
Returns the incoming and outgoing KB/s and the latency in milliseconds
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/cvarverbs#build-realm-platform-and-rate

Finding: Build, realm, platform and rate in ui: CVar, option and engine information verbs

GetBuildInfo() returns the strings 1.12.1, 5875 and Sep 19 2006. GetRealmName() pushes the realm CVar's text, GetLocale() the locale name string of the current locale index. IsWindowsClient() returns the number 1 and IsMacClient() and IsLinuxClient() return nil. GetFramerate() returns the smoothed frame rate as a number, GetNetStats() the incoming KB/s, outgoing KB/s and latency in milliseconds that NetClient::GetNetStats reports. GetDebugStats(), ToggleTris(), TogglePortals(), ToggleCollision(), ToggleCollisionDisplay() and TogglePlayerBounds() are the three-byte xor eax,eax; ret and do nothing.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.