GetEntryFactionId
function · ui · orchestration
- Address
0x4d5fa0· 23 bytes, up to0x4d5fb6- Signature
uint32_t __fastcall (uint32_t index)- Meaning
- Returns the faction id of the list entry at an index, 0 past the entry count
- Confidence
- verified, proof one
- 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 7
- IsEntryInactive ui
- Script::GetFactionInfo ui
- Script::FactionToggleAtWar ui
- Script::SetFactionInactive ui
- Script::SetFactionActive ui
- Script::SetWatchedFactionIndex ui
- Script::SetSelectedFaction ui
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.