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

// Token: 0x020002B6 RID: 694
[Token(Token = "0x20002B6")]
[RequireComponent(typeof(CanvasGroup))]
public class UIEventPrompt : MonoBehaviour
{
	// Token: 0x06001A23 RID: 6691 RVA: 0x0003EA54 File Offset: 0x0003CC54
	[Token(Token = "0x6001A23")]
	[Address(RVA = "0x4C0FD0", Offset = "0x4BFDD0", VA = "0x1804C0FD0")]
	public void Init(Action hideHandler)
	{
		/*
An exception occurred when decompiling this method (06001A23)

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: 0x06001A24 RID: 6692 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001A24")]
	[Address(RVA = "0x762100", Offset = "0x760F00", VA = "0x180762100")]
	public void Appear(string value)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001A25 RID: 6693 RVA: 0x0003EA68 File Offset: 0x0003CC68
	[Token(Token = "0x6001A25")]
	[Address(RVA = "0x762550", Offset = "0x761350", VA = "0x180762550")]
	public void IncreaseTargetHeight()
	{
		float num = this.targetHeight;
		this.targetHeight = num;
	}

	// Token: 0x06001A26 RID: 6694 RVA: 0x0003EA84 File Offset: 0x0003CC84
	[Token(Token = "0x6001A26")]
	[Address(RVA = "0x762570", Offset = "0x761370", VA = "0x180762570")]
	public bool NeedSlideDown()
	{
		bool activeSelf = base.gameObject.activeSelf;
		if (!activeSelf)
		{
			return activeSelf;
		}
		return activeSelf;
	}

	// Token: 0x06001A27 RID: 6695 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001A27")]
	[Address(RVA = "0x7625E0", Offset = "0x7613E0", VA = "0x1807625E0")]
	public void SlideDown(float deltaTime)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001A28 RID: 6696 RVA: 0x0003EAAC File Offset: 0x0003CCAC
	[Token(Token = "0x6001A28")]
	[Address(RVA = "0x7625B0", Offset = "0x7613B0", VA = "0x1807625B0")]
	public void SetFont(GameFontPack fontPack)
	{
		Text text = this.content;
		Font regular = fontPack.regular;
		text.font = regular;
	}

	// Token: 0x06001A29 RID: 6697 RVA: 0x0003EAD4 File Offset: 0x0003CCD4
	[Token(Token = "0x6001A29")]
	[Address(RVA = "0x762500", Offset = "0x761300", VA = "0x180762500")]
	public void Dispose()
	{
		/*
An exception occurred when decompiling this method (06001A29)

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: 0x06001A2A RID: 6698 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001A2A")]
	[Address(RVA = "0x7626D0", Offset = "0x7614D0", VA = "0x1807626D0")]
	private void UpdateLayout()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001A2B RID: 6699 RVA: 0x0003EB08 File Offset: 0x0003CD08
	[Token(Token = "0x6001A2B")]
	[Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")]
	public UIEventPrompt()
	{
	}

	// Token: 0x040023E7 RID: 9191
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x40023E7")]
	[SerializeField]
	private CanvasGroup canvasGroup;

	// Token: 0x040023E8 RID: 9192
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x40023E8")]
	[SerializeField]
	private Image middleBackground;

	// Token: 0x040023E9 RID: 9193
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x40023E9")]
	[SerializeField]
	private Image leftBackground;

	// Token: 0x040023EA RID: 9194
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x40023EA")]
	[SerializeField]
	private Text content;

	// Token: 0x040023EB RID: 9195
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x40023EB")]
	[SerializeField]
	private RectTransform root;

	// Token: 0x040023EC RID: 9196
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x40023EC")]
	[SerializeField]
	private RectTransform slideHolder;

	// Token: 0x040023ED RID: 9197
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x40023ED")]
	private float targetHeight;

	// Token: 0x040023EE RID: 9198
	[FieldOffset(Offset = "0x50")]
	[Token(Token = "0x40023EE")]
	private Action hideHandler;

	// Token: 0x040023EF RID: 9199
	[FieldOffset(Offset = "0x58")]
	[Token(Token = "0x40023EF")]
	private Sequence appearProcessor;
}
