diff options
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/IScriptModule.cs')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IScriptModule.cs | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IScriptModule.cs b/OpenSim/Region/Framework/Interfaces/IScriptModule.cs index ce66100..42dbedc 100644 --- a/OpenSim/Region/Framework/Interfaces/IScriptModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IScriptModule.cs | |||
@@ -71,6 +71,14 @@ 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 | |||
80 | void SetRunEnable(UUID instanceID, bool enable); | ||
81 | |||
74 | void SaveAllState(); | 82 | void SaveAllState(); |
75 | 83 | ||
76 | /// <summary> | 84 | /// <summary> |
@@ -79,6 +87,14 @@ namespace OpenSim.Region.Framework.Interfaces | |||
79 | void StartProcessing(); | 87 | void StartProcessing(); |
80 | 88 | ||
81 | /// <summary> | 89 | /// <summary> |
90 | /// Get the execution times of all scripts in the given array if they are currently running. | ||
91 | /// </summary> | ||
92 | /// <returns> | ||
93 | /// A float the value is a representative execution time in milliseconds of all scripts in that Array. | ||
94 | /// </returns> | ||
95 | float GetScriptExecutionTime(List<UUID> itemIDs); | ||
96 | |||
97 | /// <summary> | ||
82 | /// Get the execution times of all scripts in each object. | 98 | /// Get the execution times of all scripts in each object. |
83 | /// </summary> | 99 | /// </summary> |
84 | /// <returns> | 100 | /// <returns> |
@@ -87,4 +103,4 @@ namespace OpenSim.Region.Framework.Interfaces | |||
87 | /// </returns> | 103 | /// </returns> |
88 | Dictionary<uint, float> GetObjectScriptsExecutionTimes(); | 104 | Dictionary<uint, float> GetObjectScriptsExecutionTimes(); |
89 | } | 105 | } |
90 | } \ No newline at end of file | 106 | } |