Beispiel #1
0
 public Currency(Blacksmith_whetstone blacksmith_whetstone, Armourer_scrap armourer_scrap, Glassblower_bauble glassblower_bauble, Gemcutter_prism gemcutter_prism, Cartographer_chisel cartographer_chisel, Transmutation transmutation, Alteration alteration, Annulment annulment, Chance chance, Augment augment, Exalted exalted, Mirror mirror, Regal regal, Alchemy alchemy, Chaos chaos, Blessed blessed, Divine divine, Jeweller jeweller, Fusing fusing, Chromatic chromatic, Scouring scouring, Regret regret, Vaal vaal, Silver_coin silver_coin, Perandus_coin perandus_coin, Apprentice_sextant apprentice_sextant, Journeyman_sextant journeyman_sextant, Master_sextant master_sextant)
 {
     this.blacksmith_whetstone = blacksmith_whetstone;
     this.armourer_scrap       = armourer_scrap;
     this.glassblower_bauble   = glassblower_bauble;
     this.gemcutter_prism      = gemcutter_prism;
     this.cartographer_chisel  = cartographer_chisel;
     this.transmutation        = transmutation;
     this.alteration           = alteration;
     this.annulment            = annulment;
     this.chance             = chance;
     this.augment            = augment;
     this.exalted            = exalted;
     this.mirror             = mirror;
     this.regal              = regal;
     this.alchemy            = alchemy;
     this.chaos              = chaos;
     this.blessed            = blessed;
     this.divine             = divine;
     this.jeweller           = jeweller;
     this.fusing             = fusing;
     this.chromatic          = chromatic;
     this.scouring           = scouring;
     this.regret             = regret;
     this.vaal               = vaal;
     this.silver_coin        = silver_coin;
     this.perandus_coin      = perandus_coin;
     this.apprentice_sextant = apprentice_sextant;
     this.journeyman_sextant = journeyman_sextant;
     this.master_sextant     = master_sextant;
 }
Beispiel #2
0
        /// <inheritdoc />
        public Consumable Convert(ItemDTO value, object state)
        {
            var entity = new Transmutation();

            this.Merge(entity, value, state);
            return(entity);
        }
 partial void Merge(Transmutation entity, ItemDTO dto, object state)
 {
     if (dto.Consumable.Skins == null)
     {
         entity.SkinIds = new List <int>(0);
     }
     else
     {
         var values = new List <int>(dto.Consumable.Skins.Length);
         values.AddRange(dto.Consumable.Skins);
         entity.SkinIds = values;
     }
 }
Beispiel #4
0
 // Implement this method in a buddy class to set properties that are specific to 'Transmutation' (if any)
 partial void Merge(Transmutation entity, ItemDTO dto, object state);
Beispiel #5
0
 public static void Transmutation_skins_cannot_be_empty(Transmutation actual) => Assert.NotEmpty(actual.Skins);
Beispiel #6
0
 internal static void Transmutation_skins_is_not_empty(Transmutation actual) =>
 Assert.NotEmpty(actual.Skins);