109 lines
2.8 KiB
C#
109 lines
2.8 KiB
C#
using System;
|
|
using System.Reflection;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RRUI.Theme
|
|
{
|
|
// Token: 0x0200084C RID: 2124
|
|
[Token(Token = "0x200084C")]
|
|
public abstract class PaletteThemeReference : MonoBehaviour
|
|
{
|
|
// Token: 0x06003AF0 RID: 15088 RVA: 0x000F2800 File Offset: 0x000F0A00
|
|
[Token(Token = "0x6003AF0")]
|
|
[Address(RVA = "0x159AE00", Offset = "0x1599E00", VA = "0x18159AE00", Slot = "4")]
|
|
protected virtual void Awake()
|
|
{
|
|
this.JFDLDKAMBBB(true);
|
|
this.Apply();
|
|
}
|
|
|
|
// Token: 0x06003AF1 RID: 15089
|
|
[Token(Token = "0x6003AF1")]
|
|
[Address(Slot = "5")]
|
|
public abstract void Apply();
|
|
|
|
// Token: 0x06003AF2 RID: 15090 RVA: 0x000F281C File Offset: 0x000F0A1C
|
|
[Token(Token = "0x6003AF2")]
|
|
[Address(RVA = "0x159B150", Offset = "0x159A150", VA = "0x18159B150")]
|
|
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: 0x06003AF3 RID: 15091 RVA: 0x000F2868 File Offset: 0x000F0A68
|
|
[Token(Token = "0x6003AF3")]
|
|
[Address(RVA = "0x159AE30", Offset = "0x1599E30", VA = "0x18159AE30")]
|
|
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: 0x06003AF4 RID: 15092 RVA: 0x000F2954 File Offset: 0x000F0B54
|
|
[Token(Token = "0x6003AF4")]
|
|
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
|
|
protected PaletteThemeReference()
|
|
{
|
|
}
|
|
|
|
// Token: 0x040032B6 RID: 12982
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40032B6")]
|
|
[SerializeField]
|
|
[OAGJHJAIMMP(FHBJCBPFODN.SelfAndParent, true, false, false)]
|
|
protected PaletteTheme paletteTheme;
|
|
}
|
|
}
|