make the events more useful by providing the source region

avinationmerge
Melanie Thielker 2010-05-04 21:16:20 +02:00
parent 9ca79df802
commit 07e0732a10
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}
}
}

View File

@ -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
{