Script::GetWatchedFactionInfo
function · ui · orchestration
- Address
0x4d6820· 296 bytes, up to0x4d6947- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the watched faction's name, rank, bar bounds and standing, or nil and zeros
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/reputationlua#watched-faction
Finding: Watched faction in ui: the reputation Lua functions
GetWatchedFactionInfo() returns five values: the name, the standing id, the bar minimum, the bar maximum and the standing,
from the faction whose slot the player block holds at +0x10c4; a slot outside 0 to 63 stands for faction 0. An absent
player or a faction without a row gives nil and four zeros. SetWatchedFactionIndex(index) sends the slot of the entry's
faction, only when it differs from the player block's, and writes nothing locally. An index past the list asks for
faction 0, whose slot is -1 when no row has the id 0.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 8
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- SlotToFaction ui
- GetFactionStanding ui
- CGReputationInfo::GetFactionStandingReaction ui
- lua_pushnil lua
- lua_pushnumber lua
- lua_pushstring lua
Calls and jumps by a bare address, from tables/calls.tsv.