Changeset 1856 for code/trunk/src/network/packet
- Timestamp:
- Sep 29, 2008, 4:15:03 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/packet/ClassID.cc
r1837 r1856 42 42 #define _CLASSNAMELENGTH _CLASSID + sizeof(unsigned int) 43 43 #define _CLASSNAME _CLASSNAMELENGTH + sizeof(classNameLength_) 44 44 45 45 ClassID::ClassID( unsigned int classID, std::string className ) 46 46 : Packet() … … 73 73 bool ClassID::process(){ 74 74 COUT(3) << "processing classid: " << getClassID() << " name: " << (const char*)(data_+_CLASSNAME) << std::endl; 75 orxonox::Identifier *id= GetIdentifier( std::string((const char*)(data_+_CLASSNAME) ));75 orxonox::Identifier *id=ClassByID( std::string((const char*)(data_+_CLASSNAME) )); 76 76 if(id==NULL) 77 77 return false;
Note: See TracChangeset
for help on using the changeset viewer.