using System;
using Cpp2IlInjected;

// Token: 0x02000192 RID: 402
[Token(Token = "0x2000192")]
public class Dialogue : PassiveEvent
{
	// Token: 0x0600135F RID: 4959 RVA: 0x0002BD00 File Offset: 0x00029F00
	[Token(Token = "0x600135F")]
	[Address(RVA = "0x454210", Offset = "0x453210", VA = "0x180454210")]
	public void SetDialogue(LoadScript LS)
	{
		/*
An exception occurred when decompiling this method (0600135F)

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: 0x06001360 RID: 4960 RVA: 0x0002BD14 File Offset: 0x00029F14
	[Token(Token = "0x6001360")]
	[Address(RVA = "0x17E0570", Offset = "0x17DF570", VA = "0x1817E0570")]
	public void OpenScript()
	{
		LoadScript dialogueEvent = this.DialogueEvent;
		int num = 0;
		if (dialogueEvent != num)
		{
			this.DialogueEvent.OpenEvent();
		}
	}

	// Token: 0x06001361 RID: 4961 RVA: 0x0002BD48 File Offset: 0x00029F48
	[Token(Token = "0x6001361")]
	[Address(RVA = "0x41ED30", Offset = "0x41DD30", VA = "0x18041ED30")]
	public Dialogue()
	{
	}

	// Token: 0x04001D3C RID: 7484
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4001D3C")]
	private LoadScript DialogueEvent;
}
