From 8d7b1f8aa08efbb2d0087abee22178c36cbc2f98 Mon Sep 17 00:00:00 2001
From: SignpostMarv
Date: Fri, 21 Sep 2012 23:32:41 +0100
Subject: Documenting non-LSL script-related events
---
OpenSim/Region/Framework/Scenes/EventManager.cs | 52 +++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/OpenSim/Region/Framework/Scenes/EventManager.cs b/OpenSim/Region/Framework/Scenes/EventManager.cs
index f079e00..96e9797 100644
--- a/OpenSim/Region/Framework/Scenes/EventManager.cs
+++ b/OpenSim/Region/Framework/Scenes/EventManager.cs
@@ -279,6 +279,16 @@ namespace OpenSim.Region.Framework.Scenes
/// in
///
public event ObjectDeGrabDelegate OnObjectDeGrab;
+
+ ///
+ /// Triggered when a script resets.
+ ///
+ ///
+ /// Triggered by
+ /// in
+ /// via
+ /// via
+ ///
public event ScriptResetDelegate OnScriptReset;
public event OnPermissionErrorDelegate OnPermissionError;
@@ -288,17 +298,50 @@ namespace OpenSim.Region.Framework.Scenes
///
///
/// Occurs after OnNewScript.
+ /// Triggered by
+ /// in
///
public event NewRezScript OnRezScript;
public delegate void NewRezScript(uint localID, UUID itemID, string script, int startParam, bool postOnRez, string engine, int stateSource);
public delegate void RemoveScript(uint localID, UUID itemID);
+
+ ///
+ /// Triggered when a script is removed from an object.
+ ///
+ ///
+ /// Triggered by
+ /// in ,
+ /// ,
+ /// ,
+ ///
+ ///
public event RemoveScript OnRemoveScript;
public delegate void StartScript(uint localID, UUID itemID);
+
+ ///
+ /// Triggered when a script starts.
+ ///
+ ///
+ /// Triggered by
+ /// in
+ /// via ,
+ /// via
+ ///
public event StartScript OnStartScript;
public delegate void StopScript(uint localID, UUID itemID);
+
+ ///
+ /// Triggered when a script stops.
+ ///
+ ///
+ /// Triggered by ,
+ /// in ,
+ /// ,
+ ///
+ ///
public event StopScript OnStopScript;
public delegate bool SceneGroupMoved(UUID groupID, Vector3 delta);
@@ -349,6 +392,9 @@ namespace OpenSim.Region.Framework.Scenes
///
///
/// Occurs before OnRezScript
+ /// Triggered by
+ /// in ,
+ ///
///
public event NewScript OnNewScript;
@@ -383,6 +429,12 @@ namespace OpenSim.Region.Framework.Scenes
///
///
/// Triggered after the scene receives a client's upload of an updated script and has stored it in an asset.
+ /// Triggered by
+ /// in
+ /// via
+ /// via
+ /// via
+ /// via
///
public event UpdateScript OnUpdateScript;
--
cgit v1.1
From a6f73282165b6e216c87da59e57f7e5eba71c6ef Mon Sep 17 00:00:00 2001
From: Michelle Argus
Date: Fri, 3 Aug 2012 20:01:10 +0200
Subject: Remove deprecated parameters for region_id.
Remove deprecated parameters for region_id as anounced in january 2012.
---
.../RemoteController/RemoteAdminPlugin.cs | 74 ----------------------
1 file changed, 74 deletions(-)
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
index a5e56f9..5d80ba9 100644
--- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
+++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
@@ -728,7 +728,6 @@ namespace OpenSim.ApplicationPlugins.RemoteController
responseData["success"] = true;
responseData["region_name"] = region.RegionName;
responseData["region_id"] = region.RegionID.ToString();
- responseData["region_uuid"] = region.RegionID.ToString(); //Deprecate July 2012
m_log.Info("[RADMIN]: CreateRegion: request complete");
}
@@ -1881,29 +1880,6 @@ namespace OpenSim.ApplicationPlugins.RemoteController
{
return;
}
- #region Deprecate July 2012
- //region_ID, regionid, region_uuid will be deprecated in July 2012!!!!!!
- else if (requestData.ContainsKey("regionid") &&
- !String.IsNullOrEmpty((string)requestData["regionid"]))
- {
- m_log.WarnFormat("[RADMIN]: Use of parameter regionid will be deprecated as of July 2012. Use region_id instead");
- }
- else if (requestData.ContainsKey("region_ID") &&
- !String.IsNullOrEmpty((string)requestData["region_ID"]))
- {
- m_log.WarnFormat("[RADMIN]: Use of parameter region_ID will be deprecated as of July 2012. Use region_id instead");
- }
- else if (requestData.ContainsKey("regionID") &&
- !String.IsNullOrEmpty((string)requestData["regionID"]))
- {
- m_log.WarnFormat("[RADMIN]: Use of parameter regionID will be deprecated as of July 2012. Use region_id instead");
- }
- else if (requestData.ContainsKey("region_uuid") &&
- !String.IsNullOrEmpty((string)requestData["region_uuid"]))
- {
- m_log.WarnFormat("[RADMIN]: Use of parameter region_uuid will be deprecated as of July 2012. Use region_id instead");
- }
- #endregion
else
{
responseData["accepted"] = false;
@@ -1925,56 +1901,6 @@ namespace OpenSim.ApplicationPlugins.RemoteController
throw new Exception(String.Format("Region ID {0} not found", regionID));
}
}
- #region Deprecate July 2012
- else if (requestData.ContainsKey("regionid") &&
- !String.IsNullOrEmpty((string)requestData["regionid"]))
- {
- m_log.WarnFormat("[RADMIN]: Use of parameter regionid will be deprecated as of July 2012. Use region_id instead");
-
- UUID regionID = (UUID)(string)requestData["regionid"];
- if (!m_application.SceneManager.TryGetScene(regionID, out scene))
- {
- responseData["error"] = String.Format("Region ID {0} not found", regionID);
- throw new Exception(String.Format("Region ID {0} not found", regionID));
- }
- }
- else if (requestData.ContainsKey("region_ID") &&
- !String.IsNullOrEmpty((string)requestData["region_ID"]))
- {
- m_log.WarnFormat("[RADMIN]: Use of parameter region_ID will be deprecated as of July 2012. Use region_id instead");
-
- UUID regionID = (UUID)(string)requestData["region_ID"];
- if (!m_application.SceneManager.TryGetScene(regionID, out scene))
- {
- responseData["error"] = String.Format("Region ID {0} not found", regionID);
- throw new Exception(String.Format("Region ID {0} not found", regionID));
- }
- }
- else if (requestData.ContainsKey("regionID") &&
- !String.IsNullOrEmpty((string)requestData["regionID"]))
- {
- m_log.WarnFormat("[RADMIN]: Use of parameter regionID will be deprecated as of July 2012. Use region_id instead");
-
- UUID regionID = (UUID)(string)requestData["regionID"];
- if (!m_application.SceneManager.TryGetScene(regionID, out scene))
- {
- responseData["error"] = String.Format("Region ID {0} not found", regionID);
- throw new Exception(String.Format("Region ID {0} not found", regionID));
- }
- }
- else if (requestData.ContainsKey("region_uuid") &&
- !String.IsNullOrEmpty((string)requestData["region_uuid"]))
- {
- m_log.WarnFormat("[RADMIN]: Use of parameter region_uuid will be deprecated as of July 2012. Use region_id instead");
-
- UUID regionID = (UUID)(string)requestData["region_uuid"];
- if (!m_application.SceneManager.TryGetScene(regionID, out scene))
- {
- responseData["error"] = String.Format("Region ID {0} not found", regionID);
- throw new Exception(String.Format("Region ID {0} not found", regionID));
- }
- }
- #endregion
else if (requestData.ContainsKey("region_name") &&
!String.IsNullOrEmpty((string)requestData["region_name"]))
{
--
cgit v1.1