mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
Core/Account: Remove unused helper functions
This commit is contained in:
@@ -308,16 +308,6 @@ bool AccountMgr::IsPlayerAccount(uint32 gmlevel)
|
||||
return gmlevel == SEC_PLAYER;
|
||||
}
|
||||
|
||||
bool AccountMgr::IsModeratorAccount(uint32 gmlevel)
|
||||
{
|
||||
return gmlevel >= SEC_MODERATOR && gmlevel <= SEC_CONSOLE;
|
||||
}
|
||||
|
||||
bool AccountMgr::IsGMAccount(uint32 gmlevel)
|
||||
{
|
||||
return gmlevel >= SEC_GAMEMASTER && gmlevel <= SEC_CONSOLE;
|
||||
}
|
||||
|
||||
bool AccountMgr::IsAdminAccount(uint32 gmlevel)
|
||||
{
|
||||
return gmlevel >= SEC_ADMINISTRATOR && gmlevel <= SEC_CONSOLE;
|
||||
|
||||
@@ -63,8 +63,6 @@ class AccountMgr
|
||||
static std::string CalculateShaPassHash(std::string const& name, std::string const& password);
|
||||
static bool normalizeString(std::string& utf8String);
|
||||
static bool IsPlayerAccount(uint32 gmlevel);
|
||||
static bool IsModeratorAccount(uint32 gmlevel);
|
||||
static bool IsGMAccount(uint32 gmlevel);
|
||||
static bool IsAdminAccount(uint32 gmlevel);
|
||||
static bool IsConsoleAccount(uint32 gmlevel);
|
||||
static bool HasPermission(uint32 accountId, uint32 permission, uint32 realmId);
|
||||
|
||||
Reference in New Issue
Block a user