aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
diff options
context:
space:
mode:
authorOren Hurvitz2014-01-15 17:38:09 +0200
committerJustin Clark-Casey (justincc)2014-01-28 00:11:50 +0000
commit2cf224166f232076c6d51312aaae1a9a9c24bd1c (patch)
treeeff9c48116b91a424107e025d5d325b953c73612 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
parentConvert tabs to spaces from previous commit 8c2b41b01 (diff)
downloadopensim-SC-2cf224166f232076c6d51312aaae1a9a9c24bd1c.zip
opensim-SC-2cf224166f232076c6d51312aaae1a9a9c24bd1c.tar.gz
opensim-SC-2cf224166f232076c6d51312aaae1a9a9c24bd1c.tar.bz2
opensim-SC-2cf224166f232076c6d51312aaae1a9a9c24bd1c.tar.xz
Added osGetRegionSize(), which returns the region size in meters and recognizes megaregions
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
index c9902e4..02a3541 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
@@ -863,6 +863,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
863 return m_OSSL_Functions.osGetRegionStats(); 863 return m_OSSL_Functions.osGetRegionStats();
864 } 864 }
865 865
866 public vector osGetRegionSize()
867 {
868 return m_OSSL_Functions.osGetRegionSize();
869 }
870
866 /// <summary> 871 /// <summary>
867 /// Returns the amount of memory in use by the Simulator Daemon. 872 /// Returns the amount of memory in use by the Simulator Daemon.
868 /// Amount in bytes - if >= 4GB, returns 4GB. (LSL is not 64-bit aware) 873 /// Amount in bytes - if >= 4GB, returns 4GB. (LSL is not 64-bit aware)