Script::GetFactionInfo
function · ui · primitive
- Address
0x4d64f0· 808 bytes, up to0x4d6817- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the eleven values of the list entry at an index
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/reputationlua#faction-info-values
Finding: Faction info values in ui: the reputation Lua functions
GetFactionInfo(index) raises Usage: GetFactionInfo(index) for a non-number. The entry at index-1 gives a faction id,
and the function returns eleven values: the localized name, the localized description, the standing id (rank + 1, 1
to 8), the bar minimum (the table entry of the rank), the bar maximum (the next entry) and the standing itself, all absolute;
then at war (the number 1 or nil), can toggle war (1 when the standing is at least -3000 and the peace-forced bit is clear),
is header (1 when a header object has the faction's id), is collapsed (1 for such a header that is collapsed) and is
watched. False is always nil.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 14
- __ftol crt
- GetEntryFactionId ui
- CGReputationInfo::IsAtWar ui
- IsPeaceForced ui
- IsWatchedFaction ui
- GetFactionStanding ui
- CGReputationInfo::GetFactionStandingReaction ui
- lua_isnumber lua
- lua_tonumber lua
- lua_pushnil lua
- lua_pushnumber lua
- lua_pushstring lua
- luaL_error lua
- FrameScript_GetText ui
Calls and jumps by a bare address, from tables/calls.tsv.