C# 클래스 Alexandria.AlexandriaManager

Asset manager for Alexandria.
상속: AssetManager
파일 보기 프로젝트 열기: Burton-Radons/Alexandria 1 사용 예제들

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