DynRPG v0.32 Unofficial
Plugin SDK
Public Member Functions | Public Attributes | List of all members
RPG::MapTree Class Reference

Used for the default data of monster groups which are defined in the database. More...

#include <MapTree.h>

Public Member Functions

int getTreeIndex (int mapId)
 Gets the map tree index of a map.
 

Public Attributes

Catalog< MapTreeProperties * > properties
 The map properties for a certain map in this array.
 
int lastMapId
 ID of the most recently created/changed map.
 
MapStartPositionsstartPositions
 The start positions for the hero and vehicles.
 

Detailed Description

Used for the default data of monster groups which are defined in the database.

See also
RPG::mapTree
RPG::MapTreeProperites
RPG::MapEncounter
RPG::MapStartPositions

Member Function Documentation

◆ getTreeIndex()

int RPG::MapTree::getTreeIndex ( int mapId)

Gets the map tree index of a map.

Returns
The index of the requested map ID

Member Data Documentation

◆ properties

Catalog<MapTreeProperties*> RPG::MapTree::properties

The map properties for a certain map in this array.

Note
The array index does not always equal the map's id, so map 134 might be properties[125]. Use getTreeIndex(##) or mapTree->properties[##]->id to check if the map in the array is the one you're looking for.

The documentation for this class was generated from the following file: