Add Reputation tab to character screen with colored tier progress bars

- Add Reputation tab in character screen tab bar (Equipment/Stats/Reputation/Skills)
- Implement renderReputationPanel() showing all tracked factions sorted alphabetically
- Progress bars colored per WoW reputation tier: Hated/Hostile/Unfriendly/Neutral/Friendly/Honored/Revered/Exalted
- Add public getFactionNamePublic() backed by DBC name cache with lazy load
This commit is contained in:
Kelsi 2026-03-09 14:52:13 -07:00
parent 26eefe9529
commit deed8011d7
4 changed files with 98 additions and 0 deletions

View file

@ -902,6 +902,7 @@ public:
};
const std::vector<FactionStandingInit>& getInitialFactions() const { return initialFactions_; }
const std::unordered_map<uint32_t, int32_t>& getFactionStandings() const { return factionStandings_; }
const std::string& getFactionNamePublic(uint32_t factionId) const;
uint32_t getLastContactListMask() const { return lastContactListMask_; }
uint32_t getLastContactListCount() const { return lastContactListCount_; }
bool isServerMovementAllowed() const { return serverMovementAllowed_; }