C# Class MabiPacker.Worker

Show file Open project: logue/MabiPack Class Usage Examples

Public Methods

Method 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

Method Description
Interrupt ( ) : void

Show message box when process aborted.

Method Details

Pack() public method

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

Unpack() public method

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

UnpackFile() public method

Unpacking file
public UnpackFile ( PackResource Res ) : bool
Res PackResource PackResource
return bool

Worker() public method

public Worker ( ) : System
return System

Worker() public method

Initialize Worker Progress Window.
public Worker ( bool isCLI ) : System
isCLI bool
return System