Jump to content

OpenSimulator Internals/LibraryService

From Open Simulator Technical Help
Revision as of 07:10, 21 June 2026 by Jwbshaw (talk | contribs) (first)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

OpenSimulator Internals/LibraryService

[edit]

Overview

[edit]

LibraryService provides library items and folders. Currently implemented per-region but should be a grid service. Data comes from the filesystem.

Runs per-simulator, not on ROBUST.


Interface

[edit]
namespace OpenSim.Services.Interfaces
{
    public interface ILibraryService
    {
        InventoryFolderImpl LibraryRootFolder { get; }

        Dictionary<UUID, InventoryFolderImpl> GetAllFolders();
        InventoryItemBase GetItem(UUID itemID);
        InventoryItemBase[] GetMultipleItems(UUID[] itemIDs);
    }
}

Database

[edit]

No database tables. Data is read from the filesystem.


See Also

[edit]