using System; using System.Collections.Generic; using System.Linq; using Cpp2IlInjected; using Pathfinding.RVO; using UnityEngine; namespace RRUI.Theme { // Token: 0x02000851 RID: 2129 [Token(Token = "0x2000851")] public class ToggleTheme : ButtonThemeBase { // Token: 0x17000A77 RID: 2679 // (get) Token: 0x06003B08 RID: 15112 RVA: 0x000F2ED4 File Offset: 0x000F10D4 // (set) Token: 0x06003B09 RID: 15113 RVA: 0x000F2EE8 File Offset: 0x000F10E8 [Token(Token = "0x17000A77")] public GEIPOCOEBAJ DEKMEOFCKAF { [Token(Token = "0x6003B08")] [Address(RVA = "0xB39CD0", Offset = "0xB38CD0", VA = "0x180B39CD0")] get { return this.toggleType; } [Token(Token = "0x6003B09")] [Address(RVA = "0x158FED0", Offset = "0x158EED0", VA = "0x18158FED0")] set { if (this.toggleType != value) { this.toggleType = value; bool locked = ((IAgent)this).Locked; return; } } } // Token: 0x17000A78 RID: 2680 // (get) Token: 0x06003B0A RID: 15114 RVA: 0x000F2F10 File Offset: 0x000F1110 // (set) Token: 0x06003B0B RID: 15115 RVA: 0x000F2F24 File Offset: 0x000F1124 [Token(Token = "0x17000A78")] public bool MIKDLDEALPN { [Token(Token = "0x6003B0A")] [Address(RVA = "0x15A2FC0", Offset = "0x15A1FC0", VA = "0x1815A2FC0")] get { return this.CNEIBILGFCO; } [Token(Token = "0x6003B0B")] [Address(RVA = "0x15A2FD0", Offset = "0x15A1FD0", VA = "0x1815A2FD0")] set { if (this.CNEIBILGFCO != value) { this.CNEIBILGFCO = value; bool locked = ((IAgent)this).Locked; return; } } } // Token: 0x06003B0C RID: 15116 RVA: 0x000F2F4C File Offset: 0x000F114C [Token(Token = "0x6003B0C")] [Address(RVA = "0x15A2F30", Offset = "0x15A1F30", VA = "0x1815A2F30", Slot = "4")] protected override void Awake() { bool klpjmbanjjj = this.KLPJMBANJJJ; this.KLPJMBANJJJ = true; base.JFDLDKAMBBB(true); this.Awake(); this.KLPJMBANJJJ = klpjmbanjjj; } // Token: 0x06003B0D RID: 15117 RVA: 0x000F2F7C File Offset: 0x000F117C [Token(Token = "0x6003B0D")] [Address(RVA = "0x15A2F80", Offset = "0x15A1F80", VA = "0x1815A2F80")] public void Toggle(bool CNEIBILGFCO, bool KLPJMBANJJJ) { if (this.CNEIBILGFCO != CNEIBILGFCO) { this.CNEIBILGFCO = CNEIBILGFCO; this.KLPJMBANJJJ = KLPJMBANJJJ; this.Awake(); this.KLPJMBANJJJ = false; } } // Token: 0x06003B0E RID: 15118 RVA: 0x000F2FB0 File Offset: 0x000F11B0 [Token(Token = "0x6003B0E")] [Address(RVA = "0x15A2B70", Offset = "0x15A1B70", VA = "0x1815A2B70", Slot = "5")] public override void Apply() { int num; do { num = 0; Palette palette = this.paletteTheme.palette; GEIPOCOEBAJ geipocoebaj = this.toggleType; Palette.IOBBAFECJMC iobbafecjmc = new Palette.IOBBAFECJMC(); iobbafecjmc.togglePaletteType = geipocoebaj; Palette.TogglePaletteItem[] togglePalettes = palette.togglePalettes; Func func = delegate(Palette.TogglePaletteItem togglePaletteItem) { GEIPOCOEBAJ togglePaletteType = iobbafecjmc.togglePaletteType; return togglePaletteItem.togglePaletteType == togglePaletteType; }; Palette.TogglePaletteItem togglePaletteItem2 = Enumerable.FirstOrDefault(togglePalettes, func); if (togglePaletteItem2 == 0) { goto IL_A7; } TogglePalette togglePalette = togglePaletteItem2.togglePalette; if (togglePalette == 0) { goto IL_A7; } if ((this.CNEIBILGFCO ? 1 : 0) != num) { } ButtonPalette inactiveButtonPalette = togglePalette.inactiveButtonPalette; if (this.hideWhenNotActive != 0) { bool flag; if (flag) { bool flag2 = !this.CNEIBILGFCO; } if (num != 0) { goto IL_DD; } if (num != -1) { } } if (this.hideWhenActive == 0) { break; } bool flag3; if (flag3) { bool cneibilgfco = this.CNEIBILGFCO; } } while (num != 0); return; IL_A7: string name = this.paletteTheme.palette.name; GEIPOCOEBAJ geipocoebaj2; Debug.LogError(string.Format("'{0}' contains missing {1} reference for '{2}'", name, "TogglePaletteType", geipocoebaj2)); throw new NullReferenceException(); IL_DD: throw new NullReferenceException(); } // Token: 0x06003B0F RID: 15119 RVA: 0x000F30A0 File Offset: 0x000F12A0 [Token(Token = "0x6003B0F")] [Address(RVA = "0x15A0F90", Offset = "0x159FF90", VA = "0x1815A0F90")] public ToggleTheme() { } // Token: 0x040032C7 RID: 12999 [FieldOffset(Offset = "0xF0")] [Token(Token = "0x40032C7")] [SerializeField] private GEIPOCOEBAJ toggleType; // Token: 0x040032C8 RID: 13000 [FieldOffset(Offset = "0xF8")] [Token(Token = "0x40032C8")] [SerializeField] [Tooltip("A list of objects to show while the toggle is active.")] private List hideWhenNotActive; // Token: 0x040032C9 RID: 13001 [FieldOffset(Offset = "0x100")] [Token(Token = "0x40032C9")] [SerializeField] [Tooltip("A list of objects to show while the toggle is inactive")] private List hideWhenActive; // Token: 0x040032CA RID: 13002 [FieldOffset(Offset = "0x108")] [Token(Token = "0x40032CA")] [SerializeField] private bool editorIsActiveOverride; // Token: 0x040032CB RID: 13003 [FieldOffset(Offset = "0x109")] [Token(Token = "0x40032CB")] protected bool KLPJMBANJJJ; // Token: 0x040032CC RID: 13004 [FieldOffset(Offset = "0x10A")] [Token(Token = "0x40032CC")] private bool CNEIBILGFCO; } }