Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 18, 2008, 10:58:46 PM (16 years ago)
Author:
landauf
Message:

did some first (and very unfinished) steps to deal with different players on server and client

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/core/Identifier.h

    r1856 r1940  
    107107            bool isDirectParentOf(const Identifier* identifier) const;
    108108
     109            /** @brief Returns true if the class can be loaded through XML. */
     110            inline bool isLoadable() const { return this->bLoadable_; }
     111            /** @brief Set the class to be loadable through XML or not. */
     112            inline void setLoadable(bool bLoadable) { this->bLoadable_ = bLoadable; }
     113
    109114            /** @brief Returns the list of all existing objects of this class. @return The list */
    110115            inline ObjectListBase* getObjects() const
     
    285290            bool bCreatedOneObject_;                                       //!< True if at least one object of the given type was created (used to determine the need of storing the parents)
    286291            bool bSetName_;                                                //!< True if the name is set
     292            bool bLoadable_;                                               //!< False = it's not permitted to load the object through XML
    287293            std::string name_;                                             //!< The name of the class the Identifier belongs to
    288294            BaseFactory* factory_;                                         //!< The Factory, able to create new objects of the given class (if available)
Note: See TracChangeset for help on using the changeset viewer.