Files
undead-universal-patch-il2cpp/Config.cs
zombieb 8d1bac8201 - SignalR handshake fix
- Self-hosted PhotonSocketServer support
- Split photon and hile event patch
- Deprecated amplitude redirect patch
2025-04-13 02:11:08 -04:00

70 lines
2.4 KiB
C#

using System;
using BepInEx.Configuration;
namespace undead_universal_patch_il2cpp
{
public static class GenericConfig
{
public static ConfigEntry<bool> LogAllRequests;
public static ConfigEntry<bool> CertificatePatch;
public static ConfigEntry<bool> HilePatch;
public static ConfigEntry<bool> SignalRHandshakeFix;
public static ConfigEntry<bool> ImageSignaturePatch;
}
public static class GenericConfigDefaults
{
public static bool LogAllRequests = false;
public static bool CertificatePatch = false;
public static bool HilePatch = false;
public static bool SignalRHandshakeFix = false;
public static bool ImageSignaturePatch = false;
}
public static class NameserverConfig
{
public static ConfigEntry<bool> Rewrite;
public static ConfigEntry<string> NewUrl;
}
public static class NameserverConfigDefaults
{
public static bool Rewrite = false;
public static string NewUrl = "https://example.com/nameserver";
}
public static class PhotonConfig
{
public static ConfigEntry<bool> PatchPhotonIds;
public static ConfigEntry<bool> PunLogging;
public static ConfigEntry<bool> SelfHosted;
public static ConfigEntry<string> AppID;
public static ConfigEntry<string> VoiceAppID;
public static ConfigEntry<string> ServerAddress;
public static ConfigEntry<int> ServerPort;
}
public static class PhotonConfigDefaults
{
public static bool PatchPhotonIds = false;
public static bool PunLogging = false;
public static bool SelfHosted = false;
public static string AppID = "replace-me-please";
public static string VoiceAppID = "replace-me-please";
public static string ServerAddress = "127.0.0.1";
public static int ServerPort = 5055;
}
public static class GalvanicConfig
{
public static ConfigEntry<bool> Enabled;
public static ConfigEntry<bool> RegenerateKeypair;
public static ConfigEntry<string> Export;
public static ConfigEntry<bool> Import;
}
public static class GalvanicConfigDefaults
{
public static bool Enabled = false;
public static bool RegenerateKeypair = false;
public static string Export = "IDoNotWantToExportMyKeys";
public static bool Import = false;
}
}