using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using TMPro; using UnityEngine; using UnityEngine.Events; using UnityEngine.UI; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: AssemblyCompany("AngryUiComponents")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0+9434d305d6d7e2d913c69afe409f247076c1fe94")] [assembly: AssemblyProduct("AngryUiComponents")] [assembly: AssemblyTitle("AngryUiComponents")] [assembly: AssemblyVersion("1.0.0.0")] namespace AngryUiComponents; public class AngryBundleSortFieldComponent : MonoBehaviour { private class GraphicCopier : MonoBehaviour { public Graphic thisGraphic; public CanvasRenderer thisRenderer; public Graphic targetGraphic; public CanvasRenderer targetRenderer; private void Start() { if ((Object)(object)thisGraphic == (Object)null) { thisGraphic = ((Component)this).GetComponent(); } if ((Object)(object)thisRenderer == (Object)null) { thisRenderer = ((Component)this).GetComponent(); } } private void Update() { //IL_0044: 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) if ((Object)(object)targetGraphic != (Object)null && (Object)(object)thisGraphic != (Object)null && (Object)(object)thisRenderer != (Object)null && (Object)(object)targetRenderer != (Object)null) { targetGraphic.color = thisGraphic.color; targetRenderer.SetColor(thisRenderer.GetColor()); } } } private struct ButtonInfo { public Button button; public Image bg; public TextMeshProUGUI text; public GraphicCopier copier; public ButtonInfo(Button button, Image bg, TextMeshProUGUI frame, GraphicCopier copier) { this.button = button; this.bg = bg; text = frame; this.copier = copier; } } public Button favSortButton; public Image favSortIcon; [Space(5f)] public Button nameButton; public Image nameBg; public Image nameFrame; public TextMeshProUGUI nameText; private GraphicCopier nameCopier; [Space(5f)] public Button authorButton; public Image authorBg; public Image authorFrame; public TextMeshProUGUI authorText; private GraphicCopier authorCopier; [Space(5f)] public Button lastUpdateButton; public Image lastUpdateBg; public Image lastUpdateFrame; public TextMeshProUGUI lastUpdateText; private GraphicCopier lastUpdateCopier; [Space(5f)] public Button lastPlayedButton; public Image lastPlayedBg; public Image lastPlayedFrame; public TextMeshProUGUI lastPlayedText; private GraphicCopier lastPlayedCopier; private bool _inited; private void Init() { if (!_inited) { _inited = true; nameCopier = ((Component)nameFrame).gameObject.AddComponent(); authorCopier = ((Component)authorFrame).gameObject.AddComponent(); lastUpdateCopier = ((Component)lastUpdateFrame).gameObject.AddComponent(); lastPlayedCopier = ((Component)lastPlayedFrame).gameObject.AddComponent(); nameCopier.targetGraphic = (Graphic)(object)nameText; authorCopier.targetGraphic = (Graphic)(object)authorText; lastUpdateCopier.targetGraphic = (Graphic)(object)lastUpdateText; lastPlayedCopier.targetGraphic = (Graphic)(object)lastPlayedText; } } private void Awake() { Init(); } public void SetButtonSelected(Button button) { //IL_0130: Unknown result type (might be due to invalid IL or missing references) //IL_0140: Unknown result type (might be due to invalid IL or missing references) //IL_00e7: Unknown result type (might be due to invalid IL or missing references) //IL_00f7: Unknown result type (might be due to invalid IL or missing references) Init(); ButtonInfo[] array = new ButtonInfo[4] { new ButtonInfo(nameButton, nameBg, nameText, nameCopier), new ButtonInfo(authorButton, authorBg, authorText, authorCopier), new ButtonInfo(lastUpdateButton, lastUpdateBg, lastUpdateText, lastUpdateCopier), new ButtonInfo(lastPlayedButton, lastPlayedBg, lastPlayedText, lastPlayedCopier) }; for (int i = 0; i < array.Length; i++) { ButtonInfo buttonInfo = array[i]; if ((Object)(object)buttonInfo.button == (Object)(object)button) { buttonInfo.copier.targetGraphic = (Graphic)(object)buttonInfo.bg; buttonInfo.copier.targetRenderer = ((Component)buttonInfo.bg).GetComponent(); ((Graphic)buttonInfo.bg).color = Color.white; ((Graphic)buttonInfo.text).color = Color.black; } else { buttonInfo.copier.targetGraphic = (Graphic)(object)buttonInfo.text; buttonInfo.copier.targetRenderer = ((Component)buttonInfo.text).GetComponent(); ((Graphic)buttonInfo.bg).color = Color.black; ((Graphic)buttonInfo.text).color = Color.white; } } } } public class AngryCustomLevelButtonComponent : MonoBehaviour { public RectTransform rect; public Button button; public Image background; public TextMeshProUGUI text; } public class AngryDeleteBundleNotificationComponent : MonoBehaviour { public Text body; public Text bundleName; public Image bundleIcon; public Button cancelButton; public Button deleteButton; public Text deleteText; } public class AngryDeleteOldBundlesNotificationComponent : MonoBehaviour { public Text body; public Button cancelButton; public Text cancelButtonText; public Button deleteButton; public Text deleteButtonText; public GameObject loadingCircle; public Text deletionProgress; public Text deletionLog; } public class AngryDifficultyFieldComponent : MonoBehaviour { public CanvasGroup group; public Dropdown difficultyList; public Dropdown gamemodeList; } public class AngryEpilepsyWarningNotificationComponent : MonoBehaviour { public Button cancelButton; public Button continueButton; public Text continueButtonText; public Button continueAndIgnoreButton; public Text continueAndIgnoreButtonText; } public class AngryFolderButtonComponent : MonoBehaviour { public TextMeshProUGUI folderName; public Button folderButton; public RawImage folderIcon; } public class AngryLeaderboardNotificationComponent : MonoBehaviour { public Text header; public Dropdown category; public Dropdown difficulty; public Dropdown group; public GameObject localUserRecordContainer; public RawImage localUserPfp; public Text localUserRank; public Text localUserName; public Text localUserTime; public GameObject recordEnabler; public Transform recordContainer; public AngryLeaderboardRecordEntryComponent recordTemplate; public GameObject pageText; public Button nextPage; public Button prevPage; public InputField pageInput; public Button closeButton; public GameObject refreshCircle; public Text failMessage; public Button refreshButton; public GameObject reportToggle; public GameObject reportFormToggle; public GameObject reportResultToggle; public Text reportBody; public GameObject reportLoadCircle; public Toggle inappropriateName; public Toggle inappropriatePicture; public Toggle cheatedScore; public Toggle reportValidation; public Button reportCancel; public Button reportSend; public Button reportReturn; public AngryManageUserComponent manageUserPanel; public AngryUserHistoryPanelComponent historyPanel; } public class AngryLeaderboardPermissionNotificationComponent : MonoBehaviour { public Button cancelButton; public Button okButton; } public class AngryLeaderboardRecordEntryComponent : MonoBehaviour { public Text rank; public Text username; public Text time; public RawImage profile; public Button reportButton; } public class AngryLevelFieldComponent : MonoBehaviour { private class OnDisableCallback : MonoBehaviour { public Action callback; private void OnDisable() { if (callback != null) { callback(); } } } [CompilerGenerated] private sealed class <>c__DisplayClass41_0 { public Action cb; internal void b__0() { if (cb != null) { cb(); } } } [CompilerGenerated] private sealed class d__41 : IEnumerator, IEnumerator, IDisposable { private int <>1__state; private object <>2__current; public Action cb; public Button btn; public TextMeshProUGUI txt; private <>c__DisplayClass41_0 <>8__1; private int 5__2; object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } [DebuggerHidden] public d__41(int <>1__state) { this.<>1__state = <>1__state; } [DebuggerHidden] void IDisposable.Dispose() { <>8__1 = null; <>1__state = -2; } private bool MoveNext() { //IL_006e: Unknown result type (might be due to invalid IL or missing references) //IL_0078: Expected O, but got Unknown //IL_00c3: Unknown result type (might be due to invalid IL or missing references) //IL_00cd: Expected O, but got Unknown //IL_00e4: Unknown result type (might be due to invalid IL or missing references) //IL_00ee: Expected O, but got Unknown switch (<>1__state) { default: return false; case 0: <>1__state = -1; <>8__1 = new <>c__DisplayClass41_0(); <>8__1.cb = cb; ((Selectable)btn).interactable = false; 5__2 = 3; break; case 1: <>1__state = -1; 5__2--; break; } if (5__2 >= 1) { ((TMP_Text)txt).text = $"Are you sure? ({5__2})"; <>2__current = (object)new WaitForSecondsRealtime(1f); <>1__state = 1; return true; } ((TMP_Text)txt).text = "Are you sure?"; ((Selectable)btn).interactable = true; btn.onClick = new ButtonClickedEvent(); ((UnityEvent)btn.onClick).AddListener((UnityAction)delegate { if (<>8__1.cb != null) { <>8__1.cb(); } }); return false; } bool IEnumerator.MoveNext() { //ILSpy generated this explicit interface implementation from .override directive in MoveNext return this.MoveNext(); } [DebuggerHidden] void IEnumerator.Reset() { throw new NotSupportedException(); } } public Text levelHeader; public Image fieldImage; public RectTransform statContainer; public Image statContainerImage; public Text[] headers; public Text timeText; public Text killText; public Text styleText; public Text secretsText; public Text secretsHeader; public GameObject secretsIconContainer; public Image[] secretsIcons; public GameObject settingsPanel; public Button openSettingsButton; public Button closeSettingsButton; public Button resetStatsButton; public TextMeshProUGUI resetStatsText; public Button resetSecretsButton; public TextMeshProUGUI resetSecretsText; public Button resetChallengeButton; public TextMeshProUGUI resetChallengeText; public Button resetLevelVarsButton; public TextMeshProUGUI resetLevelVarsText; public Button resetBundleVarsButton; public TextMeshProUGUI resetBundleVarsText; public Button resetUserVarsButton; public TextMeshProUGUI resetUserVarsText; public Action onResetStats; public Action onResetSecrets; public Action onResetChallenge; public Action onResetLevelVars; public Action onResetBundleVars; public Action onResetUserVars; public Image finalRankContainerImage; public Text finalRankText; public RectTransform challengeContainer; public Image challengeContainerImage; public Text challengeText; public Image levelThumbnail; public Button levelButton; public Button leaderboardsButton; private void Awake() { settingsPanel.AddComponent().callback = delegate { ((MonoBehaviour)this).StopAllCoroutines(); }; ResetSettingsButtons(); } public void ResetSettingsButtons() { //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Expected O, but got Unknown //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_002c: Expected O, but got Unknown //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Expected O, but got Unknown //IL_004e: Unknown result type (might be due to invalid IL or missing references) //IL_0058: Expected O, but got Unknown //IL_005e: Unknown result type (might be due to invalid IL or missing references) //IL_0068: Expected O, but got Unknown //IL_007a: Unknown result type (might be due to invalid IL or missing references) //IL_0084: Expected O, but got Unknown //IL_008a: Unknown result type (might be due to invalid IL or missing references) //IL_0094: Expected O, but got Unknown //IL_00a6: Unknown result type (might be due to invalid IL or missing references) //IL_00b0: Expected O, but got Unknown //IL_00b6: Unknown result type (might be due to invalid IL or missing references) //IL_00c0: Expected O, but got Unknown //IL_00d2: Unknown result type (might be due to invalid IL or missing references) //IL_00dc: Expected O, but got Unknown //IL_00e2: Unknown result type (might be due to invalid IL or missing references) //IL_00ec: Expected O, but got Unknown //IL_0103: Unknown result type (might be due to invalid IL or missing references) //IL_010d: Expected O, but got Unknown resetStatsButton.onClick = new ButtonClickedEvent(); ((UnityEvent)resetStatsButton.onClick).AddListener(new UnityAction(OnResetStats)); resetSecretsButton.onClick = new ButtonClickedEvent(); ((UnityEvent)resetSecretsButton.onClick).AddListener(new UnityAction(OnResetSecrets)); resetChallengeButton.onClick = new ButtonClickedEvent(); ((UnityEvent)resetChallengeButton.onClick).AddListener(new UnityAction(OnResetChallenge)); resetLevelVarsButton.onClick = new ButtonClickedEvent(); ((UnityEvent)resetLevelVarsButton.onClick).AddListener(new UnityAction(OnResetLevelVars)); resetBundleVarsButton.onClick = new ButtonClickedEvent(); ((UnityEvent)resetBundleVarsButton.onClick).AddListener(new UnityAction(OnResetBundleVars)); resetUserVarsButton.onClick = new ButtonClickedEvent(); ((UnityEvent)resetUserVarsButton.onClick).AddListener(new UnityAction(onResetUserVars.Invoke)); } public void OnResetStats() { ((Selectable)resetStatsButton).interactable = false; ((MonoBehaviour)this).StartCoroutine(ResetButtonCoroutine(resetStatsButton, resetStatsText, onResetStats)); } public void OnResetSecrets() { ((Selectable)resetSecretsButton).interactable = false; ((MonoBehaviour)this).StartCoroutine(ResetButtonCoroutine(resetSecretsButton, resetSecretsText, onResetSecrets)); } public void OnResetChallenge() { ((Selectable)resetChallengeButton).interactable = false; ((MonoBehaviour)this).StartCoroutine(ResetButtonCoroutine(resetChallengeButton, resetChallengeText, onResetChallenge)); } public void OnResetLevelVars() { ((Selectable)resetLevelVarsButton).interactable = false; ((MonoBehaviour)this).StartCoroutine(ResetButtonCoroutine(resetLevelVarsButton, resetLevelVarsText, onResetLevelVars)); } public void OnResetBundleVars() { ((Selectable)resetBundleVarsButton).interactable = false; ((MonoBehaviour)this).StartCoroutine(ResetButtonCoroutine(resetBundleVarsButton, resetBundleVarsText, onResetBundleVars)); } [IteratorStateMachine(typeof(d__41))] private IEnumerator ResetButtonCoroutine(Button btn, TextMeshProUGUI txt, Action cb) { //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() return new d__41(0) { btn = btn, txt = txt, cb = cb }; } } public class AngryLevelUpdateNotificationComponent : MonoBehaviour { public Text body; public Button cancel; public Button update; } public class AngryManageUserComponent : MonoBehaviour { public GameObject managePanel; public RawImage userIcon; public Text userInfo; public Toggle cencorProfilePicture; public Toggle cencorProfileName; public Toggle banUser; public Toggle removeRecord; public Toggle removeAll; public Button cancelManage; public Button applyManage; public GameObject warningPanel; public RawImage warningUserIcon; public Text warningUserInfo; public Button warningCancelButton; public Button warningSubmitButton; public Text warningSubmitButtonText; public GameObject resultPanel; public GameObject loadingCircle; public Text resultText; public Button returnButton; public Button historyButton; } public class AngryNoMoNotSupportedNotificationComponent : MonoBehaviour { public Button cancelButton; public Button continueButton; public Text continueButtonText; public Button continueAndIgnoreButton; public Text continueAndIgnoreButtonText; } public class AngryOnlineLevelFieldComponent : MonoBehaviour { public RawImage thumbnail; public Text infoText; public Button changelog; public Button install; public Button update; public Button cancel; public Button upvoteButton; public Image upvoteImage; public Button downvoteButton; public Image downvoteImage; public Text votes; public RectTransform downloadContainer; public Text progressText; public RectTransform progressBar; } public class AngryOnlineSortFieldComponent : MonoBehaviour { private class GraphicCopier : MonoBehaviour { public Graphic thisGraphic; public CanvasRenderer thisRenderer; public Graphic targetGraphic; public CanvasRenderer targetRenderer; private void Start() { if ((Object)(object)thisGraphic == (Object)null) { thisGraphic = ((Component)this).GetComponent(); } if ((Object)(object)thisRenderer == (Object)null) { thisRenderer = ((Component)this).GetComponent(); } } private void Update() { //IL_0044: 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) if ((Object)(object)targetGraphic != (Object)null && (Object)(object)thisGraphic != (Object)null && (Object)(object)thisRenderer != (Object)null && (Object)(object)targetRenderer != (Object)null) { targetGraphic.color = thisGraphic.color; targetRenderer.SetColor(thisRenderer.GetColor()); } } } private struct ButtonInfo { public Button button; public Image bg; public TextMeshProUGUI text; public GraphicCopier copier; public ButtonInfo(Button button, Image bg, TextMeshProUGUI frame, GraphicCopier copier) { this.button = button; this.bg = bg; text = frame; this.copier = copier; } } public Button refreshButton; [Space(5f)] public Button nameButton; public Image nameBg; public Image nameFrame; public TextMeshProUGUI nameText; private GraphicCopier nameCopier; [Space(5f)] public Button authorButton; public Image authorBg; public Image authorFrame; public TextMeshProUGUI authorText; private GraphicCopier authorCopier; [Space(5f)] public Button lastUpdateButton; public Image lastUpdateBg; public Image lastUpdateFrame; public TextMeshProUGUI lastUpdateText; private GraphicCopier lastUpdateCopier; [Space(5f)] public Button votesButton; public Image votesBg; public Image votesFrame; public TextMeshProUGUI votesText; private GraphicCopier votesCopier; private bool _inited; private void Init() { if (!_inited) { _inited = true; nameCopier = ((Component)nameFrame).gameObject.AddComponent(); authorCopier = ((Component)authorFrame).gameObject.AddComponent(); lastUpdateCopier = ((Component)lastUpdateFrame).gameObject.AddComponent(); votesCopier = ((Component)votesFrame).gameObject.AddComponent(); nameCopier.targetGraphic = (Graphic)(object)nameText; authorCopier.targetGraphic = (Graphic)(object)authorText; lastUpdateCopier.targetGraphic = (Graphic)(object)lastUpdateText; votesCopier.targetGraphic = (Graphic)(object)votesText; } } private void Awake() { Init(); } public void SetButtonSelected(Button button) { //IL_0130: Unknown result type (might be due to invalid IL or missing references) //IL_0140: Unknown result type (might be due to invalid IL or missing references) //IL_00e7: Unknown result type (might be due to invalid IL or missing references) //IL_00f7: Unknown result type (might be due to invalid IL or missing references) Init(); ButtonInfo[] array = new ButtonInfo[4] { new ButtonInfo(nameButton, nameBg, nameText, nameCopier), new ButtonInfo(authorButton, authorBg, authorText, authorCopier), new ButtonInfo(lastUpdateButton, lastUpdateBg, lastUpdateText, lastUpdateCopier), new ButtonInfo(votesButton, votesBg, votesText, votesCopier) }; for (int i = 0; i < array.Length; i++) { ButtonInfo buttonInfo = array[i]; if ((Object)(object)buttonInfo.button == (Object)(object)button) { buttonInfo.copier.targetGraphic = (Graphic)(object)buttonInfo.bg; buttonInfo.copier.targetRenderer = ((Component)buttonInfo.bg).GetComponent(); ((Graphic)buttonInfo.bg).color = Color.white; ((Graphic)buttonInfo.text).color = Color.black; } else { buttonInfo.copier.targetGraphic = (Graphic)(object)buttonInfo.text; buttonInfo.copier.targetRenderer = ((Component)buttonInfo.text).GetComponent(); ((Graphic)buttonInfo.bg).color = Color.black; ((Graphic)buttonInfo.text).color = Color.white; } } } } public class AngryOnlineStatusFilterComponent : MonoBehaviour { public Toggle installed; public Toggle notInstalled; public Toggle updateAvailable; } public class AngryPluginChangelogNotificationComponent : MonoBehaviour { public Text header; public Text text; public Button cancel; public Button ignoreUpdate; } public class AngryReloadBundlePromptComponent : MonoBehaviour { public CanvasGroup division; public AudioSource audio; public Text text; public Button ignoreButton; public Button reloadButton; private bool transparent; private const float TARGET_ALPHA = 0.6f; public void Awake() { //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Expected O, but got Unknown //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_002c: Expected O, but got Unknown ignoreButton.onClick = new ButtonClickedEvent(); ((UnityEvent)ignoreButton.onClick).AddListener((UnityAction)delegate { //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Expected O, but got Unknown reloadButton.onClick = new ButtonClickedEvent(); ((Component)this).gameObject.SetActive(false); }); } public void MakeTransparent(bool instant) { transparent = true; if (instant) { division.alpha = 0.6f; } } public void MakeOpaque(bool instant) { transparent = false; if (instant) { division.alpha = 1f; } } public void Update() { if (transparent && division.alpha != 0.6f) { division.alpha = Mathf.MoveTowards(division.alpha, 0.6f, Time.unscaledDeltaTime * 2f); } else if (!transparent && division.alpha != 1f) { division.alpha = Mathf.MoveTowards(division.alpha, 1f, Time.unscaledDeltaTime * 2f); } } } public class AngryReloadScriptPromptComponent : MonoBehaviour { public CanvasGroup division; public AudioSource audio; public Text text; public Button ignoreButton; public Button reloadButton; private bool transparent; private const float TARGET_ALPHA = 0.6f; public void Awake() { //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Expected O, but got Unknown //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_002c: Expected O, but got Unknown ignoreButton.onClick = new ButtonClickedEvent(); ((UnityEvent)ignoreButton.onClick).AddListener((UnityAction)delegate { //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Expected O, but got Unknown reloadButton.onClick = new ButtonClickedEvent(); ((Component)this).gameObject.SetActive(false); }); } public void MakeTransparent(bool instant) { transparent = true; if (instant) { division.alpha = 0.6f; } } public void MakeOpaque(bool instant) { transparent = false; if (instant) { division.alpha = 1f; } } public void Update() { if (transparent && division.alpha != 0.6f) { division.alpha = Mathf.MoveTowards(division.alpha, 0.6f, Time.unscaledDeltaTime * 2f); } else if (!transparent && division.alpha != 1f) { division.alpha = Mathf.MoveTowards(division.alpha, 1f, Time.unscaledDeltaTime * 2f); } } } public class AngryResetUserMapVarNotificationComponent : MonoBehaviour { public GameObject notFoundText; public AngryResetUserMapVarNotificationElementComponent template; public Button exitButton; public AngryResetUserMapVarNotificationElementComponent CreateTemplate() { GameObject obj = Object.Instantiate(((Component)template).gameObject, ((Component)template).transform.parent); obj.SetActive(true); return obj.GetComponent(); } } public class AngryResetUserMapVarNotificationElementComponent : MonoBehaviour { [CompilerGenerated] private sealed class <>c__DisplayClass5_0 { public Action cb; internal void b__0() { if (cb != null) { cb(); } } } [CompilerGenerated] private sealed class d__5 : IEnumerator, IEnumerator, IDisposable { private int <>1__state; private object <>2__current; public Action cb; public Button btn; public TextMeshProUGUI txt; private <>c__DisplayClass5_0 <>8__1; private int 5__2; object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } object IEnumerator.Current { [DebuggerHidden] get { return <>2__current; } } [DebuggerHidden] public d__5(int <>1__state) { this.<>1__state = <>1__state; } [DebuggerHidden] void IDisposable.Dispose() { <>8__1 = null; <>1__state = -2; } private bool MoveNext() { //IL_006e: Unknown result type (might be due to invalid IL or missing references) //IL_0078: Expected O, but got Unknown //IL_00c3: Unknown result type (might be due to invalid IL or missing references) //IL_00cd: Expected O, but got Unknown //IL_00e4: Unknown result type (might be due to invalid IL or missing references) //IL_00ee: Expected O, but got Unknown switch (<>1__state) { default: return false; case 0: <>1__state = -1; <>8__1 = new <>c__DisplayClass5_0(); <>8__1.cb = cb; ((Selectable)btn).interactable = false; 5__2 = 3; break; case 1: <>1__state = -1; 5__2--; break; } if (5__2 >= 1) { ((TMP_Text)txt).text = $"Are you sure? ({5__2})"; <>2__current = (object)new WaitForSecondsRealtime(1f); <>1__state = 1; return true; } ((TMP_Text)txt).text = "Are you sure?"; ((Selectable)btn).interactable = true; btn.onClick = new ButtonClickedEvent(); ((UnityEvent)btn.onClick).AddListener((UnityAction)delegate { if (<>8__1.cb != null) { <>8__1.cb(); } }); return false; } bool IEnumerator.MoveNext() { //ILSpy generated this explicit interface implementation from .override directive in MoveNext return this.MoveNext(); } [DebuggerHidden] void IEnumerator.Reset() { throw new NotSupportedException(); } } public TextMeshProUGUI id; public Button resetButton; public TextMeshProUGUI resetButtonText; public Action onReset; public void SetButton() { //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_0020: Expected O, but got Unknown //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Expected O, but got Unknown ((TMP_Text)resetButtonText).text = "Reset"; resetButton.onClick = new ButtonClickedEvent(); ((UnityEvent)resetButton.onClick).AddListener((UnityAction)delegate { ((MonoBehaviour)this).StartCoroutine(ResetButtonCoroutine(resetButton, resetButtonText, onReset)); }); } [IteratorStateMachine(typeof(d__5))] private IEnumerator ResetButtonCoroutine(Button btn, TextMeshProUGUI txt, Action cb) { //yield-return decompiler failed: Unexpected instruction in Iterator.Dispose() return new d__5(0) { btn = btn, txt = txt, cb = cb }; } } public class AngryScriptUpdateNotificationComponent : MonoBehaviour { public Transform content; public Button cancel; public Button update; public Button continueButton; } public class AngryScriptWarningNotificationComponent : MonoBehaviour { public Text header; public Text body; public Button topButton; public Text topButtonText; public Button leftButton; public Text leftButtonText; public Button rightButton; public Text rightButtonText; } public class AngryUIPanelComponent : MonoBehaviour { public AngryReloadBundlePromptComponent reloadBundlePrompt; public AngryReloadScriptPromptComponent reloadScriptPrompt; } public class AngryUserHistoryPanelComponent : MonoBehaviour { public RawImage userIcon; public Text userInfo; public Button backButton; public Button nextPageButton; public Button prevPageButton; public InputField pageNumber; public Dropdown categoryFilter; public Dropdown difficultyFilter; public Dropdown sortOrder; public Toggle reverseOrder; public InputField bundleName; public InputField levelName; public CanvasGroup inputGroup; public AngryUserRecordEntryComponent template; public GameObject loadingCircle; } public class AngryUserRecordEntryComponent : MonoBehaviour { public RawImage bundleIcon; public RawImage levelIcon; public TextMeshProUGUI bundleInfo; public TextMeshProUGUI recordInfo; public TextMeshProUGUI time; }