private void OnClosed() { LoginRpc = null; ShopRpc = null; }
private void OnConnected() { LoginRpc = new LoginRpc(_client.Client, null, TimeSpan.FromSeconds(10)); ShopRpc = new ShopRpc(_client.Client, null, TimeSpan.FromSeconds(10)); }