Recommended annotation format

This commit is contained in:
Terry Hearst 2024-01-01 14:58:31 -05:00
parent b7b3d1a107
commit b3ad602d09
2 changed files with 2 additions and 4 deletions

View file

@ -3,8 +3,7 @@ using MIU;
namespace DiamondTimeViewer.Patches
{
[HarmonyPatch(typeof(GamePlayManager))]
[HarmonyPatch("FinishPlay")]
[HarmonyPatch(typeof(GamePlayManager), nameof(GamePlayManager.FinishPlay))]
internal class GamePlayManagerFinishPlayPatch
{
static void Postfix(GamePlayManager __instance, MarbleController marble)

View file

@ -3,8 +3,7 @@ using System.Collections.Generic;
namespace DiamondTimeViewer.Patches
{
[HarmonyPatch(typeof(MedalsDisplay))]
[HarmonyPatch("Setup")]
[HarmonyPatch(typeof(MedalsDisplay), nameof(MedalsDisplay.Setup))]
internal class MedalsDisplaySetupPatch
{
static bool Prefix(MedalsDisplay __instance, float silver, float gold, List<string> eggUnlock)