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

Access to the common events. More...

#include <CommonEvent.h>

Public Member Functions

RPG::EventScriptLinegetLine (int lineId)
 Easily returns a common event line.
 

Public Attributes

int id
 The ID of the common event.
 
DStringPtr name
 The name of the common event.
 
EventScriptListscriptLines
 The event script lines.
 
CommonEventTrigger_T trigger
 The trigger condition for the common event.
 
bool switchActivated
 Is the common event activated via switch?
 
int switchId
 The switch ID if activated via switch.
 

Detailed Description

Access to the common events.

See also
RPG::commonEvents
RPG::CommonEventTrigger

Member Function Documentation

◆ getLine()

RPG::EventScriptLine * RPG::CommonEvent::getLine ( int lineId)

Easily returns a common event line.

Allows you to write RPG::getCommonEventLine(12,1)->command instead of RPG::commonEvents[12]->scriptLines->list->items[1]->command which gets the 2nd line of common event 12.

Parameters
lineIdThe line ID (zero-based)
See also
RPG::CommonEvent

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