C# 클래스 WhiteCore.FileBasedServices.AssetService.AssetService

상속: WhiteCore.Framework.Services.ConnectorBase, IAssetService, IService
파일 보기 프로젝트 열기: WhiteCoreSim/WhiteCore-Dev

보호된 프로퍼티들

프로퍼티 타입 설명
doDatabaseCaching bool
m_assetService IAssetDataPlugin
m_assetsDirectory string
m_connectionPassword string
m_enabled bool
m_migrateSQL bool

공개 메소드들

메소드 설명
Configure ( IConfigSource config, IRegistryCore registry ) : void
FileDeleteAsset ( string id ) : void
FileExistsAsset ( string id ) : bool
FileGetAsset ( string id ) : WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase
FileGetAsset ( string id, bool showWarnings ) : WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase
FileSetAsset ( WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase asset ) : bool
FinishedStartup ( ) : void
Get ( string id, object sender, AssetRetrieved handler ) : void
GetCached ( string id ) : WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase
GetMesh ( string id ) : WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase
Initialize ( IConfigSource config, IRegistryCore registry ) : void
Start ( IConfigSource config, IRegistryCore registry ) : void

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
CheckForConversion ( string id ) : WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase
Delete ( UUID id ) : bool
Get ( string id ) : WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase
Get ( string id, bool showWarnings ) : WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase
GetData ( string id ) : byte[]
GetData ( string id, bool showWarnings ) : byte[]
GetDataPathForID ( string hashCode ) : string
GetExists ( string id ) : bool
GetPathForID ( string id ) : string
MakeValidFileName ( string name ) : string
Store ( WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase asset ) : UUID
UpdateContent ( UUID id, byte data ) : UUID

메소드 상세

Configure() 공개 메소드

public Configure ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
리턴 void

FileDeleteAsset() 공개 메소드

public FileDeleteAsset ( string id ) : void
id string
리턴 void

FileExistsAsset() 공개 메소드

public FileExistsAsset ( string id ) : bool
id string
리턴 bool

FileGetAsset() 공개 메소드

public FileGetAsset ( string id ) : WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase
id string
리턴 WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase

FileGetAsset() 공개 메소드

public FileGetAsset ( string id, bool showWarnings ) : WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase
id string
showWarnings bool
리턴 WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase

FileSetAsset() 공개 메소드

public FileSetAsset ( WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase asset ) : bool
asset WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase
리턴 bool

FinishedStartup() 공개 메소드

public FinishedStartup ( ) : void
리턴 void

Get() 공개 메소드

public Get ( string id, object sender, AssetRetrieved handler ) : void
id string
sender object
handler AssetRetrieved
리턴 void

GetCached() 공개 메소드

public GetCached ( string id ) : WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase
id string
리턴 WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase

GetMesh() 공개 메소드

public GetMesh ( string id ) : WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase
id string
리턴 WhiteCore.Framework.Services.ClassHelpers.Assets.AssetBase

HandleDeleteAsset() 보호된 메소드

Handles the delete asset command.
protected HandleDeleteAsset ( IScene scene, string args ) : void
scene IScene Scene.
args string Arguments.
리턴 void

HandleGetAsset() 보호된 메소드

Handles the get asset command.
protected HandleGetAsset ( IScene scene, string args ) : void
scene IScene Scene.
args string Arguments.
리턴 void

HandleMigrateSQLAssets() 보호된 메소드

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

HandleShowDigest() 보호된 메소드

Handles the show digest command.
protected HandleShowDigest ( IScene scene, string args ) : void
scene IScene Scene.
args string Arguments.
리턴 void

Initialize() 공개 메소드

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
리턴 void

SetUpFileBase() 보호된 메소드

protected SetUpFileBase ( string path ) : void
path string
리턴 void

Start() 공개 메소드

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
리턴 void

프로퍼티 상세

doDatabaseCaching 보호되어 있는 프로퍼티

protected bool doDatabaseCaching
리턴 bool

m_assetService 보호되어 있는 프로퍼티

protected IAssetDataPlugin m_assetService
리턴 IAssetDataPlugin

m_assetsDirectory 보호되어 있는 프로퍼티

protected string m_assetsDirectory
리턴 string

m_connectionPassword 보호되어 있는 프로퍼티

protected string m_connectionPassword
리턴 string

m_enabled 보호되어 있는 프로퍼티

protected bool m_enabled
리턴 bool

m_migrateSQL 보호되어 있는 프로퍼티

protected bool m_migrateSQL
리턴 bool