using System;
using Cpp2IlInjected;

// Token: 0x02000165 RID: 357
[Token(Token = "0x2000165")]
public class Dialogue : PassiveEvent
{
	// Token: 0x060011E0 RID: 4576 RVA: 0x00028BB0 File Offset: 0x00026DB0
	[Token(Token = "0x60011E0")]
	[Address(RVA = "0x3F1EE0", Offset = "0x3F0CE0", VA = "0x1803F1EE0")]
	public void SetDialogue(LoadScript LS)
	{
		/*
An exception occurred when decompiling this method (060011E0)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Dialogue::SetDialogue(LoadScript)

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stfld:LoadScript(Dialogue::DialogueEvent, ldloc:Dialogue(this), ldloc:LoadScript(LS)); }; 
   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: 0x060011E1 RID: 4577 RVA: 0x00028BC4 File Offset: 0x00026DC4
	[Token(Token = "0x60011E1")]
	[Address(RVA = "0x13CF8B0", Offset = "0x13CE6B0", VA = "0x1813CF8B0")]
	public void OpenScript()
	{
		LoadScript dialogueEvent = this.DialogueEvent;
		int num = 0;
		if (dialogueEvent != num)
		{
			this.DialogueEvent.OpenEvent();
		}
	}

	// Token: 0x060011E2 RID: 4578 RVA: 0x00028BF8 File Offset: 0x00026DF8
	[Token(Token = "0x60011E2")]
	[Address(RVA = "0x3FBF80", Offset = "0x3FAD80", VA = "0x1803FBF80")]
	public Dialogue()
	{
	}

	// Token: 0x04001BA9 RID: 7081
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4001BA9")]
	private LoadScript DialogueEvent;
}
