Recommended annotation format
This commit is contained in:
parent
b7b3d1a107
commit
b3ad602d09
2 changed files with 2 additions and 4 deletions
|
@ -3,8 +3,7 @@ using MIU;
|
||||||
|
|
||||||
namespace DiamondTimeViewer.Patches
|
namespace DiamondTimeViewer.Patches
|
||||||
{
|
{
|
||||||
[HarmonyPatch(typeof(GamePlayManager))]
|
[HarmonyPatch(typeof(GamePlayManager), nameof(GamePlayManager.FinishPlay))]
|
||||||
[HarmonyPatch("FinishPlay")]
|
|
||||||
internal class GamePlayManagerFinishPlayPatch
|
internal class GamePlayManagerFinishPlayPatch
|
||||||
{
|
{
|
||||||
static void Postfix(GamePlayManager __instance, MarbleController marble)
|
static void Postfix(GamePlayManager __instance, MarbleController marble)
|
||||||
|
|
|
@ -3,8 +3,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace DiamondTimeViewer.Patches
|
namespace DiamondTimeViewer.Patches
|
||||||
{
|
{
|
||||||
[HarmonyPatch(typeof(MedalsDisplay))]
|
[HarmonyPatch(typeof(MedalsDisplay), nameof(MedalsDisplay.Setup))]
|
||||||
[HarmonyPatch("Setup")]
|
|
||||||
internal class MedalsDisplaySetupPatch
|
internal class MedalsDisplaySetupPatch
|
||||||
{
|
{
|
||||||
static bool Prefix(MedalsDisplay __instance, float silver, float gold, List<string> eggUnlock)
|
static bool Prefix(MedalsDisplay __instance, float silver, float gold, List<string> eggUnlock)
|
||||||
|
|
Loading…
Add table
Reference in a new issue