Files
Jan2021-Cpp2Il-Dump/Assembly-CSharp/RRUI/Theme/PaletteThemeReference.cs
T
2026-04-08 23:40:05 +02:00

111 lines
2.9 KiB
C#

using System;
using System.Reflection;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using UnityEngine;
namespace RRUI.Theme
{
// Token: 0x0200080C RID: 2060
[Token(Token = "0x200080C")]
[StructLayout(3)]
public abstract class PaletteThemeReference : MonoBehaviour
{
// Token: 0x0600394E RID: 14670 RVA: 0x000F1BB8 File Offset: 0x000EFDB8
[Token(Token = "0x600394E")]
[Address(RVA = "0x1088350", Offset = "0x1086D50", VA = "0x181088350", Slot = "4")]
protected virtual void Awake()
{
this.JFDLDKAMBBB(true);
this.Apply();
}
// Token: 0x0600394F RID: 14671
[Token(Token = "0x600394F")]
[Address(Slot = "5")]
public abstract void Apply();
// Token: 0x06003950 RID: 14672 RVA: 0x000F1BD4 File Offset: 0x000EFDD4
[Token(Token = "0x6003950")]
[Address(RVA = "0x10886A0", Offset = "0x10870A0", VA = "0x1810886A0")]
protected void OnValidate()
{
PaletteTheme paletteTheme = this.paletteTheme;
int num = 0;
if (paletteTheme == num)
{
PaletteTheme componentInParent = base.GetComponentInParent<PaletteTheme>();
this.paletteTheme = componentInParent;
}
PaletteTheme paletteTheme2 = this.paletteTheme;
int num2 = 0;
if (!(paletteTheme2 == num2))
{
this.Awake();
}
}
// Token: 0x06003951 RID: 14673 RVA: 0x000F1C20 File Offset: 0x000EFE20
[Token(Token = "0x6003951")]
[Address(RVA = "0x1088380", Offset = "0x1086D80", VA = "0x181088380")]
private void JFDLDKAMBBB(bool IBHODLNCMAL = true)
{
PaletteTheme paletteTheme = this.paletteTheme;
int num = 0;
if (paletteTheme == num)
{
PaletteTheme componentInParent = base.GetComponentInParent<PaletteTheme>();
this.paletteTheme = componentInParent;
}
if (IBHODLNCMAL)
{
PaletteTheme paletteTheme2 = this.paletteTheme;
int num2 = 0;
if (paletteTheme2 == num2)
{
string[] array = new string[5];
if ("'" != 0)
{
}
array[0] = "'";
MemberTypes memberType = base.GetType().MemberType;
if (memberType != (MemberTypes)0)
{
}
array[1] = memberType;
if ("' contains missing PaletteTheme reference on '" != 0)
{
}
array[2] = "' contains missing PaletteTheme reference on '";
string name = base.gameObject.name;
if (name != 0)
{
}
array[3] = name;
if ("'" != 0)
{
}
array[4] = "'";
string text = string.Concat(array);
GameObject gameObject = base.gameObject;
Debug.LogError(text, gameObject);
}
}
}
// Token: 0x06003952 RID: 14674 RVA: 0x000F1D0C File Offset: 0x000EFF0C
[Token(Token = "0x6003952")]
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
protected PaletteThemeReference()
{
}
// Token: 0x0400323D RID: 12861
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x400323D")]
[SerializeField]
[OCIDFHDICIP(JIBDPHMGEGO.SelfAndParent, true, false)]
protected PaletteTheme paletteTheme;
}
}