コード例 #1
0
 public WeaponCommand(IEquipmentAccessor equipmentAccessor,
                      IInventoryAccessor inventoryAccessor, IMateriaAccessor materiaAccessor,
                      GameDatabase gameDatabase, GilBank gilBank, ITwitchClient twitchClient,
                      EquipmentData <Weapon> equipmentData, PaymentProcessor paymentProcessor)
     : base(equipmentAccessor, inventoryAccessor, materiaAccessor, gameDatabase, gilBank,
            twitchClient, equipmentData, x => x.WeaponCommandWords, paymentProcessor)
 {
 }
コード例 #2
0
 public ItemCommand(ITwitchClient twitchClient, IInventoryAccessor inventoryAccessor,
                    IStatusHubEmitter statusHubEmitter, PaymentProcessor paymentProcessor)
     : base(x => x.ItemCommandWords, x => x.ItemSettings.Enabled)
 {
     _twitchClient      = twitchClient;
     _inventoryAccessor = inventoryAccessor;
     _statusHubEmitter  = statusHubEmitter;
     _paymentProcessor  = paymentProcessor;
 }
コード例 #3
0
 public AccessoryCommand(IEquipmentAccessor equipmentAccessor,
                         IInventoryAccessor inventoryAccessor, IMateriaAccessor materiaAccessor,
                         IStatusHubEmitter statusHubEmitter,
                         GameDatabase gameDatabase, GilBank gilBank, ITwitchClient twitchClient,
                         EquipmentData <Accessory> equipmentData, PaymentProcessor paymentProcessor)
     : base(equipmentAccessor, inventoryAccessor, materiaAccessor, statusHubEmitter,
            gameDatabase, gilBank, twitchClient, equipmentData,
            x => x.AccessoryCommandWords, paymentProcessor)
 {
 }
コード例 #4
0
 public DonateService(IDonateAccessor donateAccessor,
                      IInventoryAccessor inventoryAccessor,
                      IEmailService emailService,
                      IAccountAccessor accountAccessor)
 {
     _donateAccessor    = donateAccessor;
     _inventoryAccessor = inventoryAccessor;
     _emailService      = emailService;
     _accountAccessor   = accountAccessor;
 }
コード例 #5
0
 public AdminService(IAccountAccessor accountAccessor,
                     IDonateAccessor donateAccessor,
                     IInventoryAccessor inventoryAccessor,
                     ILanguageAndCurrencyAccessor languageAndCurrencyAccessor)
 {
     _accountAccessor             = accountAccessor;
     _donateAccessor              = donateAccessor;
     _inventoryAccessor           = inventoryAccessor;
     _languageAndCurrencyAccessor = languageAndCurrencyAccessor;
 }
コード例 #6
0
 public WeaponCommand(IEquipmentAccessor equipmentAccessor,
                      IInventoryAccessor inventoryAccessor, IMateriaAccessor materiaAccessor,
                      IStatusHubEmitter statusHubEmitter, PartyStatusViewModel partyStatusViewModel,
                      GameDatabase gameDatabase, GilBank gilBank, ITwitchClient twitchClient,
                      EquipmentData <Weapon> equipmentData, PaymentProcessor paymentProcessor)
     : base(equipmentAccessor, inventoryAccessor, materiaAccessor, statusHubEmitter,
            partyStatusViewModel, gameDatabase, gilBank, twitchClient, equipmentData,
            x => x.WeaponCommandWords, paymentProcessor)
 {
 }
コード例 #7
0
 protected EquipmentCommand(IEquipmentAccessor equipmentAccessor,
                            IInventoryAccessor inventoryAccessor, IMateriaAccessor materiaAccessor,
                            GameDatabase gameDatabase,
                            GilBank gilBank, ITwitchClient twitchClient, EquipmentData <T> equipmentData,
                            Func <CommandSettings, string[]> commandWordsSelector, PaymentProcessor paymentProcessor)
     : base(commandWordsSelector, x => x.EquipmentSettings.Enabled)
 {
     _equipmentAccessor = equipmentAccessor;
     _inventoryAccessor = inventoryAccessor;
     _materiaAccessor   = materiaAccessor;
     _gameDatabase      = gameDatabase;
     _gilBank           = gilBank;
     _twitchClient      = twitchClient;
     _equipmentData     = equipmentData;
     _paymentProcessor  = paymentProcessor;
 }
コード例 #8
0
 public PauperCommand(IEquipmentAccessor equipmentAccessor,
                      IMateriaAccessor materiaAccessor,
                      IInventoryAccessor inventoryAccessor,
                      IGilAccessor gilAccessor,
                      ITwitchClient twitchClient,
                      EquipmentData <Weapon> weaponData,
                      EquipmentData <Armlet> armletData,
                      PaymentProcessor paymentProcessor)
     : base(x => x.PauperCommandWords, x => x.EquipmentSettings.EnablePauperCommand)
 {
     _equipmentAccessor = equipmentAccessor;
     _materiaAccessor   = materiaAccessor;
     _inventoryAccessor = inventoryAccessor;
     _gilAccessor       = gilAccessor;
     _twitchClient      = twitchClient;
     _weaponData        = weaponData;
     _armletData        = armletData;
     _paymentProcessor  = paymentProcessor;
 }
コード例 #9
0
 public InventoryManager(IInventoryAccessor inventoryAccessor, IMapper mapper)
 {
     InventoryAccessor = inventoryAccessor;
     Mapper            = mapper;
 }
コード例 #10
0
 public InventoryManager(IInventoryAccessor inventoryAccessor,
                         IDonateAccessor donateAccessor)
 {
     _inventoryAccessor = inventoryAccessor;
     _donateAccessor    = donateAccessor;
 }
コード例 #11
0
 public InventoryManager(IInventoryAccessor inventoryAccessor)
 {
     _inventoryAccessor = inventoryAccessor;
 }
コード例 #12
0
 public InventoryManager()
 {
     _inventoryAccessor = new InventoryAccessor();
 }
コード例 #13
0
 public ItemCommand(ITwitchClient twitchClient, IInventoryAccessor inventoryAccessor)
     : base(x => x.ItemCommandWords, x => x.ItemSettings.Enabled)
 {
     _twitchClient      = twitchClient;
     _inventoryAccessor = inventoryAccessor;
 }