From af3cd00048fb6476eb5140bcfccda926627363f2 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Fri, 9 Dec 2011 23:07:53 +0000
Subject: Get rid of IScene.PresenceChildStatus() which always had to execute a
lookup in favour of IClientAPI.ISceneAgent.IsChildAgent instead.
---
OpenSim/Framework/ISceneAgent.cs | 7 +++++++
1 file changed, 7 insertions(+)
(limited to 'OpenSim/Framework/ISceneAgent.cs')
diff --git a/OpenSim/Framework/ISceneAgent.cs b/OpenSim/Framework/ISceneAgent.cs
index 69e91ed..824172d 100644
--- a/OpenSim/Framework/ISceneAgent.cs
+++ b/OpenSim/Framework/ISceneAgent.cs
@@ -48,6 +48,13 @@ namespace OpenSim.Framework
PresenceType PresenceType { get; }
///
+ /// If true, then the agent has no avatar in the scene.
+ /// The agent exists to relay data from a region that neighbours the current position of the user's avatar.
+ /// Occasionally data is relayed, such as which a user clicks an item in a neighbouring region.
+ ///
+ bool IsChildAgent { get; }
+
+ ///
/// Avatar appearance data.
///
///
--
cgit v1.1