Thank you, sacha magne, for a patch that implements
llRequestSimulatorData("simname", DATA_SIM_RELEASE) Fixes Mantis #18660.6.0-stable
parent
ddf126321c
commit
af3e2c6e1c
|
@ -2239,6 +2239,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
|||
public const int DATA_SIM_POS = 5;
|
||||
public const int DATA_SIM_STATUS = 6;
|
||||
public const int DATA_SIM_RATING = 7;
|
||||
public const int DATA_SIM_RELEASE = 128;
|
||||
|
||||
public const int ANIM_ON = 1;
|
||||
public const int LOOP = 2;
|
||||
|
|
|
@ -6604,6 +6604,9 @@ namespace OpenSim.Region.ScriptEngine.Common
|
|||
else
|
||||
reply = "UNKNOWN";
|
||||
break;
|
||||
case 128: // SIM_RELEASE
|
||||
reply = m_ScriptEngine.World.GetSimulatorVersion();
|
||||
break;
|
||||
default:
|
||||
return LLUUID.Zero.ToString(); // Raise no event
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue