oh dear
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
// Token: 0x02000676 RID: 1654
|
||||
[Token(Token = "0x2000676")]
|
||||
[Serializable]
|
||||
public class ButtonPaletteBlock : ScriptableObject
|
||||
{
|
||||
// Token: 0x06002FDC RID: 12252 RVA: 0x000C4064 File Offset: 0x000C2264
|
||||
[Token(Token = "0x6002FDC")]
|
||||
[Address(RVA = "0xA10AE0", Offset = "0xA0F8E0", VA = "0x180A10AE0")]
|
||||
public ButtonPaletteBlock()
|
||||
{
|
||||
ColorBlock defaultColorBlock = ColorBlock.defaultColorBlock;
|
||||
int num = 0;
|
||||
Color highlightedColor = defaultColorBlock.m_HighlightedColor;
|
||||
this.SelectionColorModifiers.m_HighlightedColor = highlightedColor;
|
||||
Color pressedColor = defaultColorBlock.m_PressedColor;
|
||||
this.SelectionColorModifiers.m_PressedColor = pressedColor;
|
||||
Color selectedColor = defaultColorBlock.m_SelectedColor;
|
||||
this.SelectionColorModifiers.m_SelectedColor = selectedColor;
|
||||
Color disabledColor = defaultColorBlock.m_DisabledColor;
|
||||
this.SelectionColorModifiers.m_DisabledColor = disabledColor;
|
||||
ButtonPaletteBlock.ButtonPalette[] array = new ButtonPaletteBlock.ButtonPalette[num];
|
||||
this.paletteBlock = array;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x040027B7 RID: 10167
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40027B7")]
|
||||
[Header("Shared")]
|
||||
public ColorBlock SelectionColorModifiers;
|
||||
|
||||
// Token: 0x040027B8 RID: 10168
|
||||
[FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x40027B8")]
|
||||
[Header("Palettes")]
|
||||
public ButtonPaletteBlock.ButtonPalette[] paletteBlock;
|
||||
|
||||
// Token: 0x02000677 RID: 1655
|
||||
[Token(Token = "0x2000677")]
|
||||
[Serializable]
|
||||
public class ButtonPalette
|
||||
{
|
||||
// Token: 0x06002FDD RID: 12253 RVA: 0x000C40E0 File Offset: 0x000C22E0
|
||||
[Token(Token = "0x6002FDD")]
|
||||
[Address(RVA = "0xA10B70", Offset = "0xA0F970", VA = "0x180A10B70")]
|
||||
public ButtonPalette()
|
||||
{
|
||||
string empty = string.Empty;
|
||||
this.name = empty;
|
||||
Color white = Color.white;
|
||||
int num = 0;
|
||||
this.ToggleColor = num;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x040027B9 RID: 10169
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40027B9")]
|
||||
public string name;
|
||||
|
||||
// Token: 0x040027BA RID: 10170
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40027BA")]
|
||||
public Color BaseColor;
|
||||
|
||||
// Token: 0x040027BB RID: 10171
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40027BB")]
|
||||
public Color ToggleColor;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user