mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-04 11:33:48 +00:00
fix(Core/Achivement): Implement ACHIEVEMENT_FLAG_AVERAGE (#17263)
This commit is contained in:
@@ -2495,6 +2495,9 @@ public:
|
||||
void CompletedAchievement(AchievementEntry const* entry);
|
||||
[[nodiscard]] AchievementMgr* GetAchievementMgr() const { return m_achievementMgr; }
|
||||
|
||||
void SetCreationTime(Seconds creationTime) { m_creationTime = creationTime; }
|
||||
[[nodiscard]] Seconds GetCreationTime() const { return m_creationTime; }
|
||||
|
||||
[[nodiscard]] bool HasTitle(uint32 bitIndex) const;
|
||||
bool HasTitle(CharTitlesEntry const* title) const { return HasTitle(title->bit_index); }
|
||||
void SetTitle(CharTitlesEntry const* title, bool lost = false);
|
||||
@@ -2949,6 +2952,8 @@ private:
|
||||
bool _wasOutdoor;
|
||||
|
||||
PlayerSettingMap m_charSettingsMap;
|
||||
|
||||
Seconds m_creationTime;
|
||||
};
|
||||
|
||||
void AddItemsSetItem(Player* player, Item* item);
|
||||
|
||||
Reference in New Issue
Block a user