Please disclose if your mod was created primarily using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of RtDMagic v0.6.3
RtDMagic.dll
Decompiled 2 weeks ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.Configuration; using Jotunn.Configs; using Jotunn.Entities; using Jotunn.Managers; using Jotunn.Utils; using Microsoft.CodeAnalysis; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: AssemblyCompany("RtDMagic")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("RtDMagic")] [assembly: AssemblyTitle("RtDMagic")] [assembly: AssemblyVersion("1.0.0.0")] [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 RtDMagic { [BepInPlugin("Soloredis.RtDMagic", "RtDMagic", "0.6.3")] [NetworkCompatibility(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] public class RtDMagic : BaseUnityPlugin { public const string PluginGUID = "Soloredis.RtDMagic"; public const string PluginName = "RtDMagic"; public const string PluginVersion = "0.6.3"; public static bool isModded = true; public AssetBundle MyAssets; public ConfigEntry<bool> LoggingEnable; private CustomLocalization Localization; public ItemConfig MeadowsAirStaffA; public ItemConfig MeadowsAirStaffB; public ItemConfig MeadowsLighteningStaffA; public ItemConfig MeadowsLighteningStaffB; public ItemConfig MeadowsAirWandA; public ItemConfig MeadowsAirWandB; public ItemConfig BlackForestFireStaffA; public ItemConfig BlackForestFireStaffB; public ItemConfig BlackForestLightStaffA; public ItemConfig BlackForestLightStaffB; public ItemConfig BlackForestLightningWandA; public ItemConfig BlackForestLightningWandB; public ItemConfig BlackForestMageChestA; public ItemConfig BlackForestMageChestB; public ItemConfig BlackForestMageHoodA; public ItemConfig BlackForestMageHoodB; public ItemConfig BlackForestMageLegsA; public ItemConfig BlackForestMageLegsB; public ItemConfig SwampEarthStaffA; public ItemConfig SwampEarthStaffB; public ItemConfig SwampPoisonWandA; public ItemConfig SwampPoisonWandB; public ItemConfig SwampMageChestA; public ItemConfig SwampMageChestB; public ItemConfig SwampMageHoodA; public ItemConfig SwampMageHoodB; public ItemConfig SwampMageLegsA; public ItemConfig SwampMageLegsB; public ItemConfig SwampMageCapeA; public ItemConfig SwampMageCapeB; public ItemConfig MountainIceStaffA; public ItemConfig MountainIceStaffB; public ItemConfig MountainIceWandA; public ItemConfig MountainIceWandB; public ItemConfig MountainMageChestA; public ItemConfig MountainMageChestB; public ItemConfig MountainMageHoodA; public ItemConfig MountainMageHoodB; public ItemConfig MountainMageLegsA; public ItemConfig MountainMageLegsB; public ItemConfig MountainMageCapeA; public ItemConfig MountainMageCapeB; public ItemConfig PlainsVoidStaffA; public ItemConfig PlainsVoidStaffB; public ItemConfig PlainsVoidWandA; public ItemConfig PlainsVoidWandB; public ItemConfig PlainsMageChestA; public ItemConfig PlainsMageChestB; public ItemConfig PlainsMageHoodA; public ItemConfig PlainsMageHoodB; public ItemConfig PlainsMageLegsA; public ItemConfig PlainsMageLegsB; public ItemConfig PlainsMageCapeA; public ItemConfig PlainsMageCapeB; public ItemConfig MistlandsQuakeStaffA; public ItemConfig MistlandsQuakeStaffB; public ItemConfig MistlandsElementWandA; public ItemConfig MistlandsElementWandB; public ItemConfig MistlandsHoodA; public ItemConfig MistlandsHoodB; public ItemConfig MistlandsChestA; public ItemConfig MistlandsChestB; public ItemConfig MistlandsLegsA; public ItemConfig MistlandsLegsB; public ItemConfig MistlandsCapeA; public ItemConfig MistlandsCapeB; public ItemConfig AshLandsStaff1A; public ItemConfig AshLandsStaff1B; public ItemConfig AshLandsStaff2A; public ItemConfig AshLandsStaff2B; public ItemConfig AshLandsStaff3A; public ItemConfig AshLandsStaff3B; public ItemConfig AshLandsFireWandA; public ItemConfig AshLandsFireWandB; public ItemConfig AshLandsMageChestA; public ItemConfig AshLandsMageChestB; public ItemConfig AshLandsMageHoodA; public ItemConfig AshLandsMageHoodB; public ItemConfig AshLandsMageLegsA; public ItemConfig AshLandsMageLegsB; public ItemConfig DeepNorthStaff1A; public ItemConfig DeepNorthStaff1B; public ItemConfig DeepNorthStaff2A; public ItemConfig DeepNorthStaff2B; public ItemConfig DeepNorthStaff3A; public ItemConfig DeepNorthStaff3B; public ItemConfig DeepNorthArcaneWand1A; public ItemConfig DeepNorthArcaneWand1B; public ItemConfig DeepNorthMageChestA; public ItemConfig DeepNorthMageChestB; public ItemConfig DeepNorthMageHoodA; public ItemConfig DeepNorthMageHoodB; public ItemConfig DeepNorthMageLegsA; public ItemConfig DeepNorthMageLegsB; public ItemConfig HealingStaff_T1A; public ItemConfig HealingStaff_T1B; public ItemConfig HealingStaff_T2A; public ItemConfig HealingStaff_T2B; public ItemConfig HealingStaff_T3A; public ItemConfig HealingStaff_T3B; public ItemConfig HealingStaff_T4A; public ItemConfig HealingStaff_T4B; public ItemConfig SQueensJamA; public ItemConfig SQueensJamB; public ItemConfig SCarrotSoupA; public ItemConfig SCarrotSoupB; public ItemConfig SBlackSoupA; public ItemConfig SBlackSoupB; public ItemConfig STurnipStewA; public ItemConfig STurnipStewB; public ItemConfig SShockolateShakeA; public ItemConfig SShockolateShakeB; public ItemConfig SOnionSoupA; public ItemConfig SOnionSoupB; public ItemConfig SEyeScreamA; public ItemConfig SEyeScreamB; public ItemConfig SBloodPuddingA; public ItemConfig SBloodPuddingB; public ItemConfig Elemental1B; public ItemConfig Elemental1A; public ItemConfig Elemental2B; public ItemConfig Elemental2A; public ItemConfig Elemental3B; public ItemConfig Elemental3A; public ItemConfig Elemental4B; public ItemConfig Elemental4A; public ItemConfig Elemental5B; public ItemConfig Elemental5A; public ItemConfig Elemental6B; public ItemConfig Elemental6A; public ItemConfig Elemental7B; public ItemConfig Elemental7A; public ItemConfig Elemental8B; public ItemConfig Elemental8A; public string[] PrefabList; public string[] SFXList2; public string[] CustomStatusEffectList; private void Awake() { CreateConfigs(); LoadBundle(); AddSFX(); AddSE(); AddPrefabs(); LoadTranslations(); AddLocalizations(); PrefabManager.OnPrefabsRegistered += FixSFX2; PrefabManager.OnVanillaPrefabsAvailable += ModifyItems; if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogWarning((object)"Logging is enabled in the config."); } PrefabManager.OnPrefabsRegistered += AddRecipes; PrefabManager.OnPrefabsRegistered += ElementalRecipes; } private void LoadBundle() { try { MyAssets = AssetUtils.LoadAssetBundleFromResources("magicproject", Assembly.GetExecutingAssembly()); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while loading bundle: {arg}"); } } private void LoadTranslations() { TextAsset[] array = MyAssets.LoadAllAssets<TextAsset>(); TextAsset[] array2 = array; foreach (TextAsset val in array2) { string text = ((Object)val).name.Replace("_RtDAdditions.json", null); Localization.AddJsonFile(text, ((object)val).ToString()); } } private void AddLocalizations() { Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization = Localization; string text = "English"; localization.AddTranslation(ref text, new Dictionary<string, string> { { "AshLandsMageChest_RtD", "<#9289AA>Mage Ljósálfar Robes" }, { "AshLandsMageChest_desc_RtD", "Robes expertly crafted for magic users in South Alfheimr." }, { "AshLandsMageHood_RtD", "<#9289AA>Mage Ljósálfar Hood" }, { "AshLandsMageHood_desc_RtD", "A powerful hood made of the hide from a demon for magic users in South Alfheimr." }, { "AshLandsMageLegs_RtD", "<#9289AA>Mage Ljósálfar Legs" }, { "AshLandsMageLegs_desc_RtD", "Legs specially crafted for magic users in South Alfheimr." }, { "BlackForestMageChest_RtD", "<#9289AA>Mage Forest Garment" }, { "BlackForestMageChest_desc_RtD", "A robe specially crafted for magic users in the Black Forest." }, { "BlackForestMageHood_RtD", "<#9289AA>Mage Forest Hood" }, { "BlackForestMageHood_desc_RtD", "A hood specially crafted for magic users in the Black Forest." }, { "BlackForestMageLegs_RtD", "<#9289AA>Mage Forest Legs" }, { "BlackForestMageLegs_desc_RtD", "Legs specially crafted for magic users in the Black Forest." }, { "DeepNorthMageChest_RtD", "<#9289AA>Mage Fae Robes" }, { "DeepNorthMageChest_desc_RtD", "Fit for Arcane mages, wizards & healers" }, { "DeepNorthMageHood_RtD", "<#9289AA>Mage Fae Hood" }, { "DeepNorthMageHood_desc_RtD", "Used by Arcane mages, wizards, & healers." }, { "DeepNorthMageLegs_RtD", "<#9289AA>Mage Fae Legs" }, { "DeepNorthMageLegs_desc_RtD", "<#9289AA>Mage Fae Legs" }, { "MountainMageCape_RtD", "<#9289AA>Mage Frostfell Wrap" }, { "MountainMageCape_desc_RtD", "A wrap specially crafted for magic users in the Mountains." }, { "MountainMageChest_RtD", "<#9289AA>Mage Frostfell Tunic" }, { "MountainMageChest_desc_RtD", "A tunic specially crafted for magic users in the Mountains." }, { "MountainMageHood_RtD", "<#9289AA>Mage Frostfell Hood" }, { "MountainMageHood_desc_RtD", "A hood specially crafted for magic users in the Mountains." }, { "MountainMageLegs_RtD", "<#9289AA>Mage Frostfell Legs" }, { "MountainMageLegs_desc_RtD", "Legs specially crafted for magic users in the Mountains." }, { "PlainsMageCape_RtD", "<#9289AA>Mage Lox Cloak" }, { "PlainsMageCape_desc_RtD", "A cloak specially crafted for magic users in the Plains." }, { "PlainsMageChest_RtD", "<#9289AA>Mage Lox Raiment" }, { "PlainsMageChest_desc_RtD", "A robe specially crafted for magic users in the Plains." }, { "PlainsMageHood_RtD", "<#9289AA>Mage Lox Hood" }, { "PlainsMageHood_desc_RtD", "A hood specially crafted for magic users in the Plains." }, { "PlainsMageLegs_RtD", "<#9289AA>Mage Lox Pants" }, { "PlainsMageLegs_desc_RtD", "A pair of pants specially crafted for magic users in the Plains." }, { "SwampMageCape_RtD", "<#9289AA>Mage Blood Drape" }, { "SwampMageCape_desc_RtD", "A drape specially crafted for magic users in the Swamp." }, { "SwampMageChest_RtD", "<#9289AA>Mage Blood Garment" }, { "SwampMageChest_desc_RtD", "A robe specially crafted for magic users in the Swamp. It has been created using the finest deer hide and guck." }, { "SwampMageHood_RtD", "<#9289AA>Mage Blood Hood" }, { "SwampMageHood_desc_RtD", "A hood specially crafted for magic users in the Swamp." }, { "SwampMageLegs_RtD", "<#9289AA>Mage Blood Legs" }, { "SwampMageLegs_desc_RtD", "These legs are specially crafted for magic users in the Swamp and are recommended to prevent the creatures there from biting your ankles." }, { "HealingStaff_T1_RtD", "<#FFA089>Eir Staff T1" }, { "HealingStaff_T1_desc_RtD", "A healing staff that provides basic heals." }, { "HealingStaff_T2_RtD", "<#FF9075>Eir Staff T2" }, { "HealingStaff_T2_desc_RtD", "A healing staff that provides minor heals." }, { "HealingStaff_T3_RtD", "<#FF8062>Eir Staff T3" }, { "HealingStaff_T3_desc_RtD", "A healing staff that provides strong heals." }, { "HealingStaff_T4_RtD", "<#FF714E>Eir Staff T4" }, { "HealingStaff_T4_desc_RtD", "A healing staff that provides very strong heals." }, { "AshLandsStaff1_RtD", "<#C5B358>Freyr Staff T1" }, { "AshLandsStaff1_desc_RtD", "A powerful Staff" }, { "AshLandsStaff2_RtD", "<#C5B358>Freyr Staff T2" }, { "AshLandsStaff2_desc_RtD", "A powerful Staff" }, { "AshLandsStaff3_RtD", "<#C5B358>Freyr Staff T3" }, { "AshLandsStaff3_desc_RtD", "A powerful Staff" }, { "BlackForestFireStaff_RtD", "<#B22222>Fire Staff" }, { "BlackForestFireStaff_desc_RtD", "A powerful Staff" }, { "BlackForestLightStaff_RtD", "<#ADD8E6>Light Staff" }, { "BlackForestLightStaff_desc_RtD", "A powerful Staff" }, { "DeepNorthStaff1_RtD", "<#5218FA>Arcane Staff T1" }, { "DeepNorthStaff1_desc_RtD", "A powerful Staff" }, { "DeepNorthStaff2_RtD", "<#6531FB>Arcane Staff T2" }, { "DeepNorthStaff2_desc_RtD", "A powerful Staff" }, { "DeepNorthStaff3_RtD", "<#774AFB>Arcane Staff T3" }, { "DeepNorthStaff3_desc_RtD", "A powerful Staff" }, { "MeadowsAirStaff_RtD", "<#5D8AA8>Air Staff" }, { "MeadowsAirStaff_desc_RtD", "The staff is powered by air." }, { "MeadowsLighteningStaff_RtD", "<#FBC72A>Lightning Staff" }, { "MeadowsLighteningStaff_desc_RtD", "The staff is powered by lightning." }, { "MistlandsQuakeStaff_RtD", "<#E0ECF5>Mistwalker Staff" }, { "MistlandsQuakeStaff_desc_RtD", "A powerful Staff" }, { "MountainIceStaff_RtD", "<#76A5AF>Ice Staff" }, { "MountainIceStaff_desc_RtD", "The staff is powered by ice." }, { "PlainsVoidStaff_RtD", "<#AA08D0>Void Staff" }, { "PlainsVoidStaff_desc_RtD", "The staff is powered by darkness." }, { "SwampEarthStaff_RtD", "<#CAE2C2>Earth Staff" }, { "SwampEarthStaff_desc_RtD", "The staff is powered by the earth." }, { "AshLandsFireWand_RtD", "Fire Wand" }, { "AshLandsFireWand_desc_RtD", "Its warm to the touch" }, { "BlackForestLightningWand_RtD", "<#FBC72A>Lightning Wand" }, { "BlackForestLightningWand_desc_RtD", "A shocking amount of power" }, { "DeepNorthArcaneWand_RtD", "<#5218FA>Arcane Wand" }, { "DeepNorthArcaneWand_desc_RtD", "An elegant wand humming with power." }, { "MeadowsAirWand_RtD", "<#5D8AA8>Air Wand" }, { "MeadowsAirWand_desc_RtD", "Ground you to the earth" }, { "MistlandsElementWand_RtD", "<#E0ECF5>Element Wand" }, { "MistlandsElementWand_desc_RtD", "Ancient Magicks" }, { "MountainIceWand_RtD", "<#76A5AF>Ice Wand" }, { "MountainIceWand_desc_RtD", "The wand is powered by cold, icy winds." }, { "PlainsVoidWand_RtD", "<#AA08D0>Void Wand" }, { "PlainsVoidWand_desc_RtD", "Darkness surrounds the wand" }, { "SwampPoisonWand_RtD", "<#CAE2C2>Poison Wand" }, { "SwampPoisonWand_desc_RtD", "The wand is powered by poison and provides a slow death." }, { "SBlackSoup_RtD", "Swamp Soup" }, { "SBlackSoup_desc_RtD", "Probably won't make you sick." }, { "SBloodPudding_RtD", "Magic Blood Pudding." }, { "SBloodPudding_desc_RtD", "Questionable choice of food." }, { "SCarrotSoup_RtD", "Simple Soup" }, { "SCarrotSoup_desc_RtD", "New look, same great taste!" }, { "SEyeScream_RtD", "Magic Eyescream" }, { "SEyeScream_desc_RtD", "Cold enough to give you a chill brain freeze." }, { "SOnionSoup_RtD", "Cold Soup" }, { "SOnionSoup_desc_RtD", "Probably will give you bad breath." }, { "SQueensJam_RtD", "Magic Jam" }, { "SQueensJam_desc_RtD", "Dont drop the jar, it would be a sticky situation." }, { "SShockolateShake_RtD", "Shockolate Shake" }, { "SShockolateShake_desc_RtD", "Made using poison ingredients like fast food." }, { "STurnipStew_RtD", "Vegetable Stew" }, { "STurnipStew_desc_RtD", "At least it has Turnips." }, { "SE_MageArmorAshLands_RtD", "Wizardry" }, { "SE_MageArmorAshLands_desc_RtD", "Mage Set" }, { "SE_MageArmorBlackForest_RtD", "Wizardry" }, { "SE_MageArmorBlackForest_desc_RtD", "Mage Set" }, { "SE_MageArmorDeepNorth_RtD", "Wizardry" }, { "SE_MageArmorDeepNorth_desc_RtD", "Mage Set" }, { "SE_MageArmorMistlands_RtD", "Wizardry" }, { "SE_MageArmorMistlands_desc_RtD", "Mage Set" }, { "SE_MageArmorMountain_RtD", "Wizardry" }, { "SE_MageArmorMountain_desc_RtD", "Mage Set" }, { "SE_MageArmorPlains_RtD", "Wizardry" }, { "SE_MageArmorPlains_desc_RtD", "Mage Set" }, { "SE_MageArmorSwamp_RtD", "Wizardry" }, { "SE_MageArmorSwamp_desc_RtD", "Mage Set" }, { "MistlandsMageCape_RtD", "<#E0ECF5>Mistwalker Cape" }, { "MistlandsMageCape_desc_RtD", "A cape designed with mystical power, crafted for Mages." }, { "MistlandsMageChest_RtD", "<#E0ECF5>Mistwalker Chest" }, { "MistlandsMageChest_desc_RtD", "Robes designed with mystical power, crafted for Mages." }, { "MistlandsMageHood_RtD", "<#E0ECF5>Mistwalker Hood" }, { "MistlandsMageHood_desc_RtD", "A Hood designed with mystical power, crafted for Mages." }, { "MistlandsMageLegs_RtD", "<#E0ECF5>Mistwalker Legs" }, { "MistlandsMageLegs_desc_RtD", "Pants designed with mystical power, crafted for Mages." }, { "MeadowsElemental_RtD", "<#E0ECF5>Storm Orb " }, { "MeadowsElemental_desc_RtD", "An elemental designed with mystical power, crafted for Mages." }, { "BlackForestElemental_RtD", "<#E0ECF5>Star Orb " }, { "BlackForestElemental_desc_RtD", "An elemental designed with mystical power, crafted for Mages." }, { "SwampElemental_RtD", "<#E0ECF5>Nature Orb " }, { "SwampElemental_desc_RtD", "An elemental designed with mystical power, crafted for Mages." }, { "MountainElemental_RtD", "<#E0ECF5>Snow Orb " }, { "MountainElemental_desc_RtD", "An elemental designed with mystical power, crafted for Mages." }, { "PlainsElemental_RtD", "<#E0ECF5>Void Orb " }, { "PlainsElemental_desc_RtD", "An elemental designed with mystical power, crafted for Mages." }, { "MistlandsElemental_RtD", "<#E0ECF5>Whisp Orb " }, { "MistlandsElemental_desc_RtD", "An elemental designed with mystical power, crafted for Mages." }, { "AshLandsElemental_RtD", "<#E0ECF5>Ash Orb " }, { "AshLandsElemental_desc_RtD", "An elemental designed with mystical power, crafted for Mages." }, { "DeepNorthElemental_RtD", "<#E0ECF5>Arcane Orb " }, { "DeepNorthElemental_desc_RtD", "An elemental designed with mystical power, crafted for Mages." } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization2 = Localization; text = "French"; localization2.AddTranslation(ref text, new Dictionary<string, string> { { "MeadowsAirStaff_RtD", "Bâton de l'Air des Prés" }, { "MeadowsLighteningStaff_RtD", "Bâton de Foudre des Prés" }, { "BlackForestFireStaff_RtD", "Bâton de Feu de la Forêt Noire" }, { "BlackForestLightStaff_RtD", "Bâton de Lumière de la Forêt Noire" }, { "SwampEarthStaff_RtD", "Bâton de Terre du Marais" }, { "MountainIceStaff_RtD", "Bâton de Glace des Montagnes" }, { "PlainsVoidStaff_RtD", "Bâton du Néant des Plaines" }, { "MistlandsQuakeStaff_RtD", "Bâton du Séisme des Terres Brumeuses" }, { "AshLandsStaff1_RtD", "Bâton des Cendres 1" }, { "AshLandsStaff2_RtD", "Bâton des Cendres 2" }, { "AshLandsStaff3_RtD", "Bâton des Cendres 3" }, { "DeepNorthStaff1_RtD", "Bâton du Grand Nord 1" }, { "DeepNorthStaff2_RtD", "Bâton du Grand Nord 2" }, { "DeepNorthStaff3_RtD", "Bâton du Grand Nord 3" }, { "HealingStaff_T1_RtD", "Bâton de Soin T1" }, { "HealingStaff_T2_RtD", "Bâton de Soin T2" }, { "HealingStaff_T3_RtD", "Bâton de Soin T3" }, { "HealingStaff_T4_RtD", "Bâton de Soin T4" }, { "MeadowsAirWand_RtD", "Baguette de l'Air des Prés" }, { "BlackForestLightningWand_RtD", "Baguette de Foudre de la Forêt Noire" }, { "SwampPoisonWand_RtD", "Baguette de Poison du Marais" }, { "MountainIceWand_RtD", "Baguette de Glace des Montagnes" }, { "PlainsVoidWand_RtD", "Baguette du Néant des Plaines" }, { "MistlandsElementWand_RtD", "Baguette Élémentaire des Terres Brumeuses" }, { "AshLandsFireWand_RtD", "Baguette de Feu des Terres de Cendres" }, { "DeepNorthArcaneWand_RtD", "Baguette Arcanique du Grand Nord" }, { "PlainsMageCape_RtD", "Cape de Mage des Plaines" }, { "PlainsMageChest_RtD", "Tunique de Mage des Plaines" }, { "PlainsMageHood_RtD", "Capuche de Mage des Plaines" }, { "PlainsMageLegs_RtD", "Jambières de Mage des Plaines" }, { "AshLandsMageCape_RtD", "Cape de Mage des Terres de Cendres" }, { "AshLandsMageChest_RtD", "Tunique de Mage des Terres de Cendres" }, { "AshLandsMageHood_RtD", "Capuche de Mage des Terres de Cendres" }, { "AshLandsMageLegs_RtD", "Jambières de Mage des Terres de Cendres" }, { "MountainMageCape_RtD", "Cape de Mage des Montagnes" }, { "MountainMageChest_RtD", "Tunique de Mage des Montagnes" }, { "MountainMageHood_RtD", "Capuche de Mage des Montagnes" }, { "MountainMageLegs_RtD", "Jambières de Mage des Montagnes" }, { "DeepNorthMageCape_RtD", "Cape de Mage du Grand Nord" }, { "DeepNorthMageChest_RtD", "Tunique de Mage du Grand Nord" }, { "DeepNorthMageHood_RtD", "Capuche de Mage du Grand Nord" }, { "DeepNorthMageLegs_RtD", "Jambières de Mage du Grand Nord" }, { "SwampMageCape_RtD", "Cape de Mage du Marais" }, { "SwampMageChest_RtD", "Tunique de Mage du Marais" }, { "SwampMageHood_RtD", "Capuche de Mage du Marais" }, { "SwampMageLegs_RtD", "Jambières de Mage du Marais" }, { "BlackForestMageChest_RtD", "Tunique de Mage de la Forêt Noire" }, { "BlackForestMageHood_RtD", "Capuche de Mage de la Forêt Noire" }, { "BlackForestMageLegs_RtD", "Jambières de Mage de la Forêt Noire" } }); } public void CreateConfigs() { //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Expected O, but got Unknown //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0047: Expected O, but got Unknown try { ((BaseUnityPlugin)this).Config.SaveOnConfigSet = true; LoggingEnable = ((BaseUnityPlugin)this).Config.Bind<bool>("Logging", "Enable", false, new ConfigDescription("Enables logging.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true } })); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding configuration values: {arg}"); } } private void AddRecipes() { //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Expected O, but got Unknown //IL_0122: Unknown result type (might be due to invalid IL or missing references) //IL_0129: Expected O, but got Unknown //IL_01f6: Unknown result type (might be due to invalid IL or missing references) //IL_01fd: Expected O, but got Unknown //IL_02cc: Unknown result type (might be due to invalid IL or missing references) //IL_02d3: Expected O, but got Unknown //IL_03a2: Unknown result type (might be due to invalid IL or missing references) //IL_03a9: Expected O, but got Unknown //IL_0478: Unknown result type (might be due to invalid IL or missing references) //IL_047f: Expected O, but got Unknown //IL_054e: Unknown result type (might be due to invalid IL or missing references) //IL_0555: Expected O, but got Unknown //IL_0624: Unknown result type (might be due to invalid IL or missing references) //IL_062b: Expected O, but got Unknown //IL_06fa: Unknown result type (might be due to invalid IL or missing references) //IL_0701: Expected O, but got Unknown //IL_07d0: Unknown result type (might be due to invalid IL or missing references) //IL_07d7: Expected O, but got Unknown //IL_08a6: Unknown result type (might be due to invalid IL or missing references) //IL_08ad: Expected O, but got Unknown //IL_097c: Unknown result type (might be due to invalid IL or missing references) //IL_0983: Expected O, but got Unknown //IL_0a52: Unknown result type (might be due to invalid IL or missing references) //IL_0a59: Expected O, but got Unknown //IL_0b28: Unknown result type (might be due to invalid IL or missing references) //IL_0b2f: Expected O, but got Unknown //IL_0bfe: Unknown result type (might be due to invalid IL or missing references) //IL_0c05: Expected O, but got Unknown //IL_0cd4: Unknown result type (might be due to invalid IL or missing references) //IL_0cdb: Expected O, but got Unknown //IL_0daa: Unknown result type (might be due to invalid IL or missing references) //IL_0db1: Expected O, but got Unknown //IL_0e80: Unknown result type (might be due to invalid IL or missing references) //IL_0e87: Expected O, but got Unknown //IL_0f56: Unknown result type (might be due to invalid IL or missing references) //IL_0f5d: Expected O, but got Unknown //IL_102c: Unknown result type (might be due to invalid IL or missing references) //IL_1033: Expected O, but got Unknown //IL_1102: Unknown result type (might be due to invalid IL or missing references) //IL_1109: Expected O, but got Unknown //IL_11d8: Unknown result type (might be due to invalid IL or missing references) //IL_11df: Expected O, but got Unknown //IL_12ae: Unknown result type (might be due to invalid IL or missing references) //IL_12b5: Expected O, but got Unknown //IL_1384: Unknown result type (might be due to invalid IL or missing references) //IL_138b: Expected O, but got Unknown //IL_145a: Unknown result type (might be due to invalid IL or missing references) //IL_1461: Expected O, but got Unknown //IL_1530: Unknown result type (might be due to invalid IL or missing references) //IL_1537: Expected O, but got Unknown //IL_1606: Unknown result type (might be due to invalid IL or missing references) //IL_160d: Expected O, but got Unknown //IL_16e4: Unknown result type (might be due to invalid IL or missing references) //IL_16ed: Expected O, but got Unknown //IL_17e2: Unknown result type (might be due to invalid IL or missing references) //IL_17eb: Expected O, but got Unknown //IL_18e0: Unknown result type (might be due to invalid IL or missing references) //IL_18e9: Expected O, but got Unknown //IL_19de: Unknown result type (might be due to invalid IL or missing references) //IL_19e7: Expected O, but got Unknown //IL_1adc: Unknown result type (might be due to invalid IL or missing references) //IL_1ae5: Expected O, but got Unknown //IL_1bda: Unknown result type (might be due to invalid IL or missing references) //IL_1be3: Expected O, but got Unknown //IL_1cd8: Unknown result type (might be due to invalid IL or missing references) //IL_1ce1: Expected O, but got Unknown //IL_1dd6: Unknown result type (might be due to invalid IL or missing references) //IL_1ddf: Expected O, but got Unknown //IL_1ed4: Unknown result type (might be due to invalid IL or missing references) //IL_1edd: Expected O, but got Unknown //IL_1fd2: Unknown result type (might be due to invalid IL or missing references) //IL_1fdb: Expected O, but got Unknown //IL_20d0: Unknown result type (might be due to invalid IL or missing references) //IL_20d9: Expected O, but got Unknown //IL_21ce: Unknown result type (might be due to invalid IL or missing references) //IL_21d7: Expected O, but got Unknown //IL_22cc: Unknown result type (might be due to invalid IL or missing references) //IL_22d5: Expected O, but got Unknown //IL_23ca: Unknown result type (might be due to invalid IL or missing references) //IL_23d3: Expected O, but got Unknown //IL_24c8: Unknown result type (might be due to invalid IL or missing references) //IL_24d1: Expected O, but got Unknown //IL_25c6: Unknown result type (might be due to invalid IL or missing references) //IL_25cf: Expected O, but got Unknown //IL_26c4: Unknown result type (might be due to invalid IL or missing references) //IL_26cd: Expected O, but got Unknown //IL_27c2: Unknown result type (might be due to invalid IL or missing references) //IL_27cb: Expected O, but got Unknown //IL_28c0: Unknown result type (might be due to invalid IL or missing references) //IL_28c9: Expected O, but got Unknown //IL_29be: Unknown result type (might be due to invalid IL or missing references) //IL_29c7: Expected O, but got Unknown //IL_2abc: Unknown result type (might be due to invalid IL or missing references) //IL_2ac5: Expected O, but got Unknown //IL_2bba: Unknown result type (might be due to invalid IL or missing references) //IL_2bc3: Expected O, but got Unknown //IL_2cb8: Unknown result type (might be due to invalid IL or missing references) //IL_2cc1: Expected O, but got Unknown //IL_2db6: Unknown result type (might be due to invalid IL or missing references) //IL_2dbf: Expected O, but got Unknown //IL_2eb4: Unknown result type (might be due to invalid IL or missing references) //IL_2ebd: Expected O, but got Unknown //IL_2fb2: Unknown result type (might be due to invalid IL or missing references) //IL_2fbb: Expected O, but got Unknown //IL_30b0: Unknown result type (might be due to invalid IL or missing references) //IL_30b9: Expected O, but got Unknown //IL_31ae: Unknown result type (might be due to invalid IL or missing references) //IL_31b7: Expected O, but got Unknown //IL_32ac: Unknown result type (might be due to invalid IL or missing references) //IL_32b5: Expected O, but got Unknown //IL_33aa: Unknown result type (might be due to invalid IL or missing references) //IL_33b3: Expected O, but got Unknown //IL_34a8: Unknown result type (might be due to invalid IL or missing references) //IL_34b1: Expected O, but got Unknown //IL_35a6: Unknown result type (might be due to invalid IL or missing references) //IL_35af: Expected O, but got Unknown try { GameObject val = MyAssets.LoadAsset<GameObject>("MeadowsAirStaff_RtD"); if ((Object)(object)val != (Object)null) { GameObject prefab = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val2 = ((!Object.op_Implicit((Object)(object)prefab)) ? MeadowsAirStaffB : MeadowsAirStaffA); CustomItem val3 = new CustomItem(val, true, val2); ItemManager.Instance.AddItem(val3); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val)?.ToString() + " to the Item Table")); } GameObject val4 = MyAssets.LoadAsset<GameObject>("MeadowsLighteningStaff_RtD"); if ((Object)(object)val4 != (Object)null) { GameObject prefab2 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val5 = ((!Object.op_Implicit((Object)(object)prefab2)) ? MeadowsLighteningStaffB : MeadowsLighteningStaffA); CustomItem val6 = new CustomItem(val4, true, val5); ItemManager.Instance.AddItem(val6); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val4)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val4)?.ToString() + " to the Item Table")); } GameObject val7 = MyAssets.LoadAsset<GameObject>("MeadowsAirWand_RtD"); if ((Object)(object)val7 != (Object)null) { GameObject prefab3 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val8 = ((!Object.op_Implicit((Object)(object)prefab3)) ? MeadowsAirWandB : MeadowsAirWandA); CustomItem val9 = new CustomItem(val7, true, val8); ItemManager.Instance.AddItem(val9); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val7)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val7)?.ToString() + " to the Item Table")); } GameObject val10 = MyAssets.LoadAsset<GameObject>("BlackForestFireStaff_RtD"); if ((Object)(object)val10 != (Object)null) { GameObject prefab4 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val11 = ((!Object.op_Implicit((Object)(object)prefab4)) ? BlackForestFireStaffB : BlackForestFireStaffA); CustomItem val12 = new CustomItem(val10, true, val11); ItemManager.Instance.AddItem(val12); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val10)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val10)?.ToString() + " to the Item Table")); } GameObject val13 = MyAssets.LoadAsset<GameObject>("BlackForestLightStaff_RtD"); if ((Object)(object)val13 != (Object)null) { GameObject prefab5 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val14 = ((!Object.op_Implicit((Object)(object)prefab5)) ? BlackForestLightStaffB : BlackForestLightStaffA); CustomItem val15 = new CustomItem(val13, true, val14); ItemManager.Instance.AddItem(val15); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val13)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val13)?.ToString() + " to the Item Table")); } GameObject val16 = MyAssets.LoadAsset<GameObject>("BlackForestLightningWand_RtD"); if ((Object)(object)val16 != (Object)null) { GameObject prefab6 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val17 = ((!Object.op_Implicit((Object)(object)prefab6)) ? BlackForestLightningWandB : BlackForestLightningWandA); CustomItem val18 = new CustomItem(val16, true, val17); ItemManager.Instance.AddItem(val18); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val16)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val16)?.ToString() + " to the Item Table")); } GameObject val19 = MyAssets.LoadAsset<GameObject>("BlackForestMageChest_RtD"); if ((Object)(object)val19 != (Object)null) { GameObject prefab7 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val20 = ((!Object.op_Implicit((Object)(object)prefab7)) ? BlackForestMageChestB : BlackForestMageChestA); CustomItem val21 = new CustomItem(val19, true, val20); ItemManager.Instance.AddItem(val21); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val19)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val19)?.ToString() + " to the Item Table")); } GameObject val22 = MyAssets.LoadAsset<GameObject>("BlackForestMageHood_RtD"); if ((Object)(object)val22 != (Object)null) { GameObject prefab8 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val23 = ((!Object.op_Implicit((Object)(object)prefab8)) ? BlackForestMageHoodB : BlackForestMageHoodA); CustomItem val24 = new CustomItem(val22, true, val23); ItemManager.Instance.AddItem(val24); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val22)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val22)?.ToString() + " to the Item Table")); } GameObject val25 = MyAssets.LoadAsset<GameObject>("BlackForestMageLegs_RtD"); if ((Object)(object)val25 != (Object)null) { GameObject prefab9 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val26 = ((!Object.op_Implicit((Object)(object)prefab9)) ? BlackForestMageLegsB : BlackForestMageLegsA); CustomItem val27 = new CustomItem(val25, true, val26); ItemManager.Instance.AddItem(val27); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val25)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val25)?.ToString() + " to the Item Table")); } GameObject val28 = MyAssets.LoadAsset<GameObject>("SwampEarthStaff_RtD"); if ((Object)(object)val28 != (Object)null) { GameObject prefab10 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val29 = ((!Object.op_Implicit((Object)(object)prefab10)) ? SwampEarthStaffB : SwampEarthStaffA); CustomItem val30 = new CustomItem(val28, true, val29); ItemManager.Instance.AddItem(val30); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val28)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val28)?.ToString() + " to the Item Table")); } GameObject val31 = MyAssets.LoadAsset<GameObject>("SwampPoisonWand_RtD"); if ((Object)(object)val31 != (Object)null) { GameObject prefab11 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val32 = ((!Object.op_Implicit((Object)(object)prefab11)) ? SwampPoisonWandB : SwampPoisonWandA); CustomItem val33 = new CustomItem(val31, true, val32); ItemManager.Instance.AddItem(val33); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val31)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val31)?.ToString() + " to the Item Table")); } GameObject val34 = MyAssets.LoadAsset<GameObject>("SwampMageChest_RtD"); if ((Object)(object)val34 != (Object)null) { GameObject prefab12 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val35 = ((!Object.op_Implicit((Object)(object)prefab12)) ? SwampMageChestB : SwampMageChestA); CustomItem val36 = new CustomItem(val34, true, val35); ItemManager.Instance.AddItem(val36); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val34)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val34)?.ToString() + " to the Item Table")); } GameObject val37 = MyAssets.LoadAsset<GameObject>("SwampMageHood_RtD"); if ((Object)(object)val37 != (Object)null) { GameObject prefab13 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val38 = ((!Object.op_Implicit((Object)(object)prefab13)) ? SwampMageHoodB : SwampMageHoodA); CustomItem val39 = new CustomItem(val37, true, val38); ItemManager.Instance.AddItem(val39); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val37)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val37)?.ToString() + " to the Item Table")); } GameObject val40 = MyAssets.LoadAsset<GameObject>("SwampMageLegs_RtD"); if ((Object)(object)val40 != (Object)null) { GameObject prefab14 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val41 = ((!Object.op_Implicit((Object)(object)prefab14)) ? SwampMageLegsB : SwampMageLegsA); CustomItem val42 = new CustomItem(val40, true, val41); ItemManager.Instance.AddItem(val42); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val40)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val40)?.ToString() + " to the Item Table")); } GameObject val43 = MyAssets.LoadAsset<GameObject>("SwampMageCape_RtD"); if ((Object)(object)val43 != (Object)null) { GameObject prefab15 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val44 = ((!Object.op_Implicit((Object)(object)prefab15)) ? SwampMageCapeB : SwampMageCapeA); CustomItem val45 = new CustomItem(val43, true, val44); ItemManager.Instance.AddItem(val45); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val43)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val43)?.ToString() + " to the Item Table")); } GameObject val46 = MyAssets.LoadAsset<GameObject>("MountainIceStaff_RtD"); if ((Object)(object)val46 != (Object)null) { GameObject prefab16 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val47 = ((!Object.op_Implicit((Object)(object)prefab16)) ? MountainIceStaffB : MountainIceStaffA); CustomItem val48 = new CustomItem(val46, true, val47); ItemManager.Instance.AddItem(val48); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val46)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val46)?.ToString() + " to the Item Table")); } GameObject val49 = MyAssets.LoadAsset<GameObject>("MountainIceWand_RtD"); if ((Object)(object)val49 != (Object)null) { GameObject prefab17 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val50 = ((!Object.op_Implicit((Object)(object)prefab17)) ? MountainIceWandB : MountainIceWandA); CustomItem val51 = new CustomItem(val49, true, val50); ItemManager.Instance.AddItem(val51); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val49)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val49)?.ToString() + " to the Item Table")); } GameObject val52 = MyAssets.LoadAsset<GameObject>("MountainMageChest_RtD"); if ((Object)(object)val52 != (Object)null) { GameObject prefab18 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val53 = ((!Object.op_Implicit((Object)(object)prefab18)) ? MountainMageChestB : MountainMageChestA); CustomItem val54 = new CustomItem(val52, true, val53); ItemManager.Instance.AddItem(val54); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val52)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val52)?.ToString() + " to the Item Table")); } GameObject val55 = MyAssets.LoadAsset<GameObject>("MountainMageHood_RtD"); if ((Object)(object)val55 != (Object)null) { GameObject prefab19 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val56 = ((!Object.op_Implicit((Object)(object)prefab19)) ? MountainMageHoodB : MountainMageHoodA); CustomItem val57 = new CustomItem(val55, true, val56); ItemManager.Instance.AddItem(val57); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val55)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val55)?.ToString() + " to the Item Table")); } GameObject val58 = MyAssets.LoadAsset<GameObject>("MountainMageLegs_RtD"); if ((Object)(object)val58 != (Object)null) { GameObject prefab20 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val59 = ((!Object.op_Implicit((Object)(object)prefab20)) ? MountainMageLegsB : MountainMageLegsA); CustomItem val60 = new CustomItem(val58, true, val59); ItemManager.Instance.AddItem(val60); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val58)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val58)?.ToString() + " to the Item Table")); } GameObject val61 = MyAssets.LoadAsset<GameObject>("MountainMageCape_RtD"); if ((Object)(object)val61 != (Object)null) { GameObject prefab21 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val62 = ((!Object.op_Implicit((Object)(object)prefab21)) ? MountainMageCapeB : MountainMageCapeA); CustomItem val63 = new CustomItem(val61, true, val62); ItemManager.Instance.AddItem(val63); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val61)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val61)?.ToString() + " to the Item Table")); } GameObject val64 = MyAssets.LoadAsset<GameObject>("PlainsVoidStaff_RtD"); if ((Object)(object)val64 != (Object)null) { GameObject prefab22 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val65 = ((!Object.op_Implicit((Object)(object)prefab22)) ? PlainsVoidStaffB : PlainsVoidStaffA); CustomItem val66 = new CustomItem(val64, true, val65); ItemManager.Instance.AddItem(val66); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val64)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val64)?.ToString() + " to the Item Table")); } GameObject val67 = MyAssets.LoadAsset<GameObject>("PlainsVoidWand_RtD"); if ((Object)(object)val67 != (Object)null) { GameObject prefab23 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val68 = ((!Object.op_Implicit((Object)(object)prefab23)) ? PlainsVoidWandB : PlainsVoidWandA); CustomItem val69 = new CustomItem(val67, true, val68); ItemManager.Instance.AddItem(val69); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val67)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val67)?.ToString() + " to the Item Table")); } GameObject val70 = MyAssets.LoadAsset<GameObject>("PlainsMageChest_RtD"); if ((Object)(object)val70 != (Object)null) { GameObject prefab24 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val71 = ((!Object.op_Implicit((Object)(object)prefab24)) ? PlainsMageChestB : PlainsMageChestA); CustomItem val72 = new CustomItem(val70, true, val71); ItemManager.Instance.AddItem(val72); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val70)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val70)?.ToString() + " to the Item Table")); } GameObject val73 = MyAssets.LoadAsset<GameObject>("PlainsMageHood_RtD"); if ((Object)(object)val73 != (Object)null) { GameObject prefab25 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val74 = ((!Object.op_Implicit((Object)(object)prefab25)) ? PlainsMageHoodB : PlainsMageHoodA); CustomItem val75 = new CustomItem(val73, true, val74); ItemManager.Instance.AddItem(val75); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val73)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val73)?.ToString() + " to the Item Table")); } GameObject val76 = MyAssets.LoadAsset<GameObject>("PlainsMageLegs_RtD"); if ((Object)(object)val76 != (Object)null) { GameObject prefab26 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val77 = ((!Object.op_Implicit((Object)(object)prefab26)) ? PlainsMageLegsB : PlainsMageLegsA); CustomItem val78 = new CustomItem(val76, true, val77); ItemManager.Instance.AddItem(val78); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val76)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val76)?.ToString() + " to the Item Table")); } GameObject val79 = MyAssets.LoadAsset<GameObject>("PlainsMageCape_RtD"); if ((Object)(object)val79 != (Object)null) { GameObject prefab27 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val80 = ((!Object.op_Implicit((Object)(object)prefab27)) ? PlainsMageCapeB : PlainsMageCapeA); CustomItem val81 = new CustomItem(val79, true, val80); ItemManager.Instance.AddItem(val81); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val79)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val79)?.ToString() + " to the Item Table")); } GameObject val82 = MyAssets.LoadAsset<GameObject>("MistlandsQuakeStaff_RtD"); if ((Object)(object)val82 != (Object)null) { GameObject prefab28 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val83 = ((!Object.op_Implicit((Object)(object)prefab28)) ? MistlandsQuakeStaffB : MistlandsQuakeStaffA); CustomItem val84 = new CustomItem(val82, true, val83); ItemManager.Instance.AddItem(val84); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val82)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val82)?.ToString() + " to the Item Table")); } GameObject val85 = MyAssets.LoadAsset<GameObject>("MistlandsElementWand_RtD"); if ((Object)(object)val85 != (Object)null) { GameObject prefab29 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val86 = ((!Object.op_Implicit((Object)(object)prefab29)) ? MistlandsElementWandB : MistlandsElementWandA); CustomItem val87 = new CustomItem(val85, true, val86); ItemManager.Instance.AddItem(val87); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val85)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val85)?.ToString() + " to the Item Table")); } GameObject val88 = MyAssets.LoadAsset<GameObject>("AshLandsStaff1_RtD"); if ((Object)(object)val88 != (Object)null) { GameObject prefab30 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val89 = ((!Object.op_Implicit((Object)(object)prefab30)) ? AshLandsStaff1B : AshLandsStaff1A); CustomItem val90 = new CustomItem(val88, true, val89); ItemManager.Instance.AddItem(val90); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val88)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val88)?.ToString() + " to the Item Table")); } GameObject val91 = MyAssets.LoadAsset<GameObject>("AshLandsStaff2_RtD"); if ((Object)(object)val91 != (Object)null) { GameObject prefab31 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val92 = ((!Object.op_Implicit((Object)(object)prefab31)) ? AshLandsStaff2B : AshLandsStaff2A); CustomItem val93 = new CustomItem(val91, true, val92); ItemManager.Instance.AddItem(val93); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val91)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val91)?.ToString() + " to the Item Table")); } GameObject val94 = MyAssets.LoadAsset<GameObject>("AshLandsStaff3_RtD"); if ((Object)(object)val94 != (Object)null) { GameObject prefab32 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val95 = ((!Object.op_Implicit((Object)(object)prefab32)) ? AshLandsStaff3B : AshLandsStaff3A); CustomItem val96 = new CustomItem(val94, true, val95); ItemManager.Instance.AddItem(val96); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val94)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val94)?.ToString() + " to the Item Table")); } GameObject val97 = MyAssets.LoadAsset<GameObject>("AshLandsFireWand_RtD"); if ((Object)(object)val97 != (Object)null) { GameObject prefab33 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val98 = ((!Object.op_Implicit((Object)(object)prefab33)) ? AshLandsFireWandB : AshLandsFireWandA); CustomItem val99 = new CustomItem(val97, true, val98); ItemManager.Instance.AddItem(val99); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val97)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val97)?.ToString() + " to the Item Table")); } GameObject val100 = MyAssets.LoadAsset<GameObject>("AshLandsMageChest_RtD"); if ((Object)(object)val100 != (Object)null) { GameObject prefab34 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val101 = ((!Object.op_Implicit((Object)(object)prefab34)) ? AshLandsMageChestB : AshLandsMageChestA); CustomItem val102 = new CustomItem(val100, true, val101); ItemManager.Instance.AddItem(val102); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val100)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val100)?.ToString() + " to the Item Table")); } GameObject val103 = MyAssets.LoadAsset<GameObject>("AshLandsMageHood_RtD"); if ((Object)(object)val103 != (Object)null) { GameObject prefab35 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val104 = ((!Object.op_Implicit((Object)(object)prefab35)) ? AshLandsMageHoodB : AshLandsMageHoodA); CustomItem val105 = new CustomItem(val103, true, val104); ItemManager.Instance.AddItem(val105); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val103)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val103)?.ToString() + " to the Item Table")); } GameObject val106 = MyAssets.LoadAsset<GameObject>("AshLandsMageLegs_RtD"); if ((Object)(object)val106 != (Object)null) { GameObject prefab36 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val107 = ((!Object.op_Implicit((Object)(object)prefab36)) ? AshLandsMageLegsB : AshLandsMageLegsA); CustomItem val108 = new CustomItem(val106, true, val107); ItemManager.Instance.AddItem(val108); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val106)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val106)?.ToString() + " to the Item Table")); } GameObject val109 = MyAssets.LoadAsset<GameObject>("DeepNorthStaff1_RtD"); if ((Object)(object)val109 != (Object)null) { GameObject prefab37 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val110 = ((!Object.op_Implicit((Object)(object)prefab37)) ? DeepNorthStaff1B : DeepNorthStaff1A); CustomItem val111 = new CustomItem(val109, true, val110); ItemManager.Instance.AddItem(val111); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val109)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val109)?.ToString() + " to the Item Table")); } GameObject val112 = MyAssets.LoadAsset<GameObject>("DeepNorthStaff2_RtD"); if ((Object)(object)val112 != (Object)null) { GameObject prefab38 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val113 = ((!Object.op_Implicit((Object)(object)prefab38)) ? DeepNorthStaff2B : DeepNorthStaff2A); CustomItem val114 = new CustomItem(val112, true, val113); ItemManager.Instance.AddItem(val114); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val112)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val112)?.ToString() + " to the Item Table")); } GameObject val115 = MyAssets.LoadAsset<GameObject>("DeepNorthStaff3_RtD"); if ((Object)(object)val115 != (Object)null) { GameObject prefab39 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val116 = ((!Object.op_Implicit((Object)(object)prefab39)) ? DeepNorthStaff3B : DeepNorthStaff3A); CustomItem val117 = new CustomItem(val115, true, val116); ItemManager.Instance.AddItem(val117); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val115)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val115)?.ToString() + " to the Item Table")); } GameObject val118 = MyAssets.LoadAsset<GameObject>("DeepNorthArcaneWand_RtD"); if ((Object)(object)val118 != (Object)null) { GameObject prefab40 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val119 = ((!Object.op_Implicit((Object)(object)prefab40)) ? DeepNorthArcaneWand1B : DeepNorthArcaneWand1A); CustomItem val120 = new CustomItem(val118, true, val119); ItemManager.Instance.AddItem(val120); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val118)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val118)?.ToString() + " to the Item Table")); } GameObject val121 = MyAssets.LoadAsset<GameObject>("DeepNorthMageChest_RtD"); if ((Object)(object)val121 != (Object)null) { GameObject prefab41 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val122 = ((!Object.op_Implicit((Object)(object)prefab41)) ? DeepNorthMageChestB : DeepNorthMageChestA); CustomItem val123 = new CustomItem(val121, true, val122); ItemManager.Instance.AddItem(val123); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val121)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val121)?.ToString() + " to the Item Table")); } GameObject val124 = MyAssets.LoadAsset<GameObject>("DeepNorthMageHood_RtD"); if ((Object)(object)val124 != (Object)null) { GameObject prefab42 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val125 = ((!Object.op_Implicit((Object)(object)prefab42)) ? DeepNorthMageHoodB : DeepNorthMageHoodA); CustomItem val126 = new CustomItem(val124, true, val125); ItemManager.Instance.AddItem(val126); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val124)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val124)?.ToString() + " to the Item Table")); } GameObject val127 = MyAssets.LoadAsset<GameObject>("DeepNorthMageLegs_RtD"); if ((Object)(object)val127 != (Object)null) { GameObject prefab43 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val128 = ((!Object.op_Implicit((Object)(object)prefab43)) ? DeepNorthMageLegsB : DeepNorthMageLegsA); CustomItem val129 = new CustomItem(val127, true, val128); ItemManager.Instance.AddItem(val129); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val127)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val127)?.ToString() + " to the Item Table")); } GameObject val130 = MyAssets.LoadAsset<GameObject>("HealingStaff_T1_RtD"); if ((Object)(object)val130 != (Object)null) { GameObject prefab44 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val131 = ((!Object.op_Implicit((Object)(object)prefab44)) ? HealingStaff_T1B : HealingStaff_T1A); CustomItem val132 = new CustomItem(val130, true, val131); ItemManager.Instance.AddItem(val132); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val130)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val130)?.ToString() + " to the Item Table")); } GameObject val133 = MyAssets.LoadAsset<GameObject>("HealingStaff_T2_RtD"); if ((Object)(object)val133 != (Object)null) { GameObject prefab45 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val134 = ((!Object.op_Implicit((Object)(object)prefab45)) ? HealingStaff_T2B : HealingStaff_T2A); CustomItem val135 = new CustomItem(val133, true, val134); ItemManager.Instance.AddItem(val135); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val133)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val133)?.ToString() + " to the Item Table")); } GameObject val136 = MyAssets.LoadAsset<GameObject>("HealingStaff_T3_RtD"); if ((Object)(object)val136 != (Object)null) { GameObject prefab46 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val137 = ((!Object.op_Implicit((Object)(object)prefab46)) ? HealingStaff_T3B : HealingStaff_T3A); CustomItem val138 = new CustomItem(val136, true, val137); ItemManager.Instance.AddItem(val138); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val136)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val136)?.ToString() + " to the Item Table")); } GameObject val139 = MyAssets.LoadAsset<GameObject>("HealingStaff_T4_RtD"); if ((Object)(object)val139 != (Object)null) { GameObject prefab47 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val140 = ((!Object.op_Implicit((Object)(object)prefab47)) ? HealingStaff_T4B : HealingStaff_T4A); CustomItem val141 = new CustomItem(val139, true, val140); ItemManager.Instance.AddItem(val141); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val139)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val139)?.ToString() + " to the Item Table")); } GameObject val142 = MyAssets.LoadAsset<GameObject>("SQueensJam_RtD"); if ((Object)(object)val142 != (Object)null) { GameObject prefab48 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val143 = ((!Object.op_Implicit((Object)(object)prefab48)) ? SQueensJamB : SQueensJamA); CustomItem val144 = new CustomItem(val142, true, val143); ItemManager.Instance.AddItem(val144); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val142)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val142)?.ToString() + " to the Item Table")); } GameObject val145 = MyAssets.LoadAsset<GameObject>("SCarrotSoup_RtD"); if ((Object)(object)val145 != (Object)null) { GameObject prefab49 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val146 = ((!Object.op_Implicit((Object)(object)prefab49)) ? SCarrotSoupB : SCarrotSoupA); CustomItem val147 = new CustomItem(val145, true, val146); ItemManager.Instance.AddItem(val147); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val145)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val145)?.ToString() + " to the Item Table")); } GameObject val148 = MyAssets.LoadAsset<GameObject>("SBlackSoup_RtD"); if ((Object)(object)val148 != (Object)null) { GameObject prefab50 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val149 = ((!Object.op_Implicit((Object)(object)prefab50)) ? SBlackSoupB : SBlackSoupA); CustomItem val150 = new CustomItem(val148, true, val149); ItemManager.Instance.AddItem(val150); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val148)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val148)?.ToString() + " to the Item Table")); } GameObject val151 = MyAssets.LoadAsset<GameObject>("STurnipStew_RtD"); if ((Object)(object)val151 != (Object)null) { GameObject prefab51 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val152 = ((!Object.op_Implicit((Object)(object)prefab51)) ? STurnipStewB : STurnipStewA); CustomItem val153 = new CustomItem(val151, true, val152); ItemManager.Instance.AddItem(val153); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val151)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val151)?.ToString() + " to the Item Table")); } GameObject val154 = MyAssets.LoadAsset<GameObject>("SShockolateShake_RtD"); if ((Object)(object)val154 != (Object)null) { GameObject prefab52 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val155 = ((!Object.op_Implicit((Object)(object)prefab52)) ? SShockolateShakeB : SShockolateShakeA); CustomItem val156 = new CustomItem(val154, true, val155); ItemManager.Instance.AddItem(val156); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val154)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val154)?.ToString() + " to the Item Table")); } GameObject val157 = MyAssets.LoadAsset<GameObject>("SOnionSoup_RtD"); if ((Object)(object)val157 != (Object)null) { GameObject prefab53 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val158 = ((!Object.op_Implicit((Object)(object)prefab53)) ? SOnionSoupB : SOnionSoupA); CustomItem val159 = new CustomItem(val157, true, val158); ItemManager.Instance.AddItem(val159); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val157)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val157)?.ToString() + " to the Item Table")); } GameObject val160 = MyAssets.LoadAsset<GameObject>("SEyeScream_RtD"); if ((Object)(object)val160 != (Object)null) { GameObject prefab54 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val161 = ((!Object.op_Implicit((Object)(object)prefab54)) ? SEyeScreamB : SEyeScreamA); CustomItem val162 = new CustomItem(val160, true, val161); ItemManager.Instance.AddItem(val162); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val160)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val160)?.ToString() + " to the Item Table")); } GameObject val163 = MyAssets.LoadAsset<GameObject>("SBloodPudding_RtD"); if ((Object)(object)val163 != (Object)null) { GameObject prefab55 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val164 = ((!Object.op_Implicit((Object)(object)prefab55)) ? SBloodPuddingB : SBloodPuddingA); CustomItem val165 = new CustomItem(val163, true, val164); ItemManager.Instance.AddItem(val165); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val163)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val163)?.ToString() + " to the Item Table")); } GameObject val166 = MyAssets.LoadAsset<GameObject>("MistlandsMageHood_RtD"); if ((Object)(object)val166 != (Object)null) { GameObject prefab56 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val167 = ((!Object.op_Implicit((Object)(object)prefab56)) ? MistlandsHoodB : MistlandsHoodA); CustomItem val168 = new CustomItem(val166, true, val167); ItemManager.Instance.AddItem(val168); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val166)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val166)?.ToString() + " to the Item Table")); } GameObject val169 = MyAssets.LoadAsset<GameObject>("MistlandsMageChest_RtD"); if ((Object)(object)val169 != (Object)null) { GameObject prefab57 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val170 = ((!Object.op_Implicit((Object)(object)prefab57)) ? MistlandsChestB : MistlandsChestA); CustomItem val171 = new CustomItem(val169, true, val170); ItemManager.Instance.AddItem(val171); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val169)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val169)?.ToString() + " to the Item Table")); } GameObject val172 = MyAssets.LoadAsset<GameObject>("MistlandsMageLegs_RtD"); if ((Object)(object)val172 != (Object)null) { GameObject prefab58 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val173 = ((!Object.op_Implicit((Object)(object)prefab58)) ? MistlandsLegsB : MistlandsLegsA); CustomItem val174 = new CustomItem(val172, true, val173); ItemManager.Instance.AddItem(val174); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val172)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val172)?.ToString() + " to the Item Table")); } GameObject val175 = MyAssets.LoadAsset<GameObject>("MistlandsMageCape_RtD"); if ((Object)(object)val175 != (Object)null) { GameObject prefab59 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val176 = ((!Object.op_Implicit((Object)(object)prefab59)) ? MistlandsCapeB : MistlandsCapeA); CustomItem val177 = new CustomItem(val175, true, val176); ItemManager.Instance.AddItem(val177); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val175)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val175)?.ToString() + " to the Item Table")); } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"A pixel was found in the matrix: {arg}"); } finally { PrefabManager.OnPrefabsRegistered -= AddRecipes; } } private void ElementalRecipes() { //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Expected O, but got Unknown //IL_0122: Unknown result type (might be due to invalid IL or missing references) //IL_0129: Expected O, but got Unknown //IL_01f6: Unknown result type (might be due to invalid IL or missing references) //IL_01fd: Expected O, but got Unknown //IL_02cc: Unknown result type (might be due to invalid IL or missing references) //IL_02d3: Expected O, but got Unknown //IL_03a2: Unknown result type (might be due to invalid IL or missing references) //IL_03a9: Expected O, but got Unknown //IL_0478: Unknown result type (might be due to invalid IL or missing references) //IL_047f: Expected O, but got Unknown //IL_054e: Unknown result type (might be due to invalid IL or missing references) //IL_0555: Expected O, but got Unknown //IL_0624: Unknown result type (might be due to invalid IL or missing references) //IL_062b: Expected O, but got Unknown try { GameObject val = MyAssets.LoadAsset<GameObject>("MeadowsElemental_RtD"); if ((Object)(object)val != (Object)null) { GameObject prefab = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val2 = ((!Object.op_Implicit((Object)(object)prefab)) ? Elemental1B : Elemental1A); CustomItem val3 = new CustomItem(val, true, val2); ItemManager.Instance.AddItem(val3); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val)?.ToString() + " to the Item Table")); } GameObject val4 = MyAssets.LoadAsset<GameObject>("BlackForestElemental_RtD"); if ((Object)(object)val4 != (Object)null) { GameObject prefab2 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val5 = ((!Object.op_Implicit((Object)(object)prefab2)) ? Elemental2B : Elemental2A); CustomItem val6 = new CustomItem(val4, true, val5); ItemManager.Instance.AddItem(val6); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val4)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val4)?.ToString() + " to the Item Table")); } GameObject val7 = MyAssets.LoadAsset<GameObject>("SwampElemental_RtD"); if ((Object)(object)val7 != (Object)null) { GameObject prefab3 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val8 = ((!Object.op_Implicit((Object)(object)prefab3)) ? Elemental3B : Elemental3A); CustomItem val9 = new CustomItem(val7, true, val8); ItemManager.Instance.AddItem(val9); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val7)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val7)?.ToString() + " to the Item Table")); } GameObject val10 = MyAssets.LoadAsset<GameObject>("MountainElemental_RtD"); if ((Object)(object)val10 != (Object)null) { GameObject prefab4 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val11 = ((!Object.op_Implicit((Object)(object)prefab4)) ? Elemental4B : Elemental4A); CustomItem val12 = new CustomItem(val10, true, val11); ItemManager.Instance.AddItem(val12); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val10)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val10)?.ToString() + " to the Item Table")); } GameObject val13 = MyAssets.LoadAsset<GameObject>("PlainsElemental_RtD"); if ((Object)(object)val13 != (Object)null) { GameObject prefab5 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val14 = ((!Object.op_Implicit((Object)(object)prefab5)) ? Elemental5B : Elemental5A); CustomItem val15 = new CustomItem(val13, true, val14); ItemManager.Instance.AddItem(val15); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val13)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val13)?.ToString() + " to the Item Table")); } GameObject val16 = MyAssets.LoadAsset<GameObject>("MistlandsElemental_RtD"); if ((Object)(object)val16 != (Object)null) { GameObject prefab6 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val17 = ((!Object.op_Implicit((Object)(object)prefab6)) ? Elemental6B : Elemental6A); CustomItem val18 = new CustomItem(val16, true, val17); ItemManager.Instance.AddItem(val18); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val16)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val16)?.ToString() + " to the Item Table")); } GameObject val19 = MyAssets.LoadAsset<GameObject>("AshLandsElemental_RtD"); if ((Object)(object)val19 != (Object)null) { GameObject prefab7 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val20 = ((!Object.op_Implicit((Object)(object)prefab7)) ? Elemental7B : Elemental7A); CustomItem val21 = new CustomItem(val19, true, val20); ItemManager.Instance.AddItem(val21); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val19)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val19)?.ToString() + " to the Item Table")); } GameObject val22 = MyAssets.LoadAsset<GameObject>("DeepNorthElemental_RtD"); if ((Object)(object)val22 != (Object)null) { GameObject prefab8 = Cache.GetPrefab<GameObject>("If_else_statement_prefab_RtD"); ItemConfig val23 = ((!Object.op_Implicit((Object)(object)prefab8)) ? Elemental8B : Elemental8A); CustomItem val24 = new CustomItem(val22, true, val23); ItemManager.Instance.AddItem(val24); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val22)?.ToString() + " to the Prefab database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + ((object)val22)?.ToString() + " to the Item Table")); } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"A pixel was found in the matrix: {arg}"); } finally { PrefabManager.OnPrefabsRegistered -= ElementalRecipes; } } private void ModifyItems() { try { StatusEffect prefab = Cache.GetPrefab<StatusEffect>("SE_MageArmorMistlands_RtD"); ItemDrop prefab2 = Cache.GetPrefab<ItemDrop>("HelmetMage"); ItemDrop prefab3 = Cache.GetPrefab<ItemDrop>("ArmorMageChest"); ItemDrop prefab4 = Cache.GetPrefab<ItemDrop>("ArmorMageLegs"); prefab2.m_itemData.m_shared.m_setName = "WeaveSE"; prefab2.m_itemData.m_shared.m_setSize = 3; prefab2.m_itemData.m_shared.m_setStatusEffect = prefab; prefab3.m_itemData.m_shared.m_setName = "WeaveSE"; prefab3.m_itemData.m_shared.m_setSize = 3; prefab3.m_itemData.m_shared.m_setStatusEffect = prefab; prefab4.m_itemData.m_shared.m_setName = "WeaveSE"; prefab4.m_itemData.m_shared.m_setSize = 3; prefab4.m_itemData.m_shared.m_setStatusEffect = prefab; } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while modifing items: {arg}"); } finally { PrefabManager.OnVanillaPrefabsAvailable -= ModifyItems; } } private void AddSFX() { //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Expected O, but got Unknown try { string[] sFXList = SFXList2; foreach (string text in sFXList) { GameObject val = MyAssets.LoadAsset<GameObject>(text); if ((Object)(object)val != (Object)null) { CustomPrefab val2 = new CustomPrefab(val, true); PrefabManager.Instance.AddPrefab(val2); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + text + " to the Object database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + text + " to the object database")); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding prefabs: {arg}"); } } private void FixSFX2() { try { AudioSource prefab = Cache.GetPrefab<AudioSource>("sfx_arrow_hit"); string[] sFXList = SFXList2; foreach (string text in sFXList) { GameObject prefab2 = Cache.GetPrefab<GameObject>(text); prefab2.GetComponentInChildren<AudioSource>().outputAudioMixerGroup = prefab.outputAudioMixerGroup; if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Audio Mixer set on: " + text)); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while fixing custom audio: {arg}"); } finally { PrefabManager.OnPrefabsRegistered -= FixSFX2; } } public void AddSE() { //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Expected O, but got Unknown try { string[] customStatusEffectList = CustomStatusEffectList; foreach (string text in customStatusEffectList) { SE_Stats val = MyAssets.LoadAsset<SE_Stats>(text); if ((Object)(object)val != (Object)null) { CustomStatusEffect val2 = new CustomStatusEffect((StatusEffect)(object)val, true); ItemManager.Instance.AddStatusEffect(val2); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val)?.ToString() + " to the Object database")); } } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding SE_Stats Effects: {arg}"); } } private void AddPrefabs() { //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Expected O, but got Unknown try { string[] prefabList = PrefabList; foreach (string text in prefabList) { GameObject val = MyAssets.LoadAsset<GameObject>(text); if ((Object)(object)val != (Object)null) { CustomPrefab val2 = new CustomPrefab(val, true); PrefabManager.Instance.AddPrefab(val2); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + text + " to the Object database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + text + " to the object database")); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding prefabs: {arg}"); } } public RtDMagic() { //IL_0001: Unknown result type (might be due to invalid IL or missing references) //IL_0007: Expected O, but got Unknown //IL_001c: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0036: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Expected O, but got Unknown //IL_0041: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Unknown result type (might be due to invalid IL or missing references) //IL_0052: Unknown result type (might be due to invalid IL or missing references) //IL_005a: Unknown result type (might be due to invalid IL or missing references) //IL_0063: Expected O, but got Unknown //IL_0065: Unknown result type (might be due to invalid IL or missing references) //IL_006a: Unknown result type (might be due to invalid IL or missing references) //IL_0076: Unknown result type (might be due to invalid IL or missing references) //IL_007f: Unknown result type (might be due to invalid IL or missing references) //IL_0088: Expected O, but got Unknown //IL_008a: Unknown result type (might be due to invalid IL or missing references) //IL_008f: Unknown result type (might be due to invalid IL or missing references) //IL_009b: Unknown result type (might be due to invalid IL or missing references) //IL_00a3: Unknown result type (might be due to invalid IL or missing references) //IL_00ac: Expected O, but got Unknown //IL_00b9: Unknown result type (might be due to invalid IL or missing references) //IL_00bf: Expected O, but got Unknown //IL_00d4: Unknown result type (might be due to invalid IL or missing references) //IL_00d9: Unknown result type (might be due to invalid IL or missing references) //IL_00e5: Unknown result type (might be due to invalid IL or missing references) //IL_00ee: Unknown result type (might be due to invalid IL or missing references) //IL_00f7: Expected O, but got Unknown //IL_00f9: Unknown result type (might be due to invalid IL or missing references) //IL_00fe: Unknown result type (might be due to invalid IL or missing references) //IL_010a: Unknown result type (might be due to invalid IL or missing references) //IL_0112: Unknown result type (might be due to invalid IL or missing references) //IL_011b: Expected O, but got Unknown //IL_011d: 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_012e: Unknown result type (might be due to invalid IL or missing references) //IL_0137: Unknown result type (might be due to invalid IL or missing references) //IL_0140: Expected O, but got Unknown //IL_0142: Unknown result type (might be due to invalid IL or missing references) //IL_0147: Unknown result type (might be due to invalid IL or missing references) //IL_0153: Unknown result type (might be due to invalid IL or missing references) //IL_015b: Unknown result type (might be due to invalid IL or missing references) //IL_0164: Expected O, but got Unknown //IL_0171: Unknown result type (might be due to invalid IL or missing references) //IL_0177: Expected O, but got Unknown //IL_018c: Unknown result type (might be due to invalid IL or missing references) //IL_0191: Unknown result type (might be due to invalid IL or missing references) //IL_019d: Unknown result type (might be due to invalid IL or missing references) //IL_01a6: Unknown result type (might be due to invalid IL or missing references) //IL_01af: Expected O, but got Unknown //IL_01b1: Unknown result type (might be due to invalid IL or missing references) //IL_01b6: Unknown result type (might be due to invalid IL or missing references) //IL_01c2: Unknown result type (might be due to invalid IL or missing references) //IL_01ca: Unknown result type (might be due to invalid IL or missing references) //IL_01d3: Expected O, but got Unknown //IL_01d5: Unknown result type (might be due to invalid IL or missing references) //IL_01da: Unknown result type (might be due to invalid IL or missing references) //IL_01e6: Unknown result type (might be due to invalid IL or missing references) //IL_01ef: Unknown result type (might be due to invalid IL or missing references) //IL_01f8: Expected O, but got Unknown //IL_01fa: Unknown result type (might be due to invalid IL or missing references) //IL_01ff: Unknown result type (might be due to invalid IL or missing references) //IL_020b: Unknown result type (might be due to invalid IL or missing references) //IL_0213: Unknown result type (might be due to invalid IL or missing references) //IL_021c: Expected O, but got Unknown //IL_0229: Unknown result type (might be due to invalid IL or missing references) //IL_022f: Expected O, but got Unknown //IL_0244: Unknown result type (might be due to invalid IL or missing references) //IL_0249: Unknown result type (might be due to invalid IL or missing references) //IL_0255: Unknown result type (might be due to invalid IL or missing references) //IL_025e: Unknown result type (might be due to invalid IL or missing references) //IL_0267: Expected O, but got Unknown //IL_0269: Unknown result type (might be due to invalid IL or missing references) //IL_026e: Unknown result type (might be due to invalid IL or missing references) //IL_027a: Unknown result type (might be due to invalid IL or missing references) //IL_0282: Unknown result type (might be due to invalid IL or missing references) //IL_028b: Expected O, but got Unknown //IL_028d: Unknown result type (might be due to invalid IL or missing references) //IL_0292: Unknown result type (might be due to invalid IL or missing references) //IL_029e: Unknown result type (might be due to invalid IL or missing references) //IL_02a7: Unknown result type (might be due to invalid IL or missing references) //IL_02b0: Expected O, but got Unknown //IL_02b2: Unknown result type (might be due to invalid IL or missing references) //IL_02b7: Unknown result type (might be due to invalid IL or missing references) //IL_02c3: Unknown result type (might be due to invalid IL or missing references) //IL_02cb: Unknown result type (might be due to invalid IL or missing references) //IL_02d4: Expected O, but got Unknown //IL_02e1: Unknown result type (might be due to invalid IL or missing references) //IL_02e7: Expected O, but got Unknown //IL_02fc: Unknown result type (might be due to invalid IL or missing references) //IL_0301: Unknown result type (might be due to invalid IL or missing references) //IL_030d: Unknown result type (might be due to invalid IL or missing references) //IL_0316: Unknown result type (might be due to invalid IL or missing references) //IL_031f: Expected O, but got Unknown //IL_0321: Unknown result type (might be due to invalid IL or missing references) //IL_0326: Unknown result type (might be due to invalid IL or missing references) //IL_0332: Unknown result type (might be due to invalid IL or missing references) //IL_033a: Unknown result type (might be due to invalid IL or missing references) //IL_0343: Expected O, but got Unknown //IL_0345: Unknown result type (might be due to invalid IL or missing references) //IL_034a: 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_035f: Unknown result type (might be due to invalid IL or missing references) //IL_0368: Expected O, but got Unknown //IL_036a: Unknown result type (might be due to invalid IL or missing references) //IL_036f: Unknown result type (might be due to invalid IL or missing references) //IL_037b: Unknown result type (might be due to invalid IL or missing references) //IL_0383: Unknown result type (might be due to invalid IL or missing references) //IL_038c: Expected O, but got Unknown //IL_0399: Unknown result type (might be due to invalid IL or missing references) //IL_039f: Expected O, but got Unknown //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_03c5: Unknown result type (might be due to invalid IL or missing references) //IL_03ce: Unknown result type (might be due to invalid IL or missing references) //IL_03d7: Expected O, but got Unknown //IL_03d9: Unknown result type (might be due to invalid IL or missing references) //IL_03de: Unknown result type (might be due to invalid IL or missing references) //IL_03ea: Unknown result type (might be due to invalid IL or missing references) //IL_03f2: Unknown result type (might be due to invalid IL or missing references) //IL_03fb: Expected O, but got Unknown //IL_03fd: Unknown result type (might be due to invalid IL or missing references) //IL_0402: Unknown result type (might be due to invalid IL or missing references) //IL_040e: 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_0420: Expected O, but got Unknown //IL_0422: Unknown result type (might be due to invalid IL or missing references) //IL_0427: Unknown result type (might be due to invalid IL or missing references) //IL_0433: Unknown result type (might be due to invalid IL or missing references) //IL_043b: Unknown result type (might be due to invalid IL or missing references) //IL_0444: Expected O, but got Unknown //IL_0451: Unknown result type (might be due to invalid IL or missing references) //IL_0457: Expected O, but got Unknown //IL_046c: Unknown result type (might be due to invalid IL or missing references) //IL_0471: Unknown result type (might be due to invalid IL or missing references) //IL_047d: Unknown result type (might be due to invalid IL or missing references) //IL_0486: Unknown result type (might be due to invalid IL or missing references) //IL_048f: Expected O, but got Unknown //IL_0491: Unknown result type (might be due to invalid IL or missing references) //IL_0496: Unknown result type (might be due to invalid IL or missing references) //IL_04a2: Unknown result type (might be due to invalid IL or missing references) //IL_04aa: Unknown result type (might be due to invalid IL or missing references) //IL_04b3: Expected O, but got Unknown //IL_04b5: Unknown result type (might be due to invalid IL or missing references) //IL_04ba: Unknown result type (might be due to invalid IL or missing references) //IL_04c6: Unknown result type (might be due to invalid IL or missing references) //IL_04cf: Unknown result type (might be due to invalid IL or missing references) //IL_04d8: Expected O, but got Unknown //IL_04da: Unknown result type (might be due to invalid IL or missing references) //IL_04df: Unknown result type (might be due to invalid IL or missing references) //IL_04eb: Unknown result type (might be due to invalid IL or missing references) //IL_04f3: Unknown result type (might be due to invalid IL or missing references) //IL_04fc: Expected O, but got Unknown //IL_0509: Unknown result type (might be due to invalid IL or missing references) //IL_050f: Expected O, but got Unknown //IL_0524: Unknown result type (might be due to invalid IL or missing references) //IL_0529: Unknown result type (might be due to invalid IL or missing references) //IL_0535: Unknown result type (might be due to invalid IL or missing references) //IL_053e: Unknown result type (might be due to invalid IL or missing references) //IL_0547: Expected O, but got Unknown //IL_0549: Unknown result type (might be due to invalid IL or missing references) //IL_054e: Unknown result type (might be due to invalid IL or missing references) //IL_055a: Unknown result type (might be due to invalid IL or missing references) //IL_0562: Unknown result type (might be due to invalid IL or missing references) //IL_056b: Expected O, but got Unknown //IL_056d: Unknown result type (might be due to invalid IL or missing references) //IL_0572: Unknown result type (might be due to invalid IL or missing references) //IL_057e: Unknown result type (might be due to invalid IL or missing references) //IL_0586: Unknown result type (might be due to invalid IL or missing references) //IL_058f: Expected O, but got Unknown //IL_0591: Unknown result type (might be due to invalid IL or missing references) //IL_0596: Unknown result type (might be due to invalid IL or missing references) //IL_05a2: Unknown result type (might be due to invalid IL or missing references) //IL_05aa: Unknown result type (might be due to invalid IL or missing references) //IL_05b3: Expected O, but got Unknown //IL_05c0: Unknown result type (might be due to invalid IL or missing references) //IL_05c6: Expected O, but got Unknown //IL_05db: Unknown result type (might be due to invalid IL or missing references) //IL_05e0: Unknown result type (might be due to invalid IL or missing references) //IL_05ec: Unknown result type (might be due to invalid IL or missing references) //IL_05f5: Unknown result type (might be due to invalid IL or missing references) //IL_05fe: Expected O, but got Unknown //IL_0600: Unknown result type (might be due to invalid IL or missing references) //IL_0605: Unknown result type (might be due to invalid IL or missing references) //IL_0611: Unknown result type (might be due to invalid IL or missing references) //IL_0619: Unknown result type (might be due to invalid IL or missing references) //IL_0622: Expected O, but got Unknown //IL_0624: Unknown result type (might be due to invalid IL or mis