benilla-re systems structs docs

HandleMeetingstoneSetQueuePacket

function · ui · orchestration

Address
0x4ca230 · 372 bytes, up to 0x4ca3a3
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Stores the queued area, shows the queue message of the status and rebuilds the text
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/meetingstone#the-queue-message

Finding: The queue message in ui: the meeting stone queue

Opcode 0x295, 0x4ca230: u32 areaId, u8 status. The handler remembers the old id, stores the new id unconditionally, and for status 0 to 4 shows one message. Whatever the status, it then rebuilds the status text and signals MEETINGSTONE_CHANGED with no argument, and returns 1.

statusmessage (ids in tables/messages.tsv)argument
0ERR_MEETING_STONE_LEFT_QUEUE_S (423)the old area's name; nothing is shown when the old id has no row
1ERR_MEETING_STONE_IN_QUEUE_S (422)the new area's name, UNKNOWN when it has no row; skipped when the id did not change
2ERR_MEETING_STONE_OTHER_MEMBER_LEFT (424)none
3ERR_MEETING_STONE_PARTY_KICKED_FROM_QUEUE (425)none
4ERR_MEETING_STONE_MEMBER_STILL_IN_QUEUE (426)none

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 12

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