diff options
author | Melanie Thielker | 2008-07-31 10:51:30 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-07-31 10:51:30 +0000 |
commit | af3e2c6e1ccd1bf26e139ec6fcb20f0165d439cd (patch) | |
tree | b96aa0c172a7491edbc99ad54df832d896907410 /OpenSim/Region/ScriptEngine/Shared/Api | |
parent | Thanks, M. Igarashi & nlin, for a patch that implements unary minus operator (diff) | |
download | opensim-SC_OLD-af3e2c6e1ccd1bf26e139ec6fcb20f0165d439cd.zip opensim-SC_OLD-af3e2c6e1ccd1bf26e139ec6fcb20f0165d439cd.tar.gz opensim-SC_OLD-af3e2c6e1ccd1bf26e139ec6fcb20f0165d439cd.tar.bz2 opensim-SC_OLD-af3e2c6e1ccd1bf26e139ec6fcb20f0165d439cd.tar.xz |
Thank you, sacha magne, for a patch that implements
llRequestSimulatorData("simname", DATA_SIM_RELEASE)
Fixes Mantis #1866
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 3 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 7080ad1..8bf149d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -6381,6 +6381,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
6381 | else | 6381 | else |
6382 | reply = "UNKNOWN"; | 6382 | reply = "UNKNOWN"; |
6383 | break; | 6383 | break; |
6384 | case 128: // SIM_RELEASE | ||
6385 | reply = m_ScriptEngine.World.GetSimulatorVersion(); | ||
6386 | break; | ||
6384 | default: | 6387 | default: |
6385 | return LLUUID.Zero.ToString(); // Raise no event | 6388 | return LLUUID.Zero.ToString(); // Raise no event |
6386 | } | 6389 | } |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index fd9e1aa..1472144 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | |||
@@ -233,6 +233,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
233 | public const int DATA_SIM_STATUS = 6; | 233 | public const int DATA_SIM_STATUS = 6; |
234 | public const int DATA_SIM_RATING = 7; | 234 | public const int DATA_SIM_RATING = 7; |
235 | public const int DATA_PAYINFO = 8; | 235 | public const int DATA_PAYINFO = 8; |
236 | public const int DATA_SIM_RELEASE = 128; | ||
236 | 237 | ||
237 | public const int ANIM_ON = 1; | 238 | public const int ANIM_ON = 1; |
238 | public const int LOOP = 2; | 239 | public const int LOOP = 2; |