using System; using System.Collections.Generic; using Cpp2IlInjected; using DG.Tweening; using UnityEngine; using UnityEngine.UI; // Token: 0x020002F7 RID: 759 [Token(Token = "0x20002F7")] [Serializable] public class UICombatDialogue { // Token: 0x06001C21 RID: 7201 RVA: 0x00043EB8 File Offset: 0x000420B8 [Token(Token = "0x6001C21")] [Address(RVA = "0x19D9F00", Offset = "0x19D8F00", VA = "0x1819D9F00")] 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: 0x06001C22 RID: 7202 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001C22")] [Address(RVA = "0x19DA1B0", Offset = "0x19D91B0", VA = "0x1819DA1B0")] public void PlayBossDialogue(CombatDialogueType key, Action nextAction) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06001C23 RID: 7203 RVA: 0x00043F28 File Offset: 0x00042128 [Token(Token = "0x6001C23")] [Address(RVA = "0x19DA240", Offset = "0x19D9240", VA = "0x1819DA240")] public void PlayPartnerDialogue() { if (!this.bossProcessor.IsPlaying()) { this.UpdateContent(CombatDialogueType.Stage03Cat); int num = 0; Tween textProcessor = this.GetTextProcessor(num); this.partnerProcessor = textProcessor; } } // Token: 0x06001C24 RID: 7204 RVA: 0x00043F5C File Offset: 0x0004215C [Token(Token = "0x6001C24")] [Address(RVA = "0x19D9FF0", Offset = "0x19D8FF0", VA = "0x1819D9FF0")] 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: 0x06001C25 RID: 7205 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001C25")] [Address(RVA = "0x19DA290", Offset = "0x19D9290", VA = "0x1819DA290")] private void UpdateContent(CombatDialogueType key) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06001C26 RID: 7206 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001C26")] [Address(RVA = "0x19D9CE0", Offset = "0x19D8CE0", VA = "0x1819D9CE0")] private Tween GetTextProcessor(Action nextAction) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06001C27 RID: 7207 RVA: 0x00044034 File Offset: 0x00042234 [Token(Token = "0x6001C27")] [Address(RVA = "0x19D9CA0", Offset = "0x19D8CA0", VA = "0x1819D9CA0")] 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: 0x06001C28 RID: 7208 RVA: 0x0004406C File Offset: 0x0004226C [Token(Token = "0x6001C28")] [Address(RVA = "0x36ABD0", Offset = "0x369BD0", VA = "0x18036ABD0")] public UICombatDialogue() { } // Token: 0x040025FB RID: 9723 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40025FB")] [SerializeField] private CanvasGroup canvasGroup; // Token: 0x040025FC RID: 9724 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40025FC")] [SerializeField] private Image combatTextBg; // Token: 0x040025FD RID: 9725 [FieldOffset(Offset = "0x20")] [Token(Token = "0x40025FD")] [SerializeField] private Text combatText; // Token: 0x040025FE RID: 9726 [FieldOffset(Offset = "0x28")] [Token(Token = "0x40025FE")] [SerializeField] private AudioSource voicePlayer; // Token: 0x040025FF RID: 9727 [FieldOffset(Offset = "0x30")] [Token(Token = "0x40025FF")] private Dictionary dataMap; // Token: 0x04002600 RID: 9728 [FieldOffset(Offset = "0x38")] [Token(Token = "0x4002600")] private CombatDialogueType bossDialogueKey; // Token: 0x04002601 RID: 9729 [FieldOffset(Offset = "0x40")] [Token(Token = "0x4002601")] private Tween bossProcessor; // Token: 0x04002602 RID: 9730 [FieldOffset(Offset = "0x48")] [Token(Token = "0x4002602")] private Tween partnerProcessor; }