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