internal static void Postfix(MultiplayerSettingsPanelController __instance, string code) { if (code == MPState.LastRoomCode) { return; } MPState.LastRoomCode = code; MPEvents.RaiseRoomCodeChanged(__instance, code); }
public static void Postfix(HostLobbySetupViewController __instance, string code) { if (code == MPState.LastRoomCode) { return; } MPState.LastRoomCode = code; MPEvents.RaiseRoomCodeChanged(__instance, code); }