using System; using Cpp2IlInjected; using UnityEngine; using UnityEngine.UI; namespace RRUI.Animation { // Token: 0x02001030 RID: 4144 [Token(Token = "0x2001030")] [MMOINKHEKJF("Color/Match", "Tween from the current Image color to the target's Image color")] [Serializable] public class ColorMatchTransition : ColorTransition, GMDGMBMDFJG { // Token: 0x17000FFE RID: 4094 // (get) Token: 0x06005DF5 RID: 24053 RVA: 0x0014B3E8 File Offset: 0x001495E8 [Token(Token = "0x17000FFE")] private Graphic TargetGraphic { [Token(Token = "0x6005DF5")] [Address(RVA = "0x1060F30", Offset = "0x105FD30", VA = "0x181060F30")] get { Graphic graphic = this.targetGraphic; int num = 0; if (graphic == num) { GameObject gameObject = this.target; int num2 = 0; if (gameObject != num2) { Graphic component = this.target.GetComponent(); this.targetGraphic = component; } } return this.targetGraphic; } } // Token: 0x17000FFF RID: 4095 // (get) Token: 0x06005DF6 RID: 24054 RVA: 0x0014B43C File Offset: 0x0014963C [Token(Token = "0x17000FFF")] protected override Color TargetColor { [Token(Token = "0x6005DF6")] [Address(RVA = "0x1060E30", Offset = "0x105FC30", VA = "0x181060E30", Slot = "8")] get { int num = 0; bool flag; bool flag2; if (!flag || flag2) { } if (num != 0) { } Color white = Color.white; throw new NullReferenceException(); } } // Token: 0x06005DF7 RID: 24055 RVA: 0x0014B464 File Offset: 0x00149664 [Token(Token = "0x6005DF7")] [Address(RVA = "0x1060D10", Offset = "0x105FB10", VA = "0x181060D10", Slot = "4")] protected override void Initialize() { GameObject gameObject = this.k__BackingField.gameObject; Graphic component = this.gameObjectOverride.GetComponent(); this.graphic = component; Transition transition = this.fallbackTransition; MonoBehaviour k__BackingField = this.k__BackingField; transition.OFFLOPLJBBG(k__BackingField); } // Token: 0x06005DF8 RID: 24056 RVA: 0x0014B4B0 File Offset: 0x001496B0 [Token(Token = "0x6005DF8")] [Address(RVA = "0x1060A90", Offset = "0x105F890", VA = "0x181060A90", Slot = "5")] protected override void Dispose() { TransitionImplementation implementation = this.fallbackTransition.implementation; if (implementation != 0) { if (implementation.currentAnimation != 0) { } implementation.currentAnimation = (ulong)0L; PIPDAMDIAPC pipdamdiapc = implementation.Execute(); return; } } // Token: 0x06005DF9 RID: 24057 RVA: 0x0014B4F0 File Offset: 0x001496F0 [Token(Token = "0x6005DF9")] [Address(RVA = "0x1060DC0", Offset = "0x105FBC0", VA = "0x181060DC0", Slot = "7")] public override void Reset() { Graphic graphic = this.graphic; Color cachedColor = this.cachedColor; Color color = graphic.color; TransitionImplementation implementation = this.fallbackTransition.implementation; if (implementation != 0) { PIPDAMDIAPC pipdamdiapc = implementation.Execute(); return; } } // Token: 0x06005DFA RID: 24058 RVA: 0x0014B534 File Offset: 0x00149734 [Token(Token = "0x6005DFA")] [Address(RVA = "0x1060DB0", Offset = "0x105FBB0", VA = "0x181060DB0", Slot = "9")] public void MAIIBAGFDKF(GameObject DOJCFCINALC) { this.target = DOJCFCINALC; this.targetGraphic = (ulong)0L; } // Token: 0x06005DFB RID: 24059 RVA: 0x0014B554 File Offset: 0x00149754 [Token(Token = "0x6005DFB")] [Address(RVA = "0x1060B10", Offset = "0x105F910", VA = "0x181060B10", Slot = "6")] protected override PIPDAMDIAPC Execute() { GameObject gameObject = this.target; int num = 0; if (gameObject != num) { Func func = new Func(base.BHCCBDJPJBB); Action action = new Action(base.GFEMEFKMCAA); HMIPJEAODAB.JOMGGPNCMFK easeFunction = this.easeFunction; MonoBehaviour k__BackingField = this.k__BackingField; } if (this.useFallback) { return this.fallbackTransition.DCCBNDIOOGE(); } throw new NullReferenceException(); } // Token: 0x06005DFC RID: 24060 RVA: 0x0014B5B8 File Offset: 0x001497B8 [Token(Token = "0x6005DFC")] [Address(RVA = "0x1060A50", Offset = "0x105F850", VA = "0x181060A50")] public ColorMatchTransition() { Color white = Color.white; this.duration = 0.33f; this.easeFunction = (HMIPJEAODAB.JOMGGPNCMFK)((ulong)3L); this.isWorldCanvas = true; base..ctor(); } // Token: 0x04003EA8 RID: 16040 [FieldOffset(Offset = "0x70")] [Token(Token = "0x4003EA8")] [SerializeField] private GameObject target; // Token: 0x04003EA9 RID: 16041 [FieldOffset(Offset = "0x78")] [Token(Token = "0x4003EA9")] [SerializeField] [Tooltip("Fallback Transition if the Target is null")] private bool useFallback; // Token: 0x04003EAA RID: 16042 [FieldOffset(Offset = "0x80")] [Token(Token = "0x4003EAA")] [SerializeField] [OMAIFIIBMNL("useFallback")] private Transition fallbackTransition; // Token: 0x04003EAB RID: 16043 [FieldOffset(Offset = "0x88")] [Token(Token = "0x4003EAB")] private Graphic targetGraphic; } }