Exemple #1
0
 public void OnPreLoad()
 {
     if (GameUtils.IsInstalled(ProductVersion.EP7))
     {
         BooterLogger.AddError(ActionDataReplacer.Perform <CommonSocials>("TestMagicWandEquipped"));
     }
 }
Exemple #2
0
        public void OnPreLoad()
        {
            if (GameUtils.IsInstalled(ProductVersion.EP3))
            {
                SocialRHSReplacer.Perform <CommonSkinnyDip>("Ask To Go Skinny Dipping", "OnAskedToGoSkinnyDipping");

                ActionDataReplacer.Perform <CommonSkinnyDip>("TestAskToGoSkinnyDipping");
            }
        }
Exemple #3
0
        public override void OnPreLoad()
        {
            try
            {
                Overwatch.Log("Try FixTestBarBrawl");

                Overwatch.Log(ActionDataReplacer.Perform <FixTestBarBrawl>("TestBarBrawl"));
                Overwatch.Log(ActionDataReplacer.Perform <FixTestBarBrawl>("TestFight"));
            }
            catch (Exception e)
            {
                Common.Exception(Name, e);
            }
        }
Exemple #4
0
        public void OnPreLoad()
        {
            Tunings.Inject <Sim, Sim.GiveGift.Definition, Definition>(false);

            sOldSingleton = Singleton;
            Singleton     = new Definition();

            if (GameUtils.IsInstalled(ProductVersion.EP4))
            {
                BooterLogger.AddError(SocialRHSReplacer.Perform <GiveGiftEx>("Give Gift", "OnGiveGiftAccept"));
                BooterLogger.AddError(SocialRHSReplacer.Perform <GiveGiftEx>("Give Gift", "OnGiveGiftReject"));

                BooterLogger.AddError(ActionDataReplacer.Perform <GiveGiftEx>("GiveGiftProceduralTest"));
            }
        }