mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
warning fix
This commit is contained in:
@@ -22,17 +22,17 @@ namespace AuthHelper
|
||||
{
|
||||
constexpr static uint32 MAX_PRE_BC_CLIENT_BUILD = 6141;
|
||||
|
||||
bool IsPreBCAcceptedClientBuild(int build)
|
||||
bool IsPreBCAcceptedClientBuild(uint32 build)
|
||||
{
|
||||
return build <= MAX_PRE_BC_CLIENT_BUILD && sRealmList->GetBuildInfo(build);
|
||||
}
|
||||
|
||||
bool IsPostBCAcceptedClientBuild(int build)
|
||||
bool IsPostBCAcceptedClientBuild(uint32 build)
|
||||
{
|
||||
return build > MAX_PRE_BC_CLIENT_BUILD && sRealmList->GetBuildInfo(build);
|
||||
}
|
||||
|
||||
bool IsAcceptedClientBuild(int build)
|
||||
bool IsAcceptedClientBuild(uint32 build)
|
||||
{
|
||||
return sRealmList->GetBuildInfo(build) != nullptr;
|
||||
}
|
||||
|
||||
@@ -84,9 +84,9 @@ struct RealmBuildInfo;
|
||||
|
||||
namespace AuthHelper
|
||||
{
|
||||
bool IsAcceptedClientBuild(int build);
|
||||
bool IsPostBCAcceptedClientBuild(int build);
|
||||
bool IsPreBCAcceptedClientBuild(int build);
|
||||
bool IsAcceptedClientBuild(uint32 build);
|
||||
bool IsPostBCAcceptedClientBuild(uint32 build);
|
||||
bool IsPreBCAcceptedClientBuild(uint32 build);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user