HandleZoneUnderAttackPacket
function · ui · primitive
- Address
0x49dcc0· 368 bytes, up to0x49de2f- Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)- Meaning
- Handles zone under attack: shows the area's attack text on the zone's defence channels
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/chatserver#zone-under-attack
Finding: Zone under attack in ui: the server's chat broadcasts
Opcode 0x254, 0x49dcc0: u32 areaId. The handler returns at once for an id that is negative, past the
AreaTable maximum or without a row. Otherwise it formats the global ZONE_UNDER_ATTACK with the area's name
in the client's locale into an 0x800-byte buffer, replaces the id by its parent area when it has one, and
shows the text as a CHANNEL line (chat type 14) on every defence channel it applies to
(The defence channels). It always returns 1.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 5
- CDataStore::GetInt32 base
- AddChatLine ui
- CGChat::QueueChatText ui
- SStrPrintf storm
- FrameScript_GetText ui
Calls and jumps by a bare address, from tables/calls.tsv.