Thank you, Snowdrop, for a patch that makes the callback ID parameter

usable. Applied with formatting changes, please don't introduce
K&R style indentations into OpenSim
Fixes Mantis #3190
This commit is contained in:
Melanie Thielker
2009-02-19 03:09:56 +00:00
parent 7e0e9ef179
commit 863556f2cc
8 changed files with 18 additions and 16 deletions

View File

@@ -2062,7 +2062,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
}
/// <see>IClientAPI.SendInventoryItemCreateUpdate(InventoryItemBase)</see>
public void SendInventoryItemCreateUpdate(InventoryItemBase Item)
public void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackId)
{
const uint FULL_MASK_PERMISSIONS = (uint)PermissionMask.All;
@@ -2088,6 +2088,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
InventoryReply.InventoryData[0].OwnerID = Item.Owner;
InventoryReply.InventoryData[0].OwnerMask = Item.CurrentPermissions;
InventoryReply.InventoryData[0].Type = (sbyte)Item.AssetType;
InventoryReply.InventoryData[0].CallbackID = callbackId;
InventoryReply.InventoryData[0].GroupID = Item.GroupID;
InventoryReply.InventoryData[0].GroupOwned = Item.GroupOwned;