fix: send CMSG_SET_WATCHED_FACTION when tracking a reputation

setWatchedFactionId() previously only stored the faction locally.
Now it also sends CMSG_SET_WATCHED_FACTION with the correct repListId
to the server, so the tracked faction persists across sessions.
This commit is contained in:
Kelsi 2026-03-20 04:50:49 -07:00
parent ae56f2eb80
commit f4d705738b
2 changed files with 16 additions and 1 deletions

View file

@ -1800,7 +1800,7 @@ public:
const std::string& getFactionNamePublic(uint32_t factionId) const;
uint32_t getWatchedFactionId() const { return watchedFactionId_; }
void setWatchedFactionId(uint32_t id) { watchedFactionId_ = id; }
void setWatchedFactionId(uint32_t factionId);
uint32_t getLastContactListMask() const { return lastContactListMask_; }
uint32_t getLastContactListCount() const { return lastContactListCount_; }
bool isServerMovementAllowed() const { return serverMovementAllowed_; }