Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Conflicts: src/server/game/Handlers/CharacterHandler.cpp src/server/game/World/World.h
This commit is contained in:
commit
6beda05e3d
12 files changed
+77
-19
No files matched your search
@@ -974,14 +974,14 @@ class WorldSession
|
||||
void LogUnprocessedTail(WorldPacket* packet);
|
||||
|
||||
// EnumData helpers
|
||||
bool CharCanLogin(uint32 lowGUID)
|
||||
bool IsLegitCharacterForAccount(uint32 lowGUID)
|
||||
{
|
||||
return _allowedCharsToLogin.find(lowGUID) != _allowedCharsToLogin.end();
|
||||
return _legitCharacters.find(lowGUID) != _legitCharacters.end();
|
||||
}
|
||||
|
||||
// this stores the GUIDs of the characters who can login
|
||||
// characters who failed on Player::BuildEnumData shouldn't login
|
||||
std::set<uint32> _allowedCharsToLogin;
|
||||
std::set<uint32> _legitCharacters;
|
||||
|
||||
uint32 m_GUIDLow; // set loggined or recently logout player (while m_playerRecentlyLogout set)
|
||||
Player* _player;
|
||||
|
||||
Reference in new issue
Block a user