Exemple #1
0
        public Core(uint uin, string password)
        {
            _uin      = uin;
            _password = password;

            _lastError    = 0;
            _lastErrorStr = "";

            _ssoMan  = new SsoMan(this);
            _keyRing = new KeyRing();
        }
Exemple #2
0
 /// <summary>
 /// 連接到伺服器
 /// </summary>
 /// <returns></returns>
 public bool Connect() =>
 SsoMan.Connect();
Exemple #3
0
 /// <summary>
 /// 斷開連接
 /// </summary>
 /// <returns></returns>
 public bool DisConnect() =>
 SsoMan.DisConnect();
Exemple #4
0
 public Core(Bot bot, uint uin, string password)
 {
     Bot     = bot;
     SsoMan  = new SsoMan(this);
     SigInfo = new UserSigInfo(uin, password);
 }