C# Класс Nanook.TheGhost.ProjectSongNotes

Наследование: ISettingsChange
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
OnGhItemMapChanged ( NotesFile fromFile, uint uniqueId, GhNotesItem toItem, bool isGenerated, bool addedRemoved ) : void
OnNotesFileChanged ( NotesFile nf, NotesFileChangeType type ) : void

Приватные методы

Метод Описание
ISettingsChange ( ) : void
ProjectSongNotes ( Project project, ProjectSong song ) : System
findMappedGhItemType ( NotesType type ) : GhNotesItem
findMatch ( NotesFile nf, GhNotesItem ghi, NotesType type, NotesDifficulty difficulty ) : bool

Описание методов

AddFile() публичный Метод

public AddFile ( NotesFile file ) : void
file NotesFile
Результат void

GenerateItems() публичный Метод

public GenerateItems ( bool replaceExistingSp, bool replaceExistingBattle, bool replaceExistingFaceOff, bool replaceGeneratedItems ) : void
replaceExistingSp bool
replaceExistingBattle bool
replaceExistingFaceOff bool
replaceGeneratedItems bool
Результат void

GenerateNotes() публичный Метод

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
Результат bool

MapToGhItem() публичный Метод

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
Результат void

OnGhItemMapChanged() защищенный Метод

protected OnGhItemMapChanged ( NotesFile fromFile, uint uniqueId, GhNotesItem toItem, bool isGenerated, bool addedRemoved ) : void
fromFile NotesFile
uniqueId uint
toItem GhNotesItem
isGenerated bool
addedRemoved bool
Результат void

OnNotesFileChanged() защищенный Метод

protected OnNotesFileChanged ( NotesFile nf, NotesFileChangeType type ) : void
nf NotesFile
type NotesFileChangeType
Результат void

ParseFile() публичный Метод

public ParseFile ( string filename ) : NotesFile
filename string
Результат NotesFile

ReloadFile() публичный Метод

public ReloadFile ( NotesFile file ) : void
file NotesFile
Результат void

RemoveFile() публичный Метод

public RemoveFile ( NotesFile file ) : void
file NotesFile
Результат void

SmartMap() публичный Метод

public SmartMap ( NotesFile nf, bool exactMatch ) : void
nf NotesFile
exactMatch bool
Результат void

SmartMap() публичный Метод

public SmartMap ( bool exactMatch ) : void
exactMatch bool
Результат void

SourceGenerationItem() публичный Метод

public SourceGenerationItem ( NotesType type ) : GhNotesItem
type NotesType
Результат GhNotesItem

SourceGenerationItem() публичный Метод

public SourceGenerationItem ( NotesType type, NotesDifficulty difficulty ) : GhNotesItem
type NotesType
difficulty NotesDifficulty
Результат GhNotesItem

UnMapGhItem() публичный Метод

public UnMapGhItem ( GhNotesItem ghItem ) : void
ghItem GhNotesItem
Результат void