diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 21 |
1 files changed, 21 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 d316ac9..a50b6f2 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -67,6 +67,27 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
67 | m_OSSL_Functions.osSetRegionSunSettings(useEstateSun, sunFixed, sunHour); | 67 | m_OSSL_Functions.osSetRegionSunSettings(useEstateSun, sunFixed, sunHour); |
68 | } | 68 | } |
69 | 69 | ||
70 | public void osSetEstateSunSettings(bool sunFixed, double sunHour) | ||
71 | { | ||
72 | m_OSSL_Functions.osSetEstateSunSettings(sunFixed, sunHour); | ||
73 | } | ||
74 | |||
75 | public double osGetCurrentSunHour() | ||
76 | { | ||
77 | return m_OSSL_Functions.osGetCurrentSunHour(); | ||
78 | } | ||
79 | |||
80 | public double osSunGetParam(string param) | ||
81 | { | ||
82 | return m_OSSL_Functions.osSunGetParam(param); | ||
83 | } | ||
84 | |||
85 | public void osSunSetParam(string param, double value) | ||
86 | { | ||
87 | m_OSSL_Functions.osSunSetParam(param, value); | ||
88 | } | ||
89 | |||
90 | |||
70 | public double osList2Double(LSL_Types.list src, int index) | 91 | public double osList2Double(LSL_Types.list src, int index) |
71 | { | 92 | { |
72 | return m_OSSL_Functions.osList2Double(src, index); | 93 | return m_OSSL_Functions.osList2Double(src, index); |