diff options
author | Tedd Hansen | 2007-12-30 16:32:29 +0000 |
---|---|---|
committer | Tedd Hansen | 2007-12-30 16:32:29 +0000 |
commit | 7ef09a12020f1665bcd4e99fd420d411d5f4d95d (patch) | |
tree | 6953b5ce873ee73d96bd9b4a404f15d151f61865 /OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs | |
parent | * re-applied AddNewPrim refactoring... third time now... (diff) | |
download | opensim-SC-7ef09a12020f1665bcd4e99fd420d411d5f4d95d.zip opensim-SC-7ef09a12020f1665bcd4e99fd420d411d5f4d95d.tar.gz opensim-SC-7ef09a12020f1665bcd4e99fd420d411d5f4d95d.tar.bz2 opensim-SC-7ef09a12020f1665bcd4e99fd420d411d5f4d95d.tar.xz |
Added comments to ScriptEngine classes that explains what their purpose is
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs index 8dfd908..ced5025 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs | |||
@@ -38,6 +38,19 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
38 | [Serializable] | 38 | [Serializable] |
39 | internal class EventManager | 39 | internal class EventManager |
40 | { | 40 | { |
41 | |||
42 | // | ||
43 | // Class is instanced in "ScriptEngine" and Uses "EventQueueManager" that is also instanced in "ScriptEngine". | ||
44 | // This class needs a bit of explaining: | ||
45 | // | ||
46 | // This class it the link between an event inside OpenSim and the corresponding event in a user script being executed. | ||
47 | // | ||
48 | // For example when an user touches an object then the "myScriptEngine.World.EventManager.OnObjectGrab" event is fired inside OpenSim. | ||
49 | // We hook up to this event and queue a touch_start in EventQueueManager with the proper LSL parameters. It will then be delivered to the script by EventQueueManager. | ||
50 | // You can check debug C# dump of an LSL script if you need to verify what exact parameters are needed. | ||
51 | // | ||
52 | |||
53 | |||
41 | private ScriptEngine myScriptEngine; | 54 | private ScriptEngine myScriptEngine; |
42 | //public IScriptHost TEMP_OBJECT_ID; | 55 | //public IScriptHost TEMP_OBJECT_ID; |
43 | public EventManager(ScriptEngine _ScriptEngine) | 56 | public EventManager(ScriptEngine _ScriptEngine) |