Support for build 20230414 (#5)

* support for 20230331, remove need for metadata patching

* build 20230414
This commit is contained in:
devin
2026-07-23 01:29:06 -04:00
committed by GitHub
parent 6a62f0cc1d
commit 8ddda007c1
8 changed files with 304 additions and 31 deletions
+4 -1
View File
@@ -7,7 +7,10 @@ namespace RecNetPlugin.Patches;
/**
Patches Photon to use the App IDs and server hostname/port specified in the plugin config.
*/
[HarmonyPatch(typeof(GPFPFDBGCEK), "AMOHMPKKGHL")]
// Obfuscated names shift every game build. Re-resolve by signature: the target is the only
// instance, 0-param method returning Photon.Realtime.AppSettings in Assembly-CSharp.
// 20230414 build: HPEENKELKDJ.MGKINLFMJLB (was LEALBOODIEE.GBNKOFMAJPA, was GPFPFDBGCEK.AMOHMPKKGHL).
[HarmonyPatch(typeof(HPEENKELKDJ), "MGKINLFMJLB")]
public class PhotonPatches
{
[HarmonyPostfix]