benilla-re systems structs docs

Script::SelectGossipOption

function · ui · primitive

Address
0x4e2a30 · 104 bytes, up to 0x4e2a97
Signature
int __fastcall (lua_State *L)
Meaning
Selects a gossip option by its 1-based number and optional code
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/gossip#selecting-an-option

Finding: Selecting an option in ui: the gossip window

SelectGossipOption(n [, code]) is refused with no event or packet while the greeting is pending (0xbbb670), for an index outside 0 to 15 after decrementing, or for an unused slot. An option whose coded byte is set and no code given fires GOSSIP_ENTER_CODE (id 298) with the 1-based index and sends nothing. Otherwise it sends opcode 0x17c: the target GUID, the slot's stored index (not the argument) and, only for a coded option, the code string. Then the slots are reset.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 7

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