mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
Refactor IEventReceiver back into IScriptEngine
This commit is contained in:
@@ -77,7 +77,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
|
||||
new LSL_Types.LSLString(httpInfo.response_body)
|
||||
};
|
||||
|
||||
foreach (IEventReceiver e in m_CmdManager.ScriptEngines)
|
||||
foreach (IScriptEngine e in m_CmdManager.ScriptEngines)
|
||||
{
|
||||
if (e.PostObjectEvent(httpInfo.localID,
|
||||
new EventParams("http_response",
|
||||
|
||||
@@ -67,7 +67,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
|
||||
new LSL_Types.LSLString(lInfo.GetMessage())
|
||||
};
|
||||
|
||||
foreach (IEventReceiver e in m_CmdManager.ScriptEngines)
|
||||
foreach (IScriptEngine e in m_CmdManager.ScriptEngines)
|
||||
{
|
||||
e.PostScriptEvent(
|
||||
lInfo.GetItemID(), new EventParams(
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
|
||||
new LSL_Types.LSLString(rInfo.GetStrVal())
|
||||
};
|
||||
|
||||
foreach (IEventReceiver e in m_CmdManager.ScriptEngines)
|
||||
foreach (IScriptEngine e in m_CmdManager.ScriptEngines)
|
||||
{
|
||||
if (e.PostScriptEvent(
|
||||
rInfo.GetItemID(), new EventParams(
|
||||
@@ -100,7 +100,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
|
||||
new LSL_Types.LSLString(srdInfo.sdata)
|
||||
};
|
||||
|
||||
foreach (IEventReceiver e in m_CmdManager.ScriptEngines)
|
||||
foreach (IScriptEngine e in m_CmdManager.ScriptEngines)
|
||||
{
|
||||
if (e.PostScriptEvent(
|
||||
srdInfo.m_itemID, new EventParams(
|
||||
|
||||
Reference in New Issue
Block a user