C# Class MabiPacker.Worker

Afficher le fichier Open project: logue/MabiPack Class Usage Examples

Méthodes publiques

Méthode Description
Pack ( string InputDir, string OutputFile, uint OutputVer, int Level = -1 ) : void

Packing Package file process.

Unpack ( string InputFile, string OutputDir ) : void

Unpacking Package file process.

UnpackFile ( PackResource Res ) : bool

Unpacking file

Worker ( ) : System
Worker ( bool isCLI ) : System

Initialize Worker Progress Window.

Private Methods

Méthode Description
Interrupt ( ) : void

Show message box when process aborted.

Method Details

Pack() public méthode

Packing Package file process.
public Pack ( string InputDir, string OutputFile, uint OutputVer, int Level = -1 ) : void
InputDir string Set distnation of data directory for pack.
OutputFile string Set filename of outputted *.pack file, with path.
OutputVer uint Set version of *.pack file.
Level int
Résultat void

Unpack() public méthode

Unpacking Package file process.
public Unpack ( string InputFile, string OutputDir ) : void
InputFile string Set filename of unpack file..
OutputDir string Set output distnation of Unpacked files.
Résultat void

UnpackFile() public méthode

Unpacking file
public UnpackFile ( PackResource Res ) : bool
Res PackResource PackResource
Résultat bool

Worker() public méthode

public Worker ( ) : System
Résultat System

Worker() public méthode

Initialize Worker Progress Window.
public Worker ( bool isCLI ) : System
isCLI bool
Résultat System