make the events more useful by providing the source region
parent
1d75450743
commit
5a4cef6b36
|
@ -1167,7 +1167,7 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
||||||
ChangeDelegate change = OnRegionInfoChange;
|
ChangeDelegate change = OnRegionInfoChange;
|
||||||
|
|
||||||
if (change != null)
|
if (change != null)
|
||||||
change();
|
change(m_scene.RegionInfo.RegionID);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void TriggerEstateInfoChange()
|
protected void TriggerEstateInfoChange()
|
||||||
|
@ -1175,7 +1175,7 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
||||||
ChangeDelegate change = OnEstateInfoChange;
|
ChangeDelegate change = OnEstateInfoChange;
|
||||||
|
|
||||||
if (change != null)
|
if (change != null)
|
||||||
change();
|
change(m_scene.RegionInfo.RegionID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,7 @@ using OpenMetaverse;
|
||||||
|
|
||||||
namespace OpenSim.Region.Framework.Interfaces
|
namespace OpenSim.Region.Framework.Interfaces
|
||||||
{
|
{
|
||||||
public delegate void ChangeDelegate();
|
public delegate void ChangeDelegate(UUID regionID);
|
||||||
|
|
||||||
public interface IEstateModule : IRegionModule
|
public interface IEstateModule : IRegionModule
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue