mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
* minor: Stop presence child status suffering an NRE if the agent uuid given is not represent at all
This commit is contained in:
@@ -72,7 +72,15 @@ namespace OpenSim.Framework
|
||||
|
||||
string GetSimulatorVersion();
|
||||
|
||||
bool PresenceChildStatus(UUID avatarID);
|
||||
/// <summary>
|
||||
/// Is the agent denoted by the given agentID a child presence in this scene?
|
||||
/// </summary>
|
||||
///
|
||||
/// Used by ClientView when a 'kick everyone' or 'estate message' occurs
|
||||
///
|
||||
/// <param name="avatarID">AvatarID to lookup</param>
|
||||
/// <returns>true if the presence is a child agent, false if the presence does not exist or is not a child agent</returns>
|
||||
bool PresenceChildStatus(UUID agentId);
|
||||
|
||||
// Diva: get this out of here!!!
|
||||
string GetCapsPath(UUID agentId);
|
||||
|
||||
Reference in New Issue
Block a user