This repository has been archived on 2026-05-30. You can view files and clone it, but cannot push or open issues or pull requests.
Files
undead-universal-patch-il2cpp/Patches/Internals/RefreshTokenFix.cs
2025-09-21 17:46:15 -04:00

27 lines
741 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.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;
}