aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs
index 7ad00d1..25db231 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs
@@ -44,12 +44,11 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
44 { 44 {
45 myScriptEngine = _ScriptEngine; 45 myScriptEngine = _ScriptEngine;
46 // TODO: HOOK EVENTS UP TO SERVER! 46 // TODO: HOOK EVENTS UP TO SERVER!
47 Common.SendToDebug("EventManager Start"); 47 myScriptEngine.m_logger.Verbose("ScriptEngine", "EventManager Start");
48
49 // TODO: ADD SERVER HOOK TO LOAD A SCRIPT THROUGH myScriptEngine.ScriptManager 48 // TODO: ADD SERVER HOOK TO LOAD A SCRIPT THROUGH myScriptEngine.ScriptManager
50 49
51 // Hook up a test event to our test form 50 // Hook up a test event to our test form
52 Common.SendToDebug("EventManager Hooking up dummy-event: touch_start"); 51 myScriptEngine.m_logger.Verbose("ScriptEngine", "EventManager Hooking up dummy-event: touch_start");
53 // TODO: REPLACE THIS WITH A REAL TOUCH_START EVENT IN SERVER 52 // TODO: REPLACE THIS WITH A REAL TOUCH_START EVENT IN SERVER
54 myScriptEngine.World.EventManager.OnObjectGrab += new OpenSim.Region.Environment.Scenes.EventManager.ObjectGrabDelegate(touch_start); 53 myScriptEngine.World.EventManager.OnObjectGrab += new OpenSim.Region.Environment.Scenes.EventManager.ObjectGrabDelegate(touch_start);
55 //myScriptEngine.World.touch_start += new TempWorldInterfaceEventDelegates.touch_start(touch_start); 54 //myScriptEngine.World.touch_start += new TempWorldInterfaceEventDelegates.touch_start(touch_start);
@@ -58,7 +57,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
58 public void touch_start(uint localID, LLVector3 offsetPos, IClientAPI remoteClient) 57 public void touch_start(uint localID, LLVector3 offsetPos, IClientAPI remoteClient)
59 { 58 {
60 // Add to queue for all scripts in ObjectID object 59 // Add to queue for all scripts in ObjectID object
61 Common.SendToDebug("EventManager Event: touch_start"); 60 myScriptEngine.m_logger.Verbose("ScriptEngine", "EventManager Event: touch_start");
62 myScriptEngine.myEventQueueManager.AddToObjectQueue("TEST", "touch_start", new object[] { (int)0 }); 61 myScriptEngine.myEventQueueManager.AddToObjectQueue("TEST", "touch_start", new object[] { (int)0 });
63 } 62 }
64 63