Added osGetGridGatekeeperURI()
parent
291dc39691
commit
824eb7ed20
|
@ -2093,6 +2093,20 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
return HomeURI;
|
return HomeURI;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public string osGetGridGatekeeperURI()
|
||||||
|
{
|
||||||
|
CheckThreatLevel(ThreatLevel.Moderate, "osGetGridGatekeeperURI");
|
||||||
|
m_host.AddScriptLPS(1);
|
||||||
|
|
||||||
|
string gatekeeperURI = String.Empty;
|
||||||
|
IConfigSource config = m_ScriptEngine.ConfigSource;
|
||||||
|
|
||||||
|
if (config.Configs["GridService"] != null)
|
||||||
|
gatekeeperURI = config.Configs["GridService"].GetString("Gatekeeper", gatekeeperURI);
|
||||||
|
|
||||||
|
return gatekeeperURI;
|
||||||
|
}
|
||||||
|
|
||||||
public string osGetGridCustom(string key)
|
public string osGetGridCustom(string key)
|
||||||
{
|
{
|
||||||
CheckThreatLevel(ThreatLevel.Moderate, "osGetGridCustom");
|
CheckThreatLevel(ThreatLevel.Moderate, "osGetGridCustom");
|
||||||
|
|
|
@ -161,6 +161,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
||||||
string osGetGridName();
|
string osGetGridName();
|
||||||
string osGetGridLoginURI();
|
string osGetGridLoginURI();
|
||||||
string osGetGridHomeURI();
|
string osGetGridHomeURI();
|
||||||
|
string osGetGridGatekeeperURI();
|
||||||
string osGetGridCustom(string key);
|
string osGetGridCustom(string key);
|
||||||
|
|
||||||
LSL_String osFormatString(string str, LSL_List strings);
|
LSL_String osFormatString(string str, LSL_List strings);
|
||||||
|
|
|
@ -457,6 +457,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||||
return m_OSSL_Functions.osGetGridHomeURI();
|
return m_OSSL_Functions.osGetGridHomeURI();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public string osGetGridGatekeeperURI()
|
||||||
|
{
|
||||||
|
return m_OSSL_Functions.osGetGridGatekeeperURI();
|
||||||
|
}
|
||||||
|
|
||||||
public string osGetGridCustom(string key)
|
public string osGetGridCustom(string key)
|
||||||
{
|
{
|
||||||
return m_OSSL_Functions.osGetGridCustom(key);
|
return m_OSSL_Functions.osGetGridCustom(key);
|
||||||
|
|
Loading…
Reference in New Issue