Upload from upload_mods.ps1

This commit is contained in:
Nathaniel Cosford
2025-06-04 16:44:53 +09:30
commit f1fbbe67bb
1722 changed files with 165268 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
namespace Harmony.XUiC_MainMenuPatches
{
/*[HarmonyPatch(typeof(XUiC_MainMenu))]
[HarmonyPatch("Open")]
public class OpenPatch
{
public static bool Prefix(XUiC_MainMenu __instance, XUi _xuiInstance)
{
XUiC_MainMenu.shownNewsScreenOnce = true;
IJoinSessionGameInviteListener gameInviteListener = PlatformManager.NativePlatform.JoinSessionGameInviteListener;
if ((gameInviteListener != null ? (gameInviteListener.HasPendingIntent() ? 1 : 0) : 0) != 0)
XUiC_MainMenu.shownNewsScreenOnce = true;
if (!XUiC_MainMenu.shownNewsScreenOnce)
{
XUiC_NewsScreen.Open(_xuiInstance);
XUiC_MainMenu.shownNewsScreenOnce = true;
}
else
{
_xuiInstance.playerUI.windowManager.Open(XUiC_MainMenu.ID, true);
}
return false;
}
}*/
}