Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 19, 2007, 1:38:19 AM (16 years ago)
Author:
scheusso
Message:

synchronising of classid↔classname works now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/network/PacketGenerator.cc

    r632 r636  
    128128ENetPacket* PacketGenerator::clid( int classid, std::string classname, int reliable ){
    129129        unsigned char* data = (unsigned char *)malloc(3*sizeof(int)+classname.length()+1);
     130        std::cout << "classid: " << classid << ", name: " << classname << std::endl;
    130131        *(int *)data = CLASSID;
    131132        *((int *)data+1) = classname.length()+1;
Note: See TracChangeset for help on using the changeset viewer.