Decompiled source of MushroomKingdomTribes v1.0.0

plugins/MushroomTribes.dll

Decompiled 6 months ago
using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using DiskCardGame;
using InscryptionAPI.Card;
using InscryptionAPI.Helpers;
using Microsoft.CodeAnalysis;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")]
[assembly: AssemblyCompany("MushroomTribes")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyDescription("A Libary of Tribes for the MushroomKingdom")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0+c1792eac24c17c94b16d4e7fcd760bd53dfdda2a")]
[assembly: AssemblyProduct("MushroomTribes")]
[assembly: AssemblyTitle("MushroomTribes")]
[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 MushroomTribes
{
	[BepInPlugin("mushroom.pelts", "MushroomPelts", "1.0.0")]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	public class MushroomTribes : BaseUnityPlugin
	{
		private const string PluginGuid = "mushroom.pelts";

		private const string PluginName = "MushroomPelts";

		private const string PluginVersion = "1.0.0";

		public static Tribe booTribe;

		public static Tribe blooperTribe;

		public static Tribe blockTribe;

		public static Tribe bombombTribe;

		public static Tribe goombaTribe;

		public static Tribe blasterTribe;

		public static Tribe chompTribe;

		public static Tribe cheepCheepTribe;

		public static Tribe koopaTribe;

		public static Tribe piranhaPlantTribe;

		public static Tribe pokeyTribe;

		public static Tribe powerUpTribe;

		public static Tribe spikeTribe;

		public static Tribe shroobTribe;

		public static Tribe shyGuyTribe;

		public static Tribe crusherTribe;

		public static Tribe starTribe;

		public static Tribe skeletonTribe;

		public static Tribe wrigglerTribe;

		public static Tribe conkdorTribe;

		public static Tribe dinosaurTribe;

		public static Tribe ramTribe;

		public static Tribe waddlewingTribe;

		public static Tribe cloudTribe;

		public static Tribe organTribe;

		public static Tribe itemboxTribe;

		public static Tribe electricityTribe;

		public static Tribe platformTribe;

		public static Tribe tanukiTribe;

		public void Awake()
		{
			//IL_0037: Unknown result type (might be due to invalid IL or missing references)
			//IL_003c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0066: Unknown result type (might be due to invalid IL or missing references)
			//IL_006b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0095: Unknown result type (might be due to invalid IL or missing references)
			//IL_009a: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c4: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00f3: Unknown result type (might be due to invalid IL or missing references)
			//IL_00f8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0122: Unknown result type (might be due to invalid IL or missing references)
			//IL_0127: Unknown result type (might be due to invalid IL or missing references)
			//IL_0151: Unknown result type (might be due to invalid IL or missing references)
			//IL_0156: Unknown result type (might be due to invalid IL or missing references)
			//IL_0180: Unknown result type (might be due to invalid IL or missing references)
			//IL_0185: Unknown result type (might be due to invalid IL or missing references)
			//IL_01af: Unknown result type (might be due to invalid IL or missing references)
			//IL_01b4: Unknown result type (might be due to invalid IL or missing references)
			//IL_01de: Unknown result type (might be due to invalid IL or missing references)
			//IL_01e3: Unknown result type (might be due to invalid IL or missing references)
			//IL_020d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0212: Unknown result type (might be due to invalid IL or missing references)
			//IL_023c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0241: Unknown result type (might be due to invalid IL or missing references)
			//IL_026b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0270: Unknown result type (might be due to invalid IL or missing references)
			//IL_029a: Unknown result type (might be due to invalid IL or missing references)
			//IL_029f: Unknown result type (might be due to invalid IL or missing references)
			//IL_02c9: Unknown result type (might be due to invalid IL or missing references)
			//IL_02ce: Unknown result type (might be due to invalid IL or missing references)
			//IL_02f8: Unknown result type (might be due to invalid IL or missing references)
			//IL_02fd: Unknown result type (might be due to invalid IL or missing references)
			//IL_0327: Unknown result type (might be due to invalid IL or missing references)
			//IL_032c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0356: Unknown result type (might be due to invalid IL or missing references)
			//IL_035b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0385: Unknown result type (might be due to invalid IL or missing references)
			//IL_038a: Unknown result type (might be due to invalid IL or missing references)
			//IL_03b4: Unknown result type (might be due to invalid IL or missing references)
			//IL_03b9: Unknown result type (might be due to invalid IL or missing references)
			//IL_03e3: Unknown result type (might be due to invalid IL or missing references)
			//IL_03e8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0412: Unknown result type (might be due to invalid IL or missing references)
			//IL_0417: Unknown result type (might be due to invalid IL or missing references)
			//IL_0441: Unknown result type (might be due to invalid IL or missing references)
			//IL_0446: Unknown result type (might be due to invalid IL or missing references)
			//IL_0470: Unknown result type (might be due to invalid IL or missing references)
			//IL_0475: Unknown result type (might be due to invalid IL or missing references)
			//IL_049f: Unknown result type (might be due to invalid IL or missing references)
			//IL_04a4: Unknown result type (might be due to invalid IL or missing references)
			//IL_04ce: Unknown result type (might be due to invalid IL or missing references)
			//IL_04d3: Unknown result type (might be due to invalid IL or missing references)
			//IL_04fd: Unknown result type (might be due to invalid IL or missing references)
			//IL_0502: Unknown result type (might be due to invalid IL or missing references)
			//IL_052c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0531: Unknown result type (might be due to invalid IL or missing references)
			//IL_055b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0560: Unknown result type (might be due to invalid IL or missing references)
			((BaseUnityPlugin)this).Logger.LogInfo((object)"Sucsessfully Loaded MushroomPelts!");
			int num = 0;
			num++;
			booTribe = TribeManager.Add("mushroom.pelts", "boo", TextureHelper.GetImageAsTexture("tribeicon_boo.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_boo.png", (FilterMode)0));
			num++;
			blockTribe = TribeManager.Add("mushroom.pelts", "block", TextureHelper.GetImageAsTexture("tribeicon_block.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_block.png", (FilterMode)0));
			num++;
			blooperTribe = TribeManager.Add("mushroom.pelts", "blooper", TextureHelper.GetImageAsTexture("tribeicon_blooper.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_blooper.png", (FilterMode)0));
			num++;
			bombombTribe = TribeManager.Add("mushroom.pelts", "bomb-omb", TextureHelper.GetImageAsTexture("tribeicon_bomb-omb.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_bomb-omb.png", (FilterMode)0));
			num++;
			goombaTribe = TribeManager.Add("mushroom.pelts", "goomba", TextureHelper.GetImageAsTexture("tribeicon_goomba.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_goomba.png", (FilterMode)0));
			num++;
			blasterTribe = TribeManager.Add("mushroom.pelts", "blaster", TextureHelper.GetImageAsTexture("tribeicon_blaster.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_blaster.png", (FilterMode)0));
			num++;
			chompTribe = TribeManager.Add("mushroom.pelts", "Chomp", TextureHelper.GetImageAsTexture("tribeicon_chomp.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_chomp.png", (FilterMode)0));
			num++;
			cheepCheepTribe = TribeManager.Add("mushroom.pelts", "cheep_cheep", TextureHelper.GetImageAsTexture("tribeicon_cheep_cheep.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_cheep_cheep.png", (FilterMode)0));
			num++;
			koopaTribe = TribeManager.Add("mushroom.pelts", "koopa", TextureHelper.GetImageAsTexture("tribeicon_koopa.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_koopa.png", (FilterMode)0));
			num++;
			piranhaPlantTribe = TribeManager.Add("mushroom.pelts", "piranha_plant", TextureHelper.GetImageAsTexture("tribeicon_piranha_plant.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_piranha_plant.png", (FilterMode)0));
			num++;
			pokeyTribe = TribeManager.Add("mushroom.pelts", "pokey", TextureHelper.GetImageAsTexture("tribeicon_pokey.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_pokey.png", (FilterMode)0));
			num++;
			powerUpTribe = TribeManager.Add("mushroom.pelts", "power_up", TextureHelper.GetImageAsTexture("tribeicon_power_up.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_power_up.png", (FilterMode)0));
			num++;
			spikeTribe = TribeManager.Add("mushroom.pelts", "spike", TextureHelper.GetImageAsTexture("tribeicon_spike.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_spike.png", (FilterMode)0));
			num++;
			shroobTribe = TribeManager.Add("mushroom.pelts", "shroob", TextureHelper.GetImageAsTexture("tribeicon_shroob.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_shroob.png", (FilterMode)0));
			num++;
			shyGuyTribe = TribeManager.Add("mushroom.pelts", "shy_guy", TextureHelper.GetImageAsTexture("tribeicon_shy_guy.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_shy_guy.png", (FilterMode)0));
			num++;
			crusherTribe = TribeManager.Add("mushroom.pelts", "crusher", TextureHelper.GetImageAsTexture("tribeicon_crusher.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_crusher.png", (FilterMode)0));
			num++;
			starTribe = TribeManager.Add("mushroom.pelts", "star", TextureHelper.GetImageAsTexture("tribeicon_star.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_star.png", (FilterMode)0));
			num++;
			skeletonTribe = TribeManager.Add("mushroom.pelts", "mskeleton", TextureHelper.GetImageAsTexture("tribeicon_mskeleton.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_mskeleton.png", (FilterMode)0));
			num++;
			wrigglerTribe = TribeManager.Add("mushroom.pelts", "wriggler", TextureHelper.GetImageAsTexture("tribeicon_wriggler.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_wriggler.png", (FilterMode)0));
			num++;
			conkdorTribe = TribeManager.Add("mushroom.pelts", "conkdor", TextureHelper.GetImageAsTexture("tribeicon_conkdor.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_conkdor.png", (FilterMode)0));
			num++;
			dinosaurTribe = TribeManager.Add("mushroom.pelts", "dinosaur", TextureHelper.GetImageAsTexture("tribeicon_dinosaur.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_dinosaur.png", (FilterMode)0));
			num++;
			ramTribe = TribeManager.Add("mushroom.pelts", "ram", TextureHelper.GetImageAsTexture("tribeicon_ram.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_ram.png", (FilterMode)0));
			num++;
			waddlewingTribe = TribeManager.Add("mushroom.pelts", "waddlewing", TextureHelper.GetImageAsTexture("tribeicon_waddlewing.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_waddlewing.png", (FilterMode)0));
			num++;
			cloudTribe = TribeManager.Add("mushroom.pelts", "cloud", TextureHelper.GetImageAsTexture("tribeicon_cloud.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_BASIC_cloud.png", (FilterMode)0));
			num++;
			organTribe = TribeManager.Add("mushroom.pelts", "organ", TextureHelper.GetImageAsTexture("tribeicon_organ.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_organ.png", (FilterMode)0));
			num++;
			itemboxTribe = TribeManager.Add("mushroom.pelts", "itembox", TextureHelper.GetImageAsTexture("tribeicon_itembox.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_itembox.png", (FilterMode)0));
			num++;
			electricityTribe = TribeManager.Add("mushroom.pelts", "electricity", TextureHelper.GetImageAsTexture("tribeicon_electricity.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_BASIC_electricity.png", (FilterMode)0));
			num++;
			platformTribe = TribeManager.Add("mushroom.pelts", "platform", TextureHelper.GetImageAsTexture("tribeicon_platform.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_platform.png", (FilterMode)0));
			num++;
			tanukiTribe = TribeManager.Add("mushroom.pelts", "tanuki", TextureHelper.GetImageAsTexture("tribeicon_tanuki.png", (FilterMode)0), true, TextureHelper.GetImageAsTexture("card_rewardback_MARIO_tanuki.png", (FilterMode)0));
			num++;
			((BaseUnityPlugin)this).Logger.LogInfo((object)$"Successfully Loaded {num} tribe(s)!");
		}
	}
	public static class PluginInfo
	{
		public const string PLUGIN_GUID = "MushroomTribes";

		public const string PLUGIN_NAME = "MushroomTribes";

		public const string PLUGIN_VERSION = "1.0.0";
	}
}