34 _type(type), _creator(creator), _target(target) {
42 return new Event(*
this);
Aurora::NWScript::ObjectReference _creator
Event * clone() const
Clone factory method.
void setTarget(const Aurora::NWScript::ObjectReference &target)
Aurora::NWScript::ObjectReference _target
const Aurora::NWScript::ObjectReference & getTarget() const
Event(EventType type=kEventTypeInvalid, const Aurora::NWScript::ObjectReference creator=Aurora::NWScript::ObjectReference(), const Aurora::NWScript::ObjectReference target=Aurora::NWScript::ObjectReference())
EventType getType() const
void setType(EventType type)
void setCreator(const Aurora::NWScript::ObjectReference &creator)
const Aurora::NWScript::ObjectReference & getCreator() const
EventType
Types for script events.