Dawn of Light - Class documentation 2900
This is the Dawn of Light project
DOL.Events.GameObjectEvent Class Reference

This class holds all possible GameObject events. Only constants defined here! More...

Inheritance diagram for DOL.Events.GameObjectEvent:
DOL.Events.DOLEvent DOL.Events.GameLivingEvent DOL.Events.GameNPCEvent DOL.Events.GamePlayerEvent DOL.Events.GameTrainerEvent DOL.GS.GuildPlayerEvent

List of all members.

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

See also:
MoveToEventArgs

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

See also:
InteractEventArgs

static readonly GameObjectEvent InteractFailed = new GameObjectEvent("GameObject.InteractFailed")
 The Interact Failed event is fired whenever a player interacts with this object but fails

See also:
InteractEventArgs

static readonly GameObjectEvent InteractWith = new GameObjectEvent("GameObject.InteractWith")
 The Interact event is fired whenever a player interacts with something

See also:
InteractEventArgs

static readonly GameObjectEvent ReceiveItem = new GameObjectEvent("GameObjectEvent.ReceiveItem")
 The ReceiveItem event is fired whenever the object receives an item

See also:
ReceiveItemEventArgs

static readonly GameObjectEvent ReceiveMoney = new GameObjectEvent("GameObjectEvent.ReceiveMoney")
 The ReceiveMoney event is fired whenever the object receives money

See also:
ReceiveMoneyEventArgs

static readonly GameObjectEvent TakeDamage = new GameObjectEvent("GameObject.TakeDamage")
 The TakeDamage event is fired whenever an object takes damage

See also:
TakeDamageEventArgs

Protected Member Functions

 GameObjectEvent (string name)
 Constructs a new GameObjectEvent.

Detailed Description

This class holds all possible GameObject events. Only constants defined here!


Constructor & Destructor Documentation

DOL.Events.GameObjectEvent.GameObjectEvent ( string  name) [protected]

Constructs a new GameObjectEvent.

Parameters:
namethe name of the event

Member Function Documentation

override bool DOL.Events.GameObjectEvent.IsValidFor ( object  o) [virtual]

Tests if this event is valid for the specified object.

Parameters:
oThe object for which the event wants to be registered
Returns:
true if valid, false if not

Reimplemented from DOL.Events.DOLEvent.

Reimplemented in DOL.Events.GameLivingEvent, DOL.Events.GameNPCEvent, DOL.Events.GamePlayerEvent, and DOL.Events.GameTrainerEvent.


Member Data Documentation

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

See also:
InteractEventArgs

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

See also:
InteractEventArgs

readonly GameObjectEvent DOL.Events.GameObjectEvent.InteractWith = new GameObjectEvent("GameObject.InteractWith") [static]

The Interact event is fired whenever a player interacts with something

See also:
InteractEventArgs

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

See also:
MoveToEventArgs

readonly GameObjectEvent DOL.Events.GameObjectEvent.ReceiveItem = new GameObjectEvent("GameObjectEvent.ReceiveItem") [static]

The ReceiveItem event is fired whenever the object receives an item

See also:
ReceiveItemEventArgs

readonly GameObjectEvent DOL.Events.GameObjectEvent.ReceiveMoney = new GameObjectEvent("GameObjectEvent.ReceiveMoney") [static]

The ReceiveMoney event is fired whenever the object receives money

See also:
ReceiveMoneyEventArgs

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

See also:
TakeDamageEventArgs


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties Events