Example #1
0
 private void ConnectionManagerOnPlayerJoined(object sender, PlayerJoinedEventArgs eventArgs)
 {
     if (_players.Count(p => p.PlayerId == eventArgs.Player.PlayerId) == 0)
     {
         _players.Add(eventArgs.Player);
     }
 }
 private void ConnectionManagerOnPlayerJoined(object sender, PlayerJoinedEventArgs eventArgs)
 {
     if (_players.Count(p => p.PlayerId == eventArgs.Player.PlayerId) == 0)
         _players.Add(eventArgs.Player);
 }