private static int AddPlayerToMatch(int playersAdded, MatchGroup match, TempAccumulator accumulator, Player player) { MatchUtils.UpdateMatchCounters(accumulator, player); playersAdded++; match.Players.Add(player); return(playersAdded); }