C# Class MTMCL.MeCore

Exibir arquivo Open project: cvronmin/metocraft

Public Properties

Property Type Description
BaseDirectory string
Color MahApps.Metro.Accent>.Dictionary
Config Config
DataDirectory string
DefaultBG string
Dispatcher System.Windows.Threading.Dispatcher
IsServerDedicated bool
Language object>.Dictionary
MainWindow MainWindow
bghistory MTMCL.Resources.BGHistory
needGuide bool
version string

Public Methods

Method Description
ChangeLanguage ( string lang ) : void
Halt ( int code ) : void
Invoke ( Delegate invoke, object argObjects = null ) : void
ReleaseCheck ( ) : void
SingleInstance ( Window window ) : void

Private Methods

Method Description
LoadColor ( ) : void
LoadConfig ( string path ) : void
LoadLanguage ( ) : void
LoadTheme ( ) : void
MeCore ( ) : MTMCL.Lang
OnAnotherProgramStarted ( object state, bool timedout ) : void
Refresh ( ) : void
UpdateCheckerOnCheckFinishEvent ( bool hasUpdate, string updateAddr, string updateinfo, int updateBuild ) : void

Method Details

ChangeLanguage() public static method

public static ChangeLanguage ( string lang ) : void
lang string
return void

Halt() public static method

public static Halt ( int code ) : void
code int
return void

Invoke() public static method

public static Invoke ( Delegate invoke, object argObjects = null ) : void
invoke System.Delegate
argObjects object
return void

ReleaseCheck() public static method

public static ReleaseCheck ( ) : void
return void

SingleInstance() public static method

public static SingleInstance ( Window window ) : void
window System.Windows.Window
return void

Property Details

BaseDirectory public_oe static_oe property

public static string BaseDirectory
return string

Color public_oe static_oe property

public static Dictionary Color
return MahApps.Metro.Accent>.Dictionary

Config public_oe static_oe property

public static Config,MTMCL Config
return Config

DataDirectory public_oe static_oe property

public static string DataDirectory
return string

DefaultBG public_oe static_oe property

public static string DefaultBG
return string

Dispatcher public_oe static_oe property

public static Dispatcher,System.Windows.Threading Dispatcher
return System.Windows.Threading.Dispatcher

IsServerDedicated public_oe static_oe property

public static bool IsServerDedicated
return bool

Language public_oe static_oe property

public static Dictionary Language
return object>.Dictionary

MainWindow public_oe static_oe property

public static MainWindow,MTMCL MainWindow
return MainWindow

bghistory public_oe static_oe property

public static BGHistory,MTMCL.Resources bghistory
return MTMCL.Resources.BGHistory

needGuide public_oe static_oe property

public static bool needGuide
return bool

version public_oe static_oe property

public static string version
return string