C# Class Aurora.DefaultLibraryLoaders.DefaultAssetXMLLoader

Inheritance: IDefaultLibraryLoader
Mostrar archivo Open project: aurora-sim/Aurora-Sim-Optional-Modules

Protected Properties

Property Type Description
LIBRARY_OWNER_ID UUID
m_service ILibraryService

Public Methods

Method Description
LoadLibrary ( ILibraryService service, IConfigSource source, IRegistryCore registry ) : void

Protected Methods

Method Description
CreateAsset ( string assetIdStr, string name, string path, AssetType type ) : AssetBase
ForEachDefaultXmlAsset ( string assetSetFilename, Action action ) : void
LoadAsset ( AssetBase info, string path ) : void
LoadXmlAssetSet ( string assetSetPath, List assets ) : void

Use the asset set information at path to load assets

Method Details

CreateAsset() protected method

protected CreateAsset ( string assetIdStr, string name, string path, AssetType type ) : AssetBase
assetIdStr string
name string
path string
type AssetType
return AssetBase

ForEachDefaultXmlAsset() protected method

protected ForEachDefaultXmlAsset ( string assetSetFilename, Action action ) : void
assetSetFilename string
action Action
return void

LoadAsset() protected static method

protected static LoadAsset ( AssetBase info, string path ) : void
info AssetBase
path string
return void

LoadLibrary() public method

public LoadLibrary ( ILibraryService service, IConfigSource source, IRegistryCore registry ) : void
service ILibraryService
source IConfigSource
registry IRegistryCore
return void

LoadXmlAssetSet() protected method

Use the asset set information at path to load assets
protected LoadXmlAssetSet ( string assetSetPath, List assets ) : void
assetSetPath string
assets List
return void

Property Details

LIBRARY_OWNER_ID protected_oe static_oe property

protected static UUID LIBRARY_OWNER_ID
return UUID

m_service protected_oe property

protected ILibraryService m_service
return ILibraryService