[7731] Some code cleanups, warrning fixes. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
@@ -100,7 +100,7 @@ class TRINITY_DLL_SPEC WorldSession
|
||||
{
|
||||
friend class CharacterHandler;
|
||||
public:
|
||||
WorldSession(uint32 id, WorldSocket *sock, uint32 sec, uint8 expansion, time_t mute_time, LocaleConstant locale);
|
||||
WorldSession(uint32 id, WorldSocket *sock, AccountTypes sec, uint8 expansion, time_t mute_time, LocaleConstant locale);
|
||||
~WorldSession();
|
||||
|
||||
bool PlayerLoading() const { return m_playerLoading; }
|
||||
@@ -122,11 +122,11 @@ class TRINITY_DLL_SPEC WorldSession
|
||||
void SendAreaTriggerMessage(const char* Text, ...) ATTR_PRINTF(2,3);
|
||||
void SendSetPhaseShift(uint32 phaseShift);
|
||||
|
||||
uint32 GetSecurity() const { return _security; }
|
||||
AccountTypes GetSecurity() const { return _security; }
|
||||
uint32 GetAccountId() const { return _accountId; }
|
||||
Player* GetPlayer() const { return _player; }
|
||||
char const* GetPlayerName() const;
|
||||
void SetSecurity(uint32 security) { _security = security; }
|
||||
void SetSecurity(AccountTypes security) { _security = security; }
|
||||
std::string const& GetRemoteAddress() { return m_Address; }
|
||||
void SetPlayer(Player *plr) { _player = plr; }
|
||||
uint8 Expansion() const { return m_expansion; }
|
||||
@@ -705,7 +705,7 @@ class TRINITY_DLL_SPEC WorldSession
|
||||
WorldSocket *m_Socket;
|
||||
std::string m_Address;
|
||||
|
||||
uint32 _security;
|
||||
AccountTypes _security;
|
||||
uint32 _accountId;
|
||||
uint8 m_expansion;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user