Decompiled source of ULTRAPAIN Refueled v1.1.4
Ultrapain_Refueled.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 BepInEx; using BepInEx.Logging; using Discord; using HarmonyLib; using Microsoft.CodeAnalysis; 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 ULTRAKILL.Portal; 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.1", FrameworkDisplayName = ".NET Standard 2.1")] [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+81c9a205d64a6ba557982be9563e87e7e855588a")] [assembly: AssemblyProduct("Ultrapain_Refueled")] [assembly: AssemblyTitle("Ultrapain_Refueled")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.2.0")] [module: UnverifiableCode] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] [AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace 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 FancyButton : CustomConfigField { public Sprite sprite; public Color color; public ConfigField field; public string extraText; public TextMeshProUGUI headerText; public RectTransform headerTextRect; private GameObject currentUI; 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 static FieldInfo f_BoolField_currentUi = typeof(BoolField).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 FancyButton(ConfigField field, Color color, string extraText) : base(field.parentPanel, 0f, 0f) { //IL_0020: Unknown result type (might be due to invalid IL or missing references) //IL_0021: Unknown result type (might be due to invalid IL or missing references) this.field = field; this.color = color; this.extraText = extraText; } private void SetSize() { //IL_0015: 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) //IL_002e: 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_00e8: Unknown result type (might be due to invalid IL or missing references) //IL_00fe: Unknown result type (might be due to invalid IL or missing references) //IL_0110: Unknown result type (might be due to invalid IL or missing references) //IL_011a: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) //IL_00aa: Unknown result type (might be due to invalid IL or missing references) //IL_00bf: Unknown result type (might be due to invalid IL or missing references) //IL_00c9: Unknown result type (might be due to invalid IL or missing references) 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; Text componentInChildren = currentUI.GetComponentInChildren<Text>(); InputField componentInChildren2 = currentUI.GetComponentInChildren<InputField>(); RectTransform component = ((Component)componentInChildren2).GetComponent<RectTransform>(); float num3 = num2 - 20f; if (num3 > 0f) { ((Component)componentInChildren).GetComponent<RectTransform>().anchoredPosition = new Vector2(40f + num3, 0f); component.anchoredPosition = new Vector2(230f + num3, -30f); component.sizeDelta = new Vector2(270f - num3, component.sizeDelta.y); } else { ((Component)componentInChildren).GetComponent<RectTransform>().anchoredPosition = new Vector2(40f, 0f); component.anchoredPosition = new Vector2(230f, -30f); component.sizeDelta = new Vector2(270f, component.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_005f: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_008b: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Expected O, but got Unknown //IL_00ec: Unknown result type (might be due to invalid IL or missing references) //IL_00f2: Expected O, but got Unknown //IL_010f: Unknown result type (might be due to invalid IL or missing references) //IL_0125: 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) //IL_014b: Unknown result type (might be due to invalid IL or missing references) //IL_00b7: Unknown result type (might be due to invalid IL or missing references) //IL_00bd: Expected O, but got Unknown 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) { val = (GameObject)f_StringField_currentUi.GetValue(val4); } else { ConfigField obj4 = field; StringField val5 = (StringField)(object)((obj4 is StringField) ? obj4 : null); if (val5 == null) { throw new Exception("Image field expected given field to be int, float or string field"); } val = (GameObject)f_BoolField_currentUi.GetValue(val5); } } } currentUI = val; if ((Object)(object)val == (Object)null) { Debug.LogWarning((object)"Could not find float field ui"); return; } GameObject val6 = new GameObject(); RectTransform val7 = val6.AddComponent<RectTransform>(); TextMeshProUGUI val8 = val6.AddComponent<TextMeshProUGUI>(); ((Transform)val7).SetParent(val.transform); ((Transform)val7).localScale = Vector3.one; val7.pivot = new Vector2(0f, 0.5f); Vector2 val9 = default(Vector2); ((Vector2)(ref val9))..ctor(0f, 0.2f); val7.anchorMin = val9; val7.anchorMax = val9; ((TMP_Text)val8).text = extraText; 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 } [CompilerGenerated] private static class <>O { public static OnClick <0>__AddMissingPresets; } [Serializable] [CompilerGenerated] private sealed class <>c { public static readonly <>c <>9 = new <>c(); public static PostConfigChangeEvent <>9__451_0; public static BoolValueChangeEventDelegate <>9__451_1; public static BoolValueChangeEventDelegate <>9__451_2; public static StringValueChangeEventDelegate <>9__451_3; public static BoolValueChangeEventDelegate <>9__451_4; public static BoolValueChangeEventDelegate <>9__451_5; public static BoolValueChangeEventDelegate <>9__451_6; public static BoolValueChangeEventDelegate <>9__451_7; public static BoolValueChangeEventDelegate <>9__451_8; public static BoolValueChangeEventDelegate <>9__451_9; public static BoolValueChangeEventDelegate <>9__451_10; public static BoolValueChangeEventDelegate <>9__451_11; public static BoolValueChangeEventDelegate <>9__451_13; public static BoolValueChangeEventDelegate <>9__451_14; public static FloatValueChangeEventDelegate <>9__451_122; public static OnValueChangeEventDelegate <>9__451_123; public static IntValueChangeEventDelegate <>9__451_124; public static StringValueChangeEventDelegate <>9__451_19; public static BoolValueChangeEventDelegate <>9__451_20; public static StringValueChangeEventDelegate <>9__451_22; public static StringValueChangeEventDelegate <>9__451_26; public static StringValueChangeEventDelegate <>9__451_29; public static StringValueChangeEventDelegate <>9__451_32; public static StringValueChangeEventDelegate <>9__451_35; public static StringValueChangeEventDelegate <>9__451_38; public static StringValueChangeEventDelegate <>9__451_40; public static OnClick <>9__451_41; public static EnumValueChangeEventDelegate<EnemyType> <>9__451_44; public static EnumValueChangeEventDelegate<HitterType> <>9__451_45; public static BoolValueChangeEventDelegate <>9__451_46; public static FloatValueChangeEventDelegate <>9__451_47; public static BoolValueChangeEventDelegate <>9__451_55; public static BoolValueChangeEventDelegate <>9__451_64; public static BoolValueChangeEventDelegate <>9__451_66; public static BoolValueChangeEventDelegate <>9__451_70; public static BoolValueChangeEventDelegate <>9__451_71; public static BoolValueChangeEventDelegate <>9__451_72; public static BoolValueChangeEventDelegate <>9__451_73; public static EnumValueChangeEventDelegate<SwordsMachineSecondPhase> <>9__451_74; public static BoolValueChangeEventDelegate <>9__451_90; public static BoolValueChangeEventDelegate <>9__451_91; public static BoolValueChangeEventDelegate <>9__451_92; public static BoolValueChangeEventDelegate <>9__451_93; public static BoolValueChangeEventDelegate <>9__451_94; public static BoolValueChangeEventDelegate <>9__451_97; public static FloatValueChangeEventDelegate <>9__451_106; public static FloatValueChangeEventDelegate <>9__451_107; public static IntValueChangeEventDelegate <>9__451_108; public static BoolValueChangeEventDelegate <>9__451_112; public static BoolValueChangeEventDelegate <>9__451_113; public static BoolValueChangeEventDelegate <>9__451_114; public static BoolValueChangeEventDelegate <>9__451_115; public static BoolValueChangeEventDelegate <>9__451_116; public static BoolValueChangeEventDelegate <>9__451_117; public static EnumValueChangeEventDelegate<IdolExplosionType> <>9__451_121; internal void <Initialize>b__451_0() { if (dirtyField) { Plugin.PatchAll(); dirtyField = false; } } internal void <Initialize>b__451_1(BoolValueChangeEvent data) { ((ConfigField)enemyPanel).interactable = data.value; dirtyField = true; } internal void <Initialize>b__451_2(BoolValueChangeEvent data) { ((ConfigField)playerPanel).interactable = data.value; dirtyField = true; } internal void <Initialize>b__451_3(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__451_4(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_5(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_6(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_7(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_8(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_9(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_10(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_11(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_13(BoolValueChangeEvent e) { if ((Object)(object)NewMovement_DeltaHpComp.instance != (Object)null) { NewMovement_DeltaHpComp.instance.UpdateEnabled(); } } internal void <Initialize>b__451_14(BoolValueChangeEvent e) { if ((Object)(object)NewMovement_DeltaHpComp.instance != (Object)null) { NewMovement_DeltaHpComp.instance.UpdateEnabled(); } } internal void <Initialize>b__451_122(FloatValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_123(FloatSliderValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_124(IntValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_19(FormattedStringValueChangeEvent e) { Plugin.StyleIDs.UpdateID(((ConfigField)rocketBoostStyleText).guid, e.formattedString.formattedString); } internal void <Initialize>b__451_20(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_22(FormattedStringValueChangeEvent e) { Plugin.StyleIDs.UpdateID(((ConfigField)grenadeBoostStyleText).guid, e.formattedString.formattedString); } internal void <Initialize>b__451_26(FormattedStringValueChangeEvent e) { Plugin.StyleIDs.UpdateID(((ConfigField)orbStrikeRevolverStyleText).guid, e.formattedString.formattedString); } internal void <Initialize>b__451_29(FormattedStringValueChangeEvent e) { Plugin.StyleIDs.UpdateID(((ConfigField)orbStrikeRevolverChargedStyleText).guid, e.formattedString.formattedString); } internal void <Initialize>b__451_32(FormattedStringValueChangeEvent e) { Plugin.StyleIDs.UpdateID(((ConfigField)orbStrikeElectricCannonStyleText).guid, e.formattedString.formattedString); } internal void <Initialize>b__451_35(FormattedStringValueChangeEvent e) { Plugin.StyleIDs.UpdateID(((ConfigField)orbStrikeMaliciousCannonStyleText).guid, e.formattedString.formattedString); } internal void <Initialize>b__451_38(FormattedStringValueChangeEvent e) { Plugin.StyleIDs.UpdateID(((ConfigField)maliciousChargebackStyleText).guid, e.formattedString.formattedString); } internal void <Initialize>b__451_40(FormattedStringValueChangeEvent e) { Plugin.StyleIDs.UpdateID(((ConfigField)sentryChargebackStyleText).guid, e.formattedString.formattedString); } internal void <Initialize>b__451_41() { //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|451_42(enemyStats[eidStatEditorSelector.value]); } internal void <Initialize>b__451_44(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|451_42(container); } internal void <Initialize>b__451_45(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__451_46(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|451_42(container); <Initialize>g__SetResistanceString|451_43(container); } internal void <Initialize>b__451_47(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|451_42(container); <Initialize>g__SetResistanceString|451_43(container); } } internal void <Initialize>b__451_55(BoolValueChangeEvent e) { ((ConfigField)droneHomeTurnSpeed).interactable = e.value; dirtyField = true; } internal void <Initialize>b__451_64(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_66(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_70(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_71(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_72(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_73(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_74(EnumValueChangeEvent<SwordsMachineSecondPhase> e) { dirtyField = true; ((ConfigField)swordsMachineSecondPhaseSpeed).hidden = e.value != SwordsMachineSecondPhase.SpeedUp; } internal void <Initialize>b__451_90(BoolValueChangeEvent e) { ((ConfigField)minosPrimeTeleportTrailDuration).hidden = e.value; dirtyField = true; } internal void <Initialize>b__451_91(BoolValueChangeEvent e) { ((ConfigField)minosPrimeComboExplosionSize).interactable = e.value; ((ConfigField)minosPrimeComboExplosionDamage).interactable = e.value; } internal void <Initialize>b__451_92(BoolValueChangeEvent e) { ((ConfigField)minosPrimeExplosionChance).interactable = e.value; ((ConfigField)minosPrimeExplosionSize).interactable = e.value; ((ConfigField)minosPrimeExplosionDamage).interactable = e.value; } internal void <Initialize>b__451_93(BoolValueChangeEvent e) { dirtyField = true; ((ConfigField)minosPrimeCrushAttackChance).interactable = e.value; } internal void <Initialize>b__451_94(BoolValueChangeEvent e) { dirtyField = true; ((ConfigField)minosPrimeComboExplosiveEndChance).interactable = e.value; } internal void <Initialize>b__451_97(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_106(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__451_107(FloatValueChangeEvent e) { GameObject shockwave = SisyphusInstructionist_Start.shockwave; PhysicalShockwave component = shockwave.GetComponent<PhysicalShockwave>(); component.speed = e.value; } internal void <Initialize>b__451_108(IntValueChangeEvent e) { GameObject shockwave = SisyphusInstructionist_Start.shockwave; PhysicalShockwave component = shockwave.GetComponent<PhysicalShockwave>(); component.damage = e.value; } internal void <Initialize>b__451_112(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_113(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_114(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_115(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_116(BoolValueChangeEvent e) { dirtyField = true; } internal void <Initialize>b__451_117(BoolValueChangeEvent e) { dirtyField = true; ((ConfigField)panopticonAxisBeamSizeMulti).interactable = e.value; } internal void <Initialize>b__451_121(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>Enemies are changed heavily to be more aggressive and your moveset is expanded.</color>\r\n\r\n<b>Almost any mistake is lethal. Have fun!</b><color=orange>\r\n\r\nIntended for players who have perfected BRUTAL difficulty.\r\n\r\n</color><color=#666666><i>\r\nStill missing Violence layer enemies, but has AI for Providence. General code stability varies drastically.</color></i>"; public static BoolField globalDifficultySwitch; public static ConfigPanel memePanel; public static ConfigPanel legacyPanel; 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 violenceDowngrade; public static ConfigHeader violenceDowngrade_description; public static BoolField lesserArsenal; public static ConfigHeader lesserArsenal_description; public static BoolField brutalStatStacking; public static ConfigHeader brutalStatStacking_description; 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 ConfigPanel providencePanel; 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 schismSpreadAttackDevampToggle; 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; public static BoolField providenceRandomPattern; 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_00a5: Unknown result type (might be due to invalid IL or missing references) //IL_00c0: Unknown result type (might be due to invalid IL or missing references) //IL_00ca: Expected O, but got Unknown //IL_00e9: Unknown result type (might be due to invalid IL or missing references) //IL_00f3: 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_0139: Unknown result type (might be due to invalid IL or missing references) //IL_0154: Unknown result type (might be due to invalid IL or missing references) //IL_015e: Expected O, but got Unknown //IL_017d: Unknown result type (might be due to invalid IL or missing references) //IL_0187: Expected O, but got Unknown //IL_010c: Unknown result type (might be due to invalid IL or missing references) //IL_0111: Unknown result type (might be due to invalid IL or missing references) //IL_0117: Expected O, but got Unknown //IL_01cd: Unknown result type (might be due to invalid IL or missing references) //IL_01ec: Unknown result type (might be due to invalid IL or missing references) //IL_01f6: Expected O, but got Unknown //IL_01a0: Unknown result type (might be due to invalid IL or missing references) //IL_01a5: Unknown result type (might be due to invalid IL or missing references) //IL_01ab: Expected O, but got Unknown //IL_0231: Unknown result type (might be due to invalid IL or missing references) //IL_0248: Unknown result type (might be due to invalid IL or missing references) //IL_0263: Unknown result type (might be due to invalid IL or missing references) //IL_026d: Expected O, but got Unknown //IL_020f: Unknown result type (might be due to invalid IL or missing references) //IL_0214: Unknown result type (might be due to invalid IL or missing references) //IL_021a: Expected O, but got Unknown //IL_02a8: Unknown result type (might be due to invalid IL or missing references) //IL_02c2: Unknown result type (might be due to invalid IL or missing references) //IL_02cc: Expected O, but got Unknown //IL_02e0: Unknown result type (might be due to invalid IL or missing references) //IL_02ea: Expected O, but got Unknown //IL_02fb: Unknown result type (might be due to invalid IL or missing references) //IL_0315: Unknown result type (might be due to invalid IL or missing references) //IL_031b: Expected O, but got Unknown //IL_0286: Unknown result type (might be due to invalid IL or missing references) //IL_028b: Unknown result type (might be due to invalid IL or missing references) //IL_0291: Expected O, but got Unknown //IL_034d: Unknown result type (might be due to invalid IL or missing references) //IL_0357: Expected O, but got Unknown //IL_032c: Unknown result type (might be due to invalid IL or missing references) //IL_0331: Unknown result type (might be due to invalid IL or missing references) //IL_0337: Expected O, but got Unknown //IL_0391: Unknown result type (might be due to invalid IL or missing references) //IL_039b: Expected O, but got Unknown //IL_0370: Unknown result type (might be due to invalid IL or missing references) //IL_0375: Unknown result type (might be due to invalid IL or missing references) //IL_037b: Expected O, but got Unknown //IL_03d5: Unknown result type (might be due to invalid IL or missing references) //IL_03df: Expected O, but got Unknown //IL_03b4: Unknown result type (might be due to invalid IL or missing references) //IL_03b9: Unknown result type (might be due to invalid IL or missing references) //IL_03bf: Expected O, but got Unknown //IL_041d: Unknown result type (might be due to invalid IL or missing references) //IL_0427: Expected O, but got Unknown //IL_0437: Unknown result type (might be due to invalid IL or missing references) //IL_0441: Expected O, but got Unknown //IL_03f8: Unknown result type (might be due to invalid IL or missing references) //IL_03fd: Unknown result type (might be due to invalid IL or missing references) //IL_0403: Expected O, but got Unknown //IL_047f: Unknown result type (might be due to invalid IL or missing references) //IL_0489: Expected O, but got Unknown //IL_0493: Unknown result type (might be due to invalid IL or missing references) //IL_04aa: Unknown result type (might be due to invalid IL or missing references) //IL_04c1: Unknown result type (might be due to invalid IL or missing references) //IL_04dd: Unknown result type (might be due to invalid IL or missing references) //IL_04e7: Expected O, but got Unknown //IL_045a: Unknown result type (might be due to invalid IL or missing references) //IL_045f: Unknown result type (might be due to invalid IL or missing references) //IL_0465: Expected O, but got Unknown //IL_0522: Unknown result type (might be due to invalid IL or missing references) //IL_052c: Expected O, but got Unknown //IL_053d: Unknown result type (might be due to invalid IL or missing references) //IL_0559: Unknown result type (might be due to invalid IL or missing references) //IL_0563: Expected O, but got Unknown //IL_0500: Unknown result type (might be due to invalid IL or missing references) //IL_0505: Unknown result type (might be due to invalid IL or missing references) //IL_050b: Expected O, but got Unknown //IL_05aa: Unknown result type (might be due to invalid IL or missing references) //IL_05b4: Expected O, but got Unknown //IL_05c5: Unknown result type (might be due to invalid IL or missing references) //IL_05e1: Unknown result type (might be due to invalid IL or missing references) //IL_05eb: Expected O, but got Unknown //IL_0588: Unknown result type (might be due to invalid IL or missing references) //IL_058d: Unknown result type (might be due to invalid IL or missing references) //IL_0593: Expected O, but got Unknown //IL_0626: Unknown result type (might be due to invalid IL or missing references) //IL_0630: Expected O, but got Unknown //IL_063f: Unknown result type (might be due to invalid IL or missing references) //IL_0649: Expected O, but got Unknown //IL_0655: Unknown result type (might be due to invalid IL or missing references) //IL_0679: Unknown result type (might be due to invalid IL or missing references) //IL_0683: Expected O, but got Unknown //IL_068f: Unknown result type (might be due to invalid IL or missing references) //IL_06ac: Unknown result type (might be due to invalid IL or missing references) //IL_06b6: Expected O, but got Unknown //IL_06d0: Unknown result type (might be due to invalid IL or missing references) //IL_06da: Expected O, but got Unknown //IL_0708: Unknown result type (might be due to invalid IL or missing references) //IL_0712: Expected O, but got Unknown //IL_0729: Unknown result type (might be due to invalid IL or missing references) //IL_0733: Expected O, but got Unknown //IL_0751: Unknown result type (might be due to invalid IL or missing references) //IL_075b: Expected O, but got Unknown //IL_0776: Unknown result type (might be due to invalid IL or missing references) //IL_0780: Expected O, but got Unknown //IL_078b: Unknown result type (might be due to invalid IL or missing references) //IL_0795: Expected O, but got Unknown //IL_07a1: Unknown result type (might be due to invalid IL or missing references) //IL_07ab: Expected O, but got Unknown //IL_07c8: Unknown result type (might be due to invalid IL or missing references) //IL_07d2: Expected O, but got Unknown //IL_07f1: Unknown result type (might be due to invalid IL or missing references) //IL_07fb: Expected O, but got Unknown //IL_080d: Unknown result type (might be due to invalid IL or missing references) //IL_0817: 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_0843: Unknown result type (might be due to invalid IL or missing references) //IL_084d: Expected O, but got Unknown //IL_085e: Unknown result type (might be due to invalid IL or missing references) //IL_0868: Expected O, but got Unknown //IL_0879: Unknown result type (might be due to invalid IL or missing references) //IL_0883: Expected O, but got Unknown //IL_0604: Unknown result type (might be due to invalid IL or missing references) //IL_0609: Unknown result type (might be due to invalid IL or missing references) //IL_060f: Expected O, but got Unknown //IL_08be: Unknown result type (might be due to invalid IL or missing references) //IL_08c8: Expected O, but got Unknown //IL_089c: Unknown result type (might be due to invalid IL or missing references) //IL_08a1: Unknown result type (might be due to invalid IL or missing references) //IL_08a7: Expected O, but got Unknown //IL_08fe: Unknown result type (might be due to invalid IL or missing references) //IL_0922: Unknown result type (might be due to invalid IL or missing references) //IL_092c: Expected O, but got Unknown //IL_0936: Unknown result type (might be due to invalid IL or missing references) //IL_095f: Unknown result type (might be due to invalid IL or missing references) //IL_0969: Expected O, but got Unknown //IL_0973: Unknown result type (might be due to invalid IL or missing references) //IL_099c: Unknown result type (might be due to invalid IL or missing references) //IL_09a6: Expected O, but got Unknown //IL_09b0: Unknown result type (might be due to invalid IL or missing references) //IL_09d9: Unknown result type (might be due to invalid IL or missing references) //IL_09e3: Expected O, but got Unknown //IL_09ed: Unknown result type (might be due to invalid IL or missing references) //IL_0a0e: Unknown result type (might be due to invalid IL or missing references) //IL_0a18: Expected O, but got Unknown //IL_0a22: Unknown result type (might be due to invalid IL or missing references) //IL_0a43: Unknown result type (might be due to invalid IL or missing references) //IL_0a4d: Expected O, but got Unknown //IL_0a57: Unknown result type (might be due to invalid IL or missing references) //IL_0a78: Unknown result type (might be due to invalid IL or missing references) //IL_0a82: Expected O, but got Unknown //IL_0a8c: Unknown result type (might be due to invalid IL or missing references) //IL_0aad: Unknown result type (might be due to invalid IL or missing references) //IL_0ab7: Expected O, but got Unknown //IL_0ac1: Unknown result type (might be due to invalid IL or missing references) //IL_0aea: Unknown result type (might be due to invalid IL or missing references) //IL_0af4: Expected O, but got Unknown //IL_0afe: Unknown result type (might be due to invalid IL or missing references) //IL_0b27: Unknown result type (might be due to invalid IL or missing references) //IL_0b31: Expected O, but got Unknown //IL_0b3b: Unknown result type (might be due to invalid IL or missing references) //IL_0b5c: Unknown result type (might be due to invalid IL or missing references) //IL_0b66: Expected O, but got Unknown //IL_0b70: Unknown result type (might be due to invalid IL or missing references) //IL_0b91: Unknown result type (might be due to invalid IL or missing references) //IL_0b9b: Expected O, but got Unknown //IL_0ba5: Unknown result type (might be due to invalid IL or missing references) //IL_0bce: Unknown result type (might be due to invalid IL or missing references) //IL_0bd8: Expected O, but got Unknown //IL_0be2: Unknown result type (might be due to invalid IL or missing references) //IL_0c0b: Unknown result type (might be due to invalid IL or missing references) //IL_0c15: Expected O, but got Unknown //IL_0c1f: Unknown result type (might be due to invalid IL or missing references) //IL_0c48: Unknown result type (might be due to invalid IL or missing references) //IL_0c52: Expected O, but got Unknown //IL_0c5c: Unknown result type (might be due to invalid IL or missing references) //IL_0c73: Unknown result type (might be due to invalid IL or missing references) //IL_0c90: Unknown result type (might be due to invalid IL or missing references) //IL_0c9a: Expected O, but got Unknown //IL_0ca4: Unknown result type (might be due to invalid IL or missing references) //IL_0ccd: Unknown result type (might be due to invalid IL or missing references) //IL_0cd7: Expected O, but got Unknown //IL_0ce1: Unknown result type (might be due to invalid IL or missing references) //IL_0d0a: Unknown result type (might be due to invalid IL or missing references) //IL_0d14: Expected O, but got Unknown //IL_0d1e: Unknown result type (might be due to invalid IL or missing references) //IL_0d52: Unknown result type (might be due to invalid IL or missing references) //IL_0d5c: Expected O, but got Unknown //IL_0d66: Unknown result type (might be due to invalid IL or missing references) //IL_0d8f: Unknown result type (might be due to invalid IL or missing references) //IL_0d99: Expected O, but got Unknown //IL_0da3: Unknown result type (might be due to invalid IL or missing references) //IL_0dc5: Unknown result type (might be due to invalid IL or missing references) //IL_0dcf: Expected O, but got Unknown //IL_0dd9: Unknown result type (might be due to invalid IL or missing references) //IL_0dfb: Unknown result type (might be due to invalid IL or missing references) //IL_0e05: Expected O, but got Unknown //IL_0e0f: Unknown result type (might be due to invalid IL or missing references) //IL_0e3c: Unknown result type (might be due to invalid IL or missing references) //IL_0e46: Expected O, but got Unknown //IL_0e50: Unknown result type (might be due to invalid IL or missing references) //IL_0e79: Unknown result type (might be due to invalid IL or missing references) //IL_0e83: Expected O, but got Unknown //IL_0e8d: Unknown result type (might be due to invalid IL or missing references) //IL_0eb6: Unknown result type (might be due to invalid IL or missing references) //IL_0ec0: Expected O, but got Unknown //IL_0eca: Unknown result type (might be due to invalid IL or missing references) //IL_0ef7: Unknown result type (might be due to invalid IL or missing references) //IL_0f01: Expected O, but got Unknown //IL_0f0b: Unknown result type (might be due to invalid IL or missing references) //IL_0f34: Unknown result type (might be due to invalid IL or missing references) //IL_0f3e: Expected O, but got Unknown //IL_0f48: Unknown result type (might be due to invalid IL or missing references) //IL_0f71: Unknown result type (might be due to invalid IL or missing references) //IL_0f7b: Expected O, but got Unknown //IL_0f85: Unknown result type (might be due to invalid IL or missing references) //IL_0fb2: Unknown result type (might be due to invalid IL or missing references) //IL_0fbc: Expected O, but got Unknown //IL_0fc6: Unknown result type (might be due to invalid IL or missing references) //IL_0fef: Unknown result type (might be due to invalid IL or missing references) //IL_0ff9: Expected O, but got Unknown //IL_1003: Unknown result type (might be due to invalid IL or missing references) //IL_102c: Unknown result type (might be due to invalid IL or missing references) //IL_1036: Expected O, but got Unknown //IL_1040: Unknown result type (might be due to invalid IL or missing references) //IL_1074: Unknown result type (might be due to invalid IL or missing references) //IL_107e: Expected O, but got Unknown //IL_1088: Unknown result type (might be due to invalid IL or missing references) //IL_10b1: Unknown result type (might be due to invalid IL or missing references) //IL_10bb: Expected O, but got Unknown //IL_10c5: Unknown result type (might be due to invalid IL or missing references) //IL_10e7: Unknown result type (might be due to invalid IL or missing references) //IL_10f1: Expected O, but got Unknown //IL_10fb: Unknown result type (might be due to invalid IL or missing references) //IL_111d: Unknown result type (might be due to invalid IL or missing references) //IL_1127: Expected O, but got Unknown //IL_1131: Unknown result type (might be due to invalid IL or missing references) //IL_1148: Unknown result type (might be due to invalid IL or missing references) //IL_116c: Unknown result type (might be due to invalid IL or missing references) //IL_1176: Expected O, but got Unknown //IL_1180: Unknown result type (might be due to invalid IL or missing references) //IL_11a9: Unknown result type (might be due to invalid IL or missing references) //IL_11b3: Expected O, but got Unknown //IL_11bd: Unknown result type (might be due to invalid IL or missing references) //IL_11e6: Unknown result type (might be due to invalid IL or missing references) //IL_11f0: Expected O, but got Unknown //IL_11fa: Unknown result type (might be due to invalid IL or missing references) //IL_122e: Unknown result type (might be due to invalid IL or missing references) //IL_1238: Expected O, but got Unknown //IL_1242: Unknown result type (might be due to invalid IL or missing references) //IL_126b: Unknown result type (might be due to invalid IL or missing references) //IL_1275: Expected O, but got Unknown //IL_127f: Unknown result type (might be due to invalid IL or missing references) //IL_12a8: Unknown result type (might be due to invalid IL or missing references) //IL_12b2: Expected O, but got Unknown //IL_12bc: Unknown result type (might be due to invalid IL or missing references) //IL_12e5: Unknown result type (might be due to invalid IL or missing references) //IL_12ef: Expected O, but got Unknown //IL_12f9: Unknown result type (might be due to invalid IL or missing references) //IL_1322: Unknown result type (might be due to invalid IL or missing references) //IL_132c: Expected O, but got Unknown //IL_1336: Unknown result type (might be due to invalid IL or missing references) //IL_135f: Unknown result type (might be due to invalid IL or missing references) //IL_1369: Expected O, but got Unknown //IL_1373: Unknown result type (might be due to invalid IL or missing references) //IL_13a7: Unknown result type (might be due to invalid IL or missing references) //IL_13b1: Expected O, but got Unknown //IL_13bb: Unknown result type (might be due to invalid IL or missing references) //IL_13e4: Unknown result type (might be due to invalid IL or missing references) //IL_13ee: Expected O, but got Unknown //IL_13f8: Unknown result type (might be due to invalid IL or missing references) //IL_1421: Unknown result type (might be due to invalid IL or missing references) //IL_142b: Expected O, but got Unknown //IL_1435: Unknown result type (might be due to invalid IL or missing references) //IL_145e: Unknown result type (might be due to invalid IL or missing references) //IL_1468: Expected O, but got Unknown //IL_1472: Unknown result type (might be due to invalid IL or missing references) //IL_1489: Unknown result type (might be due to invalid IL or missing references) //IL_14ad: Unknown result type (might be due to invalid IL or missing references) //IL_14b7: Expected O, but got Unknown //IL_14c3: Unknown result type (might be due to invalid IL or missing references) //IL_14e7: Unknown result type (might be due to invalid IL or missing references) //IL_14f1: Expected O, but got Unknown //IL_150f: Unknown result type (might be due to invalid IL or missing references) //IL_1519: Expected O, but got Unknown //IL_179b: Unknown result type (might be due to invalid IL or missing references) //IL_17b1: Unknown result type (might be due to invalid IL or missing references) //IL_17bb: Expected O, but got Unknown //IL_17d1: Unknown result type (might be due to invalid IL or missing references) //IL_17db: Expected O, but got Unknown //IL_17e7: Unknown result type (might be due to invalid IL or missing references) //IL_17f1: Expected O, but got Unknown //IL_180e: Unknown result type (might be due to invalid IL or missing references) //IL_1818: Expected O, but got Unknown //IL_1837: Unknown result type (might be due to invalid IL or missing references) //IL_1841: Expected O, but got Unknown //IL_1860: Unknown result type (might be due to invalid IL or missing references) //IL_186a: Expected O, but got Unknown //IL_1889: Unknown result type (might be due to invalid IL or missing references) //IL_1893: Expected O, but got Unknown //IL_1893: Unknown result type (might be due to invalid IL or missing references) //IL_1899: Expected O, but got Unknown //IL_18a3: Unknown result type (might be due to invalid IL or missing references) //IL_18a8: Unknown result type (might be due to invalid IL or missing references) //IL_18ad: Unknown result type (might be due to invalid IL or missing references) //IL_18af: Unknown result type (might be due to invalid IL or missing references) //IL_18d6: Unknown result type (might be due to invalid IL or missing references) //IL_18e0: Expected O, but got Unknown //IL_08e1: Unknown result type (might be due to invalid IL or missing references) //IL_08e6: Unknown result type (might be due to invalid IL or missing references) //IL_08ec: Expected O, but got Unknown //IL_1922: Unknown result type (might be due to invalid IL or missing references) //IL_192c: Expected O, but got Unknown //IL_1938: Unknown result type (might be due to invalid IL or missing references) //IL_194e: Unknown result type (might be due to invalid IL or missing references) //IL_1958: Expected O, but got Unknown //IL_18f9: Unknown result type (might be due to invalid IL or missing references) //IL_18fe: Unknown result type (might be due to invalid IL or missing references) //IL_1904: Expected O, but got Unknown //IL_198e: Unknown result type (might be due to invalid IL or missing references) //IL_19a4: Unknown result type (might be due to invalid IL or missing references) //IL_19ae: Expected O, but got Unknown //IL_19c4: Unknown result type (might be due to invalid IL or missing references) //IL_19ce: Expected O, but got Unknown //IL_19da: Unknown result type (might be due to invalid IL or missing references) //IL_19e4: Expected O, but got Unknown //IL_1a0f: Unknown result type (might be due to invalid IL or missing references) //IL_1a19: Expected O, but got Unknown //IL_1a38: Unknown result type (might be due to invalid IL or missing references) //IL_1a42: Expected O, but got Unknown //IL_1a42: Unknown result type (might be due to invalid IL or missing references) //IL_1a49: Expected O, but got Unknown //IL_1a54: Unknown result type (might be due to invalid IL or missing references) //IL_1a59: Unknown result type (might be due to invalid IL or missing references) //IL_1a5e: Unknown result type (might be due to invalid IL or missing references) //IL_1a60: Unknown result type (might be due to invalid IL or missing references) //IL_1a8a: Unknown result type (might be due to invalid IL or missing references) //IL_1a94: Expected O, but got Unknown //IL_1971: Unknown result type (might be due to invalid IL or missing references) //IL_1976: Unknown result type (might be due to invalid IL or missing references) //IL_197c: Expected O, but got Unknown //IL_1ad6: Unknown result type (might be due to invalid IL or missing references) //IL_1ae0: Expected O, but got Unknown //IL_1aec: Unknown result type (might be due to invalid IL or missing references) //IL_1b02: Unknown result type (might be due to invalid IL or missing references) //IL_1b0c: Expected O, but got Unknown //IL_1b17: Unknown result type (might be due to invalid IL or missing references) //IL_1b21: Expected O, but got Unknown //IL_1b2d: Unknown result type (might be due to invalid IL or missing references) //IL_1b37: Expected O, but got Unknown //IL_1b5a: Unknown result type (might be due to invalid IL or missing references) //IL_1b64: Expected O, but got Unknown //IL_1b75: Unknown result type (might be due to invalid IL or missing references) //IL_1b7f: Expected O, but got Unknown //IL_1b8b: Unknown result type (might be due to invalid IL or missing references) //IL_1ba1: Unknown result type (might be due to invalid IL or missing references) //IL_1bab: Expected O, but got Unknown //IL_1bb6: Unknown result type (might be due to invalid IL or missing references) //IL_1bc0: Expected O, but got Unknown //IL_1bcc: Unknown result type (might be due to invalid IL or missing references) //IL_1bd6: Expected O, but got Unknown //IL_1bf3: Unknown result type (might be due to invalid IL or missing references) //IL_1bfd: Expected O, but got Unknown //IL_1c1c: Unknown result type (might be due to invalid IL or missing references) //IL_1c26: Expected O, but got Unknown //IL_1c32: Unknown result type (might be due to invalid IL or missing references) //IL_1c44: Unknown result type (might be due to invalid IL or missing references) //IL_1c5a: Unknown result type (might be due to invalid IL or missing references) //IL_1c64: Expected O, but got Unknown //IL_1c7a: Unknown result type (might be due to invalid IL or missing references) //IL_1c84: Expected O, but got Unknown //IL_1c90: Unknown result type (might be due to invalid IL or missing references) //IL_1c9a: Expected O, but got Unknown //IL_1cc5: Unknown result type (might be due to invalid IL or missing references) //IL_1ccf: Expected O, but got Unknown //IL_1cdc: Unknown result type (might be due to invalid IL or missing references) //IL_1ce2: Unknown result type (might be due to invalid IL or missing references) //IL_1ce9: Expected O, but got Unknown //IL_1cf4: Unknown result type (might be due to invalid IL or missing references) //IL_1cf9: Unknown result type (might be due to invalid IL or missing references) //IL_1cfe: Unknown result type (might be due to invalid IL or missing references) //IL_1d00: Unknown result type (might be due to invalid IL or missing references) //IL_1d2a: Unknown result type (might be due to invalid IL or missing references) //IL_1d34: Expected O, but got Unknown //IL_1aad: Unknown result type (might be due to invalid IL or missing references) //IL_1ab2: Unknown result type (might be due to invalid IL or missing references) //IL_1ab8: Expected O, but got Unknown //IL_1d76: Unknown result type (might be due to invalid IL or missing references) //IL_1d80: Expected O, but got Unknown //IL_1d8d: Unknown result type (might be due to invalid IL or missing references) //IL_1da4: Unknown result type (might be due to invalid IL or missing references) //IL_1dae: Expected O, but got Unknown //IL_1dc5: Unknown result type (might be due to invalid IL or missing references) //IL_1dcf: Expected O, but got Unknown //IL_1ddb: Unknown result type (might be due to invalid IL or missing references) //IL_1de5: Expected O, but got Unknown //IL_1e10: Unknown result type (might be due to invalid IL or missing references) //IL_1e1a: Expected O, but got Unknown //IL_1e39: Unknown result type (might be due to invalid IL or missing references) //IL_1e43: Expected O, but got Unknown //IL_1e50: Unknown result type (might be due to invalid IL or missing references) //IL_1e67: Unknown result type (might be due to invalid IL or missing references) //IL_1e71: Expected O, but got Unknown //IL_1e88: Unknown result type (might be due to invalid IL or missing references) //IL_1e92: Expected O, but got Unknown //IL_1e9e: Unknown result type (might be due to invalid IL or missing references) //IL_1ea8: Expected O, but got Unknown //IL_1ed3: Unknown result type (might be due to invalid IL or missing references) //IL_1edd: Expected O, but got Unknown //IL_1efc: Unknown result type (might be due to invalid IL or missing references) //IL_1f06: Expected O, but got Unknown //IL_1f13: Unknown result type (might be due to invalid IL or missing references) //IL_1f19: Unknown result type (might be due to invalid IL or missing references) //IL_1f20: Expected O, but got Unknown //IL_1f2b: Unknown result type (might be due to invalid IL or missing references) //IL_1f30: Unknown result type (might be due to invalid IL or missing references) //IL_1f35: Unknown result type (might be due to invalid IL or missing references) //IL_1f37: Unknown result type (might be due to invalid IL or missing references) //IL_1f51: Unknown result type (might be due to invalid IL or missing references) //IL_1f56: Unknown result type (might be due to invalid IL or missing references) //IL_1f80: Unknown result type (might be due to invalid IL or missing references) //IL_1f8a: Expected O, but got Unknown //IL_1d4d: Unknown result type (might be due to invalid IL or missing references) //IL_1d52: Unknown result type (might be due to invalid IL or missing references) //IL_1d58: Expected O, but got Unknown //IL_1fcc: Unknown result type (might be due to invalid IL or missing references) //IL_1fd6: Expected O, but got Unknown //IL_1fe3: Unknown result type (might be due to invalid IL or missing references) //IL_1ffa: Unknown result type (might be due to invalid IL or missing references) //IL_2004: Expected O, but got Unknown //IL_201b: Unknown result type (might be due to invalid IL or missing references) //IL_2025: Expected O, but got Unknown //IL_2031: Unknown result type (might be due to invalid IL or missing references) //IL_203b: Expected O, but got Unknown //IL_2066: Unknown result type (might be due to invalid IL or missing references) //IL_2070: Expected O, but got Unknown //IL_208f: Unknown result type (might be due to invalid IL or missing references) //IL_2099: Expected O, but got Unknown //IL_20a6: Unknown result type (might be due to invalid IL or missing references) //IL_20bd: Unknown result type (might be due to invalid IL or missing references) //IL_20c7: Expected O, but got Unknown //IL_20de: Unknown result type (might be due to invalid IL or missing references) //IL_20e8: Expected O, but got Unknown //IL_20f4: Unknown result type (might be due to invalid IL or missing references) //IL_20fe: Expected O, but got Unknown //IL_2122: Unknown result type (might be due to invalid IL or missing references) //IL_212c: Expected O, but got Unknown //IL_214b: Unknown result type (might be due to invalid IL or missing references) //IL_2155: Expected O, but got Unknown //IL_2174: Unknown result type (might be due to invalid IL or missing references) //IL_217e: Expected O, but got Unknown //IL_218b: Unknown result type (might be due to invalid IL or missing references) //IL_2191: Unknown result type (might be due to invalid IL or missing references) //IL_2198: Expected O, but got Unknown //IL_21ae: Unknown result type (might be due to invalid IL or missing references) //IL_21b3: Unknown result type (might be due to invalid IL or missing references) //IL_21cd: Unknown result type (might be due to invalid IL or missing references) //IL_21d2: Unknown result type (might be due to invalid IL or missing references) //IL_21ec: Unknown result type (might be due to invalid IL or missing references) //IL_21f1: Unknown result type (might be due to invalid IL or missing references) //IL_221b: Unknown result type (might be due to invalid IL or missing references) //IL_2225: Expected O, but got Unknown //IL_1fa3: Unknown result type (might be due to invalid IL or missing references) //IL_1fa8: Unknown result type (might be due to invalid IL or missing references) //IL_1fae: Expected O, but got Unknown //IL_2267: Unknown result type (might be due to invalid IL or missing references) //IL_2271: Expected O, but got Unknown //IL_227e: Unknown result type (might be due to invalid IL or missing references) //IL_2295: Unknown result type (might be due to invalid IL or missing references) //IL_229f: Expected O, but got Unknown //IL_22b6: Unknown result type (might be due to invalid IL or missing references) //IL_22c0: Expected O, but got Unknown //IL_22cc: Unknown result type (might be due to invalid IL or missing references) //IL_22d6: Expected O, but got Unknown //IL_2301: Unknown result type (might be due to invalid IL or missing references) //IL_230b: Expected O, but got Unknown //IL_232a: Unknown result type (might be due to invalid IL or missing references) //IL_2334: Expected O, but got Unknown //IL_2341: Unknown result type (might be due to invalid IL or missing references) //IL_2358: Unknown result type (might be due to invalid IL or missing references) //IL_2362: Expected O, but got Unknown //IL_2379: Unknown result type (might be due to invalid IL or missing references) //IL_2383: Expected O, but got Unknown //IL_238f: Unknown result type (might be due to invalid IL or missing references) //IL_2399: Expected O, but got Unknown //IL_23c4: Unknown result type (might be due to invalid IL or missing references) //IL_23ce: Expected O, but got Unknown //IL_23ed: Unknown result type (might be due to invalid IL or missing references) //IL_23f7: Expected O, but got Unknown //IL_2404: Unknown result type (might be due to invalid IL or missing references) //IL_240a: Unknown result type (might be due to invalid IL or missing references) //IL_2411: Expected O, but got Unknown //IL_2418: Unknown result type (might be due to invalid IL or missing references) //IL_241d: Unknown result type (might be due to invalid IL or missing references) //IL_2446: Unknown result type (might be due to invalid IL or missing references) //IL_244b: Unknown result type (might be due to invalid IL or missing references) //IL_2475: Unknown result type (might be due to invalid IL or missing references) //IL_247f: Expected O, but got Unknown //IL_223e: Unknown result type (might be due to invalid IL or missing references) //IL_2243: Unknown result type (might be due to invalid IL or missing references) //IL_2249: Expected O, but got Unknown //IL_24c1: Unknown result type (might be due to invalid IL or missing references) //IL_24cb: Expected O, but got Unknown //IL_24d8: Unknown result type (might be due to invalid IL or missing references) //IL_24ef: Unknown result type (might be due to invalid IL or missing references) //IL_24f9: Expected O, but got Unknown //IL_2510: Unknown result type (might be due to invalid IL or missing references) //IL_251a: Expected O, but got Unknown //IL_2526: Unknown result type (might be due to invalid IL or missing references) //IL_2530: Expected O, but got Unknown //IL_255b: Unknown result type (might be due to invalid IL or missing references) //IL_2565: Expected O, but got Unknown //IL_2584: Unknown result type (might be due to invalid IL or missing references) //IL_258e: Expected O, but got Unknown //IL_259b: Unknown result type (might be due to invalid IL or missing references) //IL_25b2: Unknown result type (might be due to invalid IL or missing references) //IL_25bc: Expected O, but got Unknown //IL_25d3: Unknown result type (might be due to invalid IL or missing references) //IL_25dd: Expected O, but got Unknown //IL_25e9: Unknown result type (might be due to invalid IL or missing references) //IL_25f3: Expected O, but got Unknown //IL_261e: Unknown result type (might be due to invalid IL or missing references) //IL_2628: Expected O, but got Unknown //IL_2647: Unknown result type (might be due to invalid IL or missing references) //IL_2651: Expected O, but got Unknown //IL_265e: Unknown result type (might be due to invalid IL or missing references) //IL_2664: Unknown result type (might be due to invalid IL or missing references) //IL_266b: Expected O, but got Unknown //IL_2681: Unknown result type (might be due to invalid IL or missing references) //IL_2686: Unknown result type (might be due to invalid IL or missing references) //IL_26a0: Unknown result type (might be due to invalid IL or missing references) //IL_26a5: Unknown result type (might be due to invalid IL or missing references) //IL_26bf: Unknown result type (might be due to invalid IL or missing references) //IL_26c4: Unknown result type (might be due to invalid IL or missing references) //IL_26ee: Unknown result type (might be due to invalid IL or missing references) //IL_26f8: Expected O, but got Unknown //IL_2498: Unknown result type (might be due to invalid IL or missing references) //IL_249d: Unknown result type (might be due to invalid IL or missing references) //IL_24a3: Expected O, but got Unknown //IL_273a: Unknown result type (might be due to invalid IL or missing references) //IL_2744: Expected O, but got Unknown //IL_2755: Unknown result type (might be due to invalid IL or missing references) //IL_275f: Expected O, but got Unknown //IL_276b: Unknown result type (might be due to invalid IL or missing references) //IL_2775: Expected O, but got Unknown //IL_2781: Unknown result type (might be due to invalid IL or missing references) //IL_278b: Expected O, but got Unknown //IL_27b6: Unknown result type (might be due to invalid IL or missing references) //IL_27c0: Expected O, but got Unknown //IL_27df: Unknown result type (might be due to invalid IL or missing references) //IL_27e9: Expected O, but got Unknown //IL_27f6: Unknown result type (might be due to invalid IL or missing references) //IL_2813: Unknown result type (might be due to invalid IL or missing references) //IL_281d: Expected O, but got Unknown //IL_2711: Unknown result type (might be due to invalid IL or missing references) //IL_2716: Unknown result type (might be due to invalid IL or missing references) //IL_271c: Expected O, but got Unknown //IL_285f: Unknown result type (might be due to invalid IL or missing references) //IL_2869: Expected O, but got Unknown //IL_2880: Unknown result type (might be due to invalid IL or missing references) //IL_288a: Expected O, but got Unknown //IL_2899: Unknown result type (might be due to invalid IL or missing references) //IL_28a3: Expected O, but got Unknown //IL_28af: Unknown result type (might be due to invalid IL or missing references) //IL_28c5: Unknown result type (might be due to invalid IL or missing references) //IL_28cf: Expected O, but got Unknown //IL_28f4: Unknown result type (might be due to invalid IL or missing references) //IL_28fe: Expected O, but got Unknown //IL_2923: Unknown result type (might be due to invalid IL or missing references) //IL_292d: Expected O, but got Unknown //IL_2952: Unknown result type (might be due to invalid IL or missing references) //IL_295c: Expected O, but got Unknown //IL_2981: Unknown result type (might be due to invalid IL or missing references) //IL_298b: Expected O, but got Unknown //IL_29b0: Unknown result type (might be due to invalid IL or missing references) //IL_29ba: Expected O, but got Unknown //IL_29df: Unknown result type (might be due to invalid IL or missing references) //IL_29e9: Expected O, but got Unknown //IL_2a0e: Unknown result type (might be due to invalid IL or missing references) //IL_2a18: Expected O, but got Unknown //IL_2a3d: Unknown result type (might be due to invalid IL or missing references) //IL_2a47: Expected O, but got Unknown //IL_2a6c: Unknown result type (might be due to invalid IL or missing references) //IL_2a76: Expected O, but got Unknown //IL_2a97: Unknown result type (might be due to invalid IL or missing references) //IL_2aad: Unknown result type (might be due to invalid IL or missing references) //IL_2ab7: Expected O, but got Unknown //IL_2adc: Unknown result type (might be due to invalid IL or missing references) //IL_2ae6: Expected O, but got Unknown //IL_2b0b: Unknown result type (might be due to invalid IL or missing references) //IL_2b15: Expected O, but got Unknown //IL_2b3a: Unknown result type (might be due to invalid IL or missing references) //IL_2b44: Expected O, but got Unknown //IL_2b69: Unknown result type (might be due to invalid IL or missing references) //IL_2b73: Expected O, but got Unknown //IL_2b98: Unknown result type (might be due to invalid IL or missing references) //IL_2ba2: Expected O, but got Unknown //IL_2bc7: Unknown result type (might be due to invalid IL or missing references) //IL_2bd1: Expected O, but got Unknown //IL_2bf6: Unknown result type (might be due to invalid IL or missing references) //IL_2c00: Expected O, but got Unknown //IL_2c21: Unknown result type (might be due to invalid IL or missing references) //IL_2c37: Unknown result type (might be due to invalid IL or missing references) //IL_2c41: Expected O, but got Unknown //IL_2c66: Unknown result type (might be due to invalid IL or missing references) //IL_2c70: Expected O, but got Unknown //IL_2c95: Unknown result type (might be due to invalid IL or missing references) //IL_2c9f: Expected O, but got Unknown //IL_2cc0: Unknown result type (might be due to invalid IL or missing references) //IL_2cd6: Unknown result type (might be due to invalid IL or missing references) //IL_2ce0: Expected O, but got Unknown //IL_2d05: Unknown result type (might be due to invalid IL or missing references) //IL_2d0f: Expected O, but got Unknown //IL_2d