Show
Ignore:
Timestamp:
11/19/08 13:32:10 (17 years ago)
Author:
yumileroy
Message:

[svn] * fixed help for subcommands - source mangos
* Renamed accounts column tbc to expansion and it only took a little over 4 hours o.O

Original author: KingPin?
Date: 2008-10-20 12:23:56-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/WorldSession.h

    r44 r78  
    7272    friend class CharacterHandler; 
    7373    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); 
    7575        ~WorldSession(); 
    7676 
     
    8989        uint32 GetSecurity() const { return _security; } 
    9090        uint32 GetAccountId() const { return _accountId; } 
     91        //std::string const& GetRemoteAddress() const { return m_remoteaddress; } 
    9192        Player* GetPlayer() const { return _player; } 
    9293        char const* GetPlayerName() const; 
     
    9495        std::string& GetRemoteAddress() { return m_Address; } 
    9596        void SetPlayer(Player *plr) { _player = plr; } 
    96         bool IsTBC() const { return m_isTBC; } 
     97        uint8 Expansion() const { return m_expansion; } 
    9798 
    9899        /// Is the user engaged in a log out process? 
     
    630631        uint32 _security; 
    631632        uint32 _accountId; 
    632         bool m_isTBC; 
     633        uint8 m_expansion; 
    633634 
    634635        time_t _logoutTime;