C# Class MabiPacker.MabiEnvironment

Mostrar archivo Open project: logue/MabiPack Class Usage Examples

Public Properties

Property Type Description
Arg string
Code uint
Fullver uint
LangPack string
LocalVersion uint
LoginIP string
LoginPort uint
MabinogiDir string
PatchServer System.Uri
Version uint
isDownloadable bool

Public Methods

Method Description
Launch ( String args, Form form ) : bool

Launch Mabinogi client. If Crackshild is detected, launch crackshield. Notice : The parent program MUST be put on the same directory as client.exe.

MabiEnvironment ( ) : System

Get Mabinogi Environment

MabiEnvironment ( string url ) : System

Get Mabinogi Environment

Private Methods

Method Description
GetMabiDir ( ) : String

Get Mabinogi installed directory from Registory.

GetMabiVer ( ) : uint

Read Mabinogi Version from version.dat

PatchText ( string url ) : string>.Dictionary

Fetch and parse patch.txt

RunElevated ( string fileName, string arguments, Form parentForm, bool waitExit ) : bool

Launch other program as Administrator.

Method Details

Launch() public method

Launch Mabinogi client. If Crackshild is detected, launch crackshield. Notice : The parent program MUST be put on the same directory as client.exe.
public Launch ( String args, Form form ) : bool
args String
form System.Windows.Forms.Form The window of a parent program.
return bool

MabiEnvironment() public method

Get Mabinogi Environment
public MabiEnvironment ( ) : System
return System

MabiEnvironment() public method

Get Mabinogi Environment
public MabiEnvironment ( string url ) : System
url string Url to Patch.txt
return System

Property Details

Arg public_oe property

public string Arg
return string

Code public_oe property

public uint Code
return uint

Fullver public_oe property

public uint Fullver
return uint

LangPack public_oe property

public string LangPack
return string

LocalVersion public_oe property

public uint LocalVersion
return uint

LoginIP public_oe property

public string LoginIP
return string

LoginPort public_oe property

public uint LoginPort
return uint

MabinogiDir public_oe property

public string MabinogiDir
return string

PatchServer public_oe property

public Uri,System PatchServer
return System.Uri

Version public_oe property

public uint Version
return uint

isDownloadable public_oe property

public bool isDownloadable
return bool