diff options
author | Justin Clarke Casey | 2008-12-15 18:11:47 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-12-15 18:11:47 +0000 |
commit | 2e288fade12aba07456550fb215a53ec4a630599 (patch) | |
tree | 9d9a71611309fd2cba1efc91ec500df09f25a05b /OpenSim/Framework | |
parent | Bug fix in new child agents management. Thanks DigiDaz for helping identify t... (diff) | |
download | opensim-SC_OLD-2e288fade12aba07456550fb215a53ec4a630599.zip opensim-SC_OLD-2e288fade12aba07456550fb215a53ec4a630599.tar.gz opensim-SC_OLD-2e288fade12aba07456550fb215a53ec4a630599.tar.bz2 opensim-SC_OLD-2e288fade12aba07456550fb215a53ec4a630599.tar.xz |
* minor: Stop presence child status suffering an NRE if the agent uuid given is not represent at all
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/IScene.cs | 10 |
1 files changed, 9 insertions, 1 deletions
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 | |||
72 | 72 | ||
73 | string GetSimulatorVersion(); | 73 | string GetSimulatorVersion(); |
74 | 74 | ||
75 | bool PresenceChildStatus(UUID avatarID); | 75 | /// <summary> |
76 | /// Is the agent denoted by the given agentID a child presence in this scene? | ||
77 | /// </summary> | ||
78 | /// | ||
79 | /// Used by ClientView when a 'kick everyone' or 'estate message' occurs | ||
80 | /// | ||
81 | /// <param name="avatarID">AvatarID to lookup</param> | ||
82 | /// <returns>true if the presence is a child agent, false if the presence does not exist or is not a child agent</returns> | ||
83 | bool PresenceChildStatus(UUID agentId); | ||
76 | 84 | ||
77 | // Diva: get this out of here!!! | 85 | // Diva: get this out of here!!! |
78 | string GetCapsPath(UUID agentId); | 86 | string GetCapsPath(UUID agentId); |