navi homeaboutscreenshotsdownloaddevelopmentforum



ClassList is an extension to BaseObject, with which one is able to retrieve information about Elements in existence in the game.



Functions to get Lists of Objects of type ClassID, or by Name

    static tList<BaseObject>*       getList(long classID = CL_NULL);
    static tList<BaseObject>*       getList(const char* className);

function to check if an Element exists in a given List

    static bool                     exists(const BaseObject* object, long classID = CL_NULL);

function to retrieve a List of all known Classes

    static const tList<const char>* getClassList();

Debug Information

to print out nice information on what classes and how many objects are allocated visit:

    static void                     debug(unsigned int debugLevel = 0, long classID = CL_NULL);


Last modified 9 years ago Last modified on Nov 28, 2007, 12:38:20 AM