Decompiled source of InfiniteMoneyMod v1.0.0

Repo_Infinite_Money.dll

Decompiled a month ago
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using MelonLoader;
using Repo_Infinite_Money;
using Repo_Library;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: MelonInfo(typeof(InfiniteMoney), "R.E.P.O Infinite Money Mod", "1.0.3", "Zer0", null)]
[assembly: MelonGame("semiwork", "REPO")]
[assembly: AssemblyTitle("Repo_Infinite_Money")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Repo_Infinite_Money")]
[assembly: AssemblyCopyright("Copyright ©  2025")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("51d7e198-c7d2-40ff-8917-9799b2f757ce")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace Repo_Infinite_Money;

public class InfiniteMoney : MelonMod
{
	private readonly Library Repo_Lib = new Library();

	public override void OnSceneWasInitialized(int buildIndex, string sceneName)
	{
		if (Repo_Lib.IsInShop())
		{
			Repo_Lib.GetStatsManager().runStats["currency"] = 9999999;
		}
	}
}