Esempio n. 1
0
 public LeagueOptions(int standardGames, int gamesToDraft, int counterPicks, int freeDroppableGames, int willNotReleaseDroppableGames, int willReleaseDroppableGames,
                      bool dropOnlyDraftGames, EligibilitySettings eligibilitySettings, DraftSystem draftSystem, PickupSystem pickupSystem, ScoringSystem scoringSystem, bool publicLeague)
 {
     StandardGames                = standardGames;
     GamesToDraft                 = gamesToDraft;
     CounterPicks                 = counterPicks;
     FreeDroppableGames           = freeDroppableGames;
     WillNotReleaseDroppableGames = willNotReleaseDroppableGames;
     WillReleaseDroppableGames    = willReleaseDroppableGames;
     DropOnlyDraftGames           = dropOnlyDraftGames;
     AllowedEligibilitySettings   = eligibilitySettings;
     DraftSystem   = draftSystem;
     PickupSystem  = pickupSystem;
     ScoringSystem = scoringSystem;
     PublicLeague  = publicLeague;
 }
Esempio n. 2
0
 public MasterGame(Guid masterGameID, string gameName, string estimatedReleaseDate, LocalDate?sortableEstimatedReleaseDate,
                   LocalDate?releaseDate, int?openCriticID, decimal?criticScore, LocalDate minimumReleaseDate, EligibilitySettings eligibilitySettings,
                   string boxartFileName, Instant?firstCriticScoreTimestamp, bool doNotRefreshDate, bool doNotRefreshAnything, Instant addedTimestamp)
 {
     MasterGameID                 = masterGameID;
     GameName                     = gameName;
     EstimatedReleaseDate         = estimatedReleaseDate;
     SortableEstimatedReleaseDate = sortableEstimatedReleaseDate;
     ReleaseDate                  = releaseDate;
     OpenCriticID                 = openCriticID;
     _criticScore                 = criticScore;
     MinimumReleaseDate           = minimumReleaseDate;
     EligibilitySettings          = eligibilitySettings;
     SubGames                     = new List <MasterSubGame>();
     BoxartFileName               = boxartFileName;
     FirstCriticScoreTimestamp    = firstCriticScoreTimestamp;
     DoNotRefreshDate             = doNotRefreshDate;
     DoNotRefreshAnything         = doNotRefreshAnything;
     AddedTimestamp               = addedTimestamp;
 }