C# Class Aurora.DefaultLibraryLoaders.InventoryXMLLoader

Inheritance: IDefaultLibraryLoader
Mostra file Open project: aurora-sim/Aurora-Sim-Optional-Modules

Protected Properties

Property Type Description
m_inventoryService IInventoryService
m_service ILibraryService

Public Methods

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

Protected Methods

Method Description
LoadLibraries ( string librariesControlPath ) : void

Use the asset set information at path to load assets

ReadLibraryFromConfig ( IConfig config, string path ) : void

Read a library set from config

Private Methods

Method Description
CreateItem ( UUID inventoryID, UUID assetID, string name, string description, int assetType, int invType, UUID parentFolderID ) : InventoryItemBase
LoadFromFile ( string path, string fileDescription, ConfigAction action ) : void

Load the given configuration at a path and perform an action on each Config contained within it

ReadFolderFromConfig ( IConfig config, string path ) : void

Read a library inventory folder from a loaded configuration

ReadItemFromConfig ( IConfig config, string path ) : void

Read a library inventory item metadata from a loaded configuration

Method Details

LoadLibraries() protected method

Use the asset set information at path to load assets
protected LoadLibraries ( string librariesControlPath ) : void
librariesControlPath string
return void

LoadLibrary() public method

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

ReadLibraryFromConfig() protected method

Read a library set from config
protected ReadLibraryFromConfig ( IConfig config, string path ) : void
config IConfig
path string
return void

Property Details

m_inventoryService protected_oe property

protected IInventoryService m_inventoryService
return IInventoryService

m_service protected_oe property

protected ILibraryService m_service
return ILibraryService