public Pillaging(ICreditsRepository creditsRepository, ISlackWebApi slack) { _creditsRepository = creditsRepository; _slack = slack; Id = EffectId; Name = "Thievery"; }
public ShopService(IInventoryRepository inventoryRepository, IItemRepository itemRepository, IGovernmentService governmentService, ICreditsRepository creditsRepository) { _inventoryRepository = inventoryRepository; _itemRepository = itemRepository; _governmentService = governmentService; _creditsRepository = creditsRepository; }
public CreditsQuery(ICreditsRepository repository) { _repository = repository; _credits = _repository.GetCredits(); _creditsById = _credits.ToDictionary(c => c.Id); _creditsByName = _credits.ToDictionary(c => c.Name); _creditsByType = _credits.ToDictionary(c => c.GetType()); }
public CreditsCommands(IUserRepository userRepository, ISlackWebApi messageSender, IUserService userService, IShopMenuService shopMenuService, ICreditsRepository creditsRepository) { _userRepository = userRepository; _slack = messageSender; _userService = userService; _shopMenuService = shopMenuService; _creditsRepository = creditsRepository; }
public LotteryService(ISlackWebApi slack, IUserRepository userRepository, IRandomService randomService, ICreditsRepository creditsRepository, IUserService userService, IInventoryRepository inventoryRepository) { _slack = slack; _userRepository = userRepository; _randomService = randomService; _creditsRepository = creditsRepository; _userService = userService; _inventoryRepository = inventoryRepository; }
public CoffeeService(ISlackWebApi slackWebApi, ICoffeeRepository coffeeRepository, IBackgroundJobClient backgroundJobClient, IInventoryRepository inventoryRepository, IUserService userService, IStatsRepository statsRepository, ICreditsRepository creditsRepository) { _slack = slackWebApi; _coffeeRepository = coffeeRepository; _backgroundJobClient = backgroundJobClient; _inventoryRepository = inventoryRepository; _userService = userService; _statsRepository = statsRepository; _creditsRepository = creditsRepository; }
public SlursCommands(ISlurRepository slursRepository, IUserRepository userRepository, ISlackWebApi messageSender, IAuthorizationService adminValidator, IEventDispatcher eventDispatcher, IUserService userService, ICreditsRepository creditsRepository) { _slurRepository = slursRepository; _userRepository = userRepository; _slack = messageSender; _adminValidator = adminValidator; _eventDispatcher = eventDispatcher; _userService = userService; _creditsRepository = creditsRepository; }
public CasinoCommands(IUserRepository userRepository, ISlackWebApi messageSender, IChannelRepository channelRepository, IBackgroundJobClient backgroundJobClient, IEventDispatcher eventDispatcher, IStatsRepository statsRepository, IRandomService randomService, IUserService userService, ICreditsRepository creditsRepository) { _userRepository = userRepository; _slack = messageSender; _channelRepository = channelRepository; _backgroundJobClient = backgroundJobClient; _eventDispatcher = eventDispatcher; _statsRepository = statsRepository; _randomService = randomService; _userService = userService; _creditsRepository = creditsRepository; }
public ItemFactory(ISlackWebApi slack, IStatsRepository statsRepository, IInventoryRepository inventoryRepository, IUserService userService, IEventDispatcher eventDispatcher, IEffectRepository effectRepository, IRandomService randomService, IChannelRepository channelRepository, ICreditsRepository creditsRepository) { _slack = slack; _statsRepository = statsRepository; _inventoryRepository = inventoryRepository; _userService = userService; _eventDispatcher = eventDispatcher; _effectRepository = effectRepository; _randomService = randomService; _channelRepository = channelRepository; _creditsRepository = creditsRepository; }
public SkillFactory(IUserService userService, IStatsRepository statsRepository, ISlackWebApi slack, ICombatService combatService, IEventDispatcher eventDispatcher, IChannelRepository channelRepository, IRandomService randomService, ICreditsRepository creditsRepository, IEffectRepository effectRepository) { _userService = userService; _statsRepository = statsRepository; _slack = slack; _combatService = combatService; _eventDispatcher = eventDispatcher; _channelRepository = channelRepository; _randomService = randomService; _creditsRepository = creditsRepository; _effectRepository = effectRepository; }
public Steal(IStatsRepository statsRepository, ISlackWebApi slack, IUserService userService, IChannelRepository channelRepository, IEventDispatcher eventDispatcher, IRandomService randomService, ICreditsRepository creditsRepository) : base(statsRepository) { EnergyCost = 1; Cooldown = 30; _statsRepository = statsRepository; _slack = slack; _userService = userService; _channelRepository = channelRepository; _eventDispatcher = eventDispatcher; _randomService = randomService; _creditsRepository = creditsRepository; }
public StealBook(IStatsRepository statsRepository, ISlackWebApi slack, IUserService userService, IChannelRepository channelRepository, IEventDispatcher eventDispatcher, IRandomService randomService, ICreditsRepository creditsRepository) { Id = ItemId; Name = "Steal"; Description = "Steal rupees from the target. Cost 5 energy to cast."; Rarity = Rarity.Common; Icon = ":skillbook:"; Price = 1200; LevelRequirement = 10; AgilityRequirement = 15; Skill = new Steal(statsRepository, slack, userService, channelRepository, eventDispatcher, randomService, creditsRepository); }
public AllocationsQuery(ICreditsRepository repository, ICreditsQuery creditsQuery) { _repository = repository; _creditsQuery = creditsQuery; }
public AllocationsCommand(ICreditsRepository repository) { _repository = repository; }
public ExercisedCreditsQuery(ICreditsRepository repository, ICreditsQuery creditsQuery) { _repository = repository; _creditsQuery = creditsQuery; }
public ExercisedCreditsCommand(ICreditsRepository repository) { _repository = repository; }