Changeset 1907 for code/trunk/src/network/packet/Packet.h
- Timestamp:
- Oct 12, 2008, 7:40:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/packet/Packet.h
r1763 r1907 32 32 #include <enet/enet.h> 33 33 34 #include "util/Integers.h" 35 34 36 namespace network { 35 37 … … 47 49 ClassID, 48 50 Chat, 49 Welcome 51 Welcome, 52 DeleteObjects 50 53 }; 51 54 } … … 74 77 protected: 75 78 Packet(); 76 Packet(u nsigned char *data,int clientID);79 Packet(uint8_t *data, unsigned int clientID); 77 80 // Packet(ENetPacket *packet, ENetPeer *peer); 78 81 enet_uint32 flags_; 79 int clientID_;82 unsigned int clientID_; 80 83 ENUM::Direction packetDirection_; 81 u nsigned char*data_;84 uint8_t *data_; 82 85 private: 83 86 static std::map<ENetPacket *, Packet *> packetMap_;
Note: See TracChangeset
for help on using the changeset viewer.