Changeset 3280 for code/trunk/src/network/packet/Gamestate.h
- Timestamp:
- Jul 12, 2009, 11:58:01 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core4 (added) merged: 3235-3237,3245-3250,3253-3254,3260-3261,3265,3270
- Property svn:mergeinfo changed
-
code/trunk/src/network/packet/Gamestate.h
r3214 r3280 47 47 class _NetworkExport GamestateHeader{ 48 48 public: 49 GamestateHeader(uint8_t *data){ assert(data); data_ = data; *(uint32_t*)data_ = ENUM::Gamestate; }49 GamestateHeader(uint8_t *data){ assert(data); data_ = data; *(uint32_t*)data_ = Type::Gamestate; } 50 50 GamestateHeader(uint8_t *data, GamestateHeader* h) 51 51 { assert(data); data_=data; memcpy(data_, h->data_, getSize()); }
Note: See TracChangeset
for help on using the changeset viewer.