mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
Merge branch 'master' into careminster
Conflicts: OpenSim/Data/MySQL/MySQLSimulationData.cs OpenSim/Region/Framework/Scenes/EventManager.cs OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
This commit is contained in:
@@ -1026,6 +1026,16 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// </remarks>
|
||||
public event TeleportFail OnTeleportFail;
|
||||
|
||||
// public delegate void GatherUuids(SceneObjectPart sop, IDictionary<UUID, AssetType> assetUuids);
|
||||
//
|
||||
// /// <summary>
|
||||
// /// Triggered when UUIDs referenced by a scene object are being gathered for archiving, hg transfer, etc.
|
||||
// /// </summary>
|
||||
// /// <remarks>
|
||||
// /// The listener should add references to the IDictionary<UUID, AssetType> as appropriate.
|
||||
// /// </remarks>
|
||||
// public event GatherUuids OnGatherUuids;
|
||||
|
||||
public class MoneyTransferArgs : EventArgs
|
||||
{
|
||||
public UUID sender;
|
||||
@@ -3274,5 +3284,26 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
handler(scenePresence);
|
||||
}
|
||||
}
|
||||
|
||||
// public void TriggerGatherUuids(SceneObjectPart sop, IDictionary<UUID, AssetType> assetUuids)
|
||||
// {
|
||||
// GatherUuids handler = OnGatherUuids;
|
||||
//
|
||||
// if (handler != null)
|
||||
// {
|
||||
// foreach (GatherUuids d in handler.GetInvocationList())
|
||||
// {
|
||||
// try
|
||||
// {
|
||||
// d(sop, assetUuids);
|
||||
// }
|
||||
// catch (Exception e)
|
||||
// {
|
||||
// m_log.ErrorFormat("[EVENT MANAGER]: Delegate for TriggerUuidGather failed - continuing {0} - {1}",
|
||||
// e.Message, e.StackTrace);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user