C# 클래스 SleepHunter.Metadata.SpellMetadataManager

파일 보기 프로젝트 열기: ewrogers/SleepHunter4

공개 프로퍼티들

프로퍼티 타입 설명
SpellMetadataFile string

공개 메소드들

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

비공개 메소드들

메소드 설명
OnSpellAdded ( SpellMetadata spell ) : void
OnSpellChanged ( SpellMetadata spell ) : void
OnSpellRemoved ( SpellMetadata spell ) : void
SpellMetadataManager ( ) : System

메소드 상세

AddSpell() 공개 메소드

public AddSpell ( SpellMetadata spell ) : void
spell SpellMetadata
리턴 void

ClearSpells() 공개 메소드

public ClearSpells ( ) : void
리턴 void

ContainsSpell() 공개 메소드

public ContainsSpell ( string spellName ) : bool
spellName string
리턴 bool

GetSpell() 공개 메소드

public GetSpell ( string spellName ) : SpellMetadata
spellName string
리턴 SpellMetadata

LoadFromFile() 공개 메소드

public LoadFromFile ( string filename ) : void
filename string
리턴 void

LoadFromStream() 공개 메소드

public LoadFromStream ( Stream stream ) : void
stream Stream
리턴 void

RemoveSpell() 공개 메소드

public RemoveSpell ( string spellName ) : bool
spellName string
리턴 bool

RenameSpell() 공개 메소드

public RenameSpell ( string originalName, string newName ) : bool
originalName string
newName string
리턴 bool

SaveToFile() 공개 메소드

public SaveToFile ( string filename ) : void
filename string
리턴 void

SaveToStream() 공개 메소드

public SaveToStream ( Stream stream ) : void
stream Stream
리턴 void

프로퍼티 상세

SpellMetadataFile 공개적으로 정적으로 프로퍼티

public static string SpellMetadataFile
리턴 string