コード例 #1
0
 public JoinGameViewModel()
 {
     _gameClient.Hosts.CollectionChanged   += (s, e) => OnPropertyChanged(nameof(ConnectionsExists));
     _gameClient.Players.CollectionChanged += (s, e) => OnPropertyChanged(nameof(LanPlayers));
     _gameClient.MyPlayer.PropertyChanged  += (s, e) => _gameClient.SendUpdatedPlayerState();
 }