Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 29, 2008, 4:15:03 AM (16 years ago)
Author:
landauf
Message:
  • some small adjustments in identifier and co.
  • renamed GetIdentifier to ClassByName and ClassByID
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/network/packet/ClassID.cc

    r1837 r1856  
    4242#define _CLASSNAMELENGTH      _CLASSID + sizeof(unsigned int)
    4343#define _CLASSNAME            _CLASSNAMELENGTH + sizeof(classNameLength_)
    44  
     44
    4545  ClassID::ClassID( unsigned int classID, std::string className )
    4646 : Packet()
     
    7373bool ClassID::process(){
    7474  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) ));
    7676  if(id==NULL)
    7777    return false;
Note: See TracChangeset for help on using the changeset viewer.