using System;
using Cpp2IlInjected;
using UnityEngine;

namespace MTAssets.UltimateLODSystem
{
	// Token: 0x02000600 RID: 1536
	[Token(Token = "0x2000600")]
	[AddComponentMenu("")]
	public class UltimateLevelOfDetailMeshes : MonoBehaviour
	{
		// Token: 0x06003025 RID: 12325 RVA: 0x0006630C File Offset: 0x0006450C
		[Token(Token = "0x6003025")]
		[Address(RVA = "0x2B4380", Offset = "0x2B3180", VA = "0x1802B4380")]
		public UltimateLevelOfDetail GetResponsibleUlodComponent()
		{
			return this.responsibleUlod;
		}

		// Token: 0x06003026 RID: 12326 RVA: 0x00066320 File Offset: 0x00064520
		[Token(Token = "0x6003026")]
		[Address(RVA = "0x8BE530", Offset = "0x8BD330", VA = "0x1808BE530")]
		public int GetQuantityOfLods()
		{
			return this.responsibleUlod.levelsOfDetailToGenerate;
		}

		// Token: 0x06003027 RID: 12327 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003027")]
		[Address(RVA = "0x8BE6D0", Offset = "0x8BD4D0", VA = "0x1808BE6D0")]
		public void SetMeshOfThisLodGroup(int level, Mesh newMesh)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003028 RID: 12328 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003028")]
		[Address(RVA = "0x8BE430", Offset = "0x8BD230", VA = "0x1808BE430")]
		public Mesh GetMeshOfThisLodGroup(int level)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003029 RID: 12329 RVA: 0x00066340 File Offset: 0x00064540
		[Token(Token = "0x6003029")]
		[Address(RVA = "0x8BE880", Offset = "0x8BD680", VA = "0x1808BE880")]
		public bool isMaterialChangesEnabledForThisMesh()
		{
			return this.responsibleUlod.enableMaterialsChanges;
		}

		// Token: 0x0600302A RID: 12330 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600302A")]
		[Address(RVA = "0x8BE550", Offset = "0x8BD350", VA = "0x1808BE550")]
		public void SetMaterialArrayOfThisLodGroup(int level, Material[] newMaterialArray)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600302B RID: 12331 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600302B")]
		[Address(RVA = "0x8BE2D0", Offset = "0x8BD0D0", VA = "0x1808BE2D0")]
		public Material[] GetMaterialArrayOfThisLodGroup(int level)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600302C RID: 12332 RVA: 0x00066364 File Offset: 0x00064564
		[Token(Token = "0x600302C")]
		[Address(RVA = "0x76BCA0", Offset = "0x76AAA0", VA = "0x18076BCA0")]
		public UltimateLevelOfDetailMeshes()
		{
		}

		// Token: 0x04003A74 RID: 14964
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4003A74")]
		[HideInInspector]
		public UltimateLevelOfDetail responsibleUlod;

		// Token: 0x04003A75 RID: 14965
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4003A75")]
		[HideInInspector]
		public int idOfOriginalMeshItemOfThisInResponsibleUlod = (int)((ulong)4294967295L);
	}
}
