C# Класс Alexandria.AlexandriaManager

Asset manager for Alexandria.
Наследование: AssetManager
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
BackgroundOperationThreadStart void
BackgroundOperationUpdateProgress void

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

Метод Описание
AddBackgroundOperation ( string name, string description ) : BackgroundOperation

Add a background operation.

AlexandriaManager ( ) : System

Initialise the manager, loading settings.

GetGame ( Type gameType ) : Game

Search for the first Game with the given Type, or return null if not found. An exact match is attempted first, and then the first Game to inherit from the Type is matched.

GetPathState ( Game game, FileManager fileManager, string path ) : PathState

Get a PathState for the given combination of parameters, creating one if necessary.

LoadPlugins ( ) : void

Load plugin DLLs.

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

Метод Описание
GetIsPluginAssetEnabled ( PluginAsset resource ) : bool

Get whether the plugin asset is enabled, using the application settings.

SetIsPluginAssetEnabled ( PluginAsset resource, bool value ) : void

Store whether the plugin asset is enabled using the application settings.

Приватные методы

Метод Описание
BackgroundOperationThreadStart ( ) : void
BackgroundOperationUpdateProgress ( double value ) : void

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

AddBackgroundOperation() публичный метод

Add a background operation.
public AddBackgroundOperation ( string name, string description ) : BackgroundOperation
name string
description string
Результат BackgroundOperation

AlexandriaManager() публичный метод

Initialise the manager, loading settings.
public AlexandriaManager ( ) : System
Результат System

GetGame() публичный метод

Search for the first Game with the given Type, or return null if not found. An exact match is attempted first, and then the first Game to inherit from the Type is matched.
public GetGame ( Type gameType ) : Game
gameType System.Type
Результат Game

GetIsPluginAssetEnabled() защищенный метод

Get whether the plugin asset is enabled, using the application settings.
protected GetIsPluginAssetEnabled ( PluginAsset resource ) : bool
resource Glare.Assets.PluginAsset
Результат bool

GetPathState() публичный метод

Get a PathState for the given combination of parameters, creating one if necessary.
public GetPathState ( Game game, FileManager fileManager, string path ) : PathState
game Game
fileManager Glare.Assets.FileManager
path string
Результат PathState

LoadPlugins() публичный метод

Load plugin DLLs.
public LoadPlugins ( ) : void
Результат void

SetIsPluginAssetEnabled() защищенный метод

Store whether the plugin asset is enabled using the application settings.
protected SetIsPluginAssetEnabled ( PluginAsset resource, bool value ) : void
resource Glare.Assets.PluginAsset
value bool
Результат void