C# Class OpenSim.Services.Connectors.SimianGrid.SimianInventoryServiceConnector

Connects avatar inventories to the SimianGrid backend
Inheritance: IInventoryService, IService
Afficher le fichier Open project: openmetaversefoundation/fortis-opensim Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

AddFolder() public méthode

Add a new folder to the user's inventory
public AddFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool
folder OpenSim.Framework.InventoryFolderBase
Résultat bool

AddItem() public méthode

Add a new item to the user's inventory
public AddItem ( OpenSim.Framework.InventoryItemBase item ) : bool
item OpenSim.Framework.InventoryItemBase
Résultat bool

AddRegion() public méthode

public AddRegion ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

CreateUserInventory() public méthode

Create the entire inventory for a given user
public CreateUserInventory ( UUID userID ) : bool
userID UUID
Résultat bool

DeleteFolders() public méthode

Delete an item from the user's inventory
public DeleteFolders ( UUID userID, List folderIDs ) : bool
userID UUID
folderIDs List
Résultat bool

DeleteItems() public méthode

Delete an item from the user's inventory
public DeleteItems ( UUID userID, List itemIDs ) : bool
userID UUID
itemIDs List
Résultat bool

GetActiveGestures() public méthode

Get the active gestures of the agent.
public GetActiveGestures ( UUID userID ) : List
userID UUID
Résultat List

GetAssetPermissions() public méthode

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
Résultat int

GetFolder() public méthode

Get a folder, given by its UUID
public GetFolder ( OpenSim.Framework.InventoryFolderBase folder ) : OpenSim.Framework.InventoryFolderBase
folder OpenSim.Framework.InventoryFolderBase
Résultat OpenSim.Framework.InventoryFolderBase

GetFolderContent() public méthode

Gets everything (folders and items) inside a folder
public GetFolderContent ( UUID userID, UUID folderID ) : OpenSim.Framework.InventoryCollection
userID UUID
folderID UUID
Résultat OpenSim.Framework.InventoryCollection

GetFolderForType() public méthode

Gets the user folder for the given folder-type
public GetFolderForType ( UUID userID, AssetType type ) : OpenSim.Framework.InventoryFolderBase
userID UUID
type AssetType
Résultat OpenSim.Framework.InventoryFolderBase

GetFolderItems() public méthode

Gets the items inside a folder
public GetFolderItems ( UUID userID, UUID folderID ) : List
userID UUID
folderID UUID
Résultat List

GetInventorySkeleton() public méthode

Gets the skeleton of the inventory -- folders only
public GetInventorySkeleton ( UUID userID ) : List
userID UUID
Résultat List

GetItem() public méthode

Get an item, given by its UUID
public GetItem ( OpenSim.Framework.InventoryItemBase item ) : OpenSim.Framework.InventoryItemBase
item OpenSim.Framework.InventoryItemBase
Résultat OpenSim.Framework.InventoryItemBase

GetRootFolder() public méthode

Retrieve the root inventory folder for the given user.
public GetRootFolder ( UUID userID ) : OpenSim.Framework.InventoryFolderBase
userID UUID
Résultat OpenSim.Framework.InventoryFolderBase

HasInventoryForUser() public méthode

Does the given user have an inventory structure?
public HasInventoryForUser ( UUID userID ) : bool
userID UUID
Résultat bool

Initialise() public méthode

public Initialise ( IConfigSource source ) : void
source IConfigSource
Résultat void

MoveFolder() public méthode

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
Résultat bool

MoveItems() public méthode

public MoveItems ( UUID ownerID, List items ) : bool
ownerID UUID
items List
Résultat bool

PostInitialise() public méthode

public PostInitialise ( ) : void
Résultat void

PurgeFolder() public méthode

Purge an inventory folder of all its items and subfolders.
public PurgeFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool
folder OpenSim.Framework.InventoryFolderBase
Résultat bool

RegionLoaded() public méthode

public RegionLoaded ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
Résultat void

RemoveRegion() public méthode

public RemoveRegion ( Scene scene ) : void
scene OpenSim.Region.Framework.Scenes.Scene
Résultat void

SimianInventoryServiceConnector() public méthode

public SimianInventoryServiceConnector ( ) : System
Résultat System

SimianInventoryServiceConnector() public méthode

public SimianInventoryServiceConnector ( IConfigSource source ) : System
source IConfigSource
Résultat System

SimianInventoryServiceConnector() public méthode

public SimianInventoryServiceConnector ( string url ) : System
url string
Résultat System

UpdateFolder() public méthode

Update a folder in the user's inventory
public UpdateFolder ( OpenSim.Framework.InventoryFolderBase folder ) : bool
folder OpenSim.Framework.InventoryFolderBase
Résultat bool

UpdateItem() public méthode

Update an item in the user's inventory
public UpdateItem ( OpenSim.Framework.InventoryItemBase item ) : bool
item OpenSim.Framework.InventoryItemBase
Résultat bool