diff options
author | Melanie | 2012-11-04 22:01:34 +0100 |
---|---|---|
committer | Melanie | 2012-11-04 22:01:34 +0100 |
commit | 7e91a787fb89e782382bf98c026d8f22d25691a1 (patch) | |
tree | ed0cc569e24d173a3f650b48c8b6b841be0e3daf /OpenSim/Region/Framework | |
parent | Prevent a null client from crashing windlight. (diff) | |
download | opensim-SC-7e91a787fb89e782382bf98c026d8f22d25691a1.zip opensim-SC-7e91a787fb89e782382bf98c026d8f22d25691a1.tar.gz opensim-SC-7e91a787fb89e782382bf98c026d8f22d25691a1.tar.bz2 opensim-SC-7e91a787fb89e782382bf98c026d8f22d25691a1.tar.xz |
Add a method to query all registered script constants to allow non-XEngine
script engines to use them.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs b/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs index ed71a95..a76ffde 100644 --- a/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs +++ b/OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs | |||
@@ -27,6 +27,7 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Reflection; | 29 | using System.Reflection; |
30 | using System.Collections.Generic; | ||
30 | using OpenMetaverse; | 31 | using OpenMetaverse; |
31 | 32 | ||
32 | namespace OpenSim.Region.Framework.Interfaces | 33 | namespace OpenSim.Region.Framework.Interfaces |
@@ -70,6 +71,7 @@ namespace OpenSim.Region.Framework.Interfaces | |||
70 | /// For constants | 71 | /// For constants |
71 | void RegisterConstant(string cname, object value); | 72 | void RegisterConstant(string cname, object value); |
72 | object LookupModConstant(string cname); | 73 | object LookupModConstant(string cname); |
74 | Dictionary<string, object> GetConstants(); | ||
73 | 75 | ||
74 | // For use ONLY by the script API | 76 | // For use ONLY by the script API |
75 | void RaiseEvent(UUID script, string id, string module, string command, string key); | 77 | void RaiseEvent(UUID script, string id, string module, string command, string key); |