benilla-re systems structs docs

Script::GetNumFactions

function · ui · orchestration

Address
0x4d64c0 · 44 bytes, up to 0x4d64eb
Signature
int __fastcall (lua_State *L)
Meaning
Returns the visible entry count
Confidence
verified, proof one
Name from
the community database (idb)
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.

Callers 0

None by a direct call or jump.

Callees 1

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