benilla-re systems structs docs

WowConnection::Disconnect

function · net · orchestration

Address
0x5b5370 · 48 bytes, up to 0x5b539f
Signature
void __thiscall (WowConnection *this)
Meaning
Moves a connected connection with an open socket from state 5 to state 7 under its lock, which stops sends
Confidence
inferred
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 7

Callees 3

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