Decompiled source of FasterRevive v1.0.0

FasterRevive.dll

Decompiled 6 months ago
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
using HarmonyLib;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: AssemblyCompany("FasterRevive")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("FasterRevive")]
[assembly: AssemblyTitle("FasterRevive")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace FasterRevive;

[BepInPlugin("FasterRevive", "FasterRevive", "1.0.0")]
public class FasterRevive : BaseUnityPlugin
{
	public const string GUID = "FasterRevive";

	public const string NAME = "FasterRevive";

	public const string VERSION = "1.0.0";

	public void Awake()
	{
		Harmony.CreateAndPatchAll(typeof(MuckPatch), (string)null);
		((BaseUnityPlugin)this).Logger.LogMessage((object)"Loaded FasterRevive");
	}
}
public class MuckPatch
{
	[HarmonyPrefix]
	[HarmonyPatch(typeof(GraveInteract), "SetTime")]
	public static bool SetTime(ref float time)
	{
		time = 10f;
		return true;
	}
}