mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-14 16:03:45 +00:00
chore(Core/Misc): Remove deprecated code (#19413)
* Config - Deprecated for 3 years * ChatCommand - Deprecated for 2 years * getLevel() - Deprecated for 2 years * SendGlobalText - Deprecated for 8 years +
This commit is contained in:
@@ -50,26 +50,6 @@ public:
|
||||
template<class T>
|
||||
T GetOption(std::string const& name, T const& def, bool showLogs = true) const;
|
||||
|
||||
/*
|
||||
* Deprecated geters. This geters will be deleted
|
||||
*/
|
||||
|
||||
[[deprecated("Use GetOption<std::string> instead")]]
|
||||
std::string GetStringDefault(std::string const& name, const std::string& def, bool showLogs = true);
|
||||
|
||||
[[deprecated("Use GetOption<bool> instead")]]
|
||||
bool GetBoolDefault(std::string const& name, bool def, bool showLogs = true);
|
||||
|
||||
[[deprecated("Use GetOption<int32> instead")]]
|
||||
int GetIntDefault(std::string const& name, int def, bool showLogs = true);
|
||||
|
||||
[[deprecated("Use GetOption<float> instead")]]
|
||||
float GetFloatDefault(std::string const& name, float def, bool showLogs = true);
|
||||
|
||||
/*
|
||||
* End deprecated geters
|
||||
*/
|
||||
|
||||
bool isDryRun() { return dryRun; }
|
||||
void setDryRun(bool mode) { dryRun = mode; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user