aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces/IScriptModule.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-10-19 22:30:31 +0100
committerJustin Clark-Casey (justincc)2011-10-19 22:30:31 +0100
commit601dabb1b73a894e4f2f61abe6e9053d380008cd (patch)
tree03b005284edcdd840062ad7bbfb4ed62ebdd6a41 /OpenSim/Region/Framework/Interfaces/IScriptModule.cs
parentAdd "scripts stop" and "scripts start" console commands. (diff)
downloadopensim-SC-601dabb1b73a894e4f2f61abe6e9053d380008cd.zip
opensim-SC-601dabb1b73a894e4f2f61abe6e9053d380008cd.tar.gz
opensim-SC-601dabb1b73a894e4f2f61abe6e9053d380008cd.tar.bz2
opensim-SC-601dabb1b73a894e4f2f61abe6e9053d380008cd.tar.xz
Extend scripts stop/start/suspend/resume console commands to allow action on a single script by giving the script item id (which can be found via scripts show).
Not an ideal way to do this on a region with many scripts. Needs refinement later.
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/IScriptModule.cs')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IScriptModule.cs14
1 files changed, 9 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IScriptModule.cs b/OpenSim/Region/Framework/Interfaces/IScriptModule.cs
index b27b7da..950e4b0 100644
--- a/OpenSim/Region/Framework/Interfaces/IScriptModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IScriptModule.cs
@@ -41,12 +41,16 @@ namespace OpenSim.Region.Framework.Interfaces
41 bool PostScriptEvent(UUID itemID, string name, Object[] args); 41 bool PostScriptEvent(UUID itemID, string name, Object[] args);
42 bool PostObjectEvent(UUID itemID, string name, Object[] args); 42 bool PostObjectEvent(UUID itemID, string name, Object[] args);
43 43
44 // Suspend ALL scripts in a given scene object. The item ID 44 /// <summary>
45 // is the UUID of a SOG, and the method acts on all contained 45 /// Suspends a script.
46 // scripts. This is different from the suspend/resume that 46 /// </summary>
47 // can be issued by a client. 47 /// <param name="itemID">The item ID of the script.</param>
48 //
49 void SuspendScript(UUID itemID); 48 void SuspendScript(UUID itemID);
49
50 /// <summary>
51 /// Resumes a script.
52 /// </summary>
53 /// <param name="itemID">The item ID of the script.</param>
50 void ResumeScript(UUID itemID); 54 void ResumeScript(UUID itemID);
51 55
52 ArrayList GetScriptErrors(UUID itemID); 56 ArrayList GetScriptErrors(UUID itemID);