mirror of
https://github.com/opensim/opensim.git
synced 2026-07-14 03:15:36 +08:00
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
This commit is contained in:
22
OpenSim/Region/ScriptEngine/LSOEngine/LSOScript.cs
Normal file
22
OpenSim/Region/ScriptEngine/LSOEngine/LSOScript.cs
Normal file
@@ -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
|
||||
{
|
||||
/// <summary>
|
||||
/// This class encapsulated an LSO file and contains execution-specific data
|
||||
/// </summary>
|
||||
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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user