mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
make the events more useful by providing the source region
This commit is contained in:
@@ -1167,7 +1167,7 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
||||
ChangeDelegate change = OnRegionInfoChange;
|
||||
|
||||
if (change != null)
|
||||
change();
|
||||
change(m_scene.RegionInfo.RegionID);
|
||||
}
|
||||
|
||||
protected void TriggerEstateInfoChange()
|
||||
@@ -1175,7 +1175,7 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
||||
ChangeDelegate change = OnEstateInfoChange;
|
||||
|
||||
if (change != null)
|
||||
change();
|
||||
change(m_scene.RegionInfo.RegionID);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ using OpenMetaverse;
|
||||
|
||||
namespace OpenSim.Region.Framework.Interfaces
|
||||
{
|
||||
public delegate void ChangeDelegate();
|
||||
public delegate void ChangeDelegate(UUID regionID);
|
||||
|
||||
public interface IEstateModule : IRegionModule
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user