OpenEnroth 2a41f3e
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
EvtInterpreter Class Reference

#include <EvtInterpreter.h>

Public Member Functions

bool executeRegular (int startStep)
 
bool executeNpcDialogue (int startStep)
 
void prepare (const EvtProgram &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< EvtInstruction_events
 
Pid _objectPid = Pid()
 
bool _canShowMessages = false
 
bool _canShowOption = true
 
bool _readyToExit = false
 
bool _mapExitTriggered = false
 
EvtTargetCharacter _who = CHOOSE_PARTY
 

Member Function Documentation

◆ executeNpcDialogue()

bool EvtInterpreter::executeNpcDialogue ( int  startStep)

◆ executeOneEvent()

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

◆ executeRegular()

bool EvtInterpreter::executeRegular ( int  startStep)

◆ isValid()

bool EvtInterpreter::isValid ( )

◆ prepare()

void EvtInterpreter::prepare ( const EvtProgram eventMap,
int  eventId,
Pid  objectPid,
bool  canShowMessages 
)

Member Data Documentation

◆ _canShowMessages

bool EvtInterpreter::_canShowMessages = false
private

◆ _canShowOption

bool EvtInterpreter::_canShowOption = true
private

◆ _eventId

int EvtInterpreter::_eventId = 0
private

◆ _events

std::vector<EvtInstruction> EvtInterpreter::_events
private

◆ _mapExitTriggered

bool EvtInterpreter::_mapExitTriggered = false
private

◆ _objectPid

Pid EvtInterpreter::_objectPid = Pid()
private

◆ _readyToExit

bool EvtInterpreter::_readyToExit = false
private

◆ _who

EvtTargetCharacter EvtInterpreter::_who = CHOOSE_PARTY
private

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