18 lines
479 B
C#
18 lines
479 B
C#
using System.Reflection;
|
|
using HarmonyLib;
|
|
using undead_universal_patch_il2cpp.Core;
|
|
|
|
namespace undead_universal_patch_il2cpp.Patches.Photon;
|
|
|
|
[HarmonyPatch]
|
|
public class NameserverTest
|
|
{
|
|
static PatchTypesResult patchTypesResult = Util.PreparePatchTypes(
|
|
"Photon nameserver test",
|
|
"NetworkingPeer",
|
|
"GetNameServerAddress"
|
|
);
|
|
|
|
static bool Prepare() => patchTypesResult.Success;
|
|
static MethodBase TargetMethod() => patchTypesResult.Method;
|
|
} |