Files
undead-universal-patch-il2cpp/Patches/RefreshTokenFix.cs
2025-09-19 22:37:22 -04:00

27 lines
731 B
C#

using HarmonyLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using undead_universal_patch_il2cpp.Core;
using undead_universal_patch_il2cpp.Core.Config;
namespace undead_universal_patch_il2cpp.Patches;
[HarmonyPatch]
public class RefreshTokenFix
{
static PatchTypesResult patchResult = Util.ConfigPreparePatchTypes(
PatchConfig.RefreshTokenFix,
"Refresh token implementation fix for some servers",
"RecNet.Login",
"OnLocalAccountUpdated"
);
static MethodBase TargetMethod() => patchResult.Method;
static bool Prepare() => patchResult.Success;
static bool Prefix() => false;
}