Example #1
0
 public MasterGame(Guid masterGameID, string gameName, string estimatedReleaseDate, LocalDate?releaseDate, int?openCriticID, decimal?criticScore,
                   int minimumReleaseYear, EligibilityLevel eligibilityLevel, bool yearlyInstallment, bool earlyAccess, IReadOnlyList <MasterSubGame> subGames, string boxartFileName)
 {
     MasterGameID         = masterGameID;
     GameName             = gameName;
     EstimatedReleaseDate = estimatedReleaseDate;
     ReleaseDate          = releaseDate;
     OpenCriticID         = openCriticID;
     _criticScore         = criticScore;
     MinimumReleaseYear   = minimumReleaseYear;
     EligibilityLevel     = eligibilityLevel;
     YearlyInstallment    = yearlyInstallment;
     EarlyAccess          = earlyAccess;
     SubGames             = subGames;
     BoxartFileName       = boxartFileName;
 }
 public MasterGameRequest(Guid requestID, FantasyCriticUser user, Instant requestTimestamp, string requestNote,
                          string gameName, int?steamID, int?openCriticID, LocalDate?releaseDate, string estimatedReleaseDate, EligibilityLevel eligibilityLevel,
                          bool yearlyInstallment, bool earlyAccess, bool freeToPlay, bool releasedInternationally, bool expansionPack, bool unannouncedGame,
                          bool answered, Instant?responseTimestamp, string responseNote, Maybe <MasterGame> masterGame, bool hidden)
 {
     RequestID               = requestID;
     User                    = user;
     RequestTimestamp        = requestTimestamp;
     RequestNote             = requestNote;
     GameName                = gameName;
     SteamID                 = steamID;
     OpenCriticID            = openCriticID;
     ReleaseDate             = releaseDate;
     EstimatedReleaseDate    = estimatedReleaseDate;
     EligibilityLevel        = eligibilityLevel;
     YearlyInstallment       = yearlyInstallment;
     EarlyAccess             = earlyAccess;
     FreeToPlay              = freeToPlay;
     ReleasedInternationally = releasedInternationally;
     ExpansionPack           = expansionPack;
     UnannouncedGame         = unannouncedGame;
     Answered                = answered;
     ResponseTimestamp       = responseTimestamp;
     ResponseNote            = responseNote;
     MasterGame              = masterGame;
     Hidden                  = hidden;
 }
        public static EligibilitySettings GetRoyaleEligibilitySettings()
        {
            var level = new EligibilityLevel(2, "Remake", "A remake that modernizes gameplay without fundamentally changing it.", new List <string>());

            return(new EligibilitySettings(level, false, false, false, false, false));
        }
Example #4
0
 public bool IsEligible(EligibilityLevel eligibilityLevel)
 {
     return(EligibilityLevel.Level <= eligibilityLevel.Level);
 }