HandleDefenseMessagePacket
function · ui · primitive
- Address
0x49de30· 329 bytes, up to0x49df78- Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)- Meaning
- Handles the defence message: shows the packet's text on the zone's defence channels
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/chatserver#defence-message
Finding: Defence message in ui: the server's chat broadcasts
Opcode 0x33b, 0x49de30: u32 zoneId, u32 length, length bytes of text. The text is not copied: it is a
pointer into the packet, and no terminator is looked for. The zone id is replaced by its parent when the
area has a row and a parent, and is otherwise kept as sent. It is shown like the zone notice on the
defence channels. A length past the packet leaves a null pointer, which the chat line function refuses.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 5
- CDataStore::GetInt32 base
- CDataStore::GetUInt32 base
- CDataStore::GetDataInSitu base
- AddChatLine ui
- CGChat::QueueChatText ui
Calls and jumps by a bare address, from tables/calls.tsv.