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: 0x02000834 RID: 2100
|
|
[Token(Token = "0x2000834")]
|
|
public abstract class PaletteThemeReference : MonoBehaviour
|
|
{
|
|
// Token: 0x06003A30 RID: 14896 RVA: 0x000F0F84 File Offset: 0x000EF184
|
|
[Token(Token = "0x6003A30")]
|
|
[Address(RVA = "0x9F5B50", Offset = "0x9F4950", VA = "0x1809F5B50", Slot = "4")]
|
|
protected virtual void Awake()
|
|
{
|
|
this.JFDLDKAMBBB(true);
|
|
this.Apply();
|
|
}
|
|
|
|
// Token: 0x06003A31 RID: 14897
|
|
[Token(Token = "0x6003A31")]
|
|
[Address(Slot = "5")]
|
|
public abstract void Apply();
|
|
|
|
// Token: 0x06003A32 RID: 14898 RVA: 0x000F0FA0 File Offset: 0x000EF1A0
|
|
[Token(Token = "0x6003A32")]
|
|
[Address(RVA = "0x9F5EA0", Offset = "0x9F4CA0", VA = "0x1809F5EA0")]
|
|
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: 0x06003A33 RID: 14899 RVA: 0x000F0FEC File Offset: 0x000EF1EC
|
|
[Token(Token = "0x6003A33")]
|
|
[Address(RVA = "0x9F5B80", Offset = "0x9F4980", VA = "0x1809F5B80")]
|
|
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: 0x06003A34 RID: 14900 RVA: 0x000F10D8 File Offset: 0x000EF2D8
|
|
[Token(Token = "0x6003A34")]
|
|
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
|
|
protected PaletteThemeReference()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04003219 RID: 12825
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4003219")]
|
|
[SerializeField]
|
|
[OCIDFHDICIP(JIBDPHMGEGO.SelfAndParent, true, false, false)]
|
|
protected PaletteTheme paletteTheme;
|
|
}
|
|
}
|