mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
Thank you, idb, for a patch that implements the stubs for llGetAgentLanguage()
This commit is contained in:
@@ -4508,6 +4508,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
return 0;
|
||||
}
|
||||
|
||||
public LSL_String llGetAgentLanguage(string id)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
NotImplemented("llGetAgentLanguage");
|
||||
return "";
|
||||
}
|
||||
|
||||
public void llAdjustSoundVolume(double volume)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
|
||||
@@ -103,6 +103,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
||||
LSL_Float llFrand(double mag);
|
||||
LSL_Vector llGetAccel();
|
||||
LSL_Integer llGetAgentInfo(string id);
|
||||
LSL_String llGetAgentLanguage(string id);
|
||||
LSL_Vector llGetAgentSize(string id);
|
||||
LSL_Float llGetAlpha(int face);
|
||||
LSL_Float llGetAndResetTime();
|
||||
|
||||
@@ -374,6 +374,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
return m_LSL_Functions.llGetAgentInfo(id);
|
||||
}
|
||||
|
||||
public LSL_String llGetAgentLanguage(string id)
|
||||
{
|
||||
return m_LSL_Functions.llGetAgentLanguage(id);
|
||||
}
|
||||
|
||||
public LSL_Vector llGetAgentSize(string id)
|
||||
{
|
||||
return m_LSL_Functions.llGetAgentSize(id);
|
||||
|
||||
Reference in New Issue
Block a user