C# Класс Aura.Channel.Scripting.Scripts.DungeonScript

Наследование: IScript
Показать файл Открыть проект

Открытые методы

Метод Описание
Init ( ) : bool

Called when the script is initially created.

OnBoss ( Dungeon dungeon ) : void

Called when the boss door opens.

OnBossDeath ( Dungeon dungeon, Creature deadBoss, Creature killer ) : void

Called when one of the boss monsters dies.

OnCleared ( Dungeon dungeon ) : void

Called when the boss was killed.

OnCreation ( Dungeon dungeon ) : void

Called when the dungeon was just created.

OnLeftEarly ( Dungeon dungeon, Creature creature ) : void

Called when a player leaves a dungeon via the first statue, logging out, or similar.

OnPartyEntered ( Dungeon dungeon, Creature creature ) : void

Called once, when the entire initial party has entered the dungeon's lobby.

OnPlayerEntered ( Dungeon dungeon, Creature creature ) : void

Called whenever a player enters the dungeon's lobby.

OnPlayerEnteredFloor ( Dungeon dungeon, Creature creature, int floor ) : void

Called when a creature enters a floor region. The floor ids start at 1.

OnRpCharacterCreated ( Dungeon dungeon, RpCharacter rpCharacter ) : void

Called after an RP character was created, but before the player is warped into the dungeon.

Allows changes to the RP character, which are created based on actor data.

OnSectionCleared ( Dungeon dungeon, int floor, int section ) : void

Called when all puzzles of a section have been solved.

Route ( Creature creature, Item item, string &dungeonName ) : bool

Changes dungeonName depending on the item, returns true if routing was successful, if not, the dungeon was invalid.

Описание методов

Init() публичный Метод

Called when the script is initially created.
public Init ( ) : bool
Результат bool

OnBoss() публичный Метод

Called when the boss door opens.
public OnBoss ( Dungeon dungeon ) : void
dungeon Aura.Channel.World.Dungeons.Dungeon
Результат void

OnBossDeath() публичный Метод

Called when one of the boss monsters dies.
public OnBossDeath ( Dungeon dungeon, Creature deadBoss, Creature killer ) : void
dungeon Aura.Channel.World.Dungeons.Dungeon
deadBoss Aura.Channel.World.Entities.Creature
killer Aura.Channel.World.Entities.Creature
Результат void

OnCleared() публичный Метод

Called when the boss was killed.
public OnCleared ( Dungeon dungeon ) : void
dungeon Aura.Channel.World.Dungeons.Dungeon
Результат void

OnCreation() публичный Метод

Called when the dungeon was just created.
public OnCreation ( Dungeon dungeon ) : void
dungeon Aura.Channel.World.Dungeons.Dungeon
Результат void

OnLeftEarly() публичный Метод

Called when a player leaves a dungeon via the first statue, logging out, or similar.
public OnLeftEarly ( Dungeon dungeon, Creature creature ) : void
dungeon Aura.Channel.World.Dungeons.Dungeon
creature Aura.Channel.World.Entities.Creature
Результат void

OnPartyEntered() публичный Метод

Called once, when the entire initial party has entered the dungeon's lobby.
public OnPartyEntered ( Dungeon dungeon, Creature creature ) : void
dungeon Aura.Channel.World.Dungeons.Dungeon
creature Aura.Channel.World.Entities.Creature The last creature that entered.
Результат void

OnPlayerEntered() публичный Метод

Called whenever a player enters the dungeon's lobby.
public OnPlayerEntered ( Dungeon dungeon, Creature creature ) : void
dungeon Aura.Channel.World.Dungeons.Dungeon
creature Aura.Channel.World.Entities.Creature The creature that entered.
Результат void

OnPlayerEnteredFloor() публичный Метод

Called when a creature enters a floor region. The floor ids start at 1.
public OnPlayerEnteredFloor ( Dungeon dungeon, Creature creature, int floor ) : void
dungeon Aura.Channel.World.Dungeons.Dungeon
creature Aura.Channel.World.Entities.Creature
floor int
Результат void

OnRpCharacterCreated() публичный Метод

Called after an RP character was created, but before the player is warped into the dungeon.
Allows changes to the RP character, which are created based on actor data.
public OnRpCharacterCreated ( Dungeon dungeon, RpCharacter rpCharacter ) : void
dungeon Aura.Channel.World.Dungeons.Dungeon
rpCharacter Aura.Channel.World.Entities.RpCharacter
Результат void

OnSectionCleared() публичный Метод

Called when all puzzles of a section have been solved.
public OnSectionCleared ( Dungeon dungeon, int floor, int section ) : void
dungeon Aura.Channel.World.Dungeons.Dungeon
floor int The floor, starting at 1 (lobby is ignored).
section int The section, starting at 1.
Результат void

Route() публичный Метод

Changes dungeonName depending on the item, returns true if routing was successful, if not, the dungeon was invalid.
public Route ( Creature creature, Item item, string &dungeonName ) : bool
creature Aura.Channel.World.Entities.Creature
item Item
dungeonName string
Результат bool