40 namespace DragonAge2 {
193 event = &invalidEvent;
207 throw Common::Exception(
"Functions::handleEventRef(): Reference is not an event");
void getCurrentEvent(Aurora::NWScript::FunctionContext &ctx)
void getEventTypeRef(Aurora::NWScript::FunctionContext &ctx)
void setType(EventType type)
void isEventValid(Aurora::NWScript::FunctionContext &ctx)
A container of Dragon Age II objects.
Context of an NWScript function.
An object containing scripts.
bool hasVariable(const Common::UString &var) const
bool runScript(EventType event, const Aurora::NWScript::ObjectReference owner=Aurora::NWScript::ObjectReference(), const Aurora::NWScript::ObjectReference triggerer=Aurora::NWScript::ObjectReference())
Basic exceptions to throw.
EngineType * getEngineType() const
void getEventCreator(Aurora::NWScript::FunctionContext &ctx)
Utility templates and functions.
static Event * toEvent(Aurora::NWScript::EngineType *engineType)
void getEventTargetRef(Aurora::NWScript::FunctionContext &ctx)
void setEventCreator(Aurora::NWScript::FunctionContext &ctx)
Variable & getVariable(const Common::UString &var, Type type=kTypeVoid)
void handleEventRef(Aurora::NWScript::FunctionContext &ctx)
void getEventTarget(Aurora::NWScript::FunctionContext &ctx)
VariableContainer * getCurrentEnvironment() const
An NWScript variable container.
void getEventType(Aurora::NWScript::FunctionContext &ctx)
void setCreator(const Aurora::NWScript::ObjectReference &creator)
void getCurrentEventType(Aurora::NWScript::FunctionContext &ctx)
EventType
Types for script events.
Dragon Age II engine functions.
void handleEvent(Aurora::NWScript::FunctionContext &ctx)
void setEventTypeRef(Aurora::NWScript::FunctionContext &ctx)
void setEventCreatorRef(Aurora::NWScript::FunctionContext &ctx)
void setEventType(Aurora::NWScript::FunctionContext &ctx)
void getEventCreatorRef(Aurora::NWScript::FunctionContext &ctx)