private void LoginAccountNLS() { m_nls = new NLS(m_settings.Username, m_settings.Password); BncsPacket pck0x53 = new BncsPacket((byte)BncsPacketId.AuthAccountLogon); m_nls.LoginAccount(pck0x53); Send(pck0x53); }
private async void LoginAccountNLS() { _nls = new NLS(_settings.Username, _settings.Password); BncsPacket pck0x53 = new BncsPacket(BncsPacketId.AuthAccountLogon, _storage.Acquire()); _nls.LoginAccount(pck0x53); await pck0x53.SendAsync(_connection); }