Example #1
0
        public void Disconnected(string msg = "Error Connection.")
        {
            //зачем этот запрос? Похоже он не заполняет My
            var login = _sessionClient.GetInfo(OCUnion.Transfer.ServerInfoType.Short).My.Login;

            _sessionClient.Disconnect();
        }
Example #2
0
        public void Disconnected(string msg = "Error Connection.")
        {
            var login = _sessionClient.GetInfo(false).My.Login;

            //DiscordBotServer.Helpers.Loger.Log("Chat Disconected :( " + login);
            _sessionClient.Disconnect();
            DisconnectedEvent?.Invoke(this, new StringWrapperEventArgument()
            {
                Message = login
            });
        }
Example #3
0
 public void Disconnected(string msg = "Error Connection.")
 {
     _sessionClient.Disconnect();
     // to do : Notify that the server Disconnected
 }
Example #4
0
        public void Disconnected(string msg = "Error Connection.")
        {
            var login = _sessionClient.GetInfo(OCUnion.Transfer.ServerInfoType.Short).My.Login;

            _sessionClient.Disconnect();
        }