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); }
private static void OnSaveLoaded(object sender, SaveLoadedEventArgs e) { Obelisk.RestoreObelisks(); }
private static void OnSaving(object sender, SavingEventArgs e) { Obelisk.SanitizeObelisks(); }