benilla-re systems structs docs

Script::GetNumLFGResults

function · ui · orchestration

Address
0x4e9870 · 80 bytes, up to 0x4e98bf
Signature
int __fastcall (lua_State *L)
Meaning
Returns the number of looking-for-group results and the server total
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/lfg#reading-results

Finding: Reading results in ui: looking for group

GetNumLFGResults() returns the number of stored results (0xbc7618) and the server's total (0xbc761c). GetLFGResults(i) returns seven values for result i: the player name, the level (+0x30), the class name (the ChrClasses row of +0x34, empty for none), the three slot entries and the comment (+0x44). A slot entry is nil when the type byte of its word is 0, the quest title for type 3 and the dungeon name otherwise, each empty when it cannot be resolved. A number past the list gives nil, 0, nil, nil, nil, nil, nil. A non-number raises Usage: GetLFGResults(index).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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