From 49e2872f9ee3c5c11145a43ec91bac2dab324f42 Mon Sep 17 00:00:00 2001
From: SignpostMarv
Date: Wed, 19 Sep 2012 20:26:57 +0100
Subject: Documentation of agent-related events
---
OpenSim/Region/Framework/Scenes/EventManager.cs | 35 ++++++++++++++++++++++++-
1 file changed, 34 insertions(+), 1 deletion(-)
(limited to 'OpenSim')
diff --git a/OpenSim/Region/Framework/Scenes/EventManager.cs b/OpenSim/Region/Framework/Scenes/EventManager.cs
index 7024bd6..48a85a2 100644
--- a/OpenSim/Region/Framework/Scenes/EventManager.cs
+++ b/OpenSim/Region/Framework/Scenes/EventManager.cs
@@ -214,6 +214,18 @@ namespace OpenSim.Region.Framework.Scenes
public delegate void OnSetRootAgentSceneDelegate(UUID agentID, Scene scene);
+ ///
+ /// Triggered before the grunt work for adding a root agent to a
+ /// scene has been performed (resuming attachment scripts, physics,
+ /// animations etc.)
+ ///
+ ///
+ /// Triggered before
+ /// by
+ /// in
+ /// via
+ /// and
+ ///
public event OnSetRootAgentSceneDelegate OnSetRootAgentScene;
///
@@ -429,15 +441,36 @@ namespace OpenSim.Region.Framework.Scenes
public event ScriptColliding OnScriptLandColliderEnd;
public delegate void OnMakeChildAgentDelegate(ScenePresence presence);
+
+ ///
+ /// Triggered when an agent has been made a child agent of a scene.
+ ///
+ ///
+ /// Triggered by
+ /// in
+ /// via ,
+ /// ,
+ ///
+ ///
public event OnMakeChildAgentDelegate OnMakeChildAgent;
public delegate void OnSaveNewWindlightProfileDelegate();
public delegate void OnSendNewWindlightProfileTargetedDelegate(RegionLightShareData wl, UUID user);
///
+ /// Triggered after the grunt work for adding a root agent to a
+ /// scene has been performed (resuming attachment scripts, physics,
+ /// animations etc.)
+ ///
+ ///
/// This event is on the critical path for transferring an avatar from one region to another. Try and do
/// as little work on this event as possible, or do work asynchronously.
- ///
+ /// Triggered after
+ /// by
+ /// in
+ /// via
+ /// and
+ ///
public event Action OnMakeRootAgent;
public event OnSendNewWindlightProfileTargetedDelegate OnSendNewWindlightProfileTargeted;
--
cgit v1.1