xoreos  0.0.5
Public Member Functions | Private Attributes | List of all members
Engines::DragonAge::Event Class Reference

#include <event.h>

Inheritance diagram for Engines::DragonAge::Event:
Inheritance graph
[legend]
Collaboration diagram for Engines::DragonAge::Event:
Collaboration graph
[legend]

Public Member Functions

 Event (EventType type=kEventTypeInvalid, const Aurora::NWScript::ObjectReference creator=Aurora::NWScript::ObjectReference(), const Aurora::NWScript::ObjectReference target=Aurora::NWScript::ObjectReference())
 
 ~Event ()
 
Eventclone () const
 Clone factory method. More...
 
EventType getType () const
 
void setType (EventType type)
 
const Aurora::NWScript::ObjectReferencegetCreator () const
 
void setCreator (const Aurora::NWScript::ObjectReference &creator)
 
const Aurora::NWScript::ObjectReferencegetTarget () const
 
void setTarget (const Aurora::NWScript::ObjectReference &target)
 
- Public Member Functions inherited from Aurora::NWScript::EngineType
 EngineType ()
 
virtual ~EngineType ()
 
- Public Member Functions inherited from Aurora::NWScript::VariableContainer
 VariableContainer ()
 
virtual ~VariableContainer ()
 
bool hasVariable (const Common::UString &var) const
 
VariablegetVariable (const Common::UString &var, Type type=kTypeVoid)
 
const VariablegetVariable (const Common::UString &var) const
 
void setVariable (const Common::UString &var, const Variable &value)
 
void removeVariable (const Common::UString &var)
 
void clearVariables ()
 

Private Attributes

EventType _type
 
Aurora::NWScript::ObjectReference _creator
 
Aurora::NWScript::ObjectReference _target
 

Detailed Description

Definition at line 44 of file event.h.

Constructor & Destructor Documentation

◆ Event()

Definition at line 31 of file event.cpp.

Referenced by clone().

Here is the caller graph for this function:

◆ ~Event()

Engines::DragonAge::Event::~Event ( )

Definition at line 38 of file event.cpp.

Member Function Documentation

◆ clone()

Event * Engines::DragonAge::Event::clone ( ) const
virtual

Clone factory method.

Implements Aurora::NWScript::EngineType.

Definition at line 41 of file event.cpp.

References Event().

Here is the call graph for this function:

◆ getCreator()

const Aurora::NWScript::ObjectReference & Engines::DragonAge::Event::getCreator ( ) const

Definition at line 53 of file event.cpp.

References _creator.

◆ getTarget()

const Aurora::NWScript::ObjectReference & Engines::DragonAge::Event::getTarget ( ) const

Definition at line 61 of file event.cpp.

References _target.

Referenced by Engines::DragonAge::ScriptContainer::runScript().

Here is the caller graph for this function:

◆ getType()

EventType Engines::DragonAge::Event::getType ( ) const

Definition at line 45 of file event.cpp.

References _type.

Referenced by Engines::DragonAge::ScriptContainer::runScript().

Here is the caller graph for this function:

◆ setCreator()

void Engines::DragonAge::Event::setCreator ( const Aurora::NWScript::ObjectReference creator)

Definition at line 57 of file event.cpp.

References _creator.

Referenced by Engines::DragonAge::Functions::setEventCreator().

Here is the caller graph for this function:

◆ setTarget()

void Engines::DragonAge::Event::setTarget ( const Aurora::NWScript::ObjectReference target)

Definition at line 65 of file event.cpp.

References _target.

◆ setType()

void Engines::DragonAge::Event::setType ( EventType  type)

Definition at line 49 of file event.cpp.

References _type.

Referenced by Engines::DragonAge::Functions::setEventType().

Here is the caller graph for this function:

Member Data Documentation

◆ _creator

Aurora::NWScript::ObjectReference Engines::DragonAge::Event::_creator
private

Definition at line 65 of file event.h.

Referenced by getCreator(), and setCreator().

◆ _target

Aurora::NWScript::ObjectReference Engines::DragonAge::Event::_target
private

Definition at line 66 of file event.h.

Referenced by getTarget(), and setTarget().

◆ _type

EventType Engines::DragonAge::Event::_type
private

Definition at line 63 of file event.h.

Referenced by getType(), and setType().


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