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

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

Inheritance diagram for DOL.Events.AreaEvent:
DOL.Events.DOLEvent

List of all members.

Public Member Functions

 AreaEvent (string name)
override bool IsValidFor (object o)
 Tests if this event is valid for the specified object.

Static Public Attributes

static readonly AreaEvent PlayerEnter = new AreaEvent("AreaEvent.PlayerEnter")
 The PlayerEnter event is fired whenever the player enters an area.
static readonly AreaEvent PlayerLeave = new AreaEvent("AreaEvent.PlayerLeave")
 The PlayerLeave event is fired whenever the player leaves an area.

Detailed Description

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


Member Function Documentation

override bool DOL.Events.AreaEvent.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.


Member Data Documentation

readonly AreaEvent DOL.Events.AreaEvent.PlayerEnter = new AreaEvent("AreaEvent.PlayerEnter") [static]

The PlayerEnter event is fired whenever the player enters an area.

readonly AreaEvent DOL.Events.AreaEvent.PlayerLeave = new AreaEvent("AreaEvent.PlayerLeave") [static]

The PlayerLeave event is fired whenever the player leaves an area.


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