C# Class Alexandria.AlexandriaManager

Asset manager for Alexandria.
Inheritance: AssetManager
Afficher le fichier Open project: Burton-Radons/Alexandria Class Usage Examples

Private Properties

Свойство Type Description
BackgroundOperationThreadStart void
BackgroundOperationUpdateProgress void

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
BackgroundOperationThreadStart ( ) : void
BackgroundOperationUpdateProgress ( double value ) : void

Method Details

AddBackgroundOperation() public méthode

Add a background operation.
public AddBackgroundOperation ( string name, string description ) : BackgroundOperation
name string
description string
Résultat BackgroundOperation

AlexandriaManager() public méthode

Initialise the manager, loading settings.
public AlexandriaManager ( ) : System
Résultat System

GetGame() public méthode

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
Résultat Game

GetIsPluginAssetEnabled() protected méthode

Get whether the plugin asset is enabled, using the application settings.
protected GetIsPluginAssetEnabled ( PluginAsset resource ) : bool
resource Glare.Assets.PluginAsset
Résultat bool

GetPathState() public méthode

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
Résultat PathState

LoadPlugins() public méthode

Load plugin DLLs.
public LoadPlugins ( ) : void
Résultat void

SetIsPluginAssetEnabled() protected méthode

Store whether the plugin asset is enabled using the application settings.
protected SetIsPluginAssetEnabled ( PluginAsset resource, bool value ) : void
resource Glare.Assets.PluginAsset
value bool
Résultat void