Changeset 1705 for code/branches/network/src/network/Host.h
- Timestamp:
- Sep 4, 2008, 9:45:05 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/network/Host.h
r1699 r1705 31 31 #include <string> 32 32 33 #include "NetworkPrereqs.h" 33 34 #include "packet/Chat.h" 34 35 … … 44 45 virtual bool sendChat(packet::Chat *chat)=0; 45 46 virtual bool queuePacket(ENetPacket *packet, int clientID)=0; 46 virtual bool ackGamestateID(int gamestateID, int clientID)=0;47 47 virtual unsigned int shipID()=0; 48 48 virtual int playerID()=0; 49 49 50 static Host *instance_;51 50 52 51 … … 54 53 Host(); 55 54 ~Host(); 55 static Host *instance_; 56 56 57 57 public: … … 62 62 static int getPlayerID(); 63 63 static unsigned int getShipID(); 64 static bool ackGamestate(int gamestateID, int clientID); 64 65 // packet process functions 65 66 }; 66 67
Note: See TracChangeset
for help on using the changeset viewer.