C# 클래스 Nanook.TheGhost.FileManager

Manages files being imported and eported to and from TheGHOST respectively
파일 보기 프로젝트 열기: Nanook/TheGHOST 1 사용 예제들

공개 메소드들

메소드 설명
AddNew ( GameFile gameFiles ) : void

A new file has been created, used when new files are to be written/updated in the game.

ChangedFiles ( ) : Nanook.TheGhost.GameFile[]
CopyFilesToProject ( ProjectSettings settings, DirectoryInfo pDir ) : void

Copy files to a project folder

CountAllChanged ( ) : int

Returns how many items are to be updated, useful for calculating progress

DeleteFilesInWorkingFolders ( ) : void
Export ( GameFile gameFiles, FileCopyProgress callback ) : Nanook.TheGhost.GameFile[]

Write files to the game

ExportAllChanged ( FileCopyProgress callback ) : Nanook.TheGhost.GameFile[]

Writes all modified files that have been read with FileImport or added with FileAddNew

ExportAllChangedSmart ( FileCopyProgress callback ) : Nanook.TheGhost.GameFile[]

Writes all modified files that have been read with FileImport or added with FileAddNew, skips dats when wads failed

File ( string gameName ) : GameFile
Import ( GameFile gameFiles, FileCopyProgress callback ) : Nanook.TheGhost.GameFile[]

Import ( GameFileType gameFileType, FileCopyProgress callback ) : Nanook.TheGhost.GameFile[]

ImportBackgroundAudio ( FileCopyProgress callback ) : Nanook.TheGhost.GameFile[]

Imports the notes PAK files for all songs in the EditSongs

ImportNotesPaks ( FileCopyProgress callback ) : Nanook.TheGhost.GameFile[]

Imports the notes PAK files for all changed songs

ImportPaks ( FileCopyProgress callback ) : Nanook.TheGhost.GameFile[]

Imports the QB/PAB/DBG paks

LoadQbFile ( string qbFilename ) : QbFile
RemoveAndDeleteAllFiles ( ) : void
RemoveAndDeleteFiles ( GameFileType type ) : void
RemoveFiles ( GameFileType type ) : void
UpdatePaks ( ) : void

비공개 메소드들

메소드 설명
FileManager ( Project project, IPluginFileCopy fileCopyPlugin, string gameLocation ) : System
ProjectSongSettingsFolder ( ProjectTierSong pts, DirectoryInfo pDir ) : DirectoryInfo
addFile ( FileInfo s, DirectoryInfo dd, List srcFiles, List outFiles ) : FileInfo
copyMoveProjectFiles ( DirectoryInfo pDir, List srcFiles, List dstFiles ) : void
loadDbgQBFile ( string qbFilename ) : string
localGameFilename ( string gameFilename ) : string

메소드 상세

AddNew() 공개 메소드

A new file has been created, used when new files are to be written/updated in the game.
public AddNew ( GameFile gameFiles ) : void
gameFiles GameFile
리턴 void

ChangedFiles() 공개 메소드

public ChangedFiles ( ) : Nanook.TheGhost.GameFile[]
리턴 Nanook.TheGhost.GameFile[]

CopyFilesToProject() 공개 메소드

Copy files to a project folder
public CopyFilesToProject ( ProjectSettings settings, DirectoryInfo pDir ) : void
settings ProjectSettings
pDir System.IO.DirectoryInfo
리턴 void

CountAllChanged() 공개 메소드

Returns how many items are to be updated, useful for calculating progress
public CountAllChanged ( ) : int
리턴 int

DeleteFilesInWorkingFolders() 공개 메소드

public DeleteFilesInWorkingFolders ( ) : void
리턴 void

Export() 공개 메소드

Write files to the game
public Export ( GameFile gameFiles, FileCopyProgress callback ) : Nanook.TheGhost.GameFile[]
gameFiles GameFile
callback FileCopyProgress
리턴 Nanook.TheGhost.GameFile[]

ExportAllChanged() 공개 메소드

Writes all modified files that have been read with FileImport or added with FileAddNew
public ExportAllChanged ( FileCopyProgress callback ) : Nanook.TheGhost.GameFile[]
callback FileCopyProgress
리턴 Nanook.TheGhost.GameFile[]

ExportAllChangedSmart() 공개 메소드

Writes all modified files that have been read with FileImport or added with FileAddNew, skips dats when wads failed
public ExportAllChangedSmart ( FileCopyProgress callback ) : Nanook.TheGhost.GameFile[]
callback FileCopyProgress
리턴 Nanook.TheGhost.GameFile[]

File() 공개 메소드

public File ( string gameName ) : GameFile
gameName string
리턴 GameFile

Import() 공개 메소드

public Import ( GameFile gameFiles, FileCopyProgress callback ) : Nanook.TheGhost.GameFile[]
gameFiles GameFile
callback FileCopyProgress
리턴 Nanook.TheGhost.GameFile[]

Import() 공개 메소드

public Import ( GameFileType gameFileType, FileCopyProgress callback ) : Nanook.TheGhost.GameFile[]
gameFileType GameFileType
callback FileCopyProgress
리턴 Nanook.TheGhost.GameFile[]

ImportBackgroundAudio() 공개 메소드

Imports the notes PAK files for all songs in the EditSongs
public ImportBackgroundAudio ( FileCopyProgress callback ) : Nanook.TheGhost.GameFile[]
callback FileCopyProgress
리턴 Nanook.TheGhost.GameFile[]

ImportNotesPaks() 공개 메소드

Imports the notes PAK files for all changed songs
public ImportNotesPaks ( FileCopyProgress callback ) : Nanook.TheGhost.GameFile[]
callback FileCopyProgress
리턴 Nanook.TheGhost.GameFile[]

ImportPaks() 공개 메소드

Imports the QB/PAB/DBG paks
public ImportPaks ( FileCopyProgress callback ) : Nanook.TheGhost.GameFile[]
callback FileCopyProgress
리턴 Nanook.TheGhost.GameFile[]

LoadQbFile() 공개 메소드

public LoadQbFile ( string qbFilename ) : QbFile
qbFilename string
리턴 Nanook.QueenBee.Parser.QbFile

RemoveAndDeleteAllFiles() 공개 메소드

public RemoveAndDeleteAllFiles ( ) : void
리턴 void

RemoveAndDeleteFiles() 공개 메소드

public RemoveAndDeleteFiles ( GameFileType type ) : void
type GameFileType
리턴 void

RemoveFiles() 공개 메소드

public RemoveFiles ( GameFileType type ) : void
type GameFileType
리턴 void

UpdatePaks() 공개 메소드

public UpdatePaks ( ) : void
리턴 void