benilla-re systems structs docs

ClientConnection::PollStatus

function · net · orchestration

Address
0x5aa960 · 235 bytes, up to 0x5aaa4a
Signature
uint32_t __thiscall (ClientConnection *this, uint32_t *op, const char **text, uint32_t *result, int32_t *code)
Meaning
Returns operation, result, status and done flag, plus the status text once done, with the queue position formatted in
Confidence
verified, proof one
Finding
net/session#session-status

Finding: Session status in net: session

The session reports progress as a status: an operation, a code, a result flag and a done flag. Setting a status stores the code and the result and marks it done; the screens poll it and get the code's text from the localized string whose key is the code's name in an 83-entry table, from RESPONSE_SUCCESS (0) through CHAR_NAME_SUCCESS (0x52). The codes used here are RESPONSE_FAILED_TO_CONNECT (4), RESPONSE_CONNECTED (5), AUTH_OK (0x0c), AUTH_WAIT_QUEUE (0x1b) and REALM_LIST_REALM_NOT_FOUND (0x26).

The derivation is in the doc.

Callers 2

Callees 3

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