diff options
author | Melanie Thielker | 2008-11-08 02:24:34 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-08 02:24:34 +0000 |
commit | 833f5e8bed5b36501c4579859e380038400ecb75 (patch) | |
tree | c785b4178baa18f49490e572f3013e531921e349 /OpenSim/Region/ScriptEngine/XEngine | |
parent | * Correct catch changed on last commit, since I just realized I started makin... (diff) | |
download | opensim-SC_OLD-833f5e8bed5b36501c4579859e380038400ecb75.zip opensim-SC_OLD-833f5e8bed5b36501c4579859e380038400ecb75.tar.gz opensim-SC_OLD-833f5e8bed5b36501c4579859e380038400ecb75.tar.bz2 opensim-SC_OLD-833f5e8bed5b36501c4579859e380038400ecb75.tar.xz |
Refactor IEventReceiver back into IScriptEngine
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 16 |
1 files changed, 16 insertions, 0 deletions
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 | |||
985 | controllingClient.AgentId); | 985 | controllingClient.AgentId); |
986 | } | 986 | } |
987 | } | 987 | } |
988 | |||
989 | public string GetAssemblyName(UUID itemID) | ||
990 | { | ||
991 | IScriptInstance instance = GetInstance(itemID); | ||
992 | if (instance == null) | ||
993 | return null; | ||
994 | return instance.GetAssemblyName(); | ||
995 | } | ||
996 | |||
997 | public string GetXMLState(UUID itemID) | ||
998 | { | ||
999 | IScriptInstance instance = GetInstance(itemID); | ||
1000 | if (instance == null) | ||
1001 | return null; | ||
1002 | return instance.GetXMLState(); | ||
1003 | } | ||
988 | } | 1004 | } |
989 | } | 1005 | } |