diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 037c494..f47e57d 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -938,6 +938,15 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
938 | return PostScriptEvent(itemID, new EventParams(name, p, new DetectParams[0])); | 938 | return PostScriptEvent(itemID, new EventParams(name, p, new DetectParams[0])); |
939 | } | 939 | } |
940 | 940 | ||
941 | public bool PostObjectEvent(UUID itemID, string name, Object[] p) | ||
942 | { | ||
943 | SceneObjectPart part = m_Scene.GetSceneObjectPart(itemID); | ||
944 | if (part == null) | ||
945 | return false; | ||
946 | |||
947 | return PostObjectEvent(part.LocalId, new EventParams(name, p, new DetectParams[0])); | ||
948 | } | ||
949 | |||
941 | public Assembly OnAssemblyResolve(object sender, | 950 | public Assembly OnAssemblyResolve(object sender, |
942 | ResolveEventArgs args) | 951 | ResolveEventArgs args) |
943 | { | 952 | { |