Changeset 6 for trunk/src/game/WorldSession.h
- Timestamp:
- 11/19/08 13:22:12 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/WorldSession.h
r2 r6 89 89 char const* GetPlayerName() const; 90 90 void SetSecurity(uint32 security) { _security = security; } 91 void SetSocket(WorldSocket *sock);91 std::string& GetRemoteAddress() { return m_Address; } 92 92 void SetPlayer(Player *plr) { _player = plr; } 93 93 bool IsTBC() const { return m_isTBC; } … … 111 111 void KickPlayer(); 112 112 113 void QueuePacket(WorldPacket &packet);113 void QueuePacket(WorldPacket* new_packet); 114 114 bool Update(uint32 diff); 115 116 /// Handle the authentication waiting queue (to be completed) 117 void SendAuthWaitQue(uint32 position); 115 118 116 119 //void SendTestCreatureQueryOpcode( uint32 entry, uint64 guid, uint32 testvalue ); … … 619 622 void logUnexpectedOpcode(WorldPacket *packet, const char * reason); 620 623 Player *_player; 621 WorldSocket *_socket; 624 WorldSocket *m_Socket; 625 std::string m_Address; 622 626 623 627 uint32 _security;