00001 #ifndef _PLAYER_H_ 00002 #define _PLAYER_H_ 00003 00004 #include <string.h> 00005 #include <stdlib.h> 00006 //#include <time.h> 00007 #include <windows.h> 00008 #include <string.h> 00009 00010 class Player{ 00011 int id; 00012 char *name; 00013 DWORD latancy; 00014 DWORD lastTimeStamp; 00015 private: 00016 00017 public: 00018 Player(); 00019 Player(Player *p); 00020 Player(int id); 00021 void setID(int id); 00022 void setName(const char *name); 00023 char *getName(); 00024 int getID(); 00025 void setLatancy(DWORD latancy); 00026 void setLastTimeStamp(DWORD timestamp); 00027 int getLastTimeStamp(void); 00028 int getLatancy(void); 00029 }; 00030 00031 00032 #endif