mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-16 14:05:28 +00:00
refactor(Core): apply clang-tidy modernize-use-nodiscard (#3835)
This commit is contained in:
@@ -65,12 +65,12 @@ public:
|
||||
void SetWeather(WeatherType type, float grade);
|
||||
|
||||
/// For which zone is this weather?
|
||||
uint32 GetZone() const { return m_zone; };
|
||||
uint32 GetScriptId() const { return m_weatherChances->ScriptId; }
|
||||
[[nodiscard]] uint32 GetZone() const { return m_zone; };
|
||||
[[nodiscard]] uint32 GetScriptId() const { return m_weatherChances->ScriptId; }
|
||||
|
||||
private:
|
||||
|
||||
WeatherState GetWeatherState() const;
|
||||
[[nodiscard]] WeatherState GetWeatherState() const;
|
||||
uint32 m_zone;
|
||||
WeatherType m_type;
|
||||
float m_grade;
|
||||
|
||||
Reference in New Issue
Block a user