C# Класс OpenSim.Services.Connectors.SimianGrid.SimianInventoryServiceConnector

Connects avatar inventories to the SimianGrid backend
Наследование: IInventoryService, IService
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool

Add a new folder to the user's inventory

AddItem ( OpenSim.Framework.InventoryItemBase item ) : bool

Add a new item to the user's inventory

AddRegion ( Scene scene ) : void
Close ( ) : void
CreateUserInventory ( UUID userID ) : bool

Create the entire inventory for a given user

DeleteFolders ( UUID userID, List folderIDs ) : bool

Delete an item from the user's inventory

DeleteItems ( UUID userID, List itemIDs ) : bool

Delete an item from the user's inventory

GetActiveGestures ( UUID userID ) : List

Get the active gestures of the agent.

GetAssetPermissions ( UUID userID, UUID assetID ) : int

Get the union of permissions of all inventory items that hold the given assetID.

GetFolder ( OpenSim.Framework.InventoryFolderBase folder ) : OpenSim.Framework.InventoryFolderBase

Get a folder, given by its UUID

GetFolderContent ( UUID userID, UUID folderID ) : OpenSim.Framework.InventoryCollection

Gets everything (folders and items) inside a folder

GetFolderForType ( UUID userID, AssetType type ) : OpenSim.Framework.InventoryFolderBase

Gets the user folder for the given folder-type

GetFolderItems ( UUID userID, UUID folderID ) : List

Gets the items inside a folder

GetInventorySkeleton ( UUID userID ) : List

Gets the skeleton of the inventory -- folders only

GetItem ( OpenSim.Framework.InventoryItemBase item ) : OpenSim.Framework.InventoryItemBase

Get an item, given by its UUID

GetRootFolder ( UUID userID ) : OpenSim.Framework.InventoryFolderBase

Retrieve the root inventory folder for the given user.

HasInventoryForUser ( UUID userID ) : bool

Does the given user have an inventory structure?

Initialise ( IConfigSource source ) : void
MoveFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool

Move an inventory folder to a new location

MoveItems ( UUID ownerID, List items ) : bool
PostInitialise ( ) : void
PurgeFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool

Purge an inventory folder of all its items and subfolders.

RegionLoaded ( Scene scene ) : void
RemoveRegion ( Scene scene ) : void
SimianInventoryServiceConnector ( ) : System
SimianInventoryServiceConnector ( IConfigSource source ) : System
SimianInventoryServiceConnector ( string url ) : System
UpdateFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool

Update a folder in the user's inventory

UpdateItem ( OpenSim.Framework.InventoryItemBase item ) : bool

Update an item in the user's inventory

Приватные методы

Метод Описание
CommonInit ( IConfigSource source ) : void
FetchGestures ( UUID userID ) : OSDArray
GetFoldersFromResponse ( OSDArray items, UUID baseFolder, bool includeBaseFolder ) : List
GetItemsFromResponse ( OSDArray items ) : List
GetUserInventory ( UUID userID ) : OpenSim.Framework.InventoryCollection
GetUserInventory ( UUID userID, InventoryReceiptCallback callback ) : void
MoveItems ( UUID ownerID, List items, UUID destFolderID ) : bool
SaveGestures ( UUID userID, OSDArray gestures ) : void
UpdateGesture ( UUID userID, UUID itemID, bool enabled ) : void

Описание методов

AddFolder() публичный Метод

Add a new folder to the user's inventory
public AddFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool
folder OpenSim.Framework.InventoryFolderBase
Результат bool

AddItem() публичный Метод

Add a new item to the user's inventory
public AddItem ( OpenSim.Framework.InventoryItemBase item ) : bool
item OpenSim.Framework.InventoryItemBase
Результат bool

AddRegion() публичный Метод

public AddRegion ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
Результат void

Close() публичный Метод

public Close ( ) : void
Результат void

CreateUserInventory() публичный Метод

Create the entire inventory for a given user
public CreateUserInventory ( UUID userID ) : bool
userID UUID
Результат bool

DeleteFolders() публичный Метод

Delete an item from the user's inventory
public DeleteFolders ( UUID userID, List folderIDs ) : bool
userID UUID
folderIDs List
Результат bool

