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.Internals; [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; }