public float ZoomLevel => 1.0f; // SMAPI's draw call will handle zoom


        /*********
        ** Public methods
        *********/
        public GiftHelper(GiftHelperType helperType, IGiftDataProvider dataProvider, GiftConfig config, IReflectionHelper reflection, ITranslationHelper translation)
        {
            this.GiftHelperType       = helperType;
            this.GiftConfig           = config;
            this.Reflection           = reflection;
            this.Translation          = translation;
            this.GiftDrawDataProvider = new GiftDrawDataProvider(dataProvider);
        }
Exemple #2
0
 /*********
 ** Public methods
 *********/
 public CalendarGiftHelper(IGiftDataProvider dataProvider, GiftConfig config, IReflectionHelper reflection, ITranslationHelper translation)
     : base(GiftHelperType.Calendar, dataProvider, config, reflection, translation)
 {
 }
 /*********
 ** Public methods
 *********/
 public SocialPageGiftHelper(IGiftDataProvider dataProvider, GiftConfig config, IReflectionHelper reflection, ITranslationHelper translation)
     : base(GiftHelperType.SocialPage, dataProvider, config, reflection, translation)
 {
 }