DeleteItems() публичный Метод

Delete an item from the user's inventory
public DeleteItems ( UUID userID, List itemIDs ) : bool
userID UUID
itemIDs List
Результат bool

GetActiveGestures() публичный Метод

Get the active gestures of the agent.
public GetActiveGestures ( UUID userID ) : List
userID UUID
Результат List

GetAssetPermissions() публичный Метод

Get the union of permissions of all inventory items that hold the given assetID.
public GetAssetPermissions ( UUID userID, UUID assetID ) : int
userID UUID
assetID UUID
Результат int

GetFolder() публичный Метод

Get a folder, given by its UUID
public GetFolder ( OpenSim.Framework.InventoryFolderBase folder ) : OpenSim.Framework.InventoryFolderBase
folder OpenSim.Framework.InventoryFolderBase
Результат OpenSim.Framework.InventoryFolderBase

GetFolderContent() публичный Метод

Gets everything (folders and items) inside a folder
public GetFolderContent ( UUID userID, UUID folderID ) : OpenSim.Framework.InventoryCollection
userID UUID
folderID UUID
Результат OpenSim.Framework.InventoryCollection

GetFolderForType() публичный Метод

Gets the user folder for the given folder-type
public GetFolderForType ( UUID userID, AssetType type ) : OpenSim.Framework.InventoryFolderBase
userID UUID
type AssetType
Результат OpenSim.Framework.InventoryFolderBase

GetFolderItems() публичный Метод

Gets the items inside a folder
public GetFolderItems ( UUID userID, UUID folderID ) : List
userID UUID
folderID UUID
Результат List

GetInventorySkeleton() публичный Метод

Gets the skeleton of the inventory -- folders only
public GetInventorySkeleton ( UUID userID ) : List
userID UUID
Результат List

GetItem() публичный Метод

Get an item, given by its UUID
public GetItem ( OpenSim.Framework.InventoryItemBase item ) : OpenSim.Framework.InventoryItemBase
item OpenSim.Framework.InventoryItemBase
Результат OpenSim.Framework.InventoryItemBase

GetRootFolder() публичный Метод

Retrieve the root inventory folder for the given user.
public GetRootFolder ( UUID userID ) : OpenSim.Framework.InventoryFolderBase
userID UUID
Результат OpenSim.Framework.InventoryFolderBase

HasInventoryForUser() публичный Метод

Does the given user have an inventory structure?
public HasInventoryForUser ( UUID userID ) : bool
userID UUID
Результат bool

Initialise() публичный Метод

public Initialise ( IConfigSource source ) : void
source IConfigSource
Результат void

MoveFolder() публичный Метод

Move an inventory folder to a new location
public MoveFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool
folder OpenSim.Framework.InventoryFolderBase A folder containing the details of the new location
Результат bool

MoveItems() публичный Метод

public MoveItems ( UUID ownerID, List items ) : bool
ownerID UUID
items List
Результат bool

PostInitialise() публичный Метод

public PostInitialise ( ) : void
Результат void

PurgeFolder() публичный Метод

Purge an inventory folder of all its items and subfolders.
public PurgeFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool
folder OpenSim.Framework.InventoryFolderBase
Результат bool

RegionLoaded() публичный Метод

public RegionLoaded ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
Результат void

RemoveRegion() публичный Метод

public RemoveRegion ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
Результат void

SimianInventoryServiceConnector() публичный Метод

public SimianInventoryServiceConnector ( ) : System
Результат System

SimianInventoryServiceConnector() публичный Метод

public SimianInventoryServiceConnector ( IConfigSource source ) : System
source IConfigSource
Результат System

SimianInventoryServiceConnector() публичный Метод

public SimianInventoryServiceConnector ( string url ) : System
url string
Результат System

UpdateFolder() публичный Метод

Update a folder in the user's inventory
public UpdateFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool
folder OpenSim.Framework.InventoryFolderBase
Результат bool

UpdateItem() публичный Метод

Update an item in the user's inventory
public UpdateItem ( OpenSim.Framework.InventoryItemBase item ) : bool
item OpenSim.Framework.InventoryItemBase
Результат bool