m
This commit is contained in:
@@ -0,0 +1,195 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using Photon.Pun;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x020000A2 RID: 162
|
||||
[Token(Token = "0x20000A2")]
|
||||
[RequireComponent(typeof(PhotonView))]
|
||||
public class QuestPirateBossPatrolPoints : EnemyPatrol
|
||||
{
|
||||
// Token: 0x170000A5 RID: 165
|
||||
// (get) Token: 0x06000446 RID: 1094 RVA: 0x00017140 File Offset: 0x00015340
|
||||
[Token(Token = "0x170000A5")]
|
||||
public int HPLGFLFJNBO
|
||||
{
|
||||
[Token(Token = "0x6000446")]
|
||||
[Address(RVA = "0x9CECF0", Offset = "0x9CDCF0", VA = "0x1809CECF0")]
|
||||
get
|
||||
{
|
||||
return this.orderedPatrolPoints.Length;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000447 RID: 1095 RVA: 0x00017160 File Offset: 0x00015360
|
||||
[Token(Token = "0x6000447")]
|
||||
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "15")]
|
||||
public override bool HasReachedTarget(Vector3 PJBCOJLDFMH, Vector3 JJGDNPNBINJ)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06000448 RID: 1096 RVA: 0x00017170 File Offset: 0x00015370
|
||||
[Token(Token = "0x6000448")]
|
||||
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "16")]
|
||||
public override bool HasFinishedPatrol(int HDANABPONGB)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06000449 RID: 1097 RVA: 0x00017180 File Offset: 0x00015380
|
||||
[Token(Token = "0x6000449")]
|
||||
[Address(RVA = "0x1BC5220", Offset = "0x1BC4220", VA = "0x181BC5220", Slot = "17")]
|
||||
public override bool TryGetNextTarget(int HDANABPONGB, out int MMDNOCLDKFN, out Vector3 JJGDNPNBINJ)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06000449)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean QuestPirateBossPatrolPoints::TryGetNextTarget(System.Int32,System.Int32&,UnityEngine.Vector3&)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:float32(var_0_0A, ldfld:float32(Vector3::z, callgetter:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](Vector3::get_zero)))
|
||||
stfld:float32(Vector3::z, ldloc:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&(JJGDNPNBINJ), ldloc:float32(var_0_0A))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
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 355
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600044A RID: 1098 RVA: 0x000171A0 File Offset: 0x000153A0
|
||||
[Token(Token = "0x600044A")]
|
||||
[Address(RVA = "0x1BC4DE0", Offset = "0x1BC3DE0", VA = "0x181BC4DE0", Slot = "18")]
|
||||
public override Vector3 GetGizmoPosition()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600044A)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Vector3 QuestPirateBossPatrolPoints::GetGizmoPosition()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:float32(var_0_0A, ldfld:float32(Vector3::z, callgetter:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](Vector3::get_zero)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
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 355
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600044B RID: 1099 RVA: 0x000171B8 File Offset: 0x000153B8
|
||||
[Token(Token = "0x600044B")]
|
||||
[Address(RVA = "0x1BC4E50", Offset = "0x1BC3E50", VA = "0x181BC4E50")]
|
||||
public Transform GetPatrolTransformAtIndex(int EFBDCIJMFGD)
|
||||
{
|
||||
Transform[] array = this.orderedPatrolPoints;
|
||||
if (array == 0)
|
||||
{
|
||||
return base.transform;
|
||||
}
|
||||
int length = array.Length;
|
||||
if (EFBDCIJMFGD < length)
|
||||
{
|
||||
return array[EFBDCIJMFGD];
|
||||
}
|
||||
int num = length - 1;
|
||||
return array[num];
|
||||
}
|
||||
|
||||
// Token: 0x170000A6 RID: 166
|
||||
// (get) Token: 0x0600044C RID: 1100 RVA: 0x00017208 File Offset: 0x00015408
|
||||
[Token(Token = "0x170000A6")]
|
||||
public override bool FFJCAJELFAH
|
||||
{
|
||||
[Token(Token = "0x600044C")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "19")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600044D RID: 1101 RVA: 0x00017218 File Offset: 0x00015418
|
||||
[Token(Token = "0x600044D")]
|
||||
[Address(RVA = "0x1BC4EE0", Offset = "0x1BC3EE0", VA = "0x181BC4EE0")]
|
||||
public Transform GetRetreatTransform()
|
||||
{
|
||||
Transform transform = this.retreatPoint;
|
||||
int num = 0;
|
||||
if (transform != num)
|
||||
{
|
||||
return this.retreatPoint;
|
||||
}
|
||||
return base.transform;
|
||||
}
|
||||
|
||||
// Token: 0x0600044E RID: 1102 RVA: 0x00017248 File Offset: 0x00015448
|
||||
[Token(Token = "0x600044E")]
|
||||
[Address(RVA = "0x1BC4F60", Offset = "0x1BC3F60", VA = "0x181BC4F60")]
|
||||
private void OnDrawGizmosSelected()
|
||||
{
|
||||
Transform[] array = this.orderedPatrolPoints;
|
||||
if (array != 0)
|
||||
{
|
||||
int length = array.Length;
|
||||
if (length != 0)
|
||||
{
|
||||
if (length > 1)
|
||||
{
|
||||
Color blue = Color.blue;
|
||||
Transform transform = this.orderedPatrolPoints[0];
|
||||
int length2 = this.orderedPatrolPoints.Length;
|
||||
if ((uint)1 < (uint)length2)
|
||||
{
|
||||
Color white = Color.white;
|
||||
Vector3 position = this.orderedPatrolPoints.position;
|
||||
Transform[] array2 = this.orderedPatrolPoints;
|
||||
}
|
||||
}
|
||||
Color red = Color.red;
|
||||
Transform[] array3 = this.orderedPatrolPoints;
|
||||
int num = array3.Length - 1;
|
||||
Transform transform2 = array3[num];
|
||||
}
|
||||
}
|
||||
Transform transform3 = this.retreatPoint;
|
||||
int num2 = 0;
|
||||
if (transform3 != num2)
|
||||
{
|
||||
Color yellow = Color.yellow;
|
||||
Transform transform4 = this.retreatPoint;
|
||||
float z = transform3.position.z;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600044F RID: 1103 RVA: 0x00017310 File Offset: 0x00015510
|
||||
[Token(Token = "0x600044F")]
|
||||
[Address(RVA = "0x12EEEE0", Offset = "0x12EDEE0", VA = "0x1812EEEE0")]
|
||||
public QuestPirateBossPatrolPoints()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400039F RID: 927
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400039F")]
|
||||
[SerializeField]
|
||||
private Transform[] orderedPatrolPoints;
|
||||
|
||||
// Token: 0x040003A0 RID: 928
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x40003A0")]
|
||||
[SerializeField]
|
||||
private Transform retreatPoint;
|
||||
}
|
||||
Reference in New Issue
Block a user