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

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

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

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 GameTrainerEvent PlayerPromoted = new GameTrainerEvent("GameTrainer.PlayerPromoted")
 The PlayerPromoted event is fired whenever trainer promotes the player to a new class.

Protected Member Functions

 GameTrainerEvent (string name)
 Constructs a new GameTrainer event.

Detailed Description

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


Constructor & Destructor Documentation

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

Constructs a new GameTrainer event.

Parameters:
namethe event name

Member Function Documentation

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


Member Data Documentation

readonly GameTrainerEvent DOL.Events.GameTrainerEvent.PlayerPromoted = new GameTrainerEvent("GameTrainer.PlayerPromoted") [static]

The PlayerPromoted event is fired whenever trainer promotes the player to a new class.


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