![]() |
Dawn of Light - Class documentation 2900
This is the Dawn of Light project
|
This class defines an abstract event in DOL It needs to be overridden in order to create custom events. More...
Public Member Functions | |
DOLEvent (string name) | |
Constructs a new event. | |
override string | ToString () |
Returns the string representation of this event. | |
virtual bool | IsValidFor (object o) |
Returns true if the event target is valid for this event. | |
Protected Attributes | |
string | m_EventName |
The event name. | |
Properties | |
string | Name [get] |
Gets the name of this event. |
This class defines an abstract event in DOL It needs to be overridden in order to create custom events.
DOL.Events.DOLEvent.DOLEvent | ( | string | name | ) |
Constructs a new event.
name | The name of the event |
virtual bool DOL.Events.DOLEvent.IsValidFor | ( | object | o | ) | [virtual] |
Returns true if the event target is valid for this event.
o | The object that is hooked |
Reimplemented in DOL.Events.GameLivingEvent, DOL.Events.GameNPCEvent, DOL.Events.GameObjectEvent, DOL.Events.GamePlayerEvent, DOL.Events.GameTrainerEvent, DOL.Events.KeepEvent, DOL.Events.RelicPadEvent, DOL.Events.AreaEvent, and DOL.Events.RegionEvent.
override string DOL.Events.DOLEvent.ToString | ( | ) |
Returns the string representation of this event.
string DOL.Events.DOLEvent.m_EventName [protected] |
The event name.
string DOL.Events.DOLEvent.Name [get] |
Gets the name of this event.