mirror of
https://github.com/opensim/opensim.git
synced 2026-05-26 03:45:36 +08:00
Add a method to query all registered script constants to allow non-XEngine
script engines to use them.
This commit is contained in:
@@ -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
|
||||
/// <param name="cname">Name of constant</param>
|
||||
/// <returns>Value of constant or null if none found.</returns>
|
||||
object LookupModConstant(string cname);
|
||||
Dictionary<string, object> GetConstants();
|
||||
|
||||
// For use ONLY by the script API
|
||||
void RaiseEvent(UUID script, string id, string module, string command, string key);
|
||||
|
||||
Reference in New Issue
Block a user