public bool ContainsConstructedTeamFaction(int constructedTeamId, int factionId) { //return ConstructedTeamsMatchInfo.Any(ctmi => ctmi.ConstructedTeam.Id == constructedTeamId && ctmi.ActiveFactionId == factionId); return(ConstructedTeamsMap.ContainsKey(GetConstructedTeamFactionKey(constructedTeamId, factionId))); }
public bool ContainsConstructedTeamFaction(int constructedTeamId, int factionId) { return(ConstructedTeamsMap.ContainsKey(GetConstructedTeamFactionKey(constructedTeamId, factionId))); }