C# Class SleepHunter.Metadata.SpellMetadataManager

Afficher le fichier Open project: ewrogers/SleepHunter4

Méthodes publiques

Свойство Type Description
SpellMetadataFile string

Méthodes publiques

Méthode Description
AddSpell ( SpellMetadata spell ) : void
ClearSpells ( ) : void
ContainsSpell ( string spellName ) : bool
GetSpell ( string spellName ) : SpellMetadata
LoadFromFile ( string filename ) : void
LoadFromStream ( Stream stream ) : void
RemoveSpell ( string spellName ) : bool
RenameSpell ( string originalName, string newName ) : bool
SaveToFile ( string filename ) : void
SaveToStream ( Stream stream ) : void

Private Methods

Méthode Description
OnSpellAdded ( SpellMetadata spell ) : void
OnSpellChanged ( SpellMetadata spell ) : void
OnSpellRemoved ( SpellMetadata spell ) : void
SpellMetadataManager ( ) : System

Method Details

AddSpell() public méthode

public AddSpell ( SpellMetadata spell ) : void
spell SpellMetadata
Résultat void

ClearSpells() public méthode

public ClearSpells ( ) : void
Résultat void

ContainsSpell() public méthode

public ContainsSpell ( string spellName ) : bool
spellName string
Résultat bool

GetSpell() public méthode

public GetSpell ( string spellName ) : SpellMetadata
spellName string
Résultat SpellMetadata

LoadFromFile() public méthode

public LoadFromFile ( string filename ) : void
filename string
Résultat void

LoadFromStream() public méthode

public LoadFromStream ( Stream stream ) : void
stream Stream
Résultat void

RemoveSpell() public méthode

public RemoveSpell ( string spellName ) : bool
spellName string
Résultat bool

RenameSpell() public méthode

public RenameSpell ( string originalName, string newName ) : bool
originalName string
newName string
Résultat bool

SaveToFile() public méthode

public SaveToFile ( string filename ) : void
filename string
Résultat void

SaveToStream() public méthode

public SaveToStream ( Stream stream ) : void
stream Stream
Résultat void

Property Details

SpellMetadataFile public_oe static_oe property

public static string SpellMetadataFile
Résultat string