public OutcomeGameCommandBase(string name, IEnumerable <string> commands, UserRole lowestAllowedRole, int cooldown, UserCurrencyRequirementViewModel currencyRequirement, CurrencyRequirementTypeEnum currencyRequirementType, IEnumerable <GameOutcome> outcomes, IEnumerable <GameOutcomeGroup> groups, CustomCommand loseLeftoverCommand) : base(name, commands, lowestAllowedRole, cooldown, currencyRequirement, currencyRequirementType) { this.Outcomes = outcomes.ToList(); this.Groups = groups.ToList(); this.LoseLeftoverCommand = loseLeftoverCommand; }
public GameOutcome(string name, CustomCommand resultCommand) : this(name) { this.ResultCommand = resultCommand; }
public SinglePlayerGameCommand(string name, IEnumerable <string> commands, UserRole lowestAllowedRole, int cooldown, UserCurrencyRequirementViewModel currencyRequirement, CurrencyRequirementTypeEnum currencyRequirementType, IEnumerable <GameOutcome> outcomes, IEnumerable <GameOutcomeGroup> groups, CustomCommand loseLeftoverCommand) : base(name, commands, lowestAllowedRole, cooldown, currencyRequirement, currencyRequirementType, outcomes, groups, loseLeftoverCommand) { }
public IndividualProbabilityGameCommand(string name, IEnumerable <string> commands, UserRole lowestAllowedRole, int cooldown, UserCurrencyRequirementViewModel currencyRequirement, CurrencyRequirementTypeEnum currencyRequirementType, IEnumerable <GameOutcome> outcomes, IEnumerable <GameOutcomeGroup> groups, CustomCommand loseLeftoverCommand, int gameLength, int minimumParticipants) : base(name, commands, lowestAllowedRole, cooldown, currencyRequirement, currencyRequirementType, outcomes, groups, loseLeftoverCommand) { this.GameLength = gameLength; this.MinimumParticipants = minimumParticipants; }
public SinglePlayerGameCommand(string name, IEnumerable <string> commands, RequirementViewModel requirements, IEnumerable <GameOutcome> outcomes, IEnumerable <GameOutcomeGroup> groups, CustomCommand loseLeftoverCommand) : base(name, commands, requirements, outcomes, groups, loseLeftoverCommand) { }
public IndividualProbabilityGameCommand(string name, IEnumerable <string> commands, RequirementViewModel requirements, IEnumerable <GameOutcome> outcomes, IEnumerable <GameOutcomeGroup> groups, CustomCommand loseLeftoverCommand, int gameLength, int minimumParticipants) : base(name, commands, requirements, outcomes, groups, loseLeftoverCommand) { this.GameLength = gameLength; this.MinimumParticipants = minimumParticipants; }
public GameOutcome(string name, Dictionary <UserRoleEnum, double> rolePayouts, Dictionary <UserRoleEnum, int> roleProbabilities, CustomCommand command) { this.Name = name; this.Payout = 0; this.RolePayouts = rolePayouts; this.RoleProbabilities = roleProbabilities; this.Command = command; }
public SlotsGameOutcome(string name, string symbol1, string symbol2, string symbol3, Dictionary <UserRoleEnum, double> rolePayouts, CustomCommand command, bool anyOrder) : base(name, rolePayouts, new Dictionary <UserRoleEnum, int>() { { UserRoleEnum.User, 0 }, { UserRoleEnum.Subscriber, 0 }, { UserRoleEnum.Mod, 0 } }, command) { this.Symbol1 = symbol1; this.Symbol2 = symbol2; this.Symbol3 = symbol3; this.AnyOrder = anyOrder; }