Esempio n. 1
0
        public Core(uint uin, string password)
        {
            _uin      = uin;
            _password = password;

            _lastError    = 0;
            _lastErrorStr = "";

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