forked from zombieb/undead-universal-patch-il2cpp
move to internals
This commit is contained in:
27
Patches/Internals/RefreshTokenFix.cs
Normal file
27
Patches/Internals/RefreshTokenFix.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user