diff options
author | Melanie Thielker | 2008-09-26 18:40:16 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-09-26 18:40:16 +0000 |
commit | 54ef88c12c1fa268ad6d1fe0c77a085b0b22587c (patch) | |
tree | 813bc9243fc7b66288ec3f5956b933cd268f9233 /OpenSim/Region | |
parent | Remove another interface that is no longer needed (diff) | |
download | opensim-SC-54ef88c12c1fa268ad6d1fe0c77a085b0b22587c.zip opensim-SC-54ef88c12c1fa268ad6d1fe0c77a085b0b22587c.tar.gz opensim-SC-54ef88c12c1fa268ad6d1fe0c77a085b0b22587c.tar.bz2 opensim-SC-54ef88c12c1fa268ad6d1fe0c77a085b0b22587c.tar.xz |
Thank you, idb, for a patch that implements the stubs for llGetAgentLanguage()
Diffstat (limited to 'OpenSim/Region')
3 files changed, 13 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 6215710..c91bdb2 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -4508,6 +4508,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
4508 | return 0; | 4508 | return 0; |
4509 | } | 4509 | } |
4510 | 4510 | ||
4511 | public LSL_String llGetAgentLanguage(string id) | ||
4512 | { | ||
4513 | m_host.AddScriptLPS(1); | ||
4514 | NotImplemented("llGetAgentLanguage"); | ||
4515 | return ""; | ||
4516 | } | ||
4517 | |||
4511 | public void llAdjustSoundVolume(double volume) | 4518 | public void llAdjustSoundVolume(double volume) |
4512 | { | 4519 | { |
4513 | m_host.AddScriptLPS(1); | 4520 | m_host.AddScriptLPS(1); |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs index 744dc99..96d99eb 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs | |||
@@ -103,6 +103,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces | |||
103 | LSL_Float llFrand(double mag); | 103 | LSL_Float llFrand(double mag); |
104 | LSL_Vector llGetAccel(); | 104 | LSL_Vector llGetAccel(); |
105 | LSL_Integer llGetAgentInfo(string id); | 105 | LSL_Integer llGetAgentInfo(string id); |
106 | LSL_String llGetAgentLanguage(string id); | ||
106 | LSL_Vector llGetAgentSize(string id); | 107 | LSL_Vector llGetAgentSize(string id); |
107 | LSL_Float llGetAlpha(int face); | 108 | LSL_Float llGetAlpha(int face); |
108 | LSL_Float llGetAndResetTime(); | 109 | LSL_Float llGetAndResetTime(); |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs index a23e731..32cfff6 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | |||
@@ -374,6 +374,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
374 | return m_LSL_Functions.llGetAgentInfo(id); | 374 | return m_LSL_Functions.llGetAgentInfo(id); |
375 | } | 375 | } |
376 | 376 | ||
377 | public LSL_String llGetAgentLanguage(string id) | ||
378 | { | ||
379 | return m_LSL_Functions.llGetAgentLanguage(id); | ||
380 | } | ||
381 | |||
377 | public LSL_Vector llGetAgentSize(string id) | 382 | public LSL_Vector llGetAgentSize(string id) |
378 | { | 383 | { |
379 | return m_LSL_Functions.llGetAgentSize(id); | 384 | return m_LSL_Functions.llGetAgentSize(id); |