using System;
using Cpp2IlInjected;
using DG.Tweening;
using UnityEngine;
using UnityEngine.UI;

// Token: 0x02000303 RID: 771
[Token(Token = "0x2000303")]
[RequireComponent(typeof(CanvasGroup))]
public class UIEventPrompt : MonoBehaviour
{
	// Token: 0x06001C63 RID: 7267 RVA: 0x00044534 File Offset: 0x00042734
	[Token(Token = "0x6001C63")]
	[Address(RVA = "0x3662A0", Offset = "0x3652A0", VA = "0x1803662A0")]
	public void Init(Action hideHandler)
	{
		/*
An exception occurred when decompiling this method (06001C63)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void UIEventPrompt::Init(System.Action)

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stfld:Action(UIEventPrompt::hideHandler, ldloc:UIEventPrompt(this), ldloc:Action(hideHandler)); }; 
   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: 0x06001C64 RID: 7268 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001C64")]
	[Address(RVA = "0x19DD2E0", Offset = "0x19DC2E0", VA = "0x1819DD2E0")]
	public void Appear(string value)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001C65 RID: 7269 RVA: 0x00044548 File Offset: 0x00042748
	[Token(Token = "0x6001C65")]
	[Address(RVA = "0x19DD730", Offset = "0x19DC730", VA = "0x1819DD730")]
	public void IncreaseTargetHeight()
	{
		float num = this.targetHeight;
		this.targetHeight = num;
	}

	// Token: 0x06001C66 RID: 7270 RVA: 0x00044564 File Offset: 0x00042764
	[Token(Token = "0x6001C66")]
	[Address(RVA = "0x19DD750", Offset = "0x19DC750", VA = "0x1819DD750")]
	public bool NeedSlideDown()
	{
		bool activeSelf = base.gameObject.activeSelf;
		if (!activeSelf)
		{
			return activeSelf;
		}
		return activeSelf;
	}

	// Token: 0x06001C67 RID: 7271 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001C67")]
	[Address(RVA = "0x19DD7C0", Offset = "0x19DC7C0", VA = "0x1819DD7C0")]
	public void SlideDown(float deltaTime)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001C68 RID: 7272 RVA: 0x0004458C File Offset: 0x0004278C
	[Token(Token = "0x6001C68")]
	[Address(RVA = "0x19DD790", Offset = "0x19DC790", VA = "0x1819DD790")]
	public void SetFont(GameFontPack fontPack)
	{
		Text text = this.content;
		Font regular = fontPack.regular;
		text.font = regular;
	}

	// Token: 0x06001C69 RID: 7273 RVA: 0x000445B4 File Offset: 0x000427B4
	[Token(Token = "0x6001C69")]
	[Address(RVA = "0x19DD6E0", Offset = "0x19DC6E0", VA = "0x1819DD6E0")]
	public void Dispose()
	{
		/*
An exception occurred when decompiling this method (06001C69)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void UIEventPrompt::Dispose()

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	IL_1D:; 	stfld:Sequence(UIEventPrompt::appearProcessor, ldloc:UIEventPrompt(this), conv.u8:uint64[exp:Sequence](ldc.i8:int64[exp:uint64](0))); }; 
   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: 0x06001C6A RID: 7274 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001C6A")]
	[Address(RVA = "0x19DD8B0", Offset = "0x19DC8B0", VA = "0x1819DD8B0")]
	private void UpdateLayout()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001C6B RID: 7275 RVA: 0x000445E8 File Offset: 0x000427E8
	[Token(Token = "0x6001C6B")]
	[Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")]
	public UIEventPrompt()
	{
	}

	// Token: 0x0400265F RID: 9823
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x400265F")]
	[SerializeField]
	private CanvasGroup canvasGroup;

	// Token: 0x04002660 RID: 9824
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4002660")]
	[SerializeField]
	private Image middleBackground;

	// Token: 0x04002661 RID: 9825
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4002661")]
	[SerializeField]
	private Image leftBackground;

	// Token: 0x04002662 RID: 9826
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x4002662")]
	[SerializeField]
	private Text content;

	// Token: 0x04002663 RID: 9827
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4002663")]
	[SerializeField]
	private RectTransform root;

	// Token: 0x04002664 RID: 9828
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4002664")]
	[SerializeField]
	private RectTransform slideHolder;

	// Token: 0x04002665 RID: 9829
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x4002665")]
	private float targetHeight;

	// Token: 0x04002666 RID: 9830
	[FieldOffset(Offset = "0x50")]
	[Token(Token = "0x4002666")]
	private Action hideHandler;

	// Token: 0x04002667 RID: 9831
	[FieldOffset(Offset = "0x58")]
	[Token(Token = "0x4002667")]
	private Sequence appearProcessor;
}
