Files
2026-04-08 23:40:05 +02:00

112 lines
2.7 KiB
C#

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using UnityEngine;
// Token: 0x0200050F RID: 1295
[Token(Token = "0x200050F")]
[Serializable]
[StructLayout(0)]
public struct RendererMaterialPair
{
// Token: 0x170006D1 RID: 1745
// (get) Token: 0x0600261E RID: 9758 RVA: 0x0009DF78 File Offset: 0x0009C178
[Token(Token = "0x170006D1")]
public IReadOnlyList<int> CustomPropertyIds
{
[Token(Token = "0x600261E")]
[Address(RVA = "0x239500", Offset = "0x238900", VA = "0x180239500")]
get
{
int[] array = new int[0];
int num = 0;
if (num < array.Length)
{
int num2 = array[num];
num++;
}
throw new NullReferenceException();
}
}
// Token: 0x170006D2 RID: 1746
// (get) Token: 0x0600261F RID: 9759 RVA: 0x0009DFAC File Offset: 0x0009C1AC
[Token(Token = "0x170006D2")]
public Material Material
{
[Token(Token = "0x600261F")]
[Address(RVA = "0x239640", Offset = "0x238A40", VA = "0x180239640")]
get
{
string[] array = this.customProperties;
bool flag;
if (!flag)
{
string[] array2 = this.customProperties;
if (flag)
{
string[] array3 = this.customProperties;
int[] array4 = this.propertyIds;
string[] array5 = this.customProperties;
int[] array6 = this.propertyIds;
}
}
throw new IndexOutOfRangeException();
}
}
// Token: 0x170006D3 RID: 1747
// (get) Token: 0x06002620 RID: 9760 RVA: 0x0009DFF8 File Offset: 0x0009C1F8
[Token(Token = "0x170006D3")]
public Material SharedMaterial
{
[Token(Token = "0x6002620")]
[Address(RVA = "0x239730", Offset = "0x238B30", VA = "0x180239730")]
get
{
string[] array = this.customProperties;
bool flag;
if (!flag)
{
string[] array2 = this.customProperties;
if (flag)
{
string[] array3 = this.customProperties;
int[] array4 = this.propertyIds;
string[] array5 = this.customProperties;
int[] array6 = this.propertyIds;
}
}
throw new IndexOutOfRangeException();
}
}
// Token: 0x040020CC RID: 8396
[Token(Token = "0x40020CC")]
private static readonly int[] EMPTY_IDS = new int[0];
// Token: 0x040020CD RID: 8397
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x40020CD")]
[SerializeField]
private Renderer renderer;
// Token: 0x040020CE RID: 8398
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
[Token(Token = "0x40020CE")]
[SerializeField]
private int materialIndex;
// Token: 0x040020CF RID: 8399
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40020CF")]
[SerializeField]
private string[] customProperties;
// Token: 0x040020D0 RID: 8400
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40020D0")]
private int[] propertyIds;
}