C# Class OpenGame.RuntimeConfiguration

显示文件 Open project: avarisc/OpenGame.exe Class Usage Examples

Public Methods

Method Description
GetDataPath ( ) : string
GetDefaultResolutionHeight ( ) : int
GetDefaultResolutionWidth ( ) : int
GetGameTitle ( ) : string
GetRGSSVersion ( ) : int
GetResourcePaths ( ) : string[]
IsDebug ( ) : bool
IsPlayTest ( ) : bool
IsWindowsOS ( ) : bool
RuntimeConfiguration ( string parameters ) : System

Private Methods

Method Description
AllocConsole ( ) : bool
CheckIfWindowsOS ( ) : bool
FindRTPs ( ) : void
GetAssemblyLocation ( ) : string
GetConsoleWindow ( ) : IntPtr
ReadGameTitle ( ) : string
ReadRGSSVersion ( ) : int
ResolvePath ( string path ) : string
ShowWindow ( IntPtr hWnd, int nCmdShow ) : bool

Method Details

GetDataPath() public method

public GetDataPath ( ) : string
return string

GetDefaultResolutionHeight() public method

public GetDefaultResolutionHeight ( ) : int
return int

GetDefaultResolutionWidth() public method

public GetDefaultResolutionWidth ( ) : int
return int

GetGameTitle() public method

public GetGameTitle ( ) : string
return string

GetRGSSVersion() public method

public GetRGSSVersion ( ) : int
return int

GetResourcePaths() public method

public GetResourcePaths ( ) : string[]
return string[]

IsDebug() public method

public IsDebug ( ) : bool
return bool

IsPlayTest() public method

public IsPlayTest ( ) : bool
return bool

IsWindowsOS() public method

public IsWindowsOS ( ) : bool
return bool

RuntimeConfiguration() public method

public RuntimeConfiguration ( string parameters ) : System
parameters string
return System