Decompiled source of EasyPickpocket v1.0.0

ScheduleIMods.dll

Decompiled a week ago
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using HarmonyLib;
using Il2CppScheduleOne.UI;
using MelonLoader;
using ScheduleIMods;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: MelonInfo(typeof(Main), "EasyPickpocket", "1.0.0", "Joive", null)]
[assembly: MelonGame(null, null)]
[assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
[assembly: AssemblyCompany("ScheduleIMods")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("ScheduleIMods")]
[assembly: AssemblyTitle("ScheduleIMods")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace ScheduleIMods;

public class Main : MelonMod
{
	public override void OnInitializeMelon()
	{
		((MelonBase)this).LoggerInstance.Msg("EasyPickpocket загружен! Время грабить.");
	}
}
[HarmonyPatch(typeof(PickpocketScreen), "Open")]
public class PickpocketScreen_Open_Patch
{
	public static void Postfix(PickpocketScreen __instance)
	{
		__instance.GreenAreaMinWidth = 100f;
		__instance.GreenAreaMaxWidth = 100f;
		__instance.Tolerance = 100f;
		__instance.SlideTime = 10f;
	}
}