C# Class Codebreak.Service.World.Game.Spell.SpellBook

Inheritance: IDisposable
Afficher le fichier Open project: hussein-aitlahcen/codebreak

Méthodes publiques

Méthode Description
AddSpell ( int spellId, int level = 1, int position = 25 ) : void

Dispose ( ) : void

GenerateLevelUpSpell ( CharacterBreedEnum breed, int level ) : void

GetSpellLevel ( int spellId ) : SpellLevel

GetSpells ( ) : IEnumerable

HasSpell ( int spellId ) : bool

Initialize ( ) : void

LevelUp ( int spellId ) : bool

MoveSpell ( int spellId, int position ) : bool

Reset ( CharacterBreedEnum breed ) : void

SerializeAs_SpellsListMessage ( StringBuilder message ) : void

SpellBook ( int type, long id ) : System

Method Details

AddSpell() public méthode

public AddSpell ( int spellId, int level = 1, int position = 25 ) : void
spellId int
level int
position int
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GenerateLevelUpSpell() public méthode

public GenerateLevelUpSpell ( CharacterBreedEnum breed, int level ) : void
breed CharacterBreedEnum
level int
Résultat void

GetSpellLevel() public méthode

public GetSpellLevel ( int spellId ) : SpellLevel
spellId int
Résultat SpellLevel

GetSpells() public méthode

public GetSpells ( ) : IEnumerable
Résultat IEnumerable

HasSpell() public méthode

public HasSpell ( int spellId ) : bool
spellId int
Résultat bool

Initialize() public méthode

public Initialize ( ) : void
Résultat void

LevelUp() public méthode

public LevelUp ( int spellId ) : bool
spellId int
Résultat bool

MoveSpell() public méthode

public MoveSpell ( int spellId, int position ) : bool
spellId int
position int
Résultat bool

Reset() public méthode

public Reset ( CharacterBreedEnum breed ) : void
breed CharacterBreedEnum
Résultat void

SerializeAs_SpellsListMessage() public méthode

public SerializeAs_SpellsListMessage ( StringBuilder message ) : void
message StringBuilder
Résultat void

SpellBook() public méthode

public SpellBook ( int type, long id ) : System
type int
id long
Résultat System