Script::GetSelectedFaction
function · ui · primitive
- Address
0x4d6c00· 78 bytes, up to0x4d6c4d- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the selected faction's visible index, or 0
- 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 1
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.