Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6257 in orxonox.OLD for branches/network/src/lib/lang/base_object.h


Ignore:
Timestamp:
Dec 21, 2005, 11:58:57 PM (18 years ago)
Author:
rennerc
Message:

class_id.h: changed CL_ENTITY_MANAGER to CL_NETWORK_GAME_MANAGER
base_object: added realClassID which can be used with factory
network_game_manager: fixed some bugs again, can now spawn entities over network :D

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/lang/base_object.h

    r6077 r6257  
    3434  /** @returns the classID of the corresponding Object */
    3535  inline int getClassID() const { return this->classID; };
     36  inline int getRealClassID() const { return this->realClassID; };
    3637
    3738  bool isA (ClassID classID) const;
     
    4950    const char*        className;        //!< the name of the class
    5051    long               classID;          //!< this is the id from the class_id.h enumeration
     52    long               realClassID;      //!< classID which can be used with factory
    5153    char*              objectName;       //!< The name of this object
    5254};
Note: See TracChangeset for help on using the changeset viewer.