mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
Merge branch 'master' into careminster
Conflicts: OpenSim/Data/MySQL/MySQLAssetData.cs OpenSim/Data/MySQL/MySQLSimulationData.cs OpenSim/Data/MySQL/MySQLUserAccountData.cs
This commit is contained in:
@@ -1922,6 +1922,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
rgb.y = texcolor.G;
|
||||
rgb.z = texcolor.B;
|
||||
return rgb;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -3492,6 +3493,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
return m_host.UUID.ToString();
|
||||
}
|
||||
|
||||
public LSL_Key llGenerateKey()
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
return UUID.Random().ToString();
|
||||
}
|
||||
|
||||
public void llSetBuoyancy(double buoyancy)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
|
||||
@@ -105,6 +105,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
||||
LSL_Integer llFloor(double f);
|
||||
void llForceMouselook(int mouselook);
|
||||
LSL_Float llFrand(double mag);
|
||||
LSL_Key llGenerateKey();
|
||||
LSL_Vector llGetAccel();
|
||||
LSL_Integer llGetAgentInfo(string id);
|
||||
LSL_String llGetAgentLanguage(string id);
|
||||
|
||||
@@ -376,6 +376,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
return m_LSL_Functions.llFrand(mag);
|
||||
}
|
||||
|
||||
public LSL_Key llGenerateKey()
|
||||
{
|
||||
return m_LSL_Functions.llGenerateKey();
|
||||
}
|
||||
|
||||
public LSL_Vector llGetAccel()
|
||||
{
|
||||
return m_LSL_Functions.llGetAccel();
|
||||
|
||||
Reference in New Issue
Block a user