Decompiled source of Stat Changer Final Version v1.0.0

Mod/Stat_Changer__Final_Version_.dll

Decompiled a day ago
using System;
using System.Diagnostics;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BoneLib;
using BoneLib.BoneMenu;
using Il2CppSLZ.VRMK;
using MelonLoader;
using Microsoft.CodeAnalysis;
using Stat_Changer__Final_Version_;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: MelonInfo(typeof(Core), "Stat Changer (Final Version)", "1.0.0", "Gorilla Studios", null)]
[assembly: MelonGame("Stress Level Zero", "BONELAB")]
[assembly: TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]
[assembly: AssemblyCompany("Stat_Changer__Final_Version_")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("Stat_Changer__Final_Version_")]
[assembly: AssemblyTitle("Stat_Changer__Final_Version_")]
[assembly: NeutralResourcesLanguage("en-US")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Embedded]
	[AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)]
	internal sealed class RefSafetyRulesAttribute : Attribute
	{
		public readonly int Version;

		public RefSafetyRulesAttribute(int P_0)
		{
			Version = P_0;
		}
	}
}
namespace Stat_Changer__Final_Version_
{
	public class Core : MelonMod
	{
		public override void OnInitializeMelon()
		{
			//IL_000b: Unknown result type (might be due to invalid IL or missing references)
			//IL_001e: 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_0066: Unknown result type (might be due to invalid IL or missing references)
			//IL_0096: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c6: Unknown result type (might be due to invalid IL or missing references)
			//IL_00f6: Unknown result type (might be due to invalid IL or missing references)
			//IL_0126: Unknown result type (might be due to invalid IL or missing references)
			//IL_0156: Unknown result type (might be due to invalid IL or missing references)
			//IL_0186: Unknown result type (might be due to invalid IL or missing references)
			//IL_01b6: Unknown result type (might be due to invalid IL or missing references)
			//IL_01e6: Unknown result type (might be due to invalid IL or missing references)
			//IL_0216: Unknown result type (might be due to invalid IL or missing references)
			//IL_0246: Unknown result type (might be due to invalid IL or missing references)
			//IL_0276: Unknown result type (might be due to invalid IL or missing references)
			//IL_02a6: Unknown result type (might be due to invalid IL or missing references)
			//IL_02d6: Unknown result type (might be due to invalid IL or missing references)
			//IL_0306: Unknown result type (might be due to invalid IL or missing references)
			//IL_0336: Unknown result type (might be due to invalid IL or missing references)
			Page val = Page.Root.CreatePage("Stat Changer Finale", Color.black, 0, true);
			Page val2 = val.CreatePage("Player Options", Color.cyan, 0, true);
			Page val3 = val2.CreatePage("Next Page: 2", Color.green, 0, true);
			((MelonBase)this).LoggerInstance.Warning("(NOTCIE) All Mods After This Will No longer have the notfifcations when the mod is loaded!");
			((MelonBase)this).LoggerInstance.Warning("This Mod Has Been Discontiuned And Will No longer Update. Thank you for everything THANK U FOR 6k DOWNLOADS HOLY!!!");
			val2.CreateFunction("Speed +1", Color.red, (Action)delegate
			{
				Avatar avatar = Player.Avatar;
				avatar._speed += 1f;
			});
			val2.CreateFunction("Speed -1", Color.red, (Action)delegate
			{
				Avatar avatar = Player.Avatar;
				avatar._speed -= 1f;
			});
			val2.CreateFunction("Mass +1", Color.gray, (Action)delegate
			{
				Avatar avatar = Player.Avatar;
				avatar._massTotal += 1f;
			});
			val2.CreateFunction("Mass -1", Color.gray, (Action)delegate
			{
				Avatar avatar = Player.Avatar;
				avatar._massTotal -= 1f;
			});
			val2.CreateFunction("Strength +1", Color.blue, (Action)delegate
			{
				Avatar avatar = Player.Avatar;
				avatar._strengthUpper += 1f;
				avatar._strengthLower += 1f;
			});
			val2.CreateFunction("Strength -1", Color.blue, (Action)delegate
			{
				Avatar avatar = Player.Avatar;
				avatar._strengthUpper -= 1f;
				avatar._strengthLower -= 1f;
			});
			val2.CreateFunction("Arm Length +1", Color.black, (Action)delegate
			{
				Avatar avatar = Player.Avatar;
				avatar._armLength += 1f;
			});
			val2.CreateFunction("Arm Length -1", Color.black, (Action)delegate
			{
				Avatar avatar = Player.Avatar;
				avatar._armLength -= 1f;
			});
			val3.CreateFunction("Height +1", Color.white, (Action)delegate
			{
				Avatar avatar = Player.Avatar;
				avatar._height += 1f;
			});
			val3.CreateFunction("Height -1", Color.white, (Action)delegate
			{
				Avatar avatar = Player.Avatar;
				avatar._height -= 1f;
			});
			val3.CreateFunction("Low Gravity: ON", Color.green, (Action)delegate
			{
				//IL_0016: Unknown result type (might be due to invalid IL or missing references)
				Avatar avatar = Player.Avatar;
				Physics.gravity = new Vector3(0f, -2f, 0f);
			});
			val3.CreateFunction("Low Gravity: OFF", Color.red, (Action)delegate
			{
				//IL_0016: Unknown result type (might be due to invalid IL or missing references)
				Avatar avatar = Player.Avatar;
				Physics.gravity = new Vector3(0f, -10f, 0f);
			});
			val3.CreateFunction("Grip Strength +1", Color.magenta, (Action)delegate
			{
				Avatar avatar = Player.Avatar;
				avatar._strengthGrip += 1f;
			});
			val3.CreateFunction("Grip Strength -1", Color.magenta, (Action)delegate
			{
				Avatar avatar = Player.Avatar;
				avatar._strengthGrip -= 1f;
			});
			val3.CreateFunction("(Intelligence +1", Color.yellow, (Action)delegate
			{
				Avatar avatar = Player.Avatar;
				avatar._intelligence += 1f;
			});
			val3.CreateFunction("(Intelligence -1", Color.yellow, (Action)delegate
			{
				Avatar avatar = Player.Avatar;
				avatar._intelligence -= 1f;
			});
		}
	}
}