diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs index 169955c..a05edbd 100644 --- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptInstance.cs | |||
@@ -50,6 +50,9 @@ namespace OpenSim.Region.ScriptEngine.Interfaces | |||
50 | bool Wait(TimeSpan t); | 50 | bool Wait(TimeSpan t); |
51 | } | 51 | } |
52 | 52 | ||
53 | /// <summary> | ||
54 | /// Interface for interaction with a particular script instance | ||
55 | /// </summary> | ||
53 | public interface IScriptInstance | 56 | public interface IScriptInstance |
54 | { | 57 | { |
55 | bool Running { get; set; } | 58 | bool Running { get; set; } |
@@ -75,6 +78,11 @@ namespace OpenSim.Region.ScriptEngine.Interfaces | |||
75 | void SetState(string state); | 78 | void SetState(string state); |
76 | 79 | ||
77 | void PostEvent(EventParams data); | 80 | void PostEvent(EventParams data); |
81 | |||
82 | /// <summary> | ||
83 | /// Process the next event queued for this script | ||
84 | /// </summary> | ||
85 | /// <returns></returns> | ||
78 | object EventProcessor(); | 86 | object EventProcessor(); |
79 | 87 | ||
80 | int EventTime(); | 88 | int EventTime(); |