benilla-re systems structs docs

NetClient::Disconnect

function · net · orchestration

Address
0x537910 · 138 bytes, up to 0x537999
Signature
void __thiscall (NetClient *this)
Meaning
Marks a connected client disconnecting; otherwise drops the connection and queued events for a fresh one, state 2
Confidence
verified, proof one
Finding
net/session#disconnecting

Finding: Disconnecting in net: session

NetClient::Disconnect in state 6 enters state 7 and closes the socket; a network worker thread then reports the disconnect, and the session sets state 2. In any other state it tears the connection down at once and builds a fresh one in state 2. On the disconnect event the session marks the status done, clears its connected flag and calls the login screen's disconnect handler.

The derivation is in the doc.

Callers 3

Callees 6

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