Changeset 636 for code/branches/FICN/src/network/PacketGenerator.cc
- Timestamp:
- Dec 19, 2007, 1:38:19 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/network/PacketGenerator.cc
r632 r636 128 128 ENetPacket* PacketGenerator::clid( int classid, std::string classname, int reliable ){ 129 129 unsigned char* data = (unsigned char *)malloc(3*sizeof(int)+classname.length()+1); 130 std::cout << "classid: " << classid << ", name: " << classname << std::endl; 130 131 *(int *)data = CLASSID; 131 132 *((int *)data+1) = classname.length()+1;
Note: See TracChangeset
for help on using the changeset viewer.