benilla-re systems structs docs

SetAfk

function · objectlayer · orchestration

Address
0x5eb740 · 240 bytes, up to 0x5eb82f
Meaning
Marks the player AFK with a message, printing the notice once, and sends the AFK chat message
Confidence
verified, proof one
Finding
objectlayer/interaction#afk

Finding: AFK in objectlayer: interaction

0x5eb740(message) marks the player AFK: an empty message takes DEFAULT_AFK_MESSAGE; the first time it prints MARKED_AFK_MESSAGE and sets 0xb6e5cc; every call sends 0x95 with type 0x14, language 0 and the message. 0x5eb830(force) clears it when set and forced or autoClearAFK is on: it prints CLEARED_AFK and sends an empty message.

The derivation is in the doc.

Callers 2

Callees 7

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