using System;
using System.Collections.Generic;
using Cpp2IlInjected;
using UnityEngine;

namespace AmplifyColor
{
	// Token: 0x0200061F RID: 1567
	[Token(Token = "0x200061F")]
	[Serializable]
	public class VolumeEffect
	{
		// Token: 0x06003133 RID: 12595 RVA: 0x00067084 File Offset: 0x00065284
		[Token(Token = "0x6003133")]
		[Address(RVA = "0x93F9B0", Offset = "0x93E7B0", VA = "0x18093F9B0")]
		public VolumeEffect(AmplifyColorBase effect)
		{
			/*
An exception occurred when decompiling this method (06003133)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void AmplifyColor.VolumeEffect::.ctor(AmplifyColorBase)

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	call:void(object::.ctor, ldloc:VolumeEffect[exp:object](this)); 	stfld:AmplifyColorBase(VolumeEffect::gameObject, ldloc:VolumeEffect(this), ldloc:AmplifyColorBase(effect)); 	stloc:class [mscorlib]System.Collections.Generic.List`1<class AmplifyColor.VolumeEffectComponent>(var_0_12, newobj:List`1[exp:class [mscorlib]System.Collections.Generic.List`1<class AmplifyColor.VolumeEffectComponent>](List`1::.ctor)); 	stfld:class [mscorlib]System.Collections.Generic.List`1<class AmplifyColor.VolumeEffectComponent>(VolumeEffect::components, ldloc:VolumeEffect(this), ldloc:class [mscorlib]System.Collections.Generic.List`1<class AmplifyColor.VolumeEffectComponent>(var_0_12)); }; 
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
   --- End of inner exception stack trace ---
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
   at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
*/;
		}

		// Token: 0x06003134 RID: 12596 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003134")]
		[Address(RVA = "0x93E0E0", Offset = "0x93CEE0", VA = "0x18093E0E0")]
		public static VolumeEffect BlendValuesToVolumeEffect(VolumeEffectFlags flags, VolumeEffect volume1, VolumeEffect volume2, float blend)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003135 RID: 12597 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003135")]
		[Address(RVA = "0x93DF50", Offset = "0x93CD50", VA = "0x18093DF50")]
		public VolumeEffectComponent AddComponent(Component c, VolumeEffectComponentFlags compFlags)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003136 RID: 12598 RVA: 0x000670AC File Offset: 0x000652AC
		[Token(Token = "0x6003136")]
		[Address(RVA = "0x93F230", Offset = "0x93E030", VA = "0x18093F230")]
		public void RemoveEffectComponent(VolumeEffectComponent comp)
		{
			bool flag = this.components.Remove(comp);
		}

		// Token: 0x06003137 RID: 12599 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003137")]
		[Address(RVA = "0x93F7D0", Offset = "0x93E5D0", VA = "0x18093F7D0")]
		public void UpdateVolume()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003138 RID: 12600 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003138")]
		[Address(RVA = "0x93F290", Offset = "0x93E090", VA = "0x18093F290")]
		public void SetValues(AmplifyColorBase targetColor)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003139 RID: 12601 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003139")]
		[Address(RVA = "0x93E7B0", Offset = "0x93D5B0", VA = "0x18093E7B0")]
		public void BlendValues(AmplifyColorBase targetColor, VolumeEffect other, float blendAmount)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600313A RID: 12602 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600313A")]
		[Address(RVA = "0x93EDF0", Offset = "0x93DBF0", VA = "0x18093EDF0")]
		public VolumeEffectComponent FindEffectComponent(string compName)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600313B RID: 12603 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600313B")]
		[Address(RVA = "0x93F020", Offset = "0x93DE20", VA = "0x18093F020")]
		public static Component[] ListAcceptableComponents(AmplifyColorBase go)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600313C RID: 12604 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600313C")]
		[Address(RVA = "0x93EEE0", Offset = "0x93DCE0", VA = "0x18093EEE0")]
		public string[] GetComponentNames()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x04003B0B RID: 15115
		[FieldOffset(Offset = "0x10")]
		[Token(Token = "0x4003B0B")]
		public AmplifyColorBase gameObject;

		// Token: 0x04003B0C RID: 15116
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4003B0C")]
		public List<VolumeEffectComponent> components;
	}
}
