Decompiled source of CustomStuff v1.0.0

9598517201482179.dll

Decompiled 10 months ago
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using LethalLib.Extras;
using LethalLib.Modules;
using Microsoft.CodeAnalysis;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: IgnoresAccessChecksTo("Assembly-CSharp")]
[assembly: AssemblyCompany("9598517201482179")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0+43206f0475d7dae18e393eaa115cfd192399712f")]
[assembly: AssemblyProduct("9598517201482179")]
[assembly: AssemblyTitle("9598517201482179")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.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 LC9598517201482179
{
	public class ListenIRealizeTheAssemblyNameIsWeirdIJustWantToBeAbleToHaveAutoUpdatesForThisThingIMadeForMyselfLetMeHaveThis
	{
	}
	[BepInPlugin("9598517201482179", "9598517201482179", "1.0.0")]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	public class Plugin : BaseUnityPlugin
	{
		public static AssetBundle Assets;

		private void Awake()
		{
			//IL_004a: Unknown result type (might be due to invalid IL or missing references)
			Assets = AssetBundle.LoadFromFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "9598517201482179"));
			UnlockableItemDef val = Assets.LoadAsset<UnlockableItemDef>("Assets/Custom/9598517201482179/JoeBiden/JoeBidenUnlockableItemDef.asset");
			NetworkPrefabs.RegisterNetworkPrefab(val.unlockable.prefabObject);
			Unlockables.RegisterUnlockable(val.unlockable, val.storeType, val.unlockable.shopSelectionNode, val.unlockable.shopSelectionNode.terminalOptions[0].result, (TerminalNode)null, 563);
			((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin 9598517201482179 is loaded!");
		}
	}
	public static class PluginInfo
	{
		public const string PLUGIN_GUID = "9598517201482179";

		public const string PLUGIN_NAME = "9598517201482179";

		public const string PLUGIN_VERSION = "1.0.0";
	}
}
namespace System.Runtime.CompilerServices
{
	[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
	internal sealed class IgnoresAccessChecksToAttribute : Attribute
	{
		public IgnoresAccessChecksToAttribute(string assemblyName)
		{
		}
	}
}