OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
EventInterpreter Class Reference

#include <EventInterpreter.h>

Public Member Functions

bool executeRegular (int startStep)
 
bool executeNpcDialogue (int startStep)
 
void prepare (const EventMap &eventMap, int eventId, Pid objectPid, bool canShowMessages)
 
bool isValid ()
 

Protected Member Functions

int executeOneEvent (int step, bool isNpc)
 

Private Attributes

int _eventId = 0
 
std::vector< EventIR_events
 
Pid _objectPid = Pid()
 
bool _canShowMessages = false
 
bool _canShowOption = true
 
bool _readyToExit = false
 
bool _mapExitTriggered = false
 
CharacterChoosePolicy _who = CHOOSE_PARTY
 

Member Function Documentation

◆ executeNpcDialogue()

bool EventInterpreter::executeNpcDialogue ( int  startStep)

◆ executeOneEvent()

int EventInterpreter::executeOneEvent ( int  step,
bool  isNpc 
)
protected

◆ executeRegular()

bool EventInterpreter::executeRegular ( int  startStep)

◆ isValid()

bool EventInterpreter::isValid ( )

◆ prepare()

void EventInterpreter::prepare ( const EventMap eventMap,
int  eventId,
Pid  objectPid,
bool  canShowMessages 
)

Member Data Documentation

◆ _canShowMessages

bool EventInterpreter::_canShowMessages = false
private

◆ _canShowOption

bool EventInterpreter::_canShowOption = true
private

◆ _eventId

int EventInterpreter::_eventId = 0
private

◆ _events

std::vector<EventIR> EventInterpreter::_events
private

◆ _mapExitTriggered

bool EventInterpreter::_mapExitTriggered = false
private

◆ _objectPid

Pid EventInterpreter::_objectPid = Pid()
private

◆ _readyToExit

bool EventInterpreter::_readyToExit = false
private

◆ _who

CharacterChoosePolicy EventInterpreter::_who = CHOOSE_PARTY
private

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