From 169032b4a42736b3feef682fcbfd1cc1f8b159ba Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Sat, 16 Feb 2008 07:53:02 +0000 Subject: Fixed ScriptEngine config in OpenSim.ini.example that was out of place. Added some info to failure on GridServices listening port so people can see what actually went wrong. Moved most of the function/event execution module to a baseclass so other execution methods (instead of reflection) can be used with custom script modules run by ScriptEngine.Common. + some accumulated patches --- OpenSim/Region/ScriptEngine/LSOEngine/LSOScript.cs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 OpenSim/Region/ScriptEngine/LSOEngine/LSOScript.cs (limited to 'OpenSim/Region/ScriptEngine/LSOEngine/LSOScript.cs') diff --git a/OpenSim/Region/ScriptEngine/LSOEngine/LSOScript.cs b/OpenSim/Region/ScriptEngine/LSOEngine/LSOScript.cs new file mode 100644 index 0000000..e87bec8 --- /dev/null +++ b/OpenSim/Region/ScriptEngine/LSOEngine/LSOScript.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Text; +using OpenSim.Region.ScriptEngine.LSOEngine.LSO; + +namespace OpenSim.Region.ScriptEngine.LSOEngine +{ + /// + /// This class encapsulated an LSO file and contains execution-specific data + /// + public class LSOScript + { + private byte[] LSOCode = new byte[1024 * 16]; // Contains the LSO-file + //private System.IO.MemoryStream LSOCode = new MemoryStream(1024 * 16); + + public void Execute(LSO_Enums.Event_Mask_Values Event, params object[] param) + { + + } + } +} -- cgit v1.1