benilla-re systems structs docs

Script::CollapseFactionHeader

function · ui · primitive

Address
0x4d6a50 · 69 bytes, up to 0x4d6a94
Signature
int __fastcall (lua_State *L)
Meaning
Collapses the header of an entry, or all headers
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/reputationlua#collapse-and-selection

Finding: Collapse and selection in ui: the reputation Lua functions

CollapseFactionHeader(index) and ExpandFactionHeader(index) collapse or expand the header of an entry. For an index past the entry count, or an entry that is not a header, they set every header collapsed or expanded. Nothing is sent. The mask is a process cell: it is reset to all expanded by every rebuild and every header registration, is not saved, and is written nowhere else. SetSelectedFaction(index) stores the entry's faction id. GetSelectedFaction() returns the position of that faction among the visible entries, or 0 when it is not visible.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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