CGReputationInfo::FactionToIndex
function · ui · orchestration
- Address
0x4d5600· 32 bytes, up to0x4d561f- Signature
int32_t __thiscall (CGReputationInfo *this)- Meaning
- Returns the reputationListID of a faction id, or -1 for none
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/reputation#reputation-slots
Finding: Reputation slots in ui: the reputation list
The client keeps 64 reputation slots of 16 bytes: the faction id (+0), the flag byte the server sent (+4), the base
standing from Faction.dbc (+8) and the standing the server sent (+0xc). A slot's index is the faction's
reputationListID, field 1 of its Faction.dbc row, valid from 0 to 63. Each reader tests the index below 0x40. The two
writers of flags and standing do not, so a slot index from the wire above 63 writes outside the array. Every reference
to the array lies inside this file's code.
The derivation is in the doc.
Callers 9
- AddReputationEntry ui
- SetFactionAtWar ui
- SetFactionInactiveFlag ui
- CGReputationInfo::IsAtWar ui
- IsPeaceForced ui
- IsEntryInactive ui
- SendWatchedFaction ui
- IsWatchedFaction ui
- GetFactionStanding ui
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.