C# 클래스 OpenSim.Services.Connectors.SimianGrid.SimianInventoryServiceConnector

Connects avatar inventories to the SimianGrid backend
상속: IInventoryService, IService
파일 보기 프로젝트 열기: openmetaversefoundation/fortis-opensim 1 사용 예제들

공개 메소드들

메소드 설명
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