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

#include <event.h>

Inheritance diagram for Engines::DragonAge2::Event:
Inheritance graph
[legend]
Collaboration diagram for Engines::DragonAge2::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 32 of file event.cpp.

Referenced by clone().

Here is the caller graph for this function:

◆ ~Event()

Engines::DragonAge2::Event::~Event ( )

Definition at line 39 of file event.cpp.

Member Function Documentation

◆ clone()

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

Clone factory method.

Implements Aurora::NWScript::EngineType.

Definition at line 42 of file event.cpp.

References Event().

Here is the call graph for this function:

◆ getCreator()

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

Definition at line 54 of file event.cpp.

References _creator.

◆ getTarget()

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

Definition at line 62 of file event.cpp.

References _target.

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

Here is the caller graph for this function:

◆ getType()

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

Definition at line 46 of file event.cpp.

References _type.

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

Here is the caller graph for this function:

◆ setCreator()

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

Definition at line 58 of file event.cpp.

References _creator.

Referenced by Engines::DragonAge2::Functions::setEventCreator(), and Engines::DragonAge2::Functions::setEventCreatorRef().

Here is the caller graph for this function:

◆ setTarget()

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

Definition at line 66 of file event.cpp.

References _target.

◆ setType()

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

Definition at line 50 of file event.cpp.

References _type.

Referenced by Engines::DragonAge2::Functions::setEventType(), and Engines::DragonAge2::Functions::setEventTypeRef().

Here is the caller graph for this function:

Member Data Documentation

◆ _creator

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

Definition at line 65 of file event.h.

Referenced by getCreator(), and setCreator().

◆ _target

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

Definition at line 66 of file event.h.

Referenced by getTarget(), and setTarget().

◆ _type

EventType Engines::DragonAge2::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: