diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
3 files changed, 15 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 3e1c930..b7ff9b6 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -581,5 +581,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
581 | return String.Empty; | 581 | return String.Empty; |
582 | } | 582 | } |
583 | } | 583 | } |
584 | |||
585 | |||
586 | //for testing purposes only | ||
587 | public void osSetParcelMediaTime(double time) | ||
588 | { | ||
589 | World.ParcelMediaSetTime((float)time); | ||
590 | } | ||
584 | } | 591 | } |
585 | } | 592 | } |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index d55491c..87b3ef4 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | |||
@@ -66,5 +66,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces | |||
66 | void osSetRegionWaterHeight(double height); | 66 | void osSetRegionWaterHeight(double height); |
67 | 67 | ||
68 | string osGetScriptEngineName(); | 68 | string osGetScriptEngineName(); |
69 | void osSetParcelMediaTime(double time); | ||
69 | } | 70 | } |
70 | } | 71 | } |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index 90c4419..9d0c337 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -200,5 +200,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
200 | { | 200 | { |
201 | return m_OSSL_Functions.osGetScriptEngineName(); | 201 | return m_OSSL_Functions.osGetScriptEngineName(); |
202 | } | 202 | } |
203 | |||
204 | |||
205 | //for testing purposes only | ||
206 | public void osSetParcelMediaTime(double time) | ||
207 | { | ||
208 | m_OSSL_Functions.osSetParcelMediaTime(time); | ||
209 | } | ||
203 | } | 210 | } |
204 | } | 211 | } |