From 2e288fade12aba07456550fb215a53ec4a630599 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 15 Dec 2008 18:11:47 +0000 Subject: * minor: Stop presence child status suffering an NRE if the agent uuid given is not represent at all --- OpenSim/Framework/IScene.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/IScene.cs b/OpenSim/Framework/IScene.cs index 63bf7ac..6a6fdf1 100644 --- a/OpenSim/Framework/IScene.cs +++ b/OpenSim/Framework/IScene.cs @@ -72,7 +72,15 @@ namespace OpenSim.Framework string GetSimulatorVersion(); - bool PresenceChildStatus(UUID avatarID); + /// + /// Is the agent denoted by the given agentID a child presence in this scene? + /// + /// + /// Used by ClientView when a 'kick everyone' or 'estate message' occurs + /// + /// AvatarID to lookup + /// true if the presence is a child agent, false if the presence does not exist or is not a child agent + bool PresenceChildStatus(UUID agentId); // Diva: get this out of here!!! string GetCapsPath(UUID agentId); -- cgit v1.1