C# Класс Alexandria.Game

This describes an individual game. This may be part of an Alexandria.Engine, or may directly be related to a AlexandriaPlugin.
Наследование: AlexandriaPluginFormatAsset
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Описание методов

Game() публичный Метод

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.
Результат System

Game() публичный Метод

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.
Результат System

Game() публичный Метод

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.
Результат System

GetRegistrySoftwareValue() защищенный Метод

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
Результат string

GetRegistryValue() защищенный Метод

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
Результат string

GetSoftwareRegistryValue() защищенный Метод

Find a registry in the software registry directories and the Steam registry keys.
protected GetSoftwareRegistryValue ( string subpath, string folderKeyName ) : string
subpath string
folderKeyName string
Результат string