![]() |
Dawn of Light - Class documentation 2900
This is the Dawn of Light project
|
Base class for all teleporter type NPCs. More...
Public Member Functions | |
override bool | Interact (GamePlayer player) |
Turn the teleporter to face the player. | |
override bool | WhisperReceive (GameLiving source, string text) |
Talk to the teleporter. | |
Protected Member Functions | |
virtual bool | GetTeleportLocation (GamePlayer player, string text) |
virtual void | OnDestinationPicked (GamePlayer player, Teleport destination) |
Player has picked a destination. Override if you need the teleporter to say something to the player before porting him. | |
virtual void | OnSubSelectionPicked (GamePlayer player, Teleport subSelection) |
Player has picked a subselection. Override to pass teleport options on to the player. | |
virtual void | OnTeleportSpell (GamePlayer player, Teleport destination) |
Teleport the player to the designated coordinates using the portal spell. | |
virtual void | OnTeleport (GamePlayer player, Teleport destination) |
Teleport the player to the designated coordinates. | |
Properties | |
virtual String | Type [get] |
The type of teleporter; this is used in order to be able to handle identical TeleportIDs differently, depending on the actual teleporter. | |
virtual eRealm | DestinationRealm [get] |
The destination realm. |
Base class for all teleporter type NPCs.
<author>Aredhel</author>
override bool DOL.GS.GameTeleporter.Interact | ( | GamePlayer | player | ) | [virtual] |
Turn the teleporter to face the player.
player |
Reimplemented from DOL.GS.GameNPC.
Reimplemented in DOL.GS.AncientBoundDjinn, DOL.GS.SummonedDjinn, DOL.GS.AlbionSITeleporter, DOL.GS.AlbionTeleporter, DOL.GS.HiberniaSITeleporter, DOL.GS.HiberniaTeleporter, DOL.GS.MidgardSITeleporter, DOL.GS.MidgardTeleporter, and DOL.GS.SimpleTeleporter.
virtual void DOL.GS.GameTeleporter.OnDestinationPicked | ( | GamePlayer | player, |
Teleport | destination | ||
) | [protected, virtual] |
Player has picked a destination. Override if you need the teleporter to say something to the player before porting him.
player | |
destination |
Reimplemented in DOL.GS.AncientBoundDjinn, DOL.GS.AlbionSITeleporter, DOL.GS.AlbionTeleporter, DOL.GS.HiberniaSITeleporter, DOL.GS.HiberniaTeleporter, DOL.GS.MidgardSITeleporter, DOL.GS.MidgardTeleporter, and DOL.GS.SimpleTeleporter.
virtual void DOL.GS.GameTeleporter.OnSubSelectionPicked | ( | GamePlayer | player, |
Teleport | subSelection | ||
) | [protected, virtual] |
Player has picked a subselection. Override to pass teleport options on to the player.
player | |
subSelection |
Reimplemented in DOL.GS.AncientBoundDjinn, DOL.GS.AlbionTeleporter, DOL.GS.HiberniaTeleporter, and DOL.GS.MidgardTeleporter.
virtual void DOL.GS.GameTeleporter.OnTeleport | ( | GamePlayer | player, |
Teleport | destination | ||
) | [protected, virtual] |
Teleport the player to the designated coordinates.
player | |
destination |
Reimplemented in DOL.GS.AncientBoundDjinn, DOL.GS.AlbionSITeleporter, DOL.GS.AlbionTeleporter, DOL.GS.HiberniaSITeleporter, DOL.GS.HiberniaTeleporter, DOL.GS.MidgardSITeleporter, DOL.GS.MidgardTeleporter, and DOL.GS.SimpleTeleporter.
virtual void DOL.GS.GameTeleporter.OnTeleportSpell | ( | GamePlayer | player, |
Teleport | destination | ||
) | [protected, virtual] |
Teleport the player to the designated coordinates using the portal spell.
player | |
destination |
override bool DOL.GS.GameTeleporter.WhisperReceive | ( | GameLiving | source, |
string | text | ||
) | [virtual] |
Talk to the teleporter.
source | |
text |
Reimplemented from DOL.GS.GameNPC.
Reimplemented in DOL.GS.SimpleTeleporter.
virtual eRealm DOL.GS.GameTeleporter.DestinationRealm [get, protected] |
The destination realm.
Reimplemented in DOL.GS.AncientBoundDjinn.
virtual String DOL.GS.GameTeleporter.Type [get, protected] |
The type of teleporter; this is used in order to be able to handle identical TeleportIDs differently, depending on the actual teleporter.
Reimplemented in DOL.GS.AncientBoundDjinn, and DOL.GS.SimpleTeleporter.