Decompiled source of Crasssam World End v1.0.0

ValheimWorldEnd.dll

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

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: AssemblyTitle("ValheimWorldEnd")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ValheimWorldEnd")]
[assembly: AssemblyCopyright("Copyright ©  2024")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("950e3e63-652d-4e48-8a60-5f81eb2c0bf5")]
[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 ValheimWorldEnd;

[BepInPlugin("Crasssam.ValheimWorldEnd", "ValheimWorldEnd", "1.0.0")]
[BepInProcess("valheim.exe")]
public class ValheimWorldEnd : BaseUnityPlugin
{
	[HarmonyPatch(typeof(Player), "EdgeOfWorldKill")]
	private class EdgeOfWorldKill_Patch
	{
		private static bool Prefix()
		{
			return false;
		}
	}

	private readonly Harmony harmony = new Harmony("Crasssam.ValheimWorldEnd");

	private void Awake()
	{
		harmony.PatchAll();
	}
}