From f391d028de3aff0cc49d024d855555253eb8c02c Mon Sep 17 00:00:00 2001
From: Melanie
Date: Sun, 4 Nov 2012 22:01:34 +0100
Subject: Add a method to query all registered script constants to allow
non-XEngine script engines to use them.
---
OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs | 2 ++
1 file changed, 2 insertions(+)
(limited to 'OpenSim/Region/Framework/Interfaces')
diff --git a/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs b/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs
index 93930ce..70ff954 100644
--- a/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs
+++ b/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs
@@ -27,6 +27,7 @@
using System;
using System.Reflection;
+using System.Collections.Generic;
using OpenMetaverse;
namespace OpenSim.Region.Framework.Interfaces
@@ -131,6 +132,7 @@ namespace OpenSim.Region.Framework.Interfaces
/// Name of constant
/// Value of constant or null if none found.
object LookupModConstant(string cname);
+ Dictionary GetConstants();
// For use ONLY by the script API
void RaiseEvent(UUID script, string id, string module, string command, string key);
--
cgit v1.1