Files
undead-universal-patch-il2cpp/Core/Config/Config.cs
2025-09-19 22:37:22 -04:00

94 lines
3.4 KiB
C#

using BepInEx.Configuration;
namespace undead_universal_patch_il2cpp.Core.Config
{
public static class GenericConfig
{
public static ConfigEntry<bool> PatchDebug;
public static ConfigEntry<bool> LogAllRequests;
public static ConfigEntry<bool> VerboseRequestLogs;
}
public static class GenericConfigDefaults
{
public static bool PatchDebug = false;
public static bool LogAllRequests = false;
public static bool VerboseRequestLogs = false;
}
public static class PatchConfig
{
public static ConfigEntry<bool> CertificatePatch;
public static ConfigEntry<bool> HilePatch;
public static ConfigEntry<bool> SignalRHandshakeFix;
public static ConfigEntry<bool> ImageSignaturePatch;
public static ConfigEntry<bool> RegistrationPatch;
public static ConfigEntry<bool> AFKPatch;
public static ConfigEntry<bool> RefreshTokenFix;
}
public static class PatchConfigDefaults
{
public static bool CertificatePatch = false;
public static bool HilePatch = false;
public static bool SignalRHandshakeFix = false;
public static bool ImageSignaturePatch = false;
public static bool RegistrationPatch = false;
public static bool AFKPatch = false;
public static bool RefreshTokenFix = false;
}
public static class ServerPatchesConfig
{
public static ConfigEntry<bool> CustomEmotes;
public static ConfigEntry<bool> CustomPhoton;
public static ConfigEntry<bool> CustomMarquee;
public static ConfigEntry<bool> CustomKnownDlls;
}
public static class ServerPatchesConfigDefaults
{
public static bool CustomEmotes = false;
public static bool CustomPhoton = false;
public static bool CustomMarquee = false;
public static bool CustomKnownDlls = false;
}
public static class GameManagerConfig
{
public static ConfigEntry<bool> StaticGameConfig;
public static ConfigEntry<bool> AnyGameFreeSpawn;
}
public static class GameManagerConfigDefaults
{
public static bool StaticGameConfig;
public static bool AnyGameFreeSpawn;
}
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<string> AppID;
public static ConfigEntry<string> VoiceAppID;
public static ConfigEntry<bool> SelfHosted;
public static ConfigEntry<string> ServerAddress;
public static ConfigEntry<int> ServerPort;
public static ConfigEntry<byte> ConnectionProtocol;
}
public static class PhotonConfigDefaults
{
public static bool PatchPhotonIds = false;
public static bool PunLogging = false;
public static string AppID = "replace-me-please";
public static string VoiceAppID = "replace-me-please";
public static bool SelfHosted = false;
public static string ServerAddress = "127.0.0.1";
public static int ServerPort = 5055;
public static byte ConnectionProtocol = 0;
}
}