Exemple #1
0
 public ItemMapper(
     ISkillRepository skillRepository,
     IItemSetRepository itemSetRepository,
     IItemTypeRepository itemTypeRepository,
     IRarityRepository rarityRepository,
     IEffectRepository effectRepository,
     ICurrencyRepository currencyRepository,
     IBehaviourRepository behaviourRepository,
     IItemModifierRepository itemModifierRepository,
     ISkinRepository skinRepository,
     AttributeModifierFactory attributeModifierFactory,
     PropertyModifierFactory propertyModifierFactory)
 {
     this.skillRepository          = skillRepository;
     this.itemSetRepository        = itemSetRepository;
     this.itemTypeRepository       = itemTypeRepository;
     this.rarityRepository         = rarityRepository;
     this.effectRepository         = effectRepository;
     this.currencyRepository       = currencyRepository;
     this.behaviourRepository      = behaviourRepository;
     this.itemModifierRepository   = itemModifierRepository;
     this.skinRepository           = skinRepository;
     this.attributeModifierFactory = attributeModifierFactory;
     this.propertyModifierFactory  = propertyModifierFactory;
 }
Exemple #2
0
 public SkillMapper(IEffectRepository effectRepository, IBehaviourRepository behaviourRepository,
                    IItemCategoryRepository itemCategoryRepository, ICurrencyRepository currencyRepository,
                    ISkillCategoryRepository skillCategoryRepository, IRarityRepository rarityRepository,
                    ISkillSetRepository skillSetRepository)
 {
     this.effectRepository        = effectRepository;
     this.behaviourRepository     = behaviourRepository;
     this.itemCategoryRepository  = itemCategoryRepository;
     this.currencyRepository      = currencyRepository;
     this.skillCategoryRepository = skillCategoryRepository;
     this.rarityRepository        = rarityRepository;
     this.skillSetRepository      = skillSetRepository;
 }
Exemple #3
0
        public ItemModifier(ItemModifierData data,
                            IAttributeRepository attributeRepository, IPropertyRepository propertyRepository,
                            IRarityRepository rarityRepository, IItemModifierRepository itemModifierRepository)
        {
            this.data = data;
            this.attributeRepository = attributeRepository;
            this.propertyRepository  = propertyRepository;

            Id            = data.Id;
            Rarity        = rarityRepository.Find(data.RarityId);
            ItemModifiers = itemModifierRepository.Find(data.ItemModifiers);
            Text          = I18N.Instance.Get(data.SuffixTextKey);
            Quality       = 1;
        }
 public PokemonCardListTestService(IPokemonCardRepository pokemonCardRepository,
                                   ICardRepository cardRepository,
                                   IRarityRepository rarityRepository,
                                   ISeriesRepository seriesRepository,
                                   ICollectorRepository collectorRepository,
                                   ICollectionRepository collectionRepository
                                   )
     : base(pokemonCardRepository)//, cardRepository, rarityRepository, seriesRepository, collectorRepository, collectionRepository)
 {
     _pokemonCardRepository = pokemonCardRepository;
     _cardRepository        = cardRepository;
     _rarityRepository      = rarityRepository;
     _seriesRepository      = seriesRepository;
     _collectorRepository   = collectorRepository;
     _collectionRepository  = collectionRepository;
 }
Exemple #5
0
 public RelicMapper(IBehaviourRepository behaviourRepository, IRarityRepository rarityRepository)
 {
     this.behaviourRepository = behaviourRepository;
     this.rarityRepository    = rarityRepository;
 }
 public RarityService(IRarityRepository rarityRepository)
     : base(rarityRepository)
 {
     _rarityRepository = rarityRepository;
 }