mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 17:49:10 +00:00
refactor(Core/Object): getLevel() -> GetLevel() (#14122)
* refactor(Core/Object): getLevel() -> GetLevel() * fix build and sneak some doxygen in * codeSTLE * codestyle
This commit is contained in:
@@ -469,25 +469,25 @@ bool ConfigMgr::LoadModulesConfigs(bool isReload /*= false*/, bool isNeedPrintIn
|
||||
return true;
|
||||
}
|
||||
|
||||
// @deprecated DO NOT USE - use GetOption<std::string> instead.
|
||||
/// @deprecated DO NOT USE - use GetOption<std::string> instead.
|
||||
std::string ConfigMgr::GetStringDefault(std::string const& name, const std::string& def, bool showLogs /*= true*/)
|
||||
{
|
||||
return GetOption<std::string>(name, def, showLogs);
|
||||
}
|
||||
|
||||
// @deprecated DO NOT USE - use GetOption<bool> instead.
|
||||
/// @deprecated DO NOT USE - use GetOption<bool> instead.
|
||||
bool ConfigMgr::GetBoolDefault(std::string const& name, bool def, bool showLogs /*= true*/)
|
||||
{
|
||||
return GetOption<bool>(name, def, showLogs);
|
||||
}
|
||||
|
||||
// @deprecated DO NOT USE - use GetOption<int32> instead.
|
||||
/// @deprecated DO NOT USE - use GetOption<int32> instead.
|
||||
int ConfigMgr::GetIntDefault(std::string const& name, int def, bool showLogs /*= true*/)
|
||||
{
|
||||
return GetOption<int32>(name, def, showLogs);
|
||||
}
|
||||
|
||||
// @deprecated DO NOT USE - use GetOption<float> instead.
|
||||
/// @deprecated DO NOT USE - use GetOption<float> instead.
|
||||
float ConfigMgr::GetFloatDefault(std::string const& name, float def, bool showLogs /*= true*/)
|
||||
{
|
||||
return GetOption<float>(name, def, showLogs);
|
||||
|
||||
Reference in New Issue
Block a user