OpenSim.Region.Framework.Scenes.Scene.PresenceChildStatus C# (CSharp) Method

PresenceChildStatus() public method

public PresenceChildStatus ( UUID avatarID ) : bool
avatarID UUID
return bool
        public override bool PresenceChildStatus(UUID avatarID)
        {
            ScenePresence cp = GetScenePresence(avatarID);

            // FIXME: This is really crap - some logout code is relying on a NullReferenceException to halt its processing
            // This needs to be fixed properly by cleaning up the logout code.
            //if (cp != null)
            //    return cp.IsChildAgent;

            //return false;

            return cp.IsChildAgent;
        }
Scene