benilla-re systems structs docs

s_reputationFunctionTable

global · ui

Address
0x84a0a8 · 96 bytes, up to 0x84a107
Type
void *[24]
Meaning
Holds the 12 name and function pairs of the reputation Lua functions
Confidence
verified, proof one
Finding
ui/reputationlua#other-functions

Finding: Other functions in ui: the reputation Lua functions

GetNumFactions() returns the visible entry count. IsFactionInactive(index) returns 1 when the entry's slot has the inactive bit, else nil. FactionToggleAtWar(index) asks for war when the faction is not at war and peace when it is, for the entry's faction, ignoring faction 0. SetFactionInactive(index) and SetFactionActive(index) set or clear the inactive bit through the same request path. Each takes a number or raises its usage text, such as Usage: IsFactionInactive(index).

The derivation is in the doc.