mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
Added MoveItems, which is most useful upon viewer-delete inventory operation. Moving a batch of items is a 1-time operation. Made it async anyway, so that the viewer doesn't wait in case the DB layer is dumb (which is the case currently).
This commit is contained in:
@@ -547,6 +547,11 @@ namespace OpenSim.Framework.Communications.Tests
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool MoveItems(UUID owner, List<InventoryItemBase> items)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool DeleteItems(UUID owner, List<UUID> items)
|
||||
{
|
||||
return false;
|
||||
|
||||
@@ -254,7 +254,7 @@ namespace OpenSim.Framework
|
||||
string newName);
|
||||
|
||||
public delegate void MoveInventoryItem(
|
||||
IClientAPI remoteClient, UUID folderID, UUID itemID, int length, string newName);
|
||||
IClientAPI remoteClient, List<InventoryItemBase> items);
|
||||
|
||||
public delegate void RemoveInventoryItem(
|
||||
IClientAPI remoteClient, List<UUID> itemIDs);
|
||||
|
||||
Reference in New Issue
Block a user