From 833f5e8bed5b36501c4579859e380038400ecb75 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sat, 8 Nov 2008 02:24:34 +0000 Subject: Refactor IEventReceiver back into IScriptEngine --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'OpenSim/Region/ScriptEngine/XEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 9a4cb8b..221562e 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -985,5 +985,21 @@ namespace OpenSim.Region.ScriptEngine.XEngine controllingClient.AgentId); } } + + public string GetAssemblyName(UUID itemID) + { + IScriptInstance instance = GetInstance(itemID); + if (instance == null) + return null; + return instance.GetAssemblyName(); + } + + public string GetXMLState(UUID itemID) + { + IScriptInstance instance = GetInstance(itemID); + if (instance == null) + return null; + return instance.GetXMLState(); + } } } -- cgit v1.1