C# 클래스 Aura.Channel.Scripting.Scripts.DungeonScript

상속: IScript
파일 보기 프로젝트 열기: aura-project/aura

공개 메소드들

메소드 설명
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