dao::CScriptEvent

class

Derives from dao::CDataArrays.

A script’s event, with its parameters (CDataArrays).

An event script gets one from GetCurrentEvent, and SignalEvent sends one.

Declared in dao/Structures.h.

Functions

Creator()

ObjectId Creator() const

Returns the object that sent the event.

CScriptEvent()

CScriptEvent()=delete

CScriptEvent()

CScriptEvent(const CScriptEvent &)=delete

operator=()

CScriptEvent & operator=(const CScriptEvent &)=delete

Target()

ObjectId Target() const

Returns the object the event is sent to.

Type()

script::EventType Type() const

Returns the event’s type: one of EVENT_TYPE_* in script.ldf, or a custom number a script chose.

~CScriptEvent()

~CScriptEvent()=delete