예제 #1
0
        public void PerformPatching()
        {
            var harmony = new Harmony(Manifest.UniqueID);

            EventMessage.ApplyPatch(harmony, Helper);
            Obelisk.ApplyPatch(harmony, Helper);
            UntimedSO.ApplyPatch(harmony, Helper);
            EventDetection.ApplyPatch(harmony, Helper);
            Fish.ApplyPatch(harmony, Helper);
            TreasureItems.ApplyPatch(harmony, Helper);
            SummitFarm.ApplyPatch(harmony, Helper);
            WeddingGuests.ApplyPatch(harmony, Helper);
            Animations.ApplyPatch(harmony, Helper);
            SecretSantaGift.ApplyPatch(harmony, Helper);
            Rings.ApplyPatch(harmony, Helper);
            Dateables.ApplyPatch(harmony, Helper);
            WalletItem.ApplyPatch(harmony, Helper);
            SODialogue.ApplyPatch(harmony, Helper);
            Backgrounds.ApplyPatch(harmony, Helper);
            Projectiles.ApplyPatch(harmony, Helper);
            TortsGifts.ApplyPatch(harmony, Helper);
            ClothingDonation.ApplyPatch(harmony, Helper);
        }
예제 #2
0
 private static void OnSaveLoaded(object sender, SaveLoadedEventArgs e)
 {
     Obelisk.RestoreObelisks();
 }
예제 #3
0
 private static void OnSaving(object sender, SavingEventArgs e)
 {
     Obelisk.SanitizeObelisks();
 }