using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using DeveloperMode;
using HarmonyLib;
using MelonLoader;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: MelonInfo(typeof(DeveloperModeMod), "DeveloperMode", "1.0.0", "rf5860", null)]
[assembly: MelonGame("Alvios", "Vellum")]
[assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
[assembly: AssemblyVersion("0.0.0.0")]
namespace DeveloperMode;
public class DeveloperModeMod : MelonMod
{
public override void OnInitializeMelon()
{
//IL_0006: Unknown result type (might be due to invalid IL or missing references)
//IL_000c: Expected O, but got Unknown
Harmony val = new Harmony("com.rjf.vellum.alwaysdev");
MelonLogger.Msg("VellumMod has started!");
}
private static bool IsDeveloper_Prefix(ref bool __result)
{
__result = true;
return false;
}
}
[HarmonyPatch(typeof(ParseManager), "IsDeveloper")]
public static class ParseManager_IsDeveloper_Patch
{
private static bool Prefix(ref bool __result)
{
__result = true;
return false;
}
}