mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
Add interface, stub implementation and
script stub for llGetHTTPHeader().
This commit is contained in:
@@ -7646,6 +7646,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
return DateTime.UtcNow.TimeOfDay.TotalSeconds;
|
||||
}
|
||||
|
||||
public LSL_String llGetHTTPHeader(LSL_Key request_id, string header)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
NotImplemented("llGetHTTPHeader");
|
||||
return String.Empty;
|
||||
}
|
||||
|
||||
|
||||
public LSL_String llGetSimulatorHostname()
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
|
||||
@@ -123,6 +123,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
||||
LSL_Integer llGetFreeURLs();
|
||||
LSL_Vector llGetGeometricCenter();
|
||||
LSL_Float llGetGMTclock();
|
||||
LSL_String llGetHTTPHeader(LSL_Key request_id, string header);
|
||||
LSL_Key llGetInventoryCreator(string item);
|
||||
LSL_Key llGetInventoryKey(string name);
|
||||
LSL_String llGetInventoryName(int type, int number);
|
||||
|
||||
@@ -474,6 +474,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
return m_LSL_Functions.llGetGMTclock();
|
||||
}
|
||||
|
||||
public LSL_String llGetHTTPHeader(LSL_Key request_id, string header)
|
||||
{
|
||||
return m_LSL_Functions.llGetHTTPHeader(request_id, header);
|
||||
}
|
||||
|
||||
public LSL_Key llGetInventoryCreator(string item)
|
||||
{
|
||||
return m_LSL_Functions.llGetInventoryCreator(item);
|
||||
|
||||
Reference in New Issue
Block a user