using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BoneLib.Notifications;
using MelonLoader;
using hand_remover;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: AssemblyTitle("Removes the Baseline hands.")]
[assembly: AssemblyDescription("Removes the Baseline hands.")]
[assembly: AssemblyCompany("JoobLorp")]
[assembly: AssemblyProduct("Baseline Hand Remover")]
[assembly: AssemblyCopyright("Developed by jajooagain")]
[assembly: AssemblyTrademark("JoobLorp")]
[assembly: AssemblyFileVersion("0.0.1")]
[assembly: MelonInfo(typeof(Main), "Baseline Hand Remover", "0.0.1", "jajooagain", "Linkless")]
[assembly: MelonColor(ConsoleColor.White)]
[assembly: MelonGame("Stress Level Zero", "BONELAB")]
[assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = "")]
[assembly: AssemblyVersion("0.0.1.0")]
namespace hand_remover;
internal class Main : MelonMod
{
internal const string Name = "Baseline Hand Remover";
internal const string Description = "Removes the Baseline hands.";
internal const string Author = "jajooagain";
internal const string Company = "JoobLorp";
internal const string Version = "0.0.1";
internal const string DownloadLink = "Linkless";
public override void OnEarlyInitializeMelon()
{
((MelonBase)this).OnEarlyInitializeMelon();
MelonLogger.Msg("Initializing Baseline Hand Remover");
}
public override void OnInitializeMelon()
{
((MelonBase)this).OnInitializeMelon();
}
public override void OnLateInitializeMelon()
{
((MelonBase)this).OnLateInitializeMelon();
}
public override void OnUpdate()
{
((MelonBase)this).OnUpdate();
}
public override void OnFixedUpdate()
{
((MelonBase)this).OnFixedUpdate();
}
public override void OnLateUpdate()
{
((MelonBase)this).OnLateUpdate();
}
public override void OnSceneWasLoaded(int levelIndex, string sceneName)
{
//IL_002c: Unknown result type (might be due to invalid IL or missing references)
//IL_0031: Unknown result type (might be due to invalid IL or missing references)
//IL_0037: Unknown result type (might be due to invalid IL or missing references)
//IL_003c: Unknown result type (might be due to invalid IL or missing references)
//IL_0041: Unknown result type (might be due to invalid IL or missing references)
//IL_0047: Unknown result type (might be due to invalid IL or missing references)
//IL_004c: Unknown result type (might be due to invalid IL or missing references)
//IL_0051: Unknown result type (might be due to invalid IL or missing references)
//IL_005c: Unknown result type (might be due to invalid IL or missing references)
//IL_0064: Expected O, but got Unknown
MelonLogger.Msg("Loading scene");
if (sceneName.ToLower() == "scene_baseline")
{
MelonLogger.Msg("Hands removed. Enjoy your baseline!");
Notification val = new Notification
{
Title = NotificationText.op_Implicit("HANDS remover"),
Message = NotificationText.op_Implicit("HANDS removed. Enjoy your baselining!"),
PopupLength = 30f,
ShowTitleOnPopup = true
};
Notifier.Send(val);
}
}
}