C# Class MTMCL.Config

Inheritance: ICloneable
Exibir arquivo Open project: cvronmin/metocraft Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Clone ( ) : object
Config ( ) : System
GetGuid ( ) : string
GetJavaDir ( ) : string

读取注册表,寻找安装的java路径

GetMemory ( ) : ulong

获取系统物理内存大小

GetOver50String ( ) : string
GetValidLang ( ) : string
Load ( string file ) : Config
QuickChange ( string field, object value ) : void
Save ( ) : void
Save ( Config cfg = null, string file = null ) : void
Save ( string file ) : void
ScoreStringToOver50 ( string score ) : void
ToReadableLog ( ) : string

Method Details

Clone() public method

public Clone ( ) : object
return object

Config() public method

public Config ( ) : System
return System

GetGuid() public static method

public static GetGuid ( ) : string
return string

GetJavaDir() public static method

读取注册表,寻找安装的java路径
public static GetJavaDir ( ) : string
return string

GetMemory() public static method

获取系统物理内存大小
public static GetMemory ( ) : ulong
return ulong

GetOver50String() public method

public GetOver50String ( ) : string
return string

GetValidLang() public method

public GetValidLang ( ) : string
return string

Load() public static method

public static Load ( string file ) : Config
file string
return Config

QuickChange() public method

public QuickChange ( string field, object value ) : void
field string
value object
return void

Save() public method

public Save ( ) : void
return void

Save() public static method

public static Save ( Config cfg = null, string file = null ) : void
cfg Config
file string
return void

Save() public method

public Save ( string file ) : void
file string
return void

ScoreStringToOver50() public method

public ScoreStringToOver50 ( string score ) : void
score string
return void

ToReadableLog() public method

public ToReadableLog ( ) : string
return string