diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index d759b77..9b65d8d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -1709,5 +1709,30 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1709 | 1709 | ||
1710 | return result; | 1710 | return result; |
1711 | } | 1711 | } |
1712 | |||
1713 | public string osLoadedCreationDate() | ||
1714 | { | ||
1715 | CheckThreatLevel(ThreatLevel.Low, "osLoadedCreationDate"); | ||
1716 | m_host.AddScriptLPS(1); | ||
1717 | |||
1718 | return World.RegionInfo.RegionSettings.LoadedCreationDate; | ||
1719 | } | ||
1720 | |||
1721 | public string osLoadedCreationTime() | ||
1722 | { | ||
1723 | CheckThreatLevel(ThreatLevel.Low, "osLoadedCreationTime"); | ||
1724 | m_host.AddScriptLPS(1); | ||
1725 | |||
1726 | return World.RegionInfo.RegionSettings.LoadedCreationTime; | ||
1727 | } | ||
1728 | |||
1729 | public string osLoadedCreationID() | ||
1730 | { | ||
1731 | CheckThreatLevel(ThreatLevel.Low, "osLoadedCreationID"); | ||
1732 | m_host.AddScriptLPS(1); | ||
1733 | |||
1734 | return World.RegionInfo.RegionSettings.LoadedCreationID; | ||
1735 | } | ||
1736 | |||
1712 | } | 1737 | } |
1713 | } | 1738 | } |