Decompiled source of ULTRAPAIN Refueled v1.0.2
Ultrapain.dll
Decompiled 2 months ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Reflection.Emit; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using System.Text; using System.Text.RegularExpressions; using BepInEx; using BepInEx.Bootstrap; using Discord; using HarmonyLib; using PluginConfig.API; using PluginConfig.API.Decorators; using PluginConfig.API.Fields; using PluginConfig.API.Functionals; using Sandbox; using Steamworks; using TMPro; using ULTRAKILL.Cheats; using Ultrapain.Patches; using UnityEngine; using UnityEngine.AI; using UnityEngine.AddressableAssets; using UnityEngine.Audio; using UnityEngine.EventSystems; using UnityEngine.Events; using UnityEngine.Rendering; using UnityEngine.SceneManagement; using UnityEngine.UI; [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.0", FrameworkDisplayName = "")] [assembly: AssemblyCompany("Ultrapain_Refueled")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyDescription("More powerful enemies and custom mechanics")] [assembly: AssemblyFileVersion("1.0.2.0")] [assembly: AssemblyInformationalVersion("1.0.2")] [assembly: AssemblyProduct("Ultrapain_Refueled")] [assembly: AssemblyTitle("Ultrapain_Refueled")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.2.0")] [module: UnverifiableCode] namespace Ultrapain { public class ImageInputField : CustomConfigField { public Sprite sprite; public Color color; public ConfigField field; private GameObject currentUI; private Image currentImage; private static FieldInfo f_IntField_currentUi = typeof(IntField).GetField("currentUi", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); private static FieldInfo f_FloatField_currentUi = typeof(FloatField).GetField("currentUi", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); private static FieldInfo f_StringField_currentUi = typeof(StringField).GetField("currentUi", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); private const float textAnchorX = 40f; private const float fieldAnchorX = 230f; private const float fieldAnchorY = -30f; private const float fieldSizeX = 270f; public ImageInputField(ConfigField field, Sprite sprite, Color color) : base(field.parentPanel, 0f, 0f) { //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) this.field = field; this.sprite = sprite; this.color = color; if ((Object)(object)currentImage != (Object)null) { currentImage.sprite = sprite; ((Graphic)currentImage).color = color; SetSize(); } } private void SetSize() { //IL_0021: Unknown result type (might be due to invalid IL or missing references) //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_003a: Unknown result type (might be due to invalid IL or missing references) //IL_003f: Unknown result type (might be due to invalid IL or missing references) //IL_0059: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Unknown result type (might be due to invalid IL or missing references) //IL_0120: 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_014b: Unknown result type (might be due to invalid IL or missing references) //IL_0155: Unknown result type (might be due to invalid IL or missing references) //IL_00c6: Unknown result type (might be due to invalid IL or missing references) //IL_00e0: Unknown result type (might be due to invalid IL or missing references) //IL_00f7: Unknown result type (might be due to invalid IL or missing references) //IL_0101: Unknown result type (might be due to invalid IL or missing references) RectTransform component = ((Component)currentImage).GetComponent<RectTransform>(); float num; if (!((Object)(object)sprite == (Object)null)) { Rect rect = sprite.rect; float width = ((Rect)(ref rect)).width; rect = sprite.rect; num = width * (40f / ((Rect)(ref rect)).height); } else { num = 100f; } float num2 = num; component.sizeDelta = new Vector2(num2, 40f); component.anchoredPosition = new Vector2(10f, 0f); Text componentInChildren = currentUI.GetComponentInChildren<Text>(); InputField componentInChildren2 = currentUI.GetComponentInChildren<InputField>(); RectTransform component2 = ((Component)componentInChildren2).GetComponent<RectTransform>(); float num3 = num2 - 20f; if (num3 > 0f) { ((Component)componentInChildren).GetComponent<RectTransform>().anchoredPosition = new Vector2(40f + num3, 0f); component2.anchoredPosition = new Vector2(230f + num3, -30f); component2.sizeDelta = new Vector2(270f - num3, component2.sizeDelta.y); } else { ((Component)componentInChildren).GetComponent<RectTransform>().anchoredPosition = new Vector2(40f, 0f); component2.anchoredPosition = new Vector2(230f, -30f); component2.sizeDelta = new Vector2(270f, component2.sizeDelta.y); } } protected override void OnCreateUI(RectTransform fieldUI) { //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_0036: Expected O, but got Unknown //IL_005c: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Expected O, but got Unknown //IL_0088: Unknown result type (might be due to invalid IL or missing references) //IL_008e: Expected O, but got Unknown //IL_00c0: Unknown result type (might be due to invalid IL or missing references) //IL_00c6: Expected O, but got Unknown //IL_00db: Unknown result type (might be due to invalid IL or missing references) //IL_00f1: Unknown result type (might be due to invalid IL or missing references) //IL_010f: Unknown result type (might be due to invalid IL or missing references) //IL_0117: Unknown result type (might be due to invalid IL or missing references) //IL_0143: Unknown result type (might be due to invalid IL or missing references) Object.Destroy((Object)(object)((Component)fieldUI).gameObject); GameObject val = null; ConfigField obj = field; IntField val2 = (IntField)(object)((obj is IntField) ? obj : null); if (val2 != null) { val = (GameObject)f_IntField_currentUi.GetValue(val2); } else { ConfigField obj2 = field; FloatField val3 = (FloatField)(object)((obj2 is FloatField) ? obj2 : null); if (val3 != null) { val = (GameObject)f_FloatField_currentUi.GetValue(val3); } else { ConfigField obj3 = field; StringField val4 = (StringField)(object)((obj3 is StringField) ? obj3 : null); if (val4 == null) { throw new Exception("Image field expected given field to be int, float or string field"); } val = (GameObject)f_StringField_currentUi.GetValue(val4); } } currentUI = val; if ((Object)(object)val == (Object)null) { Debug.LogWarning((object)"Could not find float field ui"); return; } GameObject val5 = new GameObject(); RectTransform val6 = val5.AddComponent<RectTransform>(); ((Transform)val6).SetParent(val.transform); ((Transform)val6).localScale = Vector3.one; val6.pivot = new Vector2(0f, 0.5f); Vector2 val7 = default(Vector2); ((Vector2)(ref val7))..ctor(0f, 0.5f); val6.anchorMin = val7; val6.anchorMax = val7; Image val8 = (currentImage = val5.AddComponent<Image>()); val8.sprite = sprite; ((Graphic)val8).color = color; SetSize(); } } public class SpaceField : CustomConfigField { public const float defaultSpace = 10f; public float space = 10f; public RectTransform currentUI; public SpaceField(ConfigPanel panel, float space) : base(panel) { //IL_0037: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) this.space = space; if ((Object)(object)currentUI != (Object)null) { currentUI.sizeDelta = new Vector2(currentUI.sizeDelta.x, space); } } public SpaceField(ConfigPanel panel) : this(panel, 10f) { } protected override void OnCreateUI(RectTransform fieldUI) { //IL_000a: Unknown result type (might be due to invalid IL or missing references) //IL_001a: Unknown result type (might be due to invalid IL or missing references) currentUI = fieldUI; fieldUI.sizeDelta = new Vector2(fieldUI.sizeDelta.x, space); } } public static class ConfigManager { public struct EidStatContainer { public FloatField health; public FloatField damage; public FloatField speed; public StringField resistanceStr; public Dictionary<string, float> resistanceDict; public void SetHidden(bool hidden) { FloatField obj = health; FloatField obj2 = damage; bool flag2 = (((ConfigField)speed).hidden = hidden); bool hidden2 = (((ConfigField)obj2).hidden = flag2); ((ConfigField)obj).hidden = hidden2; } } public enum HitterType { revolver, coin, shotgun, shotgunzone, nail, harpoon, sawblade, railcannon, drill, cannonball, punch, heavypunch, hook, ground_slam, explosion, fire, acid, environment, projectile } public enum VirtueAttackType { Insignia, LighningBolt } public enum SwordsMachineSecondPhase { None, SpeedUp, Skip } public enum IdolExplosionType { Normal, Big, Ligthning, Sisyphean, Sand } [Serializable] [CompilerGenerated] private sealed class <>c { public static readonly <>c <>9 = new <>c(); public static PostConfigChangeEvent <>9__441_0; public static OnClick <>9__441_1; public static OnClick <>9__441_2; public static BoolValueChangeEventDelegate <>9__441_3; public static BoolValueChangeEventDelegate <>9__441_4; public static BoolValueChangeEventDelegate <>9__441_5; public static BoolValueChangeEventDelegate <>9__441_6; public static StringValueChangeEventDelegate <>9__441_7; public static BoolValueChangeEventDelegate <>9__441_8; public static BoolValueChangeEventDelegate <>9__441_9; public static BoolValueChangeEventDelegate <>9__441_10; public static BoolValueChangeEventDelegate <>9__441_11; public static BoolValueChangeEventDelegate <>9__441_12; public static BoolValueChangeEventDelegate <>9__441_13; public static BoolValueChangeEventDelegate <>9__441_14; public static BoolValueChangeEventDelegate <>9__441_16; public static BoolValueChangeEventDelegate <>9__441_17; public static FloatValueChangeEventDelegate <>9__441_125; public static OnValueChangeEventDelegate <>9__441_126; public static IntValueChangeEventDelegate <>9__441_127; public static StringValueChangeEventDelegate <>9__441_22; public static BoolValueChangeEventDelegate <>9__441_23; public static StringValueChangeEventDelegate <>9__441_25; public static StringValueChangeEventDelegate <>9__441_29; public static StringValueChangeEventDelegate <>9__441_32; public static StringValueChangeEventDelegate <>9__441_35; public static StringValueChangeEventDelegate <>9__441_38; public static StringValueChangeEventDelegate <>9__441_41; public static StringValueChangeEventDelegate <>9__441_43; public static OnClick <>9__441_44; public static EnumValueChangeEventDelegate<EnemyType> <>9__441_47; public static EnumValueChangeEventDelegate<HitterType> <>9__441_48; public static BoolValueChangeEventDelegate <>9__441_49; public static FloatValueChangeEventDelegate <>9__441_50; public static BoolValueChangeEventDelegate <>9__441_58; public static BoolValueChangeEventDelegate <>9__441_67; public static BoolValueChangeEventDelegate <>9__441_69; public static BoolValueChangeEventDelegate <>9__441_73; public static BoolValueChangeEventDelegate <>9__441_74; public static BoolValueChangeEventDelegate <>9__441_75; public static BoolValueChangeEventDelegate <>9__441_76; public static EnumValueChangeEventDelegate<SwordsMachineSecondPhase> <>9__441_77; public static BoolValueChangeEventDelegate <>9__441_93; public static BoolValueChangeEventDelegate <>9__441_94; public static BoolValueChangeEventDelegate <>9__441_95; public static BoolValueChangeEventDelegate <>9__441_96; public static BoolValueChangeEventDelegate <>9__441_97; public static BoolValueChangeEventDelegate <>9__441_100; public static FloatValueChangeEventDelegate <>9__441_109; public static FloatValueChangeEventDelegate <>9__441_110; public static IntValueChangeEventDelegate <>9__441_111; public static BoolValueChangeEventDelegate <>9__441_115; public static BoolValueChangeEventDelegate <>9__441_116; public static BoolValueChangeEventDelegate <>9__441_117; public static BoolValueChangeEventDelegate <>9__441_118; public static BoolValueChangeEventDelegate <>9__441_119; public static BoolValueChangeEventDelegate <>9__441_120; public static EnumValueChangeEventDelegate<IdolExplosionType> <>9__441_124; internal void <Initialize>b__441_0() { if (dirtyField) { Plugin.PatchAll(); dirtyField = false; } } internal void <Initialize>b__441_1() { Application.OpenURL("https://github.com/eternalUnion/UltraPain/issues/new?assignees=eternalUnion&labels=bug&projects=&template=bug-report.md&title=%5BBUG%5D+Bug+name+here"); } internal void <Initialize>b__441_2() { Application.OpenURL("https://github.com/eternalUnion/UltraPain/issues/new?assignees=eternalUnion&labels=feature+request&projects=&template=feature-request.md&title=%5BFEATURE%5D+Your+idea+goes+here"); } internal void <Initialize>b__441_3(BoolValueChangeEvent data) { ((ConfigField)enemyPanel).interactable = data.value; dirtyField = true; } internal void <Initialize>b__441_4(BoolValueChangeEvent data) { ((ConfigField)playerPanel).interactable = data.value; dirtyField = true; } internal void <Initialize>b__441_5(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_6(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_7(StringValueChangeEvent data) { if ((Object)(object)Plugin.currentDifficultyButton != (Object)null) { ((Component)Plugin.currentDifficultyButton.transform.Find("Name")).GetComponent<Text>().text = data.value; } if ((Object)(object)Plugin.currentDifficultyPanel != (Object)null) { ((Component)Plugin.currentDifficultyPanel.transform.Find("Title (1)")).GetComponent<Text>().text = "--" + data.value + "--"; } } internal void <Initialize>b__441_8(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_9(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_10(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_11(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_12(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_13(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_14(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_16(BoolValueChangeEvent e) { if ((Object)(object)NewMovement_DeltaHpComp.instance != (Object)null) { NewMovement_DeltaHpComp.instance.UpdateEnabled(); } } internal void <Initialize>b__441_17(BoolValueChangeEvent e) { if ((Object)(object)NewMovement_DeltaHpComp.instance != (Object)null) { NewMovement_DeltaHpComp.instance.UpdateEnabled(); } } internal void <Initialize>b__441_125(FloatValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_126(FloatSliderValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_127(IntValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_22(FormattedStringValueChangeEvent e) { Plugin.StyleIDs.UpdateID(((ConfigField)rocketBoostStyleText).guid, e.formattedString.formattedString); } internal void <Initialize>b__441_23(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_25(FormattedStringValueChangeEvent e) { Plugin.StyleIDs.UpdateID(((ConfigField)grenadeBoostStyleText).guid, e.formattedString.formattedString); } internal void <Initialize>b__441_29(FormattedStringValueChangeEvent e) { Plugin.StyleIDs.UpdateID(((ConfigField)orbStrikeRevolverStyleText).guid, e.formattedString.formattedString); } internal void <Initialize>b__441_32(FormattedStringValueChangeEvent e) { Plugin.StyleIDs.UpdateID(((ConfigField)orbStrikeRevolverChargedStyleText).guid, e.formattedString.formattedString); } internal void <Initialize>b__441_35(FormattedStringValueChangeEvent e) { Plugin.StyleIDs.UpdateID(((ConfigField)orbStrikeElectricCannonStyleText).guid, e.formattedString.formattedString); } internal void <Initialize>b__441_38(FormattedStringValueChangeEvent e) { Plugin.StyleIDs.UpdateID(((ConfigField)orbStrikeMaliciousCannonStyleText).guid, e.formattedString.formattedString); } internal void <Initialize>b__441_41(FormattedStringValueChangeEvent e) { Plugin.StyleIDs.UpdateID(((ConfigField)maliciousChargebackStyleText).guid, e.formattedString.formattedString); } internal void <Initialize>b__441_43(FormattedStringValueChangeEvent e) { Plugin.StyleIDs.UpdateID(((ConfigField)sentryChargebackStyleText).guid, e.formattedString.formattedString); } internal void <Initialize>b__441_44() { //IL_00b6: Unknown result type (might be due to invalid IL or missing references) foreach (EidStatContainer value2 in enemyStats.Values) { FloatField health = value2.health; FloatField damage = value2.damage; float num2 = (value2.speed.value = 1f); float value = (damage.value = num2); health.value = value; value2.resistanceDict.Clear(); value2.resistanceStr.value = ""; } eidResistanceEnabled.value = false; ((ConfigField)eidResistanceField).interactable = false; eidResistanceField.value = 1f; <Initialize>g__SetResistanceInfoText|441_45(enemyStats[eidStatEditorSelector.value]); } internal void <Initialize>b__441_47(EnumValueChangeEvent<EnemyType> e) { //IL_0024: Unknown result type (might be due to invalid IL or missing references) //IL_002a: 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) foreach (KeyValuePair<EnemyType, EidStatContainer> enemyStat in enemyStats) { enemyStat.Value.SetHidden(enemyStat.Key != e.value); } EidStatContainer container = enemyStats[e.value]; if (container.resistanceDict.TryGetValue(eidResistanceSelector.value.ToString().Replace('_', ' '), out var value)) { eidResistanceEnabled.value = true; ((ConfigField)eidResistanceField).interactable = true; eidResistanceField.value = value; } else { eidResistanceEnabled.value = false; eidResistanceField.value = 1f; ((ConfigField)eidResistanceField).interactable = false; } <Initialize>g__SetResistanceInfoText|441_45(container); } internal void <Initialize>b__441_48(EnumValueChangeEvent<HitterType> e) { //IL_000b: Unknown result type (might be due to invalid IL or missing references) if (enemyStats[eidStatEditorSelector.value].resistanceDict.TryGetValue(e.value.ToString().Replace('_', ' '), out var value)) { eidResistanceEnabled.value = true; ((ConfigField)eidResistanceField).interactable = true; eidResistanceField.value = value; } else { eidResistanceEnabled.value = false; ((ConfigField)eidResistanceField).interactable = false; eidResistanceField.value = 1f; } } internal void <Initialize>b__441_49(BoolValueChangeEvent e) { //IL_000b: Unknown result type (might be due to invalid IL or missing references) EidStatContainer container = enemyStats[eidStatEditorSelector.value]; string key = eidResistanceSelector.value.ToString().Replace('_', ' '); if (e.value) { container.resistanceDict[key] = 1f; ((ConfigField)eidResistanceField).interactable = true; eidResistanceField.value = 1f; } else { if (container.resistanceDict.ContainsKey(key)) { container.resistanceDict.Remove(key); } ((ConfigField)eidResistanceField).interactable = false; eidResistanceField.value = 1f; } <Initialize>g__SetResistanceInfoText|441_45(container); <Initialize>g__SetResistanceString|441_46(container); } internal void <Initialize>b__441_50(FloatValueChangeEvent e) { //IL_001e: Unknown result type (might be due to invalid IL or missing references) if (eidResistanceEnabled.value) { EidStatContainer container = enemyStats[eidStatEditorSelector.value]; string key = eidResistanceSelector.value.ToString().Replace('_', ' '); container.resistanceDict[key] = e.value; <Initialize>g__SetResistanceInfoText|441_45(container); <Initialize>g__SetResistanceString|441_46(container); } } internal void <Initialize>b__441_58(BoolValueChangeEvent e) { ((ConfigField)droneHomeTurnSpeed).interactable = e.value; dirtyField = true; } internal void <Initialize>b__441_67(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_69(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_73(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_74(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_75(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_76(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_77(EnumValueChangeEvent<SwordsMachineSecondPhase> e) { dirtyField = true; ((ConfigField)swordsMachineSecondPhaseSpeed).hidden = e.value != SwordsMachineSecondPhase.SpeedUp; } internal void <Initialize>b__441_93(BoolValueChangeEvent e) { ((ConfigField)minosPrimeTeleportTrailDuration).hidden = e.value; dirtyField = true; } internal void <Initialize>b__441_94(BoolValueChangeEvent e) { ((ConfigField)minosPrimeComboExplosionSize).interactable = e.value; ((ConfigField)minosPrimeComboExplosionDamage).interactable = e.value; } internal void <Initialize>b__441_95(BoolValueChangeEvent e) { ((ConfigField)minosPrimeExplosionChance).interactable = e.value; ((ConfigField)minosPrimeExplosionSize).interactable = e.value; ((ConfigField)minosPrimeExplosionDamage).interactable = e.value; } internal void <Initialize>b__441_96(BoolValueChangeEvent e) { dirtyField = true; ((ConfigField)minosPrimeCrushAttackChance).interactable = e.value; } internal void <Initialize>b__441_97(BoolValueChangeEvent e) { dirtyField = true; ((ConfigField)minosPrimeComboExplosiveEndChance).interactable = e.value; } internal void <Initialize>b__441_100(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_109(FloatValueChangeEvent e) { //IL_0013: Unknown result type (might be due to invalid IL or missing references) //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Unknown result type (might be due to invalid IL or missing references) GameObject shockwave = SisyphusInstructionist_Start.shockwave; shockwave.transform.localScale = new Vector3(shockwave.transform.localScale.x, 20f * sisyInstBoulderShockwaveSize.value, shockwave.transform.localScale.z); } internal void <Initialize>b__441_110(FloatValueChangeEvent e) { GameObject shockwave = SisyphusInstructionist_Start.shockwave; PhysicalShockwave component = shockwave.GetComponent<PhysicalShockwave>(); component.speed = e.value; } internal void <Initialize>b__441_111(IntValueChangeEvent e) { GameObject shockwave = SisyphusInstructionist_Start.shockwave; PhysicalShockwave component = shockwave.GetComponent<PhysicalShockwave>(); component.damage = e.value; } internal void <Initialize>b__441_115(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_116(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_117(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_118(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_119(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__441_120(BoolValueChangeEvent e) { dirtyField = true; ((ConfigField)panopticonAxisBeamSizeMulti).interactable = e.value; } internal void <Initialize>b__441_124(EnumValueChangeEvent<IdolExplosionType> e) { ((ConfigField)idolExplosionSizeMultiplier).interactable = e.value != IdolExplosionType.Sand; ((ConfigField)idolExplosionDamageMultiplier).interactable = e.value != IdolExplosionType.Sand; } } public static PluginConfigurator config = null; public static BoolField enemyTweakToggle; private static ConfigPanel enemyPanel; public static BoolField playerTweakToggle; private static ConfigPanel playerPanel; public static BoolField discordRichPresenceToggle; public static BoolField steamRichPresenceToggle; public static StringField pluginName; public static string pluginInfo = "<color=white>Unfair enemies and lethal attacks.\n\nNew enemy behaviors and weapon synergies. Changes made are meant to be unfair.</color>\n\n<b>Recommended for players who have completed BRUTAL and VIOLENT difficulty to perfection.</b>\n\n<color=orange><i>Uses UKMD difficulty slot and save data.</color>\n\n<color=#666666>REFUELED v1.0 does not currently support VIOLENCE layer enemies.</color></i>\n "; public static BoolField globalDifficultySwitch; public static ConfigPanel memePanel; public static BoolField enrageSfxToggle; public static BoolField funnyDruidKnightSFXToggle; public static BoolField fleshObamiumToggle; public static StringField fleshObamiumName; public static BoolField obamapticonToggle; public static StringField obamapticonName; public static BoolField crossmodSupport_MD; public static BoolField crossmodSupport_SM; public static ConfigPanel playerStatEditorPanel; public static FloatField staminaRegSpeedMulti; public static FloatField revolverDamage; public static FloatField revolverAltDamage; public static FloatField revolverFireRate; public static FloatField revolverAltFireRate; public static FloatField coinRegSpeedMulti; public static FloatField chargedRevRegSpeedMulti; public static FloatField chargedRevDamage; public static FloatField chargedAltRevDamage; public static IntField chargedRevTotalHits; public static IntField chargedAltRevTotalHits; public static IntField chargedRevMaxHitsPerTarget; public static IntField chargedAltRevMaxHitsPerTarget; public static FloatField sharpshooterRegSpeedMulti; public static FloatField sharpshooterDamage; public static FloatField sharpshooterAltDamage; public static IntField sharpshooterMaxHitsPerTarget; public static IntField sharpshooterAltMaxHitsPerTarget; public static IntField shotgunBluePelletCount; public static FloatField shotgunBlueDamagePerPellet; public static FloatField shotgunBlueSpreadAngle; public static FloatField shotgunCoreExplosionSize; public static FloatField shotgunCoreExplosionSpeed; public static IntField shotgunCoreExplosionDamage; public static IntField shotgunCoreExplosionPlayerDamage; public static IntField shotgunGreenPump1Count; public static FloatField shotgunGreenPump1Damage; public static FloatField shotgunGreenPump1Spread; public static IntField shotgunGreenPump2Count; public static FloatField shotgunGreenPump2Damage; public static FloatField shotgunGreenPump2Spread; public static IntField shotgunGreenPump3Count; public static FloatField shotgunGreenPump3Damage; public static FloatField shotgunGreenPump3Spread; public static FloatField shotgunGreenExplosionSize; public static FloatField shotgunGreenExplosionSpeed; public static IntField shotgunGreenExplosionDamage; public static IntField shotgunGreenExplosionPlayerDamage; public static FloatField nailgunBlueDamage; public static FloatField nailgunGreenDamage; public static FloatField nailgunGreenBurningDamage; public static FloatField sawBlueDamage; public static FloatField sawBlueHitAmount; public static FloatField sawGreenDamage; public static FloatField sawGreenHitAmount; public static FloatField sawGreenBurningDamage; public static FloatField sawGreenBurningHitAmount; public static FloatField nailgunAmmoRegSpeedMulti; public static FloatField sawAmmoRegSpeedMulti; public static FloatField nailgunHeatsinkRegSpeedMulti; public static FloatField sawHeatsinkRegSpeedMulti; public static FloatField railcannonRegSpeedMulti; public static FloatField electricCannonDamageMulti; public static FloatField malCannonExpSizeMulti; public static FloatField malCannonExpDamageMulti; public static FloatField screwdriverDamageMulti; public static FloatField screwdriverLengthMulti; public static FloatField rocketExpSizeMulti; public static FloatField rocketExpDamageMulti; public static FloatField rocketExpSuperSizeMulti; public static FloatField rocketExpSuperDamageMulti; public static FloatField rocketFreezeRegSpeedMulti; public static FloatField rocketCannonballRegSpeedMulti; public static IntField maxPlayerHp; public static IntField playerHpSupercharge; public static FloatSliderField hardDamagePercent; public static IntField whiplashHardDamageCap; public static FloatField whiplashHardDamageSpeed; public static BoolField playerHpDeltaToggle; public static IntField playerHpDeltaAmount; public static IntField playerHpDeltaLimit; public static FloatField playerHpDeltaDelay; public static BoolField playerHpDeltaHurtAudio; public static BoolField playerHpDeltaCalm; public static BoolField playerHpDeltaCombat; public static BoolField playerHpDeltaCybergrind; public static BoolField playerHpDeltaSandbox; public static BoolField rocketBoostToggle; public static BoolField rocketBoostAlwaysExplodesToggle; public static FloatField rocketBoostDamageMultiplierPerHit; public static FloatField rocketBoostSizeMultiplierPerHit; public static FloatField rocketBoostSpeedMultiplierPerHit; public static FormattedStringField rocketBoostStyleText; public static IntField rocketBoostStylePoints; public static BoolField rocketGrabbingToggle; public static BoolField grenadeBoostToggle; public static FloatField grenadeBoostDamageMultiplier; public static FloatField grenadeBoostSizeMultiplier; public static FormattedStringField grenadeBoostStyleText; public static IntField grenadeBoostStylePoints; public static BoolField orbStrikeToggle; public static FloatField orbStrikeMinDistance; public static FormattedStringField orbStrikeRevolverStyleText; public static IntField orbStrikeRevolverStylePoint; public static BoolField orbStrikeRevolverGrenade; public static FloatField orbStrikeRevolverGrenadeExtraSize; public static FloatField orbStrikeRevolverGrenadeExtraDamage; public static BoolField orbStrikeRevolverExplosion; public static FloatField orbStrikeRevolverExplosionDamage; public static FloatField orbStrikeRevolverExplosionSize; public static FormattedStringField orbStrikeRevolverChargedStyleText; public static IntField orbStrikeRevolverChargedStylePoint; public static BoolField orbStrikeRevolverChargedGrenade; public static FloatField orbStrikeRevolverChargedGrenadeExtraSize; public static FloatField orbStrikeRevolverChargedGrenadeExtraDamage; public static BoolField orbStrikeRevolverChargedInsignia; public static FloatField orbStrikeRevolverChargedInsigniaDelayBoost; public static IntField orbStrikeRevolverChargedInsigniaDamage; public static FloatField orbStrikeRevolverChargedInsigniaSize; public static FormattedStringField orbStrikeElectricCannonStyleText; public static IntField orbStrikeElectricCannonStylePoint; public static BoolField orbStrikeElectricCannonGrenade; public static FloatField orbStrikeElectricCannonGrenadeExtraSize; public static FloatField orbStrikeElectricCannonGrenadeExtraDamage; public static BoolField orbStrikeElectricCannonExplosion; public static FloatField orbStrikeElectricCannonExplosionDamage; public static FloatField orbStrikeElectricCannonExplosionSize; public static FormattedStringField orbStrikeMaliciousCannonStyleText; public static IntField orbStrikeMaliciousCannonStylePoint; public static BoolField orbStrikeMaliciousCannonGrenade; public static FloatField orbStrikeMaliciousCannonGrenadeExtraSize; public static FloatField orbStrikeMaliciousCannonGrenadeExtraDamage; public static BoolField orbStrikeMaliciousCannonExplosion; public static FloatField orbStrikeMaliciousCannonExplosionDamageMultiplier; public static FloatField orbStrikeMaliciousCannonExplosionSizeMultiplier; public static FormattedStringField maliciousChargebackStyleText; public static IntField maliciousChargebackStylePoint; public static BoolField maliciousChargebackExplosionToggle; public static FloatField maliciousChargebackExplosionSizeMultiplier; public static FloatField maliciousChargebackExplosionDamageMultiplier; public static FormattedStringField sentryChargebackStyleText; public static IntField sentryChargebackStylePoint; public static IntField sentryChargebackExtraBeamCount; public static ConfigPanel globalEnemyPanel; public static ConfigPanel cerberusPanel; public static ConfigPanel dronePanel; public static ConfigPanel filthPanel; public static ConfigPanel hideousMassPanel; public static ConfigPanel maliciousFacePanel; public static ConfigPanel mindflayerPanel; public static ConfigPanel schismPanel; public static ConfigPanel soliderPanel; public static ConfigPanel stalkerPanel; public static ConfigPanel strayPanel; public static ConfigPanel streetCleanerPanel; public static ConfigPanel swordsMachinePanel; public static ConfigPanel virtuePanel; public static ConfigPanel ferrymanPanel; public static ConfigPanel turretPanel; public static ConfigPanel fleshPrisonPanel; public static ConfigPanel minosPrimePanel; public static ConfigPanel v2FirstPanel; public static ConfigPanel v2SecondPanel; public static ConfigPanel sisyInstPanel; public static ConfigPanel leviathanPanel; public static ConfigPanel somethingWickedPanel; public static ConfigPanel panopticonPanel; public static ConfigPanel idolPanel; public static BoolField friendlyFireDamageOverrideToggle; public static FloatSliderField friendlyFireDamageOverrideExplosion; public static FloatSliderField friendlyFireDamageOverrideProjectile; public static FloatSliderField friendlyFireDamageOverrideFire; public static FloatSliderField friendlyFireDamageOverrideMelee; public static char resistanceSeparator = '\u0001'; public static Dictionary<EnemyType, float> defaultEnemyHealth = new Dictionary<EnemyType, float> { { (EnemyType)18, 2f }, { (EnemyType)8, 2f }, { (EnemyType)22, 2f } }; public static Dictionary<EnemyType, float> defaultEnemySpeed = new Dictionary<EnemyType, float> { { (EnemyType)18, 1.2f }, { (EnemyType)8, 1.25f }, { (EnemyType)22, 1.25f }, { (EnemyType)14, 1.2f } }; public static Dictionary<EnemyType, float> defaultEnemyDamage = new Dictionary<EnemyType, float>(); public static Dictionary<HitterType, string> hitterDisplayNames = new Dictionary<HitterType, string> { { HitterType.revolver, "Revolver" }, { HitterType.coin, "Fistful of dollar" }, { HitterType.shotgun, "Shotgun pellet" }, { HitterType.shotgunzone, "Shotgun close" }, { HitterType.nail, "Nail" }, { HitterType.harpoon, "Magnet" }, { HitterType.sawblade, "Sawblade" }, { HitterType.railcannon, "Electric railcannon" }, { HitterType.drill, "Drill" }, { HitterType.cannonball, "Cannonball" }, { HitterType.punch, "Feedbacker" }, { HitterType.heavypunch, "Knuckleblaster" }, { HitterType.hook, "Whiplash hook" }, { HitterType.ground_slam, "Ground slam" }, { HitterType.explosion, "Explosion" }, { HitterType.fire, "Fire" }, { HitterType.acid, "Acid" }, { HitterType.environment, "Environment" }, { HitterType.projectile, "Projectile" } }; public static ConfigPanel eidStatEditorPanel; public static EnumField<EnemyType> eidStatEditorSelector; public static Dictionary<EnemyType, EidStatContainer> enemyStats = new Dictionary<EnemyType, EidStatContainer>(); public static EnumField<HitterType> eidResistanceSelector; public static BoolField eidResistanceEnabled; public static FloatField eidResistanceField; public static ConfigHeader eidResistanceInfo; public static BoolField screwDriverSplitToggle; public static IntField screwDriverCoinSplitCount; public static IntField screwDriverGrenadeSplitCount; public static BoolField screwDriverHomeToggle; public static BoolField screwDriverHomeDestroyMagnets; public static FloatField screwDriverHomePierceDamage; public static BoolField cerberusDashToggle; public static IntField cerberusTotalDashCount; public static BoolField cerberusParryable; public static FloatField cerberusParryableDuration; public static IntField cerberusParryDamage; public static BoolField droneProjectileToggle; public static FloatField droneProjectileDelay; public static FloatSliderField droneProjectileChance; public static BoolField droneExplosionBeamToggle; public static FloatField droneExplosionBeamDelay; public static FloatSliderField droneExplosionBeamChance; public static BoolField droneSentryBeamToggle; public static FloatField droneSentryBeamDelay; public static FloatSliderField droneSentryBeamChance; public static FloatField droneSentryBeamDamage; public static BoolField droneDrawSentryBeamLine; public static ColorField droneSentryBeamLineNormalColor; public static ColorField droneSentryBeamLineWarningColor; public static FloatField droneSentryBeamLineIndicatorDelay; public static BoolField droneHomeToggle; public static FloatField droneHomeTurnSpeed; public static BoolField filthExplodeToggle; public static BoolField filthExplodeKills; public static IntField filthExplosionDamage; public static FloatField filthExplosionSize; public static BoolField hideousMassInsigniaToggle; public static FloatField hideousMassInsigniaSpeed; public static BoolField hideousMassInsigniaYtoggle; public static FloatField hideousMassInsigniaYsize; public static IntField hideousMassInsigniaYdamage; public static BoolField hideousMassInsigniaZtoggle; public static FloatField hideousMassInsigniaZsize; public static IntField hideousMassInsigniaZdamage; public static BoolField hideousMassInsigniaXtoggle; public static FloatField hideousMassInsigniaXsize; public static IntField hideousMassInsigniaXdamage; public static BoolField virtueTweakNormalAttackToggle; public static EnumField<VirtueAttackType> virtueNormalAttackType; public static FloatField virtueNormalInsigniaLastMulti; public static BoolField virtueNormalInsigniaXtoggle; public static FloatField virtueNormalInsigniaXsize; public static IntField virtueNormalInsigniaXdamage; public static BoolField virtueNormalInsigniaYtoggle; public static FloatField virtueNormalInsigniaYsize; public static IntField virtueNormalInsigniaYdamage; public static BoolField virtueNormalInsigniaZtoggle; public static FloatField virtueNormalInsigniaZsize; public static IntField virtueNormalInsigniaZdamage; public static FloatField virtueNormalLightningDamage; public static FloatField virtueNormalLightningDelay; public static BoolField virtueTweakEnragedAttackToggle; public static EnumField<VirtueAttackType> virtueEnragedAttackType; public static FloatField virtueEnragedInsigniaLastMulti; public static BoolField virtueEnragedInsigniaXtoggle; public static FloatField virtueEnragedInsigniaXsize; public static IntField virtueEnragedInsigniaXdamage; public static BoolField virtueEnragedInsigniaYtoggle; public static FloatField virtueEnragedInsigniaYsize; public static IntField virtueEnragedInsigniaYdamage; public static BoolField virtueEnragedInsigniaZtoggle; public static FloatField virtueEnragedInsigniaZsize; public static IntField virtueEnragedInsigniaZdamage; public static FloatField virtueEnragedLightningDamage; public static FloatField virtueEnragedLightningDelay; public static BoolField maliciousFaceRadianceOnEnrage; public static IntField maliciousFaceRadianceAmount; public static BoolField maliciousFaceHomingProjectileToggle; public static IntField maliciousFaceHomingProjectileCount; public static IntField maliciousFaceHomingProjectileDamage; public static FloatField maliciousFaceHomingProjectileTurnSpeed; public static FloatField maliciousFaceHomingProjectileSpeed; public static IntField maliciousFaceBeamCountNormal; public static IntField maliciousFaceBeamCountEnraged; public static BoolField mindflayerShootTweakToggle; public static IntField mindflayerShootAmount; public static FloatField mindflayerShootDelay; public static FloatField mindflayerShootInitialSpeed; public static FloatField mindflayerShootTurnSpeed; public static FloatSliderField mindflayerProjectileSelfDamageMultiplier; public static BoolField mindflayerTeleportComboToggle; public static BoolField schismSpreadAttackToggle; public static FloatSliderField schismSpreadAttackAngle; public static IntField schismSpreadAttackCount; public static BoolField soliderCoinsIgnoreWeakPointToggle; public static BoolField soliderShootTweakToggle; public static IntField soliderShootCount; public static BoolField soliderShootGrenadeToggle; public static IntField soliderGrenadeDamage; public static FloatField soliderGrenadeSize; public static BoolField stalkerSurviveExplosion; public static BoolField stalkerSpreadHealthRad; public static IntField stalkerSpreadHealthAddition; public static BoolField stalkerSpreadDamageRad; public static IntField stalkerSpreadDamageAddition; public static BoolField stalkerSpreadSpeedRad; public static IntField stalkerSpreadSpeedAddition; public static BoolField strayShootToggle; public static IntField strayShootCount; public static FloatField strayShootSpeed; public static BoolField strayCoinsIgnoreWeakPointToggle; public static BoolField streetCleanerPredictiveDodgeToggle; public static BoolField streetCleanerCoinsIgnoreWeakPointToggle; public static BoolField swordsMachineNoLightKnockbackToggle; public static EnumField<SwordsMachineSecondPhase> swordsMachineSecondPhaseMode; public static FloatField swordsMachineSecondPhaseSpeed; public static BoolField swordsMachineExplosiveSwordToggle; public static IntField swordsMachineExplosiveSwordDamage; public static FloatField swordsMachineExplosiveSwordSize; public static BoolField ferrymanComboToggle; public static IntField ferrymanComboCount; public static FloatField ferrymanAttackDelay; public static BoolField turretBurstFireToggle; public static IntField turretBurstFireCount; public static FloatField turretBurstFireDelay; public static BoolField fleshPrisonSpinAttackToggle; public static IntField fleshPrisonSpinAttackCount; public static FloatField fleshPrisonSpinAttackTurnSpeed; public static FloatField fleshPrisonSpinAttackActivateSpeed; public static FloatField fleshPrisonSpinAttackSize; public static IntField fleshPrisonSpinAttackDamage; public static FloatField fleshPrisonSpinAttackDistance; public static BoolField minosPrimeEarlyPhaseToggle; public static BoolField minosPrimeComboToggle; public static BoolField minosPrimeRandomTeleportToggle; public static FloatField minosPrimeRandomTeleportMinDistance; public static FloatField minosPrimeRandomTeleportMaxDistance; public static BoolField minosPrimeTeleportTrail; public static FloatField minosPrimeTeleportTrailDuration; public static BoolField minosPrimeExplosionToggle; public static FloatSliderField minosPrimeExplosionChance; public static FloatField minosPrimeExplosionWindupSpeed; public static FloatField minosPrimeExplosionSize; public static FloatField minosPrimeExplosionDamage; public static BoolField minosPrimeCrushAttackToggle; public static FloatSliderField minosPrimeCrushAttackChance; public static BoolField minosPrimeComboExplosiveEndToggle; public static FloatSliderField minosPrimeComboExplosiveEndChance; public static BoolField minosPrimeComboExplosionToggle; public static FloatField minosPrimeComboExplosionSize; public static FloatField minosPrimeComboExplosionDamage; public static BoolField v2FirstKnuckleBlasterToggle; public static BoolField v2FirstKnuckleBlasterHitPlayerToggle; public static FloatField v2FirstKnuckleBlasterHitPlayerMinDistance; public static IntField v2FirstKnuckleBlasterHitDamage; public static BoolField v2FirstKnuckleBlasterDeflectShotgunToggle; public static FloatField v2FirstKnuckleBlasterCooldown; public static IntField v2FirstKnuckleBlasterExplosionDamage; public static FloatField v2FirstKnuckleBlasterSize; public static FloatField v2FirstKnuckleBlasterSpeed; public static BoolField v2FirstCoreSnipeToggle; public static FloatField v2FirstCoreSnipeMaxDistanceToPlayer; public static FloatField v2FirstCoreSnipeMinDistanceToV2; public static FloatField v2FirstCoreSnipeReactionTime; public static BoolField v2FirstSharpshooterToggle; public static FloatSliderField v2FirstSharpshooterChance; public static FloatSliderField v2FirstSharpshooterAutoaimAngle; public static IntField v2FirstSharpshooterReflections; public static FloatField v2FirstSharpshooterDamage; public static FloatField v2FirstSharpshooterSpeed; public static BoolField v2SecondStartEnraged; public static BoolField v2SecondRocketLauncherToggle; public static BoolField v2SecondFastCoinToggle; public static FloatField v2SecondFastCoinShootDelay; public static FloatField v2SecondFastCoinThrowDelay; public static BoolField v2SecondCoinRailcannon; public static FloatField v2SecondCoinRailcannonCooldown; public static BoolField v2SecondMalCannonSnipeToggle; public static FloatField v2SecondMalCannonSnipeCooldown; public static FloatField v2SecondMalCannonSnipeReactTime; public static FloatField v2SecondMalCannonSnipeMaxDistanceToPlayer; public static FloatField v2SecondMalCannonSnipeMinDistanceToV2; public static BoolField v2SecondCoreSnipeToggle; public static FloatField v2SecondCoreSnipeMaxDistanceToPlayer; public static FloatField v2SecondCoreSnipeMinDistanceToV2; public static FloatField v2SecondCoreSnipeReactionTime; public static BoolField v2SecondSharpshooterToggle; public static FloatSliderField v2SecondSharpshooterChance; public static FloatSliderField v2SecondSharpshooterAutoaimAngle; public static IntField v2SecondSharpshooterReflections; public static FloatField v2SecondSharpshooterDamage; public static FloatField v2SecondSharpshooterSpeed; public static BoolField sisyInstBoulderShockwave; public static FloatField sisyInstBoulderShockwaveSize; public static FloatField sisyInstBoulderShockwaveSpeed; public static IntField sisyInstBoulderShockwaveDamage; public static BoolField sisyInstJumpShockwave; public static FloatField sisyInstJumpShockwaveSize; public static FloatField sisyInstJumpShockwaveSpeed; public static IntField sisyInstJumpShockwaveDamage; public static BoolField sisyInstStrongerExplosion; public static FloatField sisyInstStrongerExplosionSizeMulti; public static FloatField sisyInstStrongerExplosionDamageMulti; public static BoolField leviathanSecondPhaseBegin; public static BoolField leviathanProjectileMixToggle; public static FloatSliderField leviathanProjectileBlueChance; public static FloatSliderField leviathanProjectileYellowChance; public static IntField leviathanProjectileCount; public static FloatField leviathanProjectileDensity; public static FloatSliderField leviathanProjectileFriendlyFireDamageMultiplier; public static BoolField leviathanChargeAttack; public static FloatSliderField leviathanChargeChance; public static FloatField leviathanChargeSizeMulti; public static FloatField leviathanChargeDamageMulti; public static IntField leviathanChargeCount; public static FloatField leviathanChargeDelay; public static BoolField leviathanChargeHauntRocketRiding; public static IntField leviathanTailComboCount; public static BoolField somethingWickedSpear; public static BoolField somethingWickedSpawnOn43; public static BoolField panopticonFullPhase; public static BoolField panopticonBalanceEyes; public static BoolField panopticonBlackholeProj; public static BoolField panopticonAxisBeam; public static FloatField panopticonAxisBeamSizeMulti; public static BoolField panopticonSpinAttackToggle; public static IntField panopticonSpinAttackCount; public static FloatField panopticonSpinAttackTurnSpeed; public static FloatField panopticonSpinAttackActivateSpeed; public static FloatField panopticonSpinAttackSize; public static IntField panopticonSpinAttackDamage; public static FloatField panopticonSpinAttackDistance; public static BoolField panopticonBlueProjToggle; public static IntField panopticonBlueProjCount; public static FloatField panopticonBlueProjDamage; public static FloatField panopticonBlueProjTurnSpeed; public static FloatField panopticonBlueProjInitialSpeed; public static BoolField idolExplosionToggle; public static EnumField<IdolExplosionType> idolExplodionType; public static FloatField idolExplosionSizeMultiplier; public static FloatField idolExplosionDamageMultiplier; public static FloatSliderField idolExplosionEnemyDamagePercent; public static BoolField gabriSecondP1Chaos; public static IntField gabriSecondP1ChaosCount; private static bool dirtyField = false; public static void AddMissingPresets() { string text = Path.Combine(Plugin.workingDir, "defaultpresets"); if (!Directory.Exists(text)) { Debug.LogWarning((object)("UltraPain misses the default preset folder at " + text)); return; } string[] files = Directory.GetFiles(text); foreach (string text2 in files) { if (!text2.EndsWith(".config")) { Debug.LogWarning((object)("Incorrect file format at " + text2 + ". Extension must be .config")); continue; } string fileName = Path.GetFileName(text2); fileName = fileName.Substring(0, fileName.Length - 7); if (!string.IsNullOrWhiteSpace(fileName)) { config.TryAddPreset(fileName, fileName, text2); } } } public static void Initialize() { //IL_00c1: Unknown result type (might be due to invalid IL or missing references) //IL_00c7: Expected O, but got Unknown //IL_006f: Unknown result type (might be due to invalid IL or missing references) //IL_0074: Unknown result type (might be due to invalid IL or missing references) //IL_007a: Expected O, but got Unknown //IL_00e2: Unknown result type (might be due to invalid IL or missing references) //IL_00e7: Unknown result type (might be due to invalid IL or missing references) //IL_00ed: Expected O, but got Unknown //IL_0130: Unknown result type (might be due to invalid IL or missing references) //IL_014b: Unknown result type (might be due to invalid IL or missing references) //IL_0155: Expected O, but got Unknown //IL_0174: Unknown result type (might be due to invalid IL or missing references) //IL_017e: Expected O, but got Unknown //IL_010e: Unknown result type (might be due to invalid IL or missing references) //IL_0113: Unknown result type (might be due to invalid IL or missing references) //IL_0119: Expected O, but got Unknown //IL_01c4: Unknown result type (might be due to invalid IL or missing references) //IL_01df: Unknown result type (might be due to invalid IL or missing references) //IL_01e9: Expected O, but got Unknown //IL_0208: Unknown result type (might be due to invalid IL or missing references) //IL_0212: Expected O, but got Unknown //IL_0197: Unknown result type (might be due to invalid IL or missing references) //IL_019c: Unknown result type (might be due to invalid IL or missing references) //IL_01a2: Expected O, but got Unknown //IL_0258: Unknown result type (might be due to invalid IL or missing references) //IL_0273: Unknown result type (might be due to invalid IL or missing references) //IL_027d: Expected O, but got Unknown //IL_022b: Unknown result type (might be due to invalid IL or missing references) //IL_0230: Unknown result type (might be due to invalid IL or missing references) //IL_0236: Expected O, but got Unknown //IL_02bc: Unknown result type (might be due to invalid IL or missing references) //IL_02c6: Expected O, but got Unknown //IL_0296: Unknown result type (might be due to invalid IL or missing references) //IL_029b: Unknown result type (might be due to invalid IL or missing references) //IL_02a1: Expected O, but got Unknown //IL_0301: Unknown result type (might be due to invalid IL or missing references) //IL_0320: Unknown result type (might be due to invalid IL or missing references) //IL_032a: Expected O, but got Unknown //IL_02df: Unknown result type (might be due to invalid IL or missing references) //IL_02e4: Unknown result type (might be due to invalid IL or missing references) //IL_02ea: Expected O, but got Unknown //IL_0365: Unknown result type (might be due to invalid IL or missing references) //IL_037c: Unknown result type (might be due to invalid IL or missing references) //IL_0397: Unknown result type (might be due to invalid IL or missing references) //IL_03a1: Expected O, but got Unknown //IL_0343: Unknown result type (might be due to invalid IL or missing references) //IL_0348: Unknown result type (might be due to invalid IL or missing references) //IL_034e: Expected O, but got Unknown //IL_03dc: Unknown result type (might be due to invalid IL or missing references) //IL_03f7: Unknown result type (might be due to invalid IL or missing references) //IL_0401: Expected O, but got Unknown //IL_0416: Unknown result type (might be due to invalid IL or missing references) //IL_0420: Expected O, but got Unknown //IL_03ba: Unknown result type (might be due to invalid IL or missing references) //IL_03bf: Unknown result type (might be due to invalid IL or missing references) //IL_03c5: Expected O, but got Unknown //IL_0448: Unknown result type (might be due to invalid IL or missing references) //IL_0467: Unknown result type (might be due to invalid IL or missing references) //IL_046c: Unknown result type (might be due to invalid IL or missing references) //IL_0472: Expected O, but got Unknown //IL_04b1: Unknown result type (might be due to invalid IL or missing references) //IL_0503: Unknown result type (might be due to invalid IL or missing references) //IL_051d: Unknown result type (might be due to invalid IL or missing references) //IL_0527: Expected O, but got Unknown //IL_0538: Unknown result type (might be due to invalid IL or missing references) //IL_0552: Unknown result type (might be due to invalid IL or missing references) //IL_0558: Expected O, but got Unknown //IL_0560: Unknown result type (might be due to invalid IL or missing references) //IL_056a: Expected O, but got Unknown //IL_057b: Unknown result type (might be due to invalid IL or missing references) //IL_0585: Expected O, but got Unknown //IL_04d0: Unknown result type (might be due to invalid IL or missing references) //IL_04d5: Unknown result type (might be due to invalid IL or missing references) //IL_04db: Expected O, but got Unknown //IL_05bf: Unknown result type (might be due to invalid IL or missing references) //IL_05c9: Expected O, but got Unknown //IL_059e: Unknown result type (might be due to invalid IL or missing references) //IL_05a3: Unknown result type (might be due to invalid IL or missing references) //IL_05a9: Expected O, but got Unknown //IL_0603: Unknown result type (might be due to invalid IL or missing references) //IL_060d: Expected O, but got Unknown //IL_05e2: Unknown result type (might be due to invalid IL or missing references) //IL_05e7: Unknown result type (might be due to invalid IL or missing references) //IL_05ed: Expected O, but got Unknown //IL_064b: Unknown result type (might be due to invalid IL or missing references) //IL_0655: Expected O, but got Unknown //IL_0665: Unknown result type (might be due to invalid IL or missing references) //IL_066f: Expected O, but got Unknown //IL_0626: Unknown result type (might be due to invalid IL or missing references) //IL_062b: Unknown result type (might be due to invalid IL or missing references) //IL_0631: Expected O, but got Unknown //IL_06ad: Unknown result type (might be due to invalid IL or missing references) //IL_06b7: Expected O, but got Unknown //IL_06c6: Unknown result type (might be due to invalid IL or missing references) //IL_06d0: Expected O, but got Unknown //IL_06dc: Unknown result type (might be due to invalid IL or missing references) //IL_0700: Unknown result type (might be due to invalid IL or missing references) //IL_070a: Expected O, but got Unknown //IL_0716: Unknown result type (might be due to invalid IL or missing references) //IL_0733: Unknown result type (might be due to invalid IL or missing references) //IL_073d: Expected O, but got Unknown //IL_0757: Unknown result type (might be due to invalid IL or missing references) //IL_0761: Expected O, but got Unknown //IL_078f: Unknown result type (might be due to invalid IL or missing references) //IL_0799: Expected O, but got Unknown //IL_07b0: Unknown result type (might be due to invalid IL or missing references) //IL_07ba: Expected O, but got Unknown //IL_07d8: Unknown result type (might be due to invalid IL or missing references) //IL_07e2: Expected O, but got Unknown //IL_07fd: Unknown result type (might be due to invalid IL or missing references) //IL_0807: Expected O, but got Unknown //IL_0812: Unknown result type (might be due to invalid IL or missing references) //IL_081c: Expected O, but got Unknown //IL_0828: Unknown result type (might be due to invalid IL or missing references) //IL_0832: Expected O, but got Unknown //IL_084f: Unknown result type (might be due to invalid IL or missing references) //IL_0859: Expected O, but got Unknown //IL_0878: Unknown result type (might be due to invalid IL or missing references) //IL_0882: Expected O, but got Unknown //IL_0894: Unknown result type (might be due to invalid IL or missing references) //IL_089e: Expected O, but got Unknown //IL_08af: Unknown result type (might be due to invalid IL or missing references) //IL_08b9: Expected O, but got Unknown //IL_08ca: Unknown result type (might be due to invalid IL or missing references) //IL_08d4: Expected O, but got Unknown //IL_08e5: Unknown result type (might be due to invalid IL or missing references) //IL_08ef: Expected O, but got Unknown //IL_0900: Unknown result type (might be due to invalid IL or missing references) //IL_090a: Expected O, but got Unknown //IL_0688: Unknown result type (might be due to invalid IL or missing references) //IL_068d: Unknown result type (might be due to invalid IL or missing references) //IL_0693: Expected O, but got Unknown //IL_0945: Unknown result type (might be due to invalid IL or missing references) //IL_094f: Expected O, but got Unknown //IL_0923: Unknown result type (might be due to invalid IL or missing references) //IL_0928: Unknown result type (might be due to invalid IL or missing references) //IL_092e: Expected O, but got Unknown //IL_0985: Unknown result type (might be due to invalid IL or missing references) //IL_09a9: Unknown result type (might be due to invalid IL or missing references) //IL_09b3: Expected O, but got Unknown //IL_09bd: Unknown result type (might be due to invalid IL or missing references) //IL_09e6: Unknown result type (might be due to invalid IL or missing references) //IL_09f0: Expected O, but got Unknown //IL_09fa: Unknown result type (might be due to invalid IL or missing references) //IL_0a23: Unknown result type (might be due to invalid IL or missing references) //IL_0a2d: Expected O, but got Unknown //IL_0a37: Unknown result type (might be due to invalid IL or missing references) //IL_0a60: Unknown result type (might be due to invalid IL or missing references) //IL_0a6a: Expected O, but got Unknown //IL_0a74: Unknown result type (might be due to invalid IL or missing references) //IL_0a95: Unknown result type (might be due to invalid IL or missing references) //IL_0a9f: Expected O, but got Unknown //IL_0aa9: Unknown result type (might be due to invalid IL or missing references) //IL_0aca: Unknown result type (might be due to invalid IL or missing references) //IL_0ad4: Expected O, but got Unknown //IL_0ade: Unknown result type (might be due to invalid IL or missing references) //IL_0aff: Unknown result type (might be due to invalid IL or missing references) //IL_0b09: Expected O, but got Unknown //IL_0b13: Unknown result type (might be due to invalid IL or missing references) //IL_0b34: Unknown result type (might be due to invalid IL or missing references) //IL_0b3e: Expected O, but got Unknown //IL_0b48: Unknown result type (might be due to invalid IL or missing references) //IL_0b71: Unknown result type (might be due to invalid IL or missing references) //IL_0b7b: Expected O, but got Unknown //IL_0b85: Unknown result type (might be due to invalid IL or missing references) //IL_0bae: Unknown result type (might be due to invalid IL or missing references) //IL_0bb8: Expected O, but got Unknown //IL_0bc2: Unknown result type (might be due to invalid IL or missing references) //IL_0be3: Unknown result type (might be due to invalid IL or missing references) //IL_0bed: Expected O, but got Unknown //IL_0bf7: Unknown result type (might be due to invalid IL or missing references) //IL_0c18: Unknown result type (might be due to invalid IL or missing references) //IL_0c22: Expected O, but got Unknown //IL_0c2c: Unknown result type (might be due to invalid IL or missing references) //IL_0c55: Unknown result type (might be due to invalid IL or missing references) //IL_0c5f: Expected O, but got Unknown //IL_0c69: Unknown result type (might be due to invalid IL or missing references) //IL_0c92: Unknown result type (might be due to invalid IL or missing references) //IL_0c9c: Expected O, but got Unknown //IL_0ca6: Unknown result type (might be due to invalid IL or missing references) //IL_0ccf: Unknown result type (might be due to invalid IL or missing references) //IL_0cd9: Expected O, but got Unknown //IL_0ce3: Unknown result type (might be due to invalid IL or missing references) //IL_0cfa: Unknown result type (might be due to invalid IL or missing references) //IL_0d17: Unknown result type (might be due to invalid IL or missing references) //IL_0d21: Expected O, but got Unknown //IL_0d2b: Unknown result type (might be due to invalid IL or missing references) //IL_0d54: Unknown result type (might be due to invalid IL or missing references) //IL_0d5e: Expected O, but got Unknown //IL_0d68: Unknown result type (might be due to invalid IL or missing references) //IL_0d91: Unknown result type (might be due to invalid IL or missing references) //IL_0d9b: Expected O, but got Unknown //IL_0da5: Unknown result type (might be due to invalid IL or missing references) //IL_0dd9: Unknown result type (might be due to invalid IL or missing references) //IL_0de3: Expected O, but got Unknown //IL_0ded: Unknown result type (might be due to invalid IL or missing references) //IL_0e16: Unknown result type (might be due to invalid IL or missing references) //IL_0e20: Expected O, but got Unknown //IL_0e2a: Unknown result type (might be due to invalid IL or missing references) //IL_0e4c: Unknown result type (might be due to invalid IL or missing references) //IL_0e56: Expected O, but got Unknown //IL_0e60: Unknown result type (might be due to invalid IL or missing references) //IL_0e82: Unknown result type (might be due to invalid IL or missing references) //IL_0e8c: Expected O, but got Unknown //IL_0e96: Unknown result type (might be due to invalid IL or missing references) //IL_0ec3: Unknown result type (might be due to invalid IL or missing references) //IL_0ecd: Expected O, but got Unknown //IL_0ed7: Unknown result type (might be due to invalid IL or missing references) //IL_0f00: Unknown result type (might be due to invalid IL or missing references) //IL_0f0a: Expected O, but got Unknown //IL_0f14: Unknown result type (might be due to invalid IL or missing references) //IL_0f3d: Unknown result type (might be due to invalid IL or missing references) //IL_0f47: Expected O, but got Unknown //IL_0f51: Unknown result type (might be due to invalid IL or missing references) //IL_0f7e: Unknown result type (might be due to invalid IL or missing references) //IL_0f88: Expected O, but got Unknown //IL_0f92: Unknown result type (might be due to invalid IL or missing references) //IL_0fbb: Unknown result type (might be due to invalid IL or missing references) //IL_0fc5: Expected O, but got Unknown //IL_0fcf: Unknown result type (might be due to invalid IL or missing references) //IL_0ff8: Unknown result type (might be due to invalid IL or missing references) //IL_1002: Expected O, but got Unknown //IL_100c: Unknown result type (might be due to invalid IL or missing references) //IL_1039: Unknown result type (might be due to invalid IL or missing references) //IL_1043: Expected O, but got Unknown //IL_104d: Unknown result type (might be due to invalid IL or missing references) //IL_1076: Unknown result type (might be due to invalid IL or missing references) //IL_1080: Expected O, but got Unknown //IL_108a: Unknown result type (might be due to invalid IL or missing references) //IL_10b3: Unknown result type (might be due to invalid IL or missing references) //IL_10bd: Expected O, but got Unknown //IL_10c7: Unknown result type (might be due to invalid IL or missing references) //IL_10fb: Unknown result type (might be due to invalid IL or missing references) //IL_1105: Expected O, but got Unknown //IL_110f: Unknown result type (might be due to invalid IL or missing references) //IL_1138: Unknown result type (might be due to invalid IL or missing references) //IL_1142: Expected O, but got Unknown //IL_114c: Unknown result type (might be due to invalid IL or missing references) //IL_116e: Unknown result type (might be due to invalid IL or missing references) //IL_1178: Expected O, but got Unknown //IL_1182: Unknown result type (might be due to invalid IL or missing references) //IL_11a4: Unknown result type (might be due to invalid IL or missing references) //IL_11ae: Expected O, but got Unknown //IL_11b8: Unknown result type (might be due to invalid IL or missing references) //IL_11cf: Unknown result type (might be due to invalid IL or missing references) //IL_11f3: Unknown result type (might be due to invalid IL or missing references) //IL_11fd: Expected O, but got Unknown //IL_1207: Unknown result type (might be due to invalid IL or missing references) //IL_1230: Unknown result type (might be due to invalid IL or missing references) //IL_123a: Expected O, but got Unknown //IL_1244: Unknown result type (might be due to invalid IL or missing references) //IL_126d: Unknown result type (might be due to invalid IL or missing references) //IL_1277: Expected O, but got Unknown //IL_1281: Unknown result type (might be due to invalid IL or missing references) //IL_12b5: Unknown result type (might be due to invalid IL or missing references) //IL_12bf: Expected O, but got Unknown //IL_12c9: Unknown result type (might be due to invalid IL or missing references) //IL_12f2: Unknown result type (might be due to invalid IL or missing references) //IL_12fc: Expected O, but got Unknown //IL_1306: Unknown result type (might be due to invalid IL or missing references) //IL_132f: Unknown result type (might be due to invalid IL or missing references) //IL_1339: Expected O, but got Unknown //IL_1343: Unknown result type (might be due to invalid IL or missing references) //IL_136c: Unknown result type (might be due to invalid IL or missing references) //IL_1376: Expected O, but got Unknown //IL_1380: Unknown result type (might be due to invalid IL or missing references) //IL_13a9: Unknown result type (might be due to invalid IL or missing references) //IL_13b3: Expected O, but got Unknown //IL_13bd: Unknown result type (might be due to invalid IL or missing references) //IL_13e6: Unknown result type (might be due to invalid IL or missing references) //IL_13f0: Expected O, but got Unknown //IL_13fa: Unknown result type (might be due to invalid IL or missing references) //IL_142e: Unknown result type (might be due to invalid IL or missing references) //IL_1438: Expected O, but got Unknown //IL_1442: Unknown result type (might be due to invalid IL or missing references) //IL_146b: Unknown result type (might be due to invalid IL or missing references) //IL_1475: Expected O, but got Unknown //IL_147f: Unknown result type (might be due to invalid IL or missing references) //IL_14a8: Unknown result type (might be due to invalid IL or missing references) //IL_14b2: Expected O, but got Unknown //IL_14bc: Unknown result type (might be due to invalid IL or missing references) //IL_14e5: Unknown result type (might be due to invalid IL or missing references) //IL_14ef: Expected O, but got Unknown //IL_14f9: Unknown result type (might be due to invalid IL or missing references) //IL_1510: Unknown result type (might be due to invalid IL or missing references) //IL_1534: Unknown result type (might be due to invalid IL or missing references) //IL_153e: Expected O, but got Unknown //IL_154a: Unknown result type (might be due to invalid IL or missing references) //IL_156e: Unknown result type (might be due to invalid IL or missing references) //IL_1578: Expected O, but got Unknown //IL_1596: Unknown result type (might be due to invalid IL or missing references) //IL_15a0: Expected O, but got Unknown //IL_1822: Unknown result type (might be due to invalid IL or missing references) //IL_1838: Unknown result type (might be due to invalid IL or missing references) //IL_1842: Expected O, but got Unknown //IL_1858: Unknown result type (might be due to invalid IL or missing references) //IL_1862: Expected O, but got Unknown //IL_186e: Unknown result type (might be due to invalid IL or missing references) //IL_1878: Expected O, but got Unknown //IL_1895: Unknown result type (might be due to invalid IL or missing references) //IL_189f: Expected O, but got Unknown //IL_18be: Unknown result type (might be due to invalid IL or missing references) //IL_18c8: Expected O, but got Unknown //IL_18e7: Unknown result type (might be due to invalid IL or missing references) //IL_18f1: Expected O, but got Unknown //IL_1910: Unknown result type (might be due to invalid IL or missing references) //IL_191a: Expected O, but got Unknown //IL_191a: Unknown result type (might be due to invalid IL or missing references) //IL_1921: Expected O, but got Unknown //IL_192c: Unknown result type (might be due to invalid IL or missing references) //IL_1931: Unknown result type (might be due to invalid IL or missing references) //IL_1936: Unknown result type (might be due to invalid IL or missing references) //IL_1938: Unknown result type (might be due to invalid IL or missing references) //IL_1962: Unknown result type (might be due to invalid IL or missing references) //IL_196c: Expected O, but got Unknown //IL_0968: Unknown result type (might be due to invalid IL or missing references) //IL_096d: Unknown result type (might be due to invalid IL or missing references) //IL_0973: Expected O, but got Unknown //IL_19ae: Unknown result type (might be due to invalid IL or missing references) //IL_19b8: Expected O, but got Unknown //IL_19c4: Unknown result type (might be due to invalid IL or missing references) //IL_19da: Unknown result type (might be due to invalid IL or missing references) //IL_19e4: Expected O, but got Unknown //IL_1985: Unknown result type (might be due to invalid IL or missing references) //IL_198a: Unknown result type (might be due to invalid IL or missing references) //IL_1990: Expected O, but got Unknown //IL_1a1a: Unknown result type (might be due to invalid IL or missing references) //IL_1a30: Unknown result type (might be due to invalid IL or missing references) //IL_1a3a: Expected O, but got Unknown //IL_1a50: Unknown result type (might be due to invalid IL or missing references) //IL_1a5a: Expected O, but got Unknown //IL_1a66: Unknown result type (might be due to invalid IL or missing references) //IL_1a70: Expected O, but got Unknown //IL_1a9b: Unknown result type (might be due to invalid IL or missing references) //IL_1aa5: Expected O, but got Unknown //IL_1ac4: Unknown result type (might be due to invalid IL or missing references) //IL_1ace: Expected O, but got Unknown //IL_1ace: Unknown result type (might be due to invalid IL or missing references) //IL_1ad5: Expected O, but got Unknown //IL_1ae0: Unknown result type (might be due to invalid IL or missing references) //IL_1ae5: Unknown result type (might be due to invalid IL or missing references) //IL_1aea: Unknown result type (might be due to invalid IL or missing references) //IL_1aec: Unknown result type (might be due to invalid IL or missing references) //IL_1b16: Unknown result type (might be due to invalid IL or missing references) //IL_1b20: Expected O, but got Unknown //IL_19fd: Unknown result type (might be due to invalid IL or missing references) //IL_1a02: Unknown result type (might be due to invalid IL or missing references) //IL_1a08: Expected O, but got Unknown //IL_1b62: Unknown result type (might be due to invalid IL or missing references) //IL_1b6c: Expected O, but got Unknown //IL_1b78: Unknown result type (might be due to invalid IL or missing references) //IL_1b8e: Unknown result type (might be due to invalid IL or missing references) //IL_1b98: Expected O, but got Unknown //IL_1ba3: Unknown result type (might be due to invalid IL or missing references) //IL_1bad: Expected O, but got Unknown //IL_1bb9: Unknown result type (might be due to invalid IL or missing references) //IL_1bc3: Expected O, but got Unknown //IL_1be6: Unknown result type (might be due to invalid IL or missing references) //IL_1bf0: Expected O, but got Unknown //IL_1c01: Unknown result type (might be due to invalid IL or missing references) //IL_1c0b: Expected O, but got Unknown //IL_1c17: Unknown result type (might be due to invalid IL or missing references) //IL_1c2d: Unknown result type (might be due to invalid IL or missing references) //IL_1c37: Expected O, but got Unknown //IL_1c42: Unknown result type (might be due to invalid IL or missing references) //IL_1c4c: Expected O, but got Unknown //IL_1c58: Unknown result type (might be due to invalid IL or missing references) //IL_1c62: Expected O, but got Unknown //IL_1c7f: Unknown result type (might be due to invalid IL or missing references) //IL_1c89: Expected O, but got Unknown //IL_1ca8: Unknown result type (might be due to invalid IL or missing references) //IL_1cb2: Expected O, but got Unknown //IL_1cbe: Unknown result type (might be due to invalid IL or missing references) //IL_1cd0: Unknown result type (might be due to invalid IL or missing references) //IL_1ce6: Unknown result type (might be due to invalid IL or missing references) //IL_1cf0: Expected O, but got Unknown //IL_1d06: Unknown result type (might be due to invalid IL or missing references) //IL_1d10: Expected O, but got Unknown //IL_1d1c: Unknown result type (might be due to invalid IL or missing references) //IL_1d26: Expected O, but got Unknown //IL_1d51: Unknown result type (might be due to invalid IL or missing references) //IL_1d5b: Expected O, but got Unknown //IL_1d68: Unknown result type (might be due to invalid IL or missing references) //IL_1d6e: Unknown result type (might be due to invalid IL or missing references) //IL_1d75: Expected O, but got Unknown //IL_1d80: Unknown result type (might be due to invalid IL or missing references) //IL_1d85: Unknown result type (might be due to invalid IL or missing references) //IL_1d8a: Unknown result type (might be due to invalid IL or missing references) //IL_1d8c: Unknown result type (might be due to invalid IL or missing references) //IL_1db6: Unknown result type (might be due to invalid IL or missing references) //IL_1dc0: Expected O, but got Unknown //IL_1b39: Unknown result type (might be due to invalid IL or missing references) //IL_1b3e: Unknown result type (might be due to invalid IL or missing references) //IL_1b44: Expected O, but got Unknown //IL_1e02: Unknown result type (might be due to invalid IL or missing references) //IL_1e0c: Expected O, but got Unknown //IL_1e19: Unknown result type (might be due to invalid IL or missing references) //IL_1e30: Unknown result type (might be due to invalid IL or missing references) //IL_1e3a: Expected O, but got Unknown //IL_1e51: Unknown result type (might be due to invalid IL or missing references) //IL_1e5b: Expected O, but got Unknown //IL_1e67: Unknown result type (might be due to invalid IL or missing references) //IL_1e71: Expected O, but got Unknown //IL_1e9c: Unknown result type (might be due to invalid IL or missing references) //IL_1ea6: Expected O, but got Unknown //IL_1ec5: Unknown result type (might be due to invalid IL or missing references) //IL_1ecf: Expected O, but got Unknown //IL_1edc: Unknown result type (might be due to invalid IL or missing references) //IL_1ef3: Unknown result type (might be due to invalid IL or missing references) //IL_1efd: Expected O, but got Unknown //IL_1f14: Unknown result type (might be due to invalid IL or missing references) //IL_1f1e: Expected O, but got Unknown //IL_1f2a: Unknown result type (might be due to invalid IL or missing references) //IL_1f34: Expected O, but got Unknown //IL_1f5f: Unknown result type (might be due to invalid IL or missing references) //IL_1f69: Expected O, but got Unknown //IL_1f88: Unknown result type (might be due to invalid IL or missing references) //IL_1f92: Expected O, but got Unknown //IL_1f9f: Unknown result type (might be due to invalid IL or missing references) //IL_1fa5: Unknown result type (might be due to invalid IL or missing references) //IL_1fac: Expected O, but got Unknown //IL_1fb7: Unknown result type (might be due to invalid IL or missing references) //IL_1fbc: Unknown result type (might be due to invalid IL or missing references) //IL_1fc1: Unknown result type (might be due to invalid IL or missing references) //IL_1fc3: Unknown result type (might be due to invalid IL or missing references) //IL_1fdd: Unknown result type (might be due to invalid IL or missing references) //IL_1fe2: Unknown result type (might be due to invalid IL or missing references) //IL_200c: Unknown result type (might be due to invalid IL or missing references) //IL_2016: Expected O, but got Unknown //IL_1dd9: Unknown result type (might be due to invalid IL or missing references) //IL_1dde: Unknown result type (might be due to invalid IL or missing references) //IL_1de4: Expected O, but got Unknown //IL_2058: Unknown result type (might be due to invalid IL or missing references) //IL_2062: Expected O, but got Unknown //IL_206f: Unknown result type (might be due to invalid IL or missing references) //IL_2086: Unknown result type (might be due to invalid IL or missing references) //IL_2090: Expected O, but got Unknown //IL_20a7: Unknown result type (might be due to invalid IL or missing references) //IL_20b1: Expected O, but got Unknown //IL_20bd: Unknown result type (might be due to invalid IL or missing references) //IL_20c7: Expected O, but got Unknown //IL_20f2: Unknown result type (might be due to invalid IL or missing references) //IL_20fc: Expected O, but got Unknown //IL_211b: Unknown result type (might be due to invalid IL or missing references) //IL_2125: Expected O, but got Unknown //IL_2132: Unknown result type (might be due to invalid IL or missing references) //IL_2149: Unknown result type (might be due to invalid IL or missing references) //IL_2153: Expected O, but got Unknown //IL_216a: Unknown result type (might be due to invalid IL or missing references) //IL_2174: Expected O, but got Unknown //IL_2180: Unknown result type (might be due to invalid IL or missing references) //IL_218a: Expected O, but got Unknown //IL_21ae: Unknown result type (might be due to invalid IL or missing references) //IL_21b8: Expected O, but got Unknown //IL_21d7: Unknown result type (might be due to invalid IL or missing references) //IL_21e1: Expected O, but got Unknown //IL_2200: Unknown result type (might be due to invalid IL or missing references) //IL_220a: Expected O, but got Unknown //IL_2217: Unknown result type (might be due to invalid IL or missing references) //IL_221d: Unknown result type (might be due to invalid IL or missing references) //IL_2224: Expected O, but got Unknown //IL_223a: Unknown result type (might be due to invalid IL or missing references) //IL_223f: Unknown result type (might be due to invalid IL or missing references) //IL_2259: Unknown result type (might be due to invalid IL or missing references) //IL_225e: Unknown result type (might be due to invalid IL or missing references) //IL_2278: Unknown result type (might be due to invalid IL or missing references) //IL_227d: Unknown result type (might be due to invalid IL or missing references) //IL_22a7: Unknown result type (might be due to invalid IL or missing references) //IL_22b1: Expected O, but got Unknown //IL_202f: Unknown result type (might be due to invalid IL or missing references) //IL_2034: Unknown result type (might be due to invalid IL or missing references) //IL_203a: Expected O, but got Unknown //IL_22f3: Unknown result type (might be due to invalid IL or missing references) //IL_22fd: Expected O, but got Unknown //IL_230a: Unknown result type (might be due to invalid IL or missing references) //IL_2321: Unknown result type (might be due to invalid IL or missing references) //IL_232b: Expected O, but got Unknown //IL_2342: Unknown result type (might be due to invalid IL or missing references) //IL_234c: Expected O, but got Unknown //IL_2358: Unknown result type (might be due to invalid IL or missing references) //IL_2362: Expected O, but got Unknown //IL_238d: Unknown result type (might be due to invalid IL or missing references) //IL_2397: Expected O, but got Unknown //IL_23b6: Unknown result type (might be due to invalid IL or missing references) //IL_23c0: Expected O, but got Unknown //IL_23cd: Unknown result type (might be due to invalid IL or missing references) //IL_23e4: Unknown result type (might be due to invalid IL or missing references) //IL_23ee: Expected O, but got Unknown //IL_2405: Unknown result type (might be due to invalid IL or missing references) //IL_240f: Expected O, but got Unknown //IL_241b: Unknown result type (might be due to invalid IL or missing references) //IL_2425: Expected O, but got Unknown //IL_2450: Unknown result type (might be due to invalid IL or missing references) //IL_245a: Expected O, but got Unknown //IL_2479: Unknown result type (might be due to invalid IL or missing references) //IL_2483: Expected O, but got Unknown //IL_2490: Unknown result type (might be due to invalid IL or missing references) //IL_2496: Unknown result type (might be due to invalid IL or missing references) //IL_249d: Expected O, but got Unknown //IL_24a4: Unknown result type (might be due to invalid IL or missing references) //IL_24a9: Unknown result type (might be due to invalid IL or missing references) //IL_24d2: Unknown result type (might be due to invalid IL or missing references) //IL_24d7: Unknown result type (might be due to invalid IL or missing references) //IL_2501: Unknown result type (might be due to invalid IL or missing references) //IL_250b: Expected O, but got Unknown //IL_22ca: Unknown result type (might be due to invalid IL or missing references) //IL_22cf: Unknown result type (might be due to invalid IL or missing references) //IL_22d5: Expected O, but got Unknown //IL_254d: Unknown result type (might be due to invalid IL or missing references) //IL_2557: Expected O, but got Unknown //IL_2564: Unknown result type (might be due to invalid IL or missing references) //IL_257b: Unknown result type (might be due to invalid IL or missing references) //IL_2585: Expected O, but got Unknown //IL_259c: Unknown result type (might be due to invalid IL or missing references) //IL_25a6: Expected O, but got Unknown //IL_25b2: Unknown result type (might be due to invalid IL or missing references) //IL_25bc: Expected O, but got Unknown //IL_25e7: Unknown result type (might be due to invalid IL or missing references) //IL_25f1: Expected O, but got Unknown //IL_2610: Unknown result type (might be due to invalid IL or missing references) //IL_261a: Expected O, but got Unknown //IL_2627: Unknown result type (might be due to invalid IL or missing references) //IL_263e: Unknown result type (might be due to invalid IL or missing references) //IL_2648: Expected O, but got Unknown //IL_265f: Unknown result type (might be due to invalid IL or missing references) //IL_2669: Expected O, but got Unknown //IL_2675: Unknown result type (might be due to invalid IL or missing references) //IL_267f: Expected O, but got Unknown //IL_26aa: Unknown result type (might be due to invalid IL or missing references) //IL_26b4: Expected O, but got Unknown //IL_26d3: Unknown result type (might be due to invalid IL or missing references) //IL_26dd: Expected O, but got Unknown //IL_26ea: Unknown result type (might be due to invalid IL or missing references) //IL_26f0: Unknown result type (might be due to invalid IL or missing references) //IL_26f7: Expected O, but got Unknown //IL_270d: Unknown result type (might be due to invalid IL or missing references) //IL_2712: Unknown result type (might be due to invalid IL or missing references) //IL_272c: Unknown result type (might be due to invalid IL or missing references) //IL_2731: Unknown result type (might be due to invalid IL or missing references) //IL_274b: Unknown result type (might be due to invalid IL or missing references) //IL_2750: Unknown result type (might be due to invalid IL or missing references) //IL_277a: Unknown result type (might be due to invalid IL or missing references) //IL_2784: Expected O, but got Unknown //IL_2524: Unknown result type (might be due to invalid IL or missing references) //IL_2529: Unknown result type (might be due to invalid IL or missing references) //IL_252f: Expected O, but got Unknown //IL_27c6: Unknown result type (might be due to invalid IL or missing references) //IL_27d0: Expected O, but got Unknown //IL_27e1: Unknown result type (might be due to invalid IL or missing references) //IL_27eb: Expected O, but got Unknown //IL_27f7: Unknown result type (might be due to invalid IL or missing references) //IL_2801: Expected O, but got Unknown //IL_280d: Unknown result type (might be due to invalid IL or missing references) //IL_2817: Expected O, but got Unknown //IL_2842: Unknown result type (might be due to invalid IL or missing references) //IL_284c: Expected O, but got Unknown //IL_286b: Unknown result type (might be due to invalid IL or missing references) //IL_2875: Expected O, but got Unknown //IL_2882: Unknown result type (might be due to invalid IL or missing references) //IL_289f: Unknown result type (might be due to invalid IL or missing references) //IL_28a9: Expected O, but got Unknown //IL_279d: Unknown result type (might be due to invalid IL or missing references) //IL_27a2: Unknown result type (might be due to invalid IL or missing references) //IL_27a8: Expected O, but got Unknown //IL_28eb: Unknown result type (might be due to invalid IL or missing references) //IL_28f5: Expected O, but got Unknown //IL_290c: Unknown result type (might be due to invalid IL or missing references) //IL_2916: Expected O, but got Unknown //IL_2925: Unknown result type (might be due to invalid IL or missing references) //IL_292f: Expected O, but got Unknown //IL_293b: Unknown result type (might be due to invalid IL or missing references) //IL_2951: Unknown result type (might be due to invalid IL or missing references) //IL_295b: Expected O, but got Unknown //IL_2980: Unknown result type (might be due to invalid IL or missing references) //IL_298a: Expected O, but got Unknown //IL_29af: Unknown result type (might be due to invalid IL or missing references) //IL_29b9: Expected O, but got Unknown //IL_29de: Unknown result type (might be due to invalid IL or missing references) //IL_29e8: Expected O, but got Unknown //IL_2a0d: Unknown result type (might be due to invalid IL or missing references) //IL_2a17: Expected O, but got Unknown //IL_2a3c: Unknown result type (might be due to invalid IL or missing references) //IL_2a46: Expected O, but got Unknown //IL_2a6b: Unknown result type (might be due to invalid IL or missing references) //IL_2a75: Expected O, but got Unknown //IL_2a9a: Unknown result type (might be due to invalid IL or missing references) //IL_2aa4: Expected O, but got Unknown //IL_2ac9: Unknown result type (might be due to invalid IL or missing references) //IL_2ad3: Expected O, but got Unknown //IL_2af8: Unknown result type (might be due to invalid IL or missing references) //IL_2b02: Expected O, but got Unknown //IL_2b23: Unknown result type (might be due to invalid IL or missing references) //IL_2b39: Unknown result type (might be due to invalid IL or missing references) //IL_2b43: Expected O, but got Unknown //IL_2b68: Unknown result type (might be due to invalid IL or missing references) //IL_2b72: Expected O, but got Unknown //IL_2b97: Unknown result type (might be due to invalid IL or missing references) //IL_2ba1: Expected O, but got Unknown //IL_2bc6: Unknown result type (might be due to invalid IL or missing references) //IL_2bd0: Expected O, but got Unknown //IL_2bf5: Unknown result type (might be due to invalid IL or missing references) //IL_2bff: Expected O, but got Unknown //IL_2c24: Unknown result type (might be due to invalid IL or missing references) //IL_2c2e: Expected O, but got Unknown //IL_2c53: Unknown result type (might be due to invalid IL or missing references) //IL_2c5d: Expected O, but got Unknown //IL_2c82: Unknown result type (might be due to invalid IL or missing references) //IL_2c8c: Expected O, but got Unknown //IL_2cad: Unknown result type (might be due to invalid IL or missing references) //IL_2cc3: Unknown result type (might be due to invalid IL or missing references) //IL_2ccd: Expected O, but got Unknown //IL_2cf2: Unknown result type (might be due to invalid IL or missing references) //IL_2cfc: Expected O, but got Unknown //IL_2d21: Unknown result type (might be due to invalid IL or missing references) //IL_2d2b: Expected O, but got Unknown //IL_2d4c: Unknown result type (might be due to invalid IL or missing references) //IL_2d62: Unknown result type (might be due to invalid IL or missing references) //IL_2d6c: Expected O, but got Unknown //IL_2d91: Unknown result type (might be due to invalid IL or missing references) //IL_2d9b: Expected O, but got Unknown //IL_2dc0: Unknown result type (might be due to invalid IL or missing references) //IL_2dca: Expected O, but got Unknown //IL_2dee: Unknown result type (might be due to invalid IL or missing references) //IL_2df8: Expected O, but got Unknown //IL_2f2a: Unknown result type (might be due to invalid IL or missing references) //IL_28c2: Unknown result type (might be due to invalid IL or missing references) //IL_28c7: Unknown result type (might be due to invalid IL or missing references) //IL_28cd: Expected O, but got Unknown //IL_2f53: Unknown result type (might be due to invalid IL or missing references) //IL_2f58: Unknown result type (might be due to invalid IL or missing references) //IL_2f74: Unknown result type (might be due to invalid IL or missing references) //IL_2f85: Unknown result type (might be due to invalid IL or missing references) //IL_2f9a: Unknown result type (might be due to invalid IL or missing references) //IL_31d0: Unknown result type (might be due to invalid IL or missing references) //IL_2fab: Unknown result type (might be due to invalid IL or missing references) //IL_2fb5: Expected O, but got Unknown //IL_2fc6: Unknown result type (might be due to invalid IL or missing references) //IL_2fd7: Unknown result type (might be due to invalid IL or missing references) //IL_2fec: Unknown result type (might be due to invalid IL or missing references) //IL_2ffd: Unknown result type (might be due to invalid IL or missing references) //IL_3007: Expected O, but got Unknown //IL_3018: Unknown result type (might be due to invalid IL or missing references) //IL_3029: Unknown result type (might be due to invalid IL or missing references) //IL_303e: Unknown result type (might be due to invalid IL or missing references) //IL_324d: Unknown result type (might be due to invalid IL or missing references) //IL_3257: Expected O, but got Unknown //IL_3275: Unknown result type (might be due to invalid IL or missing references) //IL_327f: Expected O, but got Unknown //IL_3290: Unknown result type (might be due to invalid IL or missing references) //IL_329a: Expected O, but got Unknown //IL_32a9: Unknown result type (might be due to invalid IL or missing references) //IL_32b0: Expected O, but got Unknown //IL_304f: Unknown result type (might be due to invalid IL or missing references) //IL_3059: Expected O, but got Unknown //IL_306a: Unknown result type (might be due to invalid IL or missing references) //IL_307c: Unknown result type (might be due to invalid IL or missing references) //IL_3086: Expected O, but got Unknown //IL_32c6: Unknown result type (might be due to invalid IL or missing references) //IL_32cb: Unknown result type (might be due to invalid IL or missing references) //IL_32d1: Expected O, but got Unknown //IL_3195: Unknown result type (might be due to invalid IL or missing references) //IL_337d: Unknown result type (might be due to invalid IL or missing references) //IL_3382: Unknown result type (might be due to invalid IL or missing references) //IL_3388: Expected O, but got Unknown //IL_33c4: Unknown result type (might be due to invalid IL or missing references) //IL_33da: Unknown result type (might be due to invalid IL or missing references) //IL_33e4: Expected O, but got Unknown //IL_33fa: Unknown result type (might be due to invalid IL or missing references) //IL_3404: Expected O, but got Unknown //IL_3410: Unknown result type (might be due to invalid IL or missing references) //IL_341a: Expected O, but got Unknown //IL_344b: Unknown result type (might be due to invalid IL or missing references) //IL_3455: Expected O, but got Unknown //IL_347a: Unknown result type (might be due to invalid IL or missing references) //IL_3484: Expected O, but got Unknown //IL_34a9: Unknown result type (might be due to invalid IL or missing references) //IL_34b3: Expected O, but got Unknown //IL_34d8: Unknown result type (might be due to invalid IL or missing references) //IL_34e2: Expected O, but got Unknown //IL_34ee: Unknown result type (might be due to invalid IL or missing references) //IL_3504: Unknown result type (might be due to invalid IL or missing references) //IL_350e: Expected O, but got Unknown //IL_3524: Unknown result type (might be due to invalid IL or missing references) //IL_352e: Expected O, but got Unknown //IL_353a: Unknown result type (might be due to invalid IL or missing references) //IL_3544: Expected O, but got Unknown //IL_3567: Unknown result type (might be due to invalid IL or missing references) //IL_3571: Expected O, but got Unknown //IL_357d: Unknown result type (might be due to invalid IL or missing references) //IL_3593: Unknown result type (might be due to invalid IL or missing references) //IL_359d: Expected O, but got Unknown //IL_35a8: Unknown result type (might be due to invalid IL or missing references) //IL_35b2: Expected O, but got Unknown //IL_35be: Unknown result type (might be due to invalid IL or missing references) //IL_35c8: Expected O, but got Unknown //IL_35f3: Unknown result type (might be due to invalid IL or missing references) //IL_35fd: Expected O, but got Unknown //IL_3614: Unknown result type (might be due to invalid IL or missing references) //IL_361e: Expected O, but got Unknown //IL_362e: Unknown result type (might be due to invalid IL or missing references) //IL_3638: Expected O, but got Unknown //IL_3643: Unknown result type (might be due to invalid IL or missing references) //IL_364d: Expected O, but got Unknown //IL_3659: Unknown result type (might be due to invalid IL or missing references) //IL_3663: Expected O, but got Unknown //IL_368e: Unknown result type (might be due to invalid IL or missing references) //IL_3698: Expected O, but got Unknown //IL_36bd: Unknown result type (might be due to invalid IL or missing references) //IL_36c7: Expected O, but got Unknown //IL_36d3: Unknown result type (might be due to invalid IL or missing references) //IL_36e9: Unknown result type (might be due to invalid IL or missing references) //IL_36f3: Expected O, but got Unknown //IL_36fe: Unknown result type (might be due to invalid IL or missing references) //IL_3708: Expected O, but got Unknown //IL_3714: Unknown result type (might be due to invalid IL or missing references) //IL_371e: Expected O, but got Unknown //IL_3749: Unknown result type (might be due to invalid IL