Changeset 1740 for code/trunk/src/network/GamestateManager.h
- Timestamp:
- Sep 8, 2008, 2:48:48 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/GamestateManager.h
r1735 r1740 70 70 GamestateManager(); 71 71 ~GamestateManager(); 72 72 73 73 bool add(packet::Gamestate *gs, int clientID); 74 74 bool processGamestates(); … … 77 77 78 78 bool getSnapshot(); 79 79 80 80 bool ack(int gamestateID, int clientID); 81 81 void removeClient(ClientInformation *client); … … 83 83 void cleanup(); // "garbage handler" 84 84 bool processGamestate(packet::Gamestate *gs); 85 85 86 86 std::map<int, packet::Gamestate*> gamestateMap; //map gsID to gamestate* 87 87 std::map<int, int> gamestateUsed; // save the number of clients, that use the specific gamestate
Note: See TracChangeset
for help on using the changeset viewer.