benilla-re systems structs docs

s_selectedFaction

global · ui

Address
0xb73768 · 4 bytes, up to 0xb7376b
Type
int32_t
Meaning
Holds the selected faction id, 0 for none
Confidence
verified, proof one
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.