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

namespace AmplifyColor
{
	// Token: 0x02000677 RID: 1655
	[Token(Token = "0x2000677")]
	[Serializable]
	public class VolumeEffect
	{
		// Token: 0x060033FC RID: 13308 RVA: 0x0006E244 File Offset: 0x0006C444
		[Token(Token = "0x60033FC")]
		[Address(RVA = "0x4B99B0", Offset = "0x4B89B0", VA = "0x1804B99B0")]
		public VolumeEffect(AmplifyColorBase effect)
		{
			/*
An exception occurred when decompiling this method (060033FC)

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: 0x060033FD RID: 13309 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60033FD")]
		[Address(RVA = "0x4B80E0", Offset = "0x4B70E0", VA = "0x1804B80E0")]
		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: 0x060033FE RID: 13310 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60033FE")]
		[Address(RVA = "0x4B7F50", Offset = "0x4B6F50", VA = "0x1804B7F50")]
		public VolumeEffectComponent AddComponent(Component c, VolumeEffectComponentFlags compFlags)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060033FF RID: 13311 RVA: 0x0006E26C File Offset: 0x0006C46C
		[Token(Token = "0x60033FF")]
		[Address(RVA = "0x4B9230", Offset = "0x4B8230", VA = "0x1804B9230")]
		public void RemoveEffectComponent(VolumeEffectComponent comp)
		{
			bool flag = this.components.Remove(comp);
		}

		// Token: 0x06003400 RID: 13312 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003400")]
		[Address(RVA = "0x4B97D0", Offset = "0x4B87D0", VA = "0x1804B97D0")]
		public void UpdateVolume()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003401 RID: 13313 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003401")]
		[Address(RVA = "0x4B9290", Offset = "0x4B8290", VA = "0x1804B9290")]
		public void SetValues(AmplifyColorBase targetColor)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003402 RID: 13314 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003402")]
		[Address(RVA = "0x4B87B0", Offset = "0x4B77B0", VA = "0x1804B87B0")]
		public void BlendValues(AmplifyColorBase targetColor, VolumeEffect other, float blendAmount)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003403 RID: 13315 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003403")]
		[Address(RVA = "0x4B8DF0", Offset = "0x4B7DF0", VA = "0x1804B8DF0")]
		public VolumeEffectComponent FindEffectComponent(string compName)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003404 RID: 13316 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003404")]
		[Address(RVA = "0x4B9020", Offset = "0x4B8020", VA = "0x1804B9020")]
		public static Component[] ListAcceptableComponents(AmplifyColorBase go)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003405 RID: 13317 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003405")]
		[Address(RVA = "0x4B8EE0", Offset = "0x4B7EE0", VA = "0x1804B8EE0")]
		public string[] GetComponentNames()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x04003DF5 RID: 15861
		[FieldOffset(Offset = "0x10")]
		[Token(Token = "0x4003DF5")]
		public AmplifyColorBase gameObject;

		// Token: 0x04003DF6 RID: 15862
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4003DF6")]
		public List<VolumeEffectComponent> components;
	}
}
