Added osGetRegionSize(), which returns the region size in meters and recognizes megaregions

This commit is contained in:
Oren Hurvitz
2014-01-15 17:38:09 +02:00
committed by Justin Clark-Casey (justincc)
parent f7172095e0
commit 2cf224166f
3 changed files with 29 additions and 0 deletions

View File

@@ -863,6 +863,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
return m_OSSL_Functions.osGetRegionStats();
}
public vector osGetRegionSize()
{
return m_OSSL_Functions.osGetRegionSize();
}
/// <summary>
/// Returns the amount of memory in use by the Simulator Daemon.
/// Amount in bytes - if >= 4GB, returns 4GB. (LSL is not 64-bit aware)