benilla-re systems structs docs

Script::LFGQuery

function · ui · primitive

Address
0x4e9760 · 272 bytes, up to 0x4e986f
Signature
int __fastcall (lua_State *L)
Meaning
Sends the looking-for-group inquiry of a type and an entry
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/lfg#the-results

Finding: The results in ui: looking for group

LFGQuery(type, entry [, extra]) raises Usage: LFGQuery(param1 [, class]) without a number as argument 1; a type of 6 or more or an entry not below the type's count sends nothing. Otherwise it sends u32 0x1ff, the criterion word (type << 24) AND entry and the extra number (0 when absent). Opcode 0x1ff arrives at 0x4e8dc0: u32 count (clamped to 50), u32 second, then per result a name (cap 0x30), two u32, three slot words and a comment (cap 0x80), stored in 50 records. A type 3 slot asks the quest cache for its title, counted in 0xbc7620; UPDATE_LFG_LIST is signalled at once when nothing is outstanding, else when the last answer lands.

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.