aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2008-09-25 20:04:59 +0000
committerMelanie Thielker2008-09-25 20:04:59 +0000
commitc713dcbada9be037cf3da71444e79895dc5d9011 (patch)
treee24adeb6bc3c575f97da9dc018d7737fdd7bc934 /OpenSim
parentSample ini update (diff)
downloadopensim-SC-c713dcbada9be037cf3da71444e79895dc5d9011.zip
opensim-SC-c713dcbada9be037cf3da71444e79895dc5d9011.tar.gz
opensim-SC-c713dcbada9be037cf3da71444e79895dc5d9011.tar.bz2
opensim-SC-c713dcbada9be037cf3da71444e79895dc5d9011.tar.xz
Some script engine interface changes
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs21
-rw-r--r--OpenSim/Region/ScriptEngine/Interfaces/IEventReceiver.cs6
-rw-r--r--OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs6
3 files changed, 27 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs
index 2bcd949..18925e0 100644
--- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs
+++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs
@@ -226,5 +226,26 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
226 return 0; 226 return 0;
227 } 227 }
228 #endregion 228 #endregion
229
230 public void SetState(UUID itemID, string state)
231 {
232 }
233
234 public bool GetScriptState(UUID itemID)
235 {
236 return true;
237 }
238
239 public void SetScriptState(UUID itemID, bool state)
240 {
241 }
242
243 public void ApiResetScript(UUID itemID)
244 {
245 }
246
247 public void ResetScript(UUID itemID)
248 {
249 }
229 } 250 }
230} 251}
diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IEventReceiver.cs b/OpenSim/Region/ScriptEngine/Interfaces/IEventReceiver.cs
index 4be6a77..7fad02c 100644
--- a/OpenSim/Region/ScriptEngine/Interfaces/IEventReceiver.cs
+++ b/OpenSim/Region/ScriptEngine/Interfaces/IEventReceiver.cs
@@ -57,5 +57,11 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
57 57
58 DetectParams GetDetectParams(UUID item, int number); 58 DetectParams GetDetectParams(UUID item, int number);
59 int GetStartParameter(UUID itemID); 59 int GetStartParameter(UUID itemID);
60
61 void SetScriptState(UUID itemID, bool state);
62 bool GetScriptState(UUID itemID);
63 void SetState(UUID itemID, string newState);
64 void ApiResetScript(UUID itemID);
65 void ResetScript(UUID itemID);
60 } 66 }
61} 67}
diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs
index 389af00..7af346d 100644
--- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs
+++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs
@@ -46,12 +46,6 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
46 ILog Log { get; } 46 ILog Log { get; }
47 string ScriptEngineName { get; } 47 string ScriptEngineName { get; }
48 48
49 void ApiResetScript(UUID itemID);
50 void ResetScript(UUID itemID);
51 void SetScriptState(UUID itemID, bool state);
52 bool GetScriptState(UUID itemID);
53 void SetState(UUID itemID, string newState);
54
55 /// <summary> 49 /// <summary>
56 /// Queue an event for execution 50 /// Queue an event for execution
57 /// </summary> 51 /// </summary>