C# Class Universe.FileBasedServices.AssetService.AssetService

Inheritance: Universe.Framework.Services.ConnectorBase, IAssetService, IService
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Свойство Type Description
doDatabaseCaching bool
m_assetService IAssetDataPlugin
m_assetsDirectory string
m_connectionPassword string
m_enabled bool
m_migrateSQL bool

Méthodes publiques

Méthode Description
Configure ( IConfigSource config, IRegistryCore registry ) : void
FileDeleteAsset ( string id ) : void
FileExistsAsset ( string id ) : bool
FileGetAsset ( string id ) : AssetBase
FileSetAsset ( AssetBase asset ) : bool
FinishedStartup ( ) : void
Get ( string id, object sender, AssetRetrieved handler ) : void
GetCached ( string id ) : AssetBase
GetMesh ( string id ) : AssetBase
Initialize ( IConfigSource config, IRegistryCore registry ) : void
Start ( IConfigSource config, IRegistryCore registry ) : void

Méthodes protégées

Méthode Description
HandleDeleteAsset ( IScene scene, string args ) : void

Handles the delete asset command.

HandleGetAsset ( IScene scene, string args ) : void

Handles the get asset command.

HandleMigrateSQLAssets ( IScene scene, string args ) : void

Handles enable/disable of the migrate SQL setting.

HandleShowDigest ( IScene scene, string args ) : void

Handles the show digest command.

SetUpFileBase ( string path ) : void

Private Methods

Méthode Description
CheckForConversion ( string id ) : AssetBase
Delete ( UUID id ) : bool
Get ( string id ) : AssetBase
Get ( string id, bool showWarnings ) : AssetBase
GetData ( string id ) : byte[]
GetDataPathForID ( string hashCode ) : string
GetExists ( string id ) : bool
GetPathForID ( string id ) : string
MakeValidFileName ( string name ) : string
Store ( AssetBase asset ) : UUID
UpdateContent ( UUID id, byte data ) : UUID

Method Details

Configure() public méthode

public Configure ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Résultat void

FileDeleteAsset() public méthode

public FileDeleteAsset ( string id ) : void
id string
Résultat void

FileExistsAsset() public méthode

public FileExistsAsset ( string id ) : bool
id string
Résultat bool

FileGetAsset() public méthode

public FileGetAsset ( string id ) : AssetBase
id string
Résultat Universe.Framework.Services.ClassHelpers.Assets.AssetBase

FileSetAsset() public méthode

public FileSetAsset ( AssetBase asset ) : bool
asset Universe.Framework.Services.ClassHelpers.Assets.AssetBase
Résultat bool

FinishedStartup() public méthode

public FinishedStartup ( ) : void
Résultat void

Get() public méthode

public Get ( string id, object sender, AssetRetrieved handler ) : void
id string
sender object
handler AssetRetrieved
Résultat void

GetCached() public méthode

public GetCached ( string id ) : AssetBase
id string
Résultat Universe.Framework.Services.ClassHelpers.Assets.AssetBase

GetMesh() public méthode

public GetMesh ( string id ) : AssetBase
id string
Résultat Universe.Framework.Services.ClassHelpers.Assets.AssetBase

HandleDeleteAsset() protected méthode

Handles the delete asset command.
protected HandleDeleteAsset ( IScene scene, string args ) : void
scene IScene Scene.
args string Arguments.
Résultat void

HandleGetAsset() protected méthode

Handles the get asset command.
protected HandleGetAsset ( IScene scene, string args ) : void
scene IScene Scene.
args string Arguments.
Résultat void

HandleMigrateSQLAssets() protected méthode

Handles enable/disable of the migrate SQL setting.
protected HandleMigrateSQLAssets ( IScene scene, string args ) : void
scene IScene Scene.
args string Arguments.
Résultat void

HandleShowDigest() protected méthode

Handles the show digest command.
protected HandleShowDigest ( IScene scene, string args ) : void
scene IScene Scene.
args string Arguments.
Résultat void

Initialize() public méthode

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Résultat void

SetUpFileBase() protected méthode

protected SetUpFileBase ( string path ) : void
path string
Résultat void

Start() public méthode

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Résultat void

Property Details

doDatabaseCaching protected_oe property

protected bool doDatabaseCaching
Résultat bool

m_assetService protected_oe property

protected IAssetDataPlugin m_assetService
Résultat IAssetDataPlugin

m_assetsDirectory protected_oe property

protected string m_assetsDirectory
Résultat string

m_connectionPassword protected_oe property

protected string m_connectionPassword
Résultat string

m_enabled protected_oe property

protected bool m_enabled
Résultat bool

m_migrateSQL protected_oe property

protected bool m_migrateSQL
Résultat bool