mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-03 02:53:48 +00:00
Merge branch 'master' into Playerbot
This commit is contained in:
@@ -1112,6 +1112,8 @@ public:
|
||||
|
||||
static bool BuildEnumData(PreparedQueryResult result, WorldPacket* data);
|
||||
|
||||
[[nodiscard]] bool IsClass(Classes playerClass, ClassContext context = CLASS_CONTEXT_NONE) const override;
|
||||
|
||||
void SetInWater(bool apply);
|
||||
|
||||
[[nodiscard]] bool IsInWater() const override { return m_isInWater; }
|
||||
@@ -1170,6 +1172,8 @@ public:
|
||||
|
||||
void InitStatsForLevel(bool reapplyMods = false);
|
||||
|
||||
[[nodiscard]] bool HasActivePowerType(Powers power) override;
|
||||
|
||||
// .cheat command related
|
||||
[[nodiscard]] bool GetCommandStatus(uint32 command) const { return _activeCheats & command; }
|
||||
void SetCommandStatusOn(uint32 command) { _activeCheats |= command; }
|
||||
|
||||
Reference in New Issue
Block a user