using System; using System.Collections.Generic; using Cpp2IlInjected; using DG.Tweening; using UnityEngine; using UnityEngine.UI; // Token: 0x020002B2 RID: 690 [Token(Token = "0x20002B2")] [Serializable] public class UICombatDialogue { // Token: 0x06001A03 RID: 6659 RVA: 0x0003EBA0 File Offset: 0x0003CDA0 [Token(Token = "0x6001A03")] [Address(RVA = "0x7AC520", Offset = "0x7AAD20", VA = "0x1807AC520")] public void Init() { Dictionary combatDialogueData = Game.GetCombatDialogueData(); this.dataMap = combatDialogueData; GameObject gameObject = this.canvasGroup.gameObject; int num = 0; gameObject.SetActive(num != 0); CanvasGroup canvasGroup = this.canvasGroup; int num2 = 0; canvasGroup.alpha = (float)num2; Sequence sequence = DOTween.Sequence(); this.bossProcessor = sequence; Sequence sequence2 = DOTween.Sequence(); this.partnerProcessor = sequence2; throw new NullReferenceException(); } // Token: 0x06001A04 RID: 6660 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001A04")] [Address(RVA = "0x7AC7D0", Offset = "0x7AAFD0", VA = "0x1807AC7D0")] public void PlayBossDialogue(CombatDialogueType key, Action nextAction) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06001A05 RID: 6661 RVA: 0x0003EC10 File Offset: 0x0003CE10 [Token(Token = "0x6001A05")] [Address(RVA = "0x7AC860", Offset = "0x7AB060", VA = "0x1807AC860")] public void PlayPartnerDialogue() { if (!this.bossProcessor.IsPlaying()) { this.UpdateContent(CombatDialogueType.Stage03Cat); int num = 0; Tween textProcessor = this.GetTextProcessor(num); this.partnerProcessor = textProcessor; } } // Token: 0x06001A06 RID: 6662 RVA: 0x0003EC44 File Offset: 0x0003CE44 [Token(Token = "0x6001A06")] [Address(RVA = "0x7AC610", Offset = "0x7AAE10", VA = "0x1807AC610")] public void Localize(GameFontPack fontPack) { Text text = this.combatText; Font light = fontPack.light; text.font = light; if (this.bossProcessor.IsPlaying()) { GameLanguage language = Game.Config.gameSettings.language; Dictionary dictionary = this.dataMap; Text text2 = this.combatText; CombatDialogueType combatDialogueType = this.bossDialogueKey; CombatDialogueData combatDialogueData = dictionary[combatDialogueType]; int num = (int)language; string localizationContent = combatDialogueData.GetLocalizationContent(num); text2.text = localizationContent; } if (this.partnerProcessor.IsPlaying()) { GameLanguage language2 = Game.Config.gameSettings.language; Dictionary dictionary2 = this.dataMap; Text text3 = this.combatText; CombatDialogueData combatDialogueData2 = dictionary2[(uint)8]; int num2 = (int)language2; string localizationContent2 = combatDialogueData2.GetLocalizationContent(num2); text3.text = localizationContent2; } } // Token: 0x06001A07 RID: 6663 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001A07")] [Address(RVA = "0x7AC8B0", Offset = "0x7AB0B0", VA = "0x1807AC8B0")] private void UpdateContent(CombatDialogueType key) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06001A08 RID: 6664 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001A08")] [Address(RVA = "0x7AC300", Offset = "0x7AAB00", VA = "0x1807AC300")] private Tween GetTextProcessor(Action nextAction) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06001A09 RID: 6665 RVA: 0x0003ED1C File Offset: 0x0003CF1C [Token(Token = "0x6001A09")] [Address(RVA = "0x7AC2C0", Offset = "0x7AAAC0", VA = "0x1807AC2C0")] public void Dispose() { Tween tween = this.bossProcessor; if (tween != 0) { int num = 0; tween.Kill(num != 0); } Tween tween2 = this.partnerProcessor; if (tween2 != 0) { int num2 = 0; tween2.Kill(num2 != 0); return; } } // Token: 0x06001A0A RID: 6666 RVA: 0x0003ED54 File Offset: 0x0003CF54 [Token(Token = "0x6001A0A")] [Address(RVA = "0x43A830", Offset = "0x439030", VA = "0x18043A830")] public UICombatDialogue() { } // Token: 0x040023C2 RID: 9154 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40023C2")] [SerializeField] private CanvasGroup canvasGroup; // Token: 0x040023C3 RID: 9155 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40023C3")] [SerializeField] private Image combatTextBg; // Token: 0x040023C4 RID: 9156 [FieldOffset(Offset = "0x20")] [Token(Token = "0x40023C4")] [SerializeField] private Text combatText; // Token: 0x040023C5 RID: 9157 [FieldOffset(Offset = "0x28")] [Token(Token = "0x40023C5")] [SerializeField] private AudioSource voicePlayer; // Token: 0x040023C6 RID: 9158 [FieldOffset(Offset = "0x30")] [Token(Token = "0x40023C6")] private Dictionary dataMap; // Token: 0x040023C7 RID: 9159 [FieldOffset(Offset = "0x38")] [Token(Token = "0x40023C7")] private CombatDialogueType bossDialogueKey; // Token: 0x040023C8 RID: 9160 [FieldOffset(Offset = "0x40")] [Token(Token = "0x40023C8")] private Tween bossProcessor; // Token: 0x040023C9 RID: 9161 [FieldOffset(Offset = "0x48")] [Token(Token = "0x40023C9")] private Tween partnerProcessor; }