57 lines
1.8 KiB
C#
57 lines
1.8 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> AmplitudeRedirectPatch;
|
|
public static ConfigEntry<bool> SignalRHandshakeFix;
|
|
}
|
|
public static class GenericConfigDefaults
|
|
{
|
|
public static bool LogAllRequests = false;
|
|
public static bool CertificatePatch = false;
|
|
public static bool HilePatch = false;
|
|
public static bool AmplitudeRedirectPatch = true;
|
|
public static bool SignalRHandshakeFix = true;
|
|
}
|
|
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<string> AppID;
|
|
public static ConfigEntry<string> VoiceAppID;
|
|
}
|
|
public static class PhotonConfigDefaults
|
|
{
|
|
public static bool PatchPhotonIds = false;
|
|
public static string AppID = "replace-me-please";
|
|
public static string VoiceAppID = "replace-me-please";
|
|
}
|
|
|
|
public static class GalvanicConfig
|
|
{
|
|
public static ConfigEntry<bool> Enabled;
|
|
public static ConfigEntry<bool> RegenerateKeypair;
|
|
}
|
|
|
|
public static class GalvanicConfigDefaults
|
|
{
|
|
public static bool Enabled = false;
|
|
public static bool RegenerateKeypair = false;
|
|
}
|
|
}
|