mirror of
https://github.com/opensim/opensim.git
synced 2026-07-05 19:51:27 +08:00
Taking Prims (SceneObjectGroups) in and out of inventory should now work and if left in inventory will still be there after restarts. (as with the rest of inventory it will only fully work in standalone mode with account authentication turned on).
This commit is contained in:
@@ -630,6 +630,18 @@ namespace OpenSim.Region.ClientStack
|
||||
OutPacket(InventoryReply);
|
||||
}
|
||||
|
||||
public void SendRemoveInventoryItem(LLUUID itemID)
|
||||
{
|
||||
RemoveInventoryItemPacket remove = new RemoveInventoryItemPacket();
|
||||
remove.AgentData.AgentID = this.AgentID;
|
||||
remove.AgentData.SessionID = this.SessionID;
|
||||
remove.InventoryData = new RemoveInventoryItemPacket.InventoryDataBlock[1];
|
||||
remove.InventoryData[0] = new RemoveInventoryItemPacket.InventoryDataBlock();
|
||||
remove.InventoryData[0].ItemID = itemID;
|
||||
|
||||
OutPacket(remove);
|
||||
}
|
||||
|
||||
public void SendTaskInventory(LLUUID taskID, short serial, byte[] fileName)
|
||||
{
|
||||
ReplyTaskInventoryPacket replytask = new ReplyTaskInventoryPacket();
|
||||
|
||||
Reference in New Issue
Block a user