C# Class Nanook.TheGhost.ProjectSongNotes

Inheritance: ISettingsChange
Afficher le fichier Open project: Nanook/TheGHOST Class Usage Examples

Méthodes publiques

Méthode Description
AddFile ( NotesFile file ) : void
GenerateItems ( bool replaceExistingSp, bool replaceExistingBattle, bool replaceExistingFaceOff, bool replaceGeneratedItems ) : void
GenerateNotes ( GhNotesItem ghi, bool force, bool replaceExistingSp, bool replaceExistingBattle, bool replaceExistingFaceOff, bool replaceGeneratedItems ) : bool
MapToGhItem ( NotesFile fromFile, uint uniqueId, GhNotesItem toItem, bool isGenerated ) : void

Map the missing GH3 items to other difficulties

ParseFile ( string filename ) : NotesFile
ReloadFile ( NotesFile file ) : void
RemoveFile ( NotesFile file ) : void
SmartMap ( NotesFile nf, bool exactMatch ) : void
SmartMap ( bool exactMatch ) : void
SourceGenerationItem ( NotesType type ) : GhNotesItem
SourceGenerationItem ( NotesType type, NotesDifficulty difficulty ) : GhNotesItem
UnMapGhItem ( GhNotesItem ghItem ) : void

Méthodes protégées

Méthode Description
OnGhItemMapChanged ( NotesFile fromFile, uint uniqueId, GhNotesItem toItem, bool isGenerated, bool addedRemoved ) : void
OnNotesFileChanged ( NotesFile nf, NotesFileChangeType type ) : void

Private Methods

Méthode Description
ISettingsChange ( ) : void
ProjectSongNotes ( Project project, ProjectSong song ) : System
findMappedGhItemType ( NotesType type ) : GhNotesItem
findMatch ( NotesFile nf, GhNotesItem ghi, NotesType type, NotesDifficulty difficulty ) : bool

Method Details

AddFile() public méthode

public AddFile ( NotesFile file ) : void
file NotesFile
Résultat void

GenerateItems() public méthode

public GenerateItems ( bool replaceExistingSp, bool replaceExistingBattle, bool replaceExistingFaceOff, bool replaceGeneratedItems ) : void
replaceExistingSp bool
replaceExistingBattle bool
replaceExistingFaceOff bool
replaceGeneratedItems bool
Résultat void

GenerateNotes() public méthode

public GenerateNotes ( GhNotesItem ghi, bool force, bool replaceExistingSp, bool replaceExistingBattle, bool replaceExistingFaceOff, bool replaceGeneratedItems ) : bool
ghi GhNotesItem
force bool
replaceExistingSp bool
replaceExistingBattle bool
replaceExistingFaceOff bool
replaceGeneratedItems bool
Résultat bool

MapToGhItem() public méthode

Map the missing GH3 items to other difficulties
public MapToGhItem ( NotesFile fromFile, uint uniqueId, GhNotesItem toItem, bool isGenerated ) : void
fromFile NotesFile
uniqueId uint
toItem GhNotesItem
isGenerated bool
Résultat void

OnGhItemMapChanged() protected méthode

protected OnGhItemMapChanged ( NotesFile fromFile, uint uniqueId, GhNotesItem toItem, bool isGenerated, bool addedRemoved ) : void
fromFile NotesFile
uniqueId uint
toItem GhNotesItem
isGenerated bool
addedRemoved bool
Résultat void

OnNotesFileChanged() protected méthode

protected OnNotesFileChanged ( NotesFile nf, NotesFileChangeType type ) : void
nf NotesFile
type NotesFileChangeType
Résultat void

ParseFile() public méthode

public ParseFile ( string filename ) : NotesFile
filename string
Résultat NotesFile

ReloadFile() public méthode

public ReloadFile ( NotesFile file ) : void
file NotesFile
Résultat void

RemoveFile() public méthode

public RemoveFile ( NotesFile file ) : void
file NotesFile
Résultat void

SmartMap() public méthode

public SmartMap ( NotesFile nf, bool exactMatch ) : void
nf NotesFile
exactMatch bool
Résultat void

SmartMap() public méthode

public SmartMap ( bool exactMatch ) : void
exactMatch bool
Résultat void

SourceGenerationItem() public méthode

public SourceGenerationItem ( NotesType type ) : GhNotesItem
type NotesType
Résultat GhNotesItem

SourceGenerationItem() public méthode

public SourceGenerationItem ( NotesType type, NotesDifficulty difficulty ) : GhNotesItem
type NotesType
difficulty NotesDifficulty
Résultat GhNotesItem

UnMapGhItem() public méthode

public UnMapGhItem ( GhNotesItem ghItem ) : void
ghItem GhNotesItem
Résultat void