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

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

#include <DBMonsterGroup.h>

Public Member Functions

RPG::EventScriptLinegetEventPageLine (int battleEventPage, int lineId)
 Easily returns a battle event line.
 

Public Attributes

int id
 ID of the monster group.
 
DStringPtr name
 Name of the monster group.
 
CatalogPtr< MonsterGroupPosition * > monsterList
 The current monsters in the grouping, along with their position.
 
DArray< bool, 1 > habitatTerrain
 The array of "Habitats" for this monster group.
 
CatalogPtr< BattleEventPage * > battleEventPages
 The battle event pages associated to this monster group.
 
bool randomizeHidden
 50% chance for hidden flag
 
MonsterAlignment alignment
 

Detailed Description

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

See also
RPG::dbMonsterGroups
RPG::MonsterAlignment
RPG::BattleEventPage
RPG::MonsterGroupPosition
RPG::getBattleEventLine(int monsterGroup, int battleEventPage, int lineId)

Member Function Documentation

◆ getEventPageLine()

RPG::EventScriptLine * RPG::DBMonsterGroup::getEventPageLine ( int battleEventPage,
int lineId )

Easily returns a battle event line.

Allows you to write RPG::getBattleEventLine(23,1,1)->command instead of RPG::dbMonsterGroups[23]->battleEventPages[1]->scriptLines->list->items[1]->command which gets the 2nd line on the 2nd page of monster group 23.

Parameters
battleEventPageThe monster group's battle event page ID (zero-based)
lineIdThe line ID (zero-based)
See also
RPG::BattleEventPage

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