C# Class Aura.Channel.Skills.Music.Song

Inheritance: PlayingInstrument
Mostrar archivo Open project: aura-project/aura

Public Methods

Method Description
Cancel ( Creature creature, Skill skill ) : void

Cancels skill.

Init ( ) : void

Subscribes skill to events required for training.

Protected Methods

Method Description
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).

Method Details

AfterPlay() protected method

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

Cancel() public method

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

GetInstrumentType() protected method

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

GetRandomQualityMessage() protected method

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

GetRandomScore() protected method

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

Init() public method

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

OnPlay() protected method

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