mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
Thank you, sacha magne, for a patch that implements
llRequestSimulatorData("simname", DATA_SIM_RELEASE)
Fixes Mantis #1866
This commit is contained in:
@@ -6381,6 +6381,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
else
|
||||
reply = "UNKNOWN";
|
||||
break;
|
||||
case 128: // SIM_RELEASE
|
||||
reply = m_ScriptEngine.World.GetSimulatorVersion();
|
||||
break;
|
||||
default:
|
||||
return LLUUID.Zero.ToString(); // Raise no event
|
||||
}
|
||||
|
||||
@@ -233,6 +233,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
public const int DATA_SIM_STATUS = 6;
|
||||
public const int DATA_SIM_RATING = 7;
|
||||
public const int DATA_PAYINFO = 8;
|
||||
public const int DATA_SIM_RELEASE = 128;
|
||||
|
||||
public const int ANIM_ON = 1;
|
||||
public const int LOOP = 2;
|
||||
|
||||
Reference in New Issue
Block a user