scripts
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace RRUI.Theme
|
||||
{
|
||||
// Token: 0x0200080D RID: 2061
|
||||
[Token(Token = "0x200080D")]
|
||||
[StructLayout(3)]
|
||||
public class RawImageTheme : PaletteThemeReference
|
||||
{
|
||||
// Token: 0x17000A00 RID: 2560
|
||||
// (get) Token: 0x06003953 RID: 14675 RVA: 0x000F1D20 File Offset: 0x000EFF20
|
||||
// (set) Token: 0x06003954 RID: 14676 RVA: 0x000F1D34 File Offset: 0x000EFF34
|
||||
[Token(Token = "0x17000A00")]
|
||||
public MCGOHHNGDAO AOFLAJEAKMF
|
||||
{
|
||||
[Token(Token = "0x6003953")]
|
||||
[Address(RVA = "0x4D24F0", Offset = "0x4D0EF0", VA = "0x1804D24F0")]
|
||||
get
|
||||
{
|
||||
return this.color;
|
||||
}
|
||||
[Token(Token = "0x6003954")]
|
||||
[Address(RVA = "0x10898D0", Offset = "0x10882D0", VA = "0x1810898D0")]
|
||||
set
|
||||
{
|
||||
this.color = value;
|
||||
bool isCompleted = ((IAsyncResult)this).IsCompleted;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06003955 RID: 14677 RVA: 0x000F1D50 File Offset: 0x000EFF50
|
||||
[Token(Token = "0x6003955")]
|
||||
[Address(RVA = "0x10897C0", Offset = "0x10881C0", VA = "0x1810897C0", Slot = "5")]
|
||||
public override void Apply()
|
||||
{
|
||||
PaletteTheme paletteTheme = this.paletteTheme;
|
||||
RawImage rawImage = this.image;
|
||||
Palette palette = paletteTheme.palette;
|
||||
MCGOHHNGDAO mcgohhngdao = this.color;
|
||||
Palette.PEPHJNEIOAJ pephjneioaj = new Palette.PEPHJNEIOAJ();
|
||||
pephjneioaj.backgroundColorPaletteType = mcgohhngdao;
|
||||
Palette.RawImageColorPaletteItem[] rawImageColorPaletteItems = palette.rawImageColorPaletteItems;
|
||||
Func<Palette.RawImageColorPaletteItem, bool> func = delegate(Palette.RawImageColorPaletteItem pi)
|
||||
{
|
||||
MCGOHHNGDAO backgroundColorPaletteType = pephjneioaj.backgroundColorPaletteType;
|
||||
return pi.paletteType == backgroundColorPaletteType;
|
||||
};
|
||||
if (Enumerable.FirstOrDefault<Palette.RawImageColorPaletteItem>(rawImageColorPaletteItems, func) != 0)
|
||||
{
|
||||
}
|
||||
Color white = Color.white;
|
||||
Color color = rawImage.color;
|
||||
}
|
||||
|
||||
// Token: 0x06003956 RID: 14678 RVA: 0x000F1DC0 File Offset: 0x000EFFC0
|
||||
[Token(Token = "0x6003956")]
|
||||
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
||||
public RawImageTheme()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400323E RID: 12862
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400323E")]
|
||||
[SerializeField]
|
||||
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
||||
private RawImage image;
|
||||
|
||||
// Token: 0x0400323F RID: 12863
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400323F")]
|
||||
[SerializeField]
|
||||
private MCGOHHNGDAO color;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user