Changeset 1940 for code/branches/objecthierarchy/src/network/packet
- Timestamp:
- Oct 18, 2008, 10:58:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/network/packet/Packet.cc
r1907 r1940 49 49 50 50 namespace packet{ 51 51 52 52 #define PACKET_FLAG_DEFAULT ENET_PACKET_FLAG_NO_ALLOCATE 53 53 #define _PACKETID 0 54 54 55 55 std::map<ENetPacket *, Packet *> Packet::packetMap_; 56 56 57 57 Packet::Packet(){ 58 58 flags_ = PACKET_FLAG_DEFAULT; … … 112 112 packetMap_[enetPacket_] = this; 113 113 } 114 #ifndef NDEBUG 114 #ifndef NDEBUG 115 115 switch( *(ENUM::Type *)(data_ + _PACKETID) ) 116 116 {
Note: See TracChangeset
for help on using the changeset viewer.