diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 7 |
1 files changed, 7 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 3fe5780..a067868 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -1922,6 +1922,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1922 | rgb.y = texcolor.G; | 1922 | rgb.y = texcolor.G; |
1923 | rgb.z = texcolor.B; | 1923 | rgb.z = texcolor.B; |
1924 | return rgb; | 1924 | return rgb; |
1925 | |||
1925 | } | 1926 | } |
1926 | else | 1927 | else |
1927 | { | 1928 | { |
@@ -3492,6 +3493,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3492 | return m_host.UUID.ToString(); | 3493 | return m_host.UUID.ToString(); |
3493 | } | 3494 | } |
3494 | 3495 | ||
3496 | public LSL_Key llGenerateKey() | ||
3497 | { | ||
3498 | m_host.AddScriptLPS(1); | ||
3499 | return UUID.Random().ToString(); | ||
3500 | } | ||
3501 | |||
3495 | public void llSetBuoyancy(double buoyancy) | 3502 | public void llSetBuoyancy(double buoyancy) |
3496 | { | 3503 | { |
3497 | m_host.AddScriptLPS(1); | 3504 | m_host.AddScriptLPS(1); |