forked from zombieb/undead-universal-patch-il2cpp
24 lines
640 B
C#
24 lines
640 B
C#
using System.Reflection;
|
|
using HarmonyLib;
|
|
using undead_universal_patch_il2cpp.Core;
|
|
using undead_universal_patch_il2cpp.Core.Config;
|
|
|
|
namespace undead_universal_patch_il2cpp.Patches
|
|
{
|
|
[HarmonyPatch]
|
|
public class RegistrationPatch
|
|
{
|
|
static PatchTypesResult patchResult = Util.ConfigPreparePatchTypes(
|
|
PatchConfig.RegistrationPatch,
|
|
"Registration patch",
|
|
"ProfileWatchUIFlow",
|
|
"Button_Email"
|
|
);
|
|
|
|
static bool Prepare() => patchResult.Success;
|
|
|
|
static MethodInfo TargetMethod() => patchResult.Method;
|
|
|
|
static bool Prefix() => false;
|
|
}
|
|
} |