LSL_BaseClass now receives scene during init

afrisby
Tedd Hansen 2007-08-12 18:27:46 +00:00
parent a968d05864
commit d715b0f66c
2 changed files with 6 additions and 24 deletions

View File

@ -8,16 +8,19 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
public class LSL_BaseClass : LSL_BuiltIn_Commands_Interface
{
public UInt32 State = 0;
internal OpenSim.Region.Environment.Scenes.Scene World;
public void Start(string FullScriptID)
public void Start(OpenSim.Region.Environment.Scenes.Scene _World, string FullScriptID)
{
World = _World;
Common.SendToLog("OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL.LSL_BaseClass.Start() called. FullScriptID: " + FullScriptID);
return;
}
//
// IMPLEMENT THESE!
//

View File

@ -1,21 +0,0 @@
EventManager.cs
---------------
* Hook up to the worlds touch-event:
myScriptEngine.World.touch_start += new TempWorldInterfaceEventDelegates.touch_start(touch_start);
* Modify:
public void touch_start(string ObjectID)
to correct parameters to match the event
* Make hooks to add/remove script using ScriptManager.cs
LSL_BuiltIn_Commands_TestImplementation.cs
------------------------------------------
* Change llSay to do something useful (send message)