Beispiel #1
0
 private StatRelationships(ApiData <Player> player, ApiData <Season> season, PlayerMatches matchesSolo, PlayerMatches matchesSoloFPP, PlayerMatches matchesDuo, PlayerMatches matchesDuoFPP, PlayerMatches matchesSquad, PlayerMatches matchesSquadFPP)
 {
     Player = player.Data;
     Season = season.Data;
     if (matchesSolo != null)
     {
         MatchesSolo = matchesSolo.Data;
     }
     if (MatchesSoloFPP != null)
     {
         MatchesSoloFPP = matchesSoloFPP.Data;
     }
     if (MatchesDuo != null)
     {
         MatchesDuo = matchesDuo.Data;
     }
     if (MatchesDuoFPP != null)
     {
         MatchesDuoFPP = matchesDuoFPP.Data;
     }
     if (MatchesSquad != null)
     {
         MatchesSquad = matchesSquad.Data;
     }
     if (MatchesSquadFPP != null)
     {
         MatchesSquadFPP = matchesSquadFPP.Data;
     }
 }
Beispiel #2
0
 private PlayerRelationships(PlayerAssets assets, PlayerMatches matches)
 {
     Assets  = assets.Data;
     Matches = matches.Data;
 }