30 namespace DragonAge2 {
35 _type(type), _creator(creator), _target(target) {
43 return new Event(*
this);
void setType(EventType type)
Event * clone() const
Clone factory method.
Aurora::NWScript::ObjectReference _creator
void setTarget(const Aurora::NWScript::ObjectReference &target)
const Aurora::NWScript::ObjectReference & getCreator() const
Aurora::NWScript::ObjectReference _target
An object in a Dragon Age II area.
EventType getType() const
Event(EventType type=kEventTypeInvalid, const Aurora::NWScript::ObjectReference &creator=Aurora::NWScript::ObjectReference(), const Aurora::NWScript::ObjectReference &target=Aurora::NWScript::ObjectReference())
void setCreator(const Aurora::NWScript::ObjectReference &creator)
EventType
Types for script events.
const Aurora::NWScript::ObjectReference & getTarget() const