Changeset 1890 for code/branches/network/src/network/packet/Packet.h
- Timestamp:
- Oct 6, 2008, 1:30:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/network/packet/Packet.h
r1775 r1890 31 31 #include <map> 32 32 #include <enet/enet.h> 33 34 #include "util/Integers.h" 33 35 34 36 namespace network { … … 75 77 protected: 76 78 Packet(); 77 Packet(u nsigned char *data,int clientID);79 Packet(uint8_t *data, unsigned int clientID); 78 80 // Packet(ENetPacket *packet, ENetPeer *peer); 79 81 enet_uint32 flags_; 80 int clientID_;82 unsigned int clientID_; 81 83 ENUM::Direction packetDirection_; 82 u nsigned char*data_;84 uint8_t *data_; 83 85 private: 84 86 static std::map<ENetPacket *, Packet *> packetMap_;
Note: See TracChangeset
for help on using the changeset viewer.