Mantis #7664: Added IHypergridLinker interface to establish a contract about what implementers need to provide publicly. This is used by 3rd-party addons such as Wifi.

This commit is contained in:
Diva Canto
2015-08-01 09:30:34 -07:00
parent 368ea78d14
commit 32d87aa168
2 changed files with 8 additions and 2 deletions

View File

@@ -124,6 +124,12 @@ namespace OpenSim.Services.Interfaces
Dictionary<string,object> GetExtraFeatures();
}
public interface IHypergridLinker
{
GridRegion TryLinkRegionToCoords(UUID scopeID, string mapName, int xloc, int yloc, UUID ownerID, out string reason);
bool TryUnlinkRegion(string mapName);
}
public class GridRegion
{
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);