benilla-re systems structs docs

RealmConnection::MessageHandler

function · net · orchestration

Address
0x5b3ea0 · 301 bytes, up to 0x5b3fcc
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Dispatches a login-phase message to its handler; an unread rest is logged when a notify object is set, then dropped
Confidence
verified, proof two
Finding
net/dispatch#realm-connection-messages

Finding: Realm connection messages in net: dispatch

RealmConnection::MessageHandler handles ten opcodes and returns the handler's result. After the handler, a packet the handler did not read to the end is discarded, and reported as Message Under Read! when the connection has a notify object.

opcodemessagehandler
0x1ecSMSG_AUTH_CHALLENGE0x5b4000
0x1eeSMSG_AUTH_RESPONSE0x5b41b0
0x2efSMSG_ADDON_INFO0x5b4260
0x3bSMSG_CHAR_ENUM0x5b42a0
0x3aSMSG_CHAR_CREATE0x5b4590
0x3cSMSG_CHAR_DELETE0x5b45c0
0x41SMSG_CHARACTER_LOGIN_FAILED0x5b45f0
0x4cSMSG_LOGOUT_RESPONSE0x5b4630
0x4dSMSG_LOGOUT_COMPLETE0x5b4620
0x4fSMSG_LOGOUT_CANCEL_ACK0x5b4680

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 10

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