mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Changed the DeRezObject event so it passes a list<uint> of localIDs in one event trigger rather than triggering the event once for every localid in the derez packet.
This commit is contained in:
@@ -1684,6 +1684,23 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when one or more objects are removed from the environment into inventory.
|
||||
/// </summary>
|
||||
/// <param name="remoteClient"></param>
|
||||
/// <param name="localID"></param>
|
||||
/// <param name="groupID"></param>
|
||||
/// <param name="action"></param>
|
||||
/// <param name="destinationID"></param>
|
||||
public virtual void DeRezObject(IClientAPI remoteClient, List<uint> localIDs,
|
||||
UUID groupID, DeRezAction action, UUID destinationID)
|
||||
{
|
||||
foreach (uint localID in localIDs)
|
||||
{
|
||||
DeRezObject(remoteClient, localID, groupID, action, destinationID);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when an object is removed from the environment into inventory.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user