aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/XEngine.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
index 6582686..0dc1ade 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -869,5 +869,13 @@ namespace OpenSim.Region.ScriptEngine.XEngine
869 869
870 DoBackup(new Object[] {0}); 870 DoBackup(new Object[] {0});
871 } 871 }
872
873 public IScriptApi GetApi(UUID itemID, string name)
874 {
875 IScriptInstance instance = GetInstance(itemID);
876 if (instance == null)
877 return null;
878 return instance.GetApi(name);
879 }
872 } 880 }
873} 881}