Changeset 1901 for code/branches/network/src/network/packet/Gamestate.h
- Timestamp:
- Oct 12, 2008, 12:15:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/network/packet/Gamestate.h
r1827 r1901 44 44 struct GamestateHeader{ 45 45 ENUM::Type packetType; 46 int id; // id of the gamestate47 u nsigned int compsize;48 u nsigned int datasize;49 int base_id; // id of the base-gamestate diffed from50 bool diffed ; // wheter diffed or not51 bool complete ; // wheter it is a complete gamestate or only partial52 bool compressed ;46 int32_t id; // id of the gamestate 47 uint32_t compsize; 48 uint32_t datasize; 49 int32_t base_id; // id of the base-gamestate diffed from 50 bool diffed:1; // wheter diffed or not 51 bool complete:1; // wheter it is a complete gamestate or only partial 52 bool compressed:1; 53 53 #ifndef NDEBUG 54 54 uint32_t crc32; … … 62 62 public: 63 63 Gamestate(); 64 Gamestate(u nsigned char *data,int clientID);65 Gamestate(u nsigned char*data);64 Gamestate(uint8_t *data, unsigned int clientID); 65 Gamestate(uint8_t *data); 66 66 67 67 ~Gamestate();
Note: See TracChangeset
for help on using the changeset viewer.