C# 클래스 Aura.Channel.Skills.Music.Song

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

공개 메소드들

메소드 설명
Cancel ( Creature creature, Skill skill ) : void

Cancels skill.

Init ( ) : void

Subscribes skill to events required for training.

보호된 메소드들

메소드 설명
AfterPlay ( Creature creature, Skill skill, int quality ) : void

Called when completing (training).

GetInstrumentType ( Creature creature ) : InstrumentType

Returns instrument type to use.

GetRandomQualityMessage ( int quality ) : string

Returns random success message.

Reference: http://wiki.mabinogiworld.com/view/Song

GetRandomScore ( Random rnd ) : int

Returns random score id.

OnPlay ( Creature creature, Skill skill, int quality ) : void

Called when starting playing (training).

메소드 상세

AfterPlay() 보호된 메소드

Called when completing (training).
protected AfterPlay ( Creature creature, Skill skill, int quality ) : void
creature Aura.Channel.World.Entities.Creature
skill Skill
quality int
리턴 void

Cancel() 공개 메소드

Cancels skill.
public Cancel ( Creature creature, Skill skill ) : void
creature Aura.Channel.World.Entities.Creature
skill Skill
리턴 void

GetInstrumentType() 보호된 메소드

Returns instrument type to use.
protected GetInstrumentType ( Creature creature ) : InstrumentType
creature Aura.Channel.World.Entities.Creature
리턴 InstrumentType

GetRandomQualityMessage() 보호된 메소드

Returns random success message.
Reference: http://wiki.mabinogiworld.com/view/Song
protected GetRandomQualityMessage ( int quality ) : string
quality int
리턴 string

GetRandomScore() 보호된 메소드

Returns random score id.
protected GetRandomScore ( Random rnd ) : int
rnd System.Random
리턴 int

Init() 공개 메소드

Subscribes skill to events required for training.
public Init ( ) : void
리턴 void

OnPlay() 보호된 메소드

Called when starting playing (training).
protected OnPlay ( Creature creature, Skill skill, int quality ) : void
creature Aura.Channel.World.Entities.Creature
skill Skill
quality int
리턴 void