C# Class Nanook.TheGhost.ProjectSongNotes

Inheritance: ISettingsChange
显示文件 Open project: Nanook/TheGHOST Class Usage Examples

Public Methods

Method 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

Protected Methods

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

Private Methods

Method 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 method

public AddFile ( NotesFile file ) : void
file NotesFile
return void

GenerateItems() public method

public GenerateItems ( bool replaceExistingSp, bool replaceExistingBattle, bool replaceExistingFaceOff, bool replaceGeneratedItems ) : void
replaceExistingSp bool
replaceExistingBattle bool
replaceExistingFaceOff bool
replaceGeneratedItems bool
return void

GenerateNotes() public method

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
return bool

MapToGhItem() public method

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
return void

OnGhItemMapChanged() protected method

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

OnNotesFileChanged() protected method

protected OnNotesFileChanged ( NotesFile nf, NotesFileChangeType type ) : void
nf NotesFile
type NotesFileChangeType
return void

ParseFile() public method

public ParseFile ( string filename ) : NotesFile
filename string
return NotesFile

ReloadFile() public method

public ReloadFile ( NotesFile file ) : void
file NotesFile
return void

RemoveFile() public method

public RemoveFile ( NotesFile file ) : void
file NotesFile
return void

SmartMap() public method

public SmartMap ( NotesFile nf, bool exactMatch ) : void
nf NotesFile
exactMatch bool
return void

SmartMap() public method

public SmartMap ( bool exactMatch ) : void
exactMatch bool
return void

SourceGenerationItem() public method

public SourceGenerationItem ( NotesType type ) : GhNotesItem
type NotesType
return GhNotesItem

SourceGenerationItem() public method

public SourceGenerationItem ( NotesType type, NotesDifficulty difficulty ) : GhNotesItem
type NotesType
difficulty NotesDifficulty
return GhNotesItem

UnMapGhItem() public method

public UnMapGhItem ( GhNotesItem ghItem ) : void
ghItem GhNotesItem
return void