C# Class Alexandria.Game

This describes an individual game. This may be part of an Alexandria.Engine, or may directly be related to a AlexandriaPlugin.
Inheritance: AlexandriaPluginFormatAsset
Exibir arquivo Open project: Burton-Radons/Alexandria Class Usage Examples

Public Methods

Method Description
Game ( AlexandriaPlugin plugin, Engine engine, System.Guid guid ) : System

Initialise the game.

Game ( AlexandriaPlugin plugin, System.Guid guid ) : System

Initialise the game.

Game ( Engine engine, System.Guid guid ) : System

Initialise the game.

Protected Methods

Method Description
GetRegistrySoftwareValue ( RegistryKey baseKey, string subpath, string name ) : string

Get a registry value in the software registry directories.

GetRegistryValue ( RegistryKey baseKey, string path, string name ) : string

Find a value from the registry, returning null> if it's not found.

GetSoftwareRegistryValue ( string subpath, string folderKeyName ) : string

Find a registry in the software registry directories and the Steam registry keys.

Method Details

Game() public method

Initialise the game.
public Game ( AlexandriaPlugin plugin, Engine engine, System.Guid guid ) : System
plugin AlexandriaPlugin
engine Engine
guid System.Guid The that uniquely identifies the or null to use the of this . If a given class supports multiple games, the must be unique.
return System

Game() public method

Initialise the game.
public Game ( AlexandriaPlugin plugin, System.Guid guid ) : System
plugin AlexandriaPlugin
guid System.Guid The that uniquely identifies the or null to use the of this . If a given class supports multiple games, the must be unique.
return System

Game() public method

Initialise the game.
public Game ( Engine engine, System.Guid guid ) : System
engine Engine
guid System.Guid The that uniquely identifies the or null to use the of this . If a given class supports multiple games, the must be unique.
return System

GetRegistrySoftwareValue() protected method

Get a registry value in the software registry directories.
protected GetRegistrySoftwareValue ( RegistryKey baseKey, string subpath, string name ) : string
baseKey Microsoft.Win32.RegistryKey
subpath string
name string
return string

GetRegistryValue() protected method

Find a value from the registry, returning null> if it's not found.
protected GetRegistryValue ( RegistryKey baseKey, string path, string name ) : string
baseKey Microsoft.Win32.RegistryKey
path string
name string
return string

GetSoftwareRegistryValue() protected method

Find a registry in the software registry directories and the Steam registry keys.
protected GetSoftwareRegistryValue ( string subpath, string folderKeyName ) : string
subpath string
folderKeyName string
return string