![]() |
Dawn of Light - Class documentation 2900
This is the Dawn of Light project
|
This class holds all possible GameObject events. Only constants defined here! More...
Public Member Functions | |
override bool | IsValidFor (object o) |
Tests if this event is valid for the specified object. | |
Static Public Attributes | |
static readonly GameObjectEvent | AddToWorld = new GameObjectEvent("GameObject.AddToWorld") |
The AddToWorld event is fired whenever the object is added to the world. | |
static readonly GameObjectEvent | RemoveFromWorld = new GameObjectEvent("GameObject.RemoveFromWorld") |
The RemoveFromWorld event is fired whenever the object is removed from the world. | |
static readonly GameObjectEvent | MoveTo = new GameObjectEvent("GameObject.MoveTo") |
The MoveTo event is fired whenever the object is moved to a new position by the MoveTo method
| |
static readonly GameObjectEvent | Delete = new GameObjectEvent("GameObject.Delete") |
The Delete event is fired whenever the object is deleted. | |
static readonly GameObjectEvent | Interact = new GameObjectEvent("GameObject.Interact") |
The Interact event is fired whenever a player interacts with this object
| |
static readonly GameObjectEvent | InteractFailed = new GameObjectEvent("GameObject.InteractFailed") |
The Interact Failed event is fired whenever a player interacts with this object but fails
| |
static readonly GameObjectEvent | InteractWith = new GameObjectEvent("GameObject.InteractWith") |
The Interact event is fired whenever a player interacts with something
| |
static readonly GameObjectEvent | ReceiveItem = new GameObjectEvent("GameObjectEvent.ReceiveItem") |
The ReceiveItem event is fired whenever the object receives an item
| |
static readonly GameObjectEvent | ReceiveMoney = new GameObjectEvent("GameObjectEvent.ReceiveMoney") |
The ReceiveMoney event is fired whenever the object receives money
| |
static readonly GameObjectEvent | TakeDamage = new GameObjectEvent("GameObject.TakeDamage") |
The TakeDamage event is fired whenever an object takes damage
| |
Protected Member Functions | |
GameObjectEvent (string name) | |
Constructs a new GameObjectEvent. |
This class holds all possible GameObject events. Only constants defined here!
DOL.Events.GameObjectEvent.GameObjectEvent | ( | string | name | ) | [protected] |
Constructs a new GameObjectEvent.
name | the name of the event |
override bool DOL.Events.GameObjectEvent.IsValidFor | ( | object | o | ) | [virtual] |
Tests if this event is valid for the specified object.
o | The object for which the event wants to be registered |
Reimplemented from DOL.Events.DOLEvent.
Reimplemented in DOL.Events.GameLivingEvent, DOL.Events.GameNPCEvent, DOL.Events.GamePlayerEvent, and DOL.Events.GameTrainerEvent.
readonly GameObjectEvent DOL.Events.GameObjectEvent.AddToWorld = new GameObjectEvent("GameObject.AddToWorld") [static] |
The AddToWorld event is fired whenever the object is added to the world.
readonly GameObjectEvent DOL.Events.GameObjectEvent.Delete = new GameObjectEvent("GameObject.Delete") [static] |
The Delete event is fired whenever the object is deleted.
readonly GameObjectEvent DOL.Events.GameObjectEvent.Interact = new GameObjectEvent("GameObject.Interact") [static] |
The Interact event is fired whenever a player interacts with this object
readonly GameObjectEvent DOL.Events.GameObjectEvent.InteractFailed = new GameObjectEvent("GameObject.InteractFailed") [static] |
The Interact Failed event is fired whenever a player interacts with this object but fails
readonly GameObjectEvent DOL.Events.GameObjectEvent.InteractWith = new GameObjectEvent("GameObject.InteractWith") [static] |
The Interact event is fired whenever a player interacts with something
readonly GameObjectEvent DOL.Events.GameObjectEvent.MoveTo = new GameObjectEvent("GameObject.MoveTo") [static] |
The MoveTo event is fired whenever the object is moved to a new position by the MoveTo method
readonly GameObjectEvent DOL.Events.GameObjectEvent.ReceiveItem = new GameObjectEvent("GameObjectEvent.ReceiveItem") [static] |
The ReceiveItem event is fired whenever the object receives an item
readonly GameObjectEvent DOL.Events.GameObjectEvent.ReceiveMoney = new GameObjectEvent("GameObjectEvent.ReceiveMoney") [static] |
The ReceiveMoney event is fired whenever the object receives money
readonly GameObjectEvent DOL.Events.GameObjectEvent.RemoveFromWorld = new GameObjectEvent("GameObject.RemoveFromWorld") [static] |
The RemoveFromWorld event is fired whenever the object is removed from the world.
readonly GameObjectEvent DOL.Events.GameObjectEvent.TakeDamage = new GameObjectEvent("GameObject.TakeDamage") [static] |
The TakeDamage event is fired whenever an object takes damage