Dawn of Light - Class documentation 2900
This is the Dawn of Light project
DOL.GS.FaceCustomiser Class Reference

Represents an in-game FaceCustomiser NPC. More...

Inheritance diagram for DOL.GS.FaceCustomiser:
DOL.GS.GameNPC DOL.GS.GameLiving DOL.GS.GameObject DOL.GS.Point3D DOL.GS.Point2D DOL.GS.IPoint3D DOL.GS.IPoint2D DOL.GS.IPoint2D

List of all members.

Public Member Functions

 FaceCustomiser ()
 Constructor.
override bool Interact (GamePlayer player)
 Called when a player right clicks on the npc.
override bool WhisperReceive (GameLiving source, string text)
 This function is called when the Living receives a whispered text.

Public Attributes

const int EFFECT_ID = 5924
 Spell id of the magical effect.
const int CAST_TIME = 2000
 The cast time delay in milliseconds.

Protected Member Functions

virtual int EndCastCallback (RegionTimer callingTimer)
 This function is called to show the spell animation to players.

Detailed Description

Represents an in-game FaceCustomiser NPC.


Constructor & Destructor Documentation

DOL.GS.FaceCustomiser.FaceCustomiser ( )

Constructor.


Member Function Documentation

virtual int DOL.GS.FaceCustomiser.EndCastCallback ( RegionTimer  callingTimer) [protected, virtual]

This function is called to show the spell animation to players.

Parameters:
callingTimer
Returns:
new delay in milliseconds
override bool DOL.GS.FaceCustomiser.Interact ( GamePlayer  player) [virtual]

Called when a player right clicks on the npc.

Parameters:
playerPlayer that interacting
Returns:
True if succeeded

Reimplemented from DOL.GS.GameNPC.

override bool DOL.GS.FaceCustomiser.WhisperReceive ( GameLiving  source,
string  text 
) [virtual]

This function is called when the Living receives a whispered text.

Parameters:
sourceGameLiving that was whispering
textstring that was whispered
Returns:
true if the string correctly processed

Reimplemented from DOL.GS.GameNPC.


Member Data Documentation

The cast time delay in milliseconds.

Spell id of the magical effect.


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