00001 #ifndef __SERVERPLAYER_H__ 00002 #define __SERVERPLAYER_H__ 00003 00004 #include "Game/GameDll.h" 00005 #include "Game/Player.h" 00006 00007 class KUDPSocket; 00008 class KClient; 00009 00010 //--------------------------------------------------------------------------------------------------------------------- 00011 class GAME_API KServerPlayer : public KPlayer 00012 { 00013 protected: 00014 KUDPSocket* m_pSocket; 00015 KClient* m_pClient; 00016 00017 public: 00018 KServerPlayer(); 00019 virtual ~KServerPlayer(); 00020 00021 void SetpClient( KClient* pClient ); 00022 00023 KUDPSocket* GetpSocket() { return m_pSocket; } 00024 KClient* GetpClient() { return m_pClient; } 00025 }; 00026 00027 #endif __SERVERPLAYER_H__
1.5.1-p1