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

                ActionDataReplacer.Perform <CommonSkinnyDip>("TestAskToGoSkinnyDipping");
            }
        }
Ejemplo n.º 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);
            }
        }
Ejemplo n.º 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"));
            }
        }