diff options
author | Melanie | 2012-04-09 21:40:03 +0100 |
---|---|---|
committer | Melanie | 2012-04-09 21:40:03 +0100 |
commit | 67d4f1d66cef2ff51453f113bdaef375004b17c9 (patch) | |
tree | 975abcb48e2492950ea974567379de88809f57f5 /OpenSim/Region/Framework/Interfaces | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Mantis5502 implementation of some of the new constants (diff) | |
download | opensim-SC-67d4f1d66cef2ff51453f113bdaef375004b17c9.zip opensim-SC-67d4f1d66cef2ff51453f113bdaef375004b17c9.tar.gz opensim-SC-67d4f1d66cef2ff51453f113bdaef375004b17c9.tar.bz2 opensim-SC-67d4f1d66cef2ff51453f113bdaef375004b17c9.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/Framework/Interfaces/IScriptModule.cs
OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IEntityInventory.cs | 10 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IScriptModule.cs | 8 |
2 files changed, 17 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs b/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs index 32f4eea..4d70888 100644 --- a/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs +++ b/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs | |||
@@ -228,6 +228,16 @@ namespace OpenSim.Region.Framework.Interfaces | |||
228 | bool ContainsScripts(); | 228 | bool ContainsScripts(); |
229 | 229 | ||
230 | /// <summary> | 230 | /// <summary> |
231 | /// Returns the count of scripts contained | ||
232 | /// </summary></returns> | ||
233 | int ScriptCount(); | ||
234 | |||
235 | /// <summary> | ||
236 | /// Returns the count of running scripts contained | ||
237 | /// </summary></returns> | ||
238 | int RunningScriptCount(); | ||
239 | |||
240 | /// <summary> | ||
231 | /// Get the uuids of all items in this inventory | 241 | /// Get the uuids of all items in this inventory |
232 | /// </summary> | 242 | /// </summary> |
233 | /// <returns></returns> | 243 | /// <returns></returns> |
diff --git a/OpenSim/Region/Framework/Interfaces/IScriptModule.cs b/OpenSim/Region/Framework/Interfaces/IScriptModule.cs index ce66100..4f8be10 100644 --- a/OpenSim/Region/Framework/Interfaces/IScriptModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IScriptModule.cs | |||
@@ -71,6 +71,12 @@ namespace OpenSim.Region.Framework.Interfaces | |||
71 | 71 | ||
72 | bool HasScript(UUID itemID, out bool running); | 72 | bool HasScript(UUID itemID, out bool running); |
73 | 73 | ||
74 | /// <summary> | ||
75 | /// Returns true if a script is running. | ||
76 | /// </summary> | ||
77 | /// <param name="itemID">The item ID of the script.</param> | ||
78 | bool GetScriptState(UUID itemID); | ||
79 | |||
74 | void SaveAllState(); | 80 | void SaveAllState(); |
75 | 81 | ||
76 | /// <summary> | 82 | /// <summary> |
@@ -87,4 +93,4 @@ namespace OpenSim.Region.Framework.Interfaces | |||
87 | /// </returns> | 93 | /// </returns> |
88 | Dictionary<uint, float> GetObjectScriptsExecutionTimes(); | 94 | Dictionary<uint, float> GetObjectScriptsExecutionTimes(); |
89 | } | 95 | } |
90 | } \ No newline at end of file | 96 | } |