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

[svn] * Added ACE for Linux and Windows (Thanks Derex for Linux part and partial Windows part)
* Updated to 6721 and 676
* Fixed TrinityScript? logo
* Version updated to 0.2.6721.676

Original author: Neo2003
Date: 2008-10-04 06:17:19-05:00

Files:
1 modified

Legend:

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

    r2 r6  
    8989        char const* GetPlayerName() const; 
    9090        void SetSecurity(uint32 security) { _security = security; } 
    91         void SetSocket(WorldSocket *sock); 
     91        std::string& GetRemoteAddress() { return m_Address; } 
    9292        void SetPlayer(Player *plr) { _player = plr; } 
    9393        bool IsTBC() const { return m_isTBC; } 
     
    111111        void KickPlayer(); 
    112112 
    113         void QueuePacket(WorldPacket& packet); 
     113        void QueuePacket(WorldPacket* new_packet); 
    114114        bool Update(uint32 diff); 
     115         
     116        /// Handle the authentication waiting queue (to be completed) 
     117        void SendAuthWaitQue(uint32 position); 
    115118 
    116119        //void SendTestCreatureQueryOpcode( uint32 entry, uint64 guid, uint32 testvalue ); 
     
    619622        void logUnexpectedOpcode(WorldPacket *packet, const char * reason); 
    620623        Player *_player; 
    621         WorldSocket *_socket; 
     624        WorldSocket *m_Socket; 
     625        std::string m_Address; 
    622626 
    623627        uint32 _security;