Changeset 2485 for code/branches/presentation/src/network/packet/Welcome.cc
- Timestamp:
- Dec 16, 2008, 6:01:13 PM (16 years ago)
- Location:
- code/branches/presentation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation
-
code/branches/presentation/src/network/packet/Welcome.cc
r2483 r2485 43 43 #define _CLIENTID _PACKETID + sizeof(ENUM::Type) 44 44 #define _ENDIANTEST _CLIENTID + sizeof(uint32_t) 45 45 46 46 Welcome::Welcome( uint32_t clientID, uint32_t shipID ) 47 47 : Packet() … … 74 74 75 75 bool Welcome::process(){ 76 uint32_t shipID,clientID;76 uint32_t clientID; 77 77 clientID = *(uint32_t *)(data_ + _CLIENTID ); 78 78 assert(*(uint32_t *)(data_ + _ENDIANTEST ) == 0xFEDC4321);
Note: See TracChangeset
for help on using the changeset viewer.