DynRPG v0.32 Unofficial
Plugin SDK
|
Access to the common events. More...
#include <CommonEvent.h>
Public Member Functions | |
RPG::EventScriptLine * | getLine (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. | |
EventScriptList * | scriptLines |
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. | |
Access to the common events.
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.
lineId | The line ID (zero-based) |