aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/LSOEngine
diff options
context:
space:
mode:
authorTedd Hansen2008-02-16 07:53:02 +0000
committerTedd Hansen2008-02-16 07:53:02 +0000
commit169032b4a42736b3feef682fcbfd1cc1f8b159ba (patch)
treef452996b38d6c84c9b9c204040dab13cb3c43d77 /OpenSim/Region/ScriptEngine/LSOEngine
parent* ODE Stability update 4 :D (diff)
downloadopensim-SC_OLD-169032b4a42736b3feef682fcbfd1cc1f8b159ba.zip
opensim-SC_OLD-169032b4a42736b3feef682fcbfd1cc1f8b159ba.tar.gz
opensim-SC_OLD-169032b4a42736b3feef682fcbfd1cc1f8b159ba.tar.bz2
opensim-SC_OLD-169032b4a42736b3feef682fcbfd1cc1f8b159ba.tar.xz
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
Diffstat (limited to 'OpenSim/Region/ScriptEngine/LSOEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/LSOEngine/LSOScript.cs22
1 files changed, 22 insertions, 0 deletions
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 @@
1using System;
2using System.Collections.Generic;
3using System.IO;
4using System.Text;
5using OpenSim.Region.ScriptEngine.LSOEngine.LSO;
6
7namespace OpenSim.Region.ScriptEngine.LSOEngine
8{
9 /// <summary>
10 /// This class encapsulated an LSO file and contains execution-specific data
11 /// </summary>
12 public class LSOScript
13 {
14 private byte[] LSOCode = new byte[1024 * 16]; // Contains the LSO-file
15 //private System.IO.MemoryStream LSOCode = new MemoryStream(1024 * 16);
16
17 public void Execute(LSO_Enums.Event_Mask_Values Event, params object[] param)
18 {
19
20 }
21 }
22}