Changeset 78 for trunk/src/game/WorldSession.h
- Timestamp:
- 11/19/08 13:32:10 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/WorldSession.h
r44 r78 72 72 friend class CharacterHandler; 73 73 public: 74 WorldSession(uint32 id, WorldSocket *sock, uint32 sec, bool tbc, time_t mute_time, LocaleConstant locale);74 WorldSession(uint32 id, WorldSocket *sock, uint32 sec, uint8 expansion, time_t mute_time, LocaleConstant locale); 75 75 ~WorldSession(); 76 76 … … 89 89 uint32 GetSecurity() const { return _security; } 90 90 uint32 GetAccountId() const { return _accountId; } 91 //std::string const& GetRemoteAddress() const { return m_remoteaddress; } 91 92 Player* GetPlayer() const { return _player; } 92 93 char const* GetPlayerName() const; … … 94 95 std::string& GetRemoteAddress() { return m_Address; } 95 96 void SetPlayer(Player *plr) { _player = plr; } 96 bool IsTBC() const { return m_isTBC; }97 uint8 Expansion() const { return m_expansion; } 97 98 98 99 /// Is the user engaged in a log out process? … … 630 631 uint32 _security; 631 632 uint32 _accountId; 632 bool m_isTBC;633 uint8 m_expansion; 633 634 634 635 time_t _logoutTime;