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

#include <event.h>

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

Public Member Functions

 Event (EventType type)
 
void setUserDefinedNumber (int number)
 
EventType getType () const
 
int getUserDefinedNumber () const
 
Aurora::NWScript::EngineTypeclone () const
 Clone factory method. More...
 
- Public Member Functions inherited from Aurora::NWScript::EngineType
 EngineType ()
 
virtual ~EngineType ()
 

Private Attributes

EventType _type
 
int _userDefinedNumber
 

Detailed Description

Definition at line 38 of file event.h.

Constructor & Destructor Documentation

◆ Event()

Engines::KotOR::Event::Event ( EventType  type)

Definition at line 31 of file event.cpp.

Referenced by clone().

Here is the caller graph for this function:

Member Function Documentation

◆ clone()

Aurora::NWScript::EngineType * Engines::KotOR::Event::clone ( ) const
virtual

Clone factory method.

Implements Aurora::NWScript::EngineType.

Definition at line 48 of file event.cpp.

References _type, _userDefinedNumber, and Event().

Here is the call graph for this function:

◆ getType()

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

Definition at line 40 of file event.cpp.

References _type.

Referenced by Engines::KotOR::Functions::getUserDefinedEventNumber(), and Engines::KotOR::Functions::signalEvent().

Here is the caller graph for this function:

◆ getUserDefinedNumber()

int Engines::KotOR::Event::getUserDefinedNumber ( ) const

Definition at line 44 of file event.cpp.

References _userDefinedNumber.

Referenced by Engines::KotOR::Functions::getUserDefinedEventNumber().

Here is the caller graph for this function:

◆ setUserDefinedNumber()

void Engines::KotOR::Event::setUserDefinedNumber ( int  number)

Definition at line 36 of file event.cpp.

References _userDefinedNumber.

Referenced by Engines::KotOR::Functions::eventUserDefined().

Here is the caller graph for this function:

Member Data Documentation

◆ _type

EventType Engines::KotOR::Event::_type
private

Definition at line 50 of file event.h.

Referenced by clone(), and getType().

◆ _userDefinedNumber

int Engines::KotOR::Event::_userDefinedNumber
private

Definition at line 51 of file event.h.

Referenced by clone(), getUserDefinedNumber(), and setUserDefinedNumber().


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