Aurora.Voice.Whisper.MurmurVoiceModule.OnConnectionClose C# (CSharp) Метод

OnConnectionClose() публичный Метод

public OnConnectionClose ( IClientAPI client ) : void
client IClientAPI
Результат void
        public void OnConnectionClose(IClientAPI client)
        {
            if (client.IsLoggingOut)
            {
                IScenePresence sp = client.Scene.GetScenePresence (client.AgentId);
                if (sp != null && !sp.IsChildAgent)
                {
                    ServerManager manager = GetServerManager (client.Scene);
                    if (manager != null)
                        manager.Agent.RemoveAgent (client.AgentId);
                }
            }
        }