a
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: 0x000171AC File Offset: 0x000153AC
|
||||
[Token(Token = "0x170000A5")]
|
||||
public int HPLGFLFJNBO
|
||||
{
|
||||
[Token(Token = "0x6000446")]
|
||||
[Address(RVA = "0x10683B0", Offset = "0x10671B0", VA = "0x1810683B0")]
|
||||
get
|
||||
{
|
||||
return this.orderedPatrolPoints.Length;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000447 RID: 1095 RVA: 0x000171CC File Offset: 0x000153CC
|
||||
[Token(Token = "0x6000447")]
|
||||
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "15")]
|
||||
public override bool HasReachedTarget(Vector3 PJBCOJLDFMH, Vector3 JJGDNPNBINJ)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06000448 RID: 1096 RVA: 0x000171DC File Offset: 0x000153DC
|
||||
[Token(Token = "0x6000448")]
|
||||
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "16")]
|
||||
public override bool HasFinishedPatrol(int HDANABPONGB)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06000449 RID: 1097 RVA: 0x000171EC File Offset: 0x000153EC
|
||||
[Token(Token = "0x6000449")]
|
||||
[Address(RVA = "0x1068330", Offset = "0x1067130", VA = "0x181068330", 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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600044A RID: 1098 RVA: 0x0001720C File Offset: 0x0001540C
|
||||
[Token(Token = "0x600044A")]
|
||||
[Address(RVA = "0x1067EF0", Offset = "0x1066CF0", VA = "0x181067EF0", 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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600044B RID: 1099 RVA: 0x00017224 File Offset: 0x00015424
|
||||
[Token(Token = "0x600044B")]
|
||||
[Address(RVA = "0x1067F60", Offset = "0x1066D60", VA = "0x181067F60")]
|
||||
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: 0x00017274 File Offset: 0x00015474
|
||||
[Token(Token = "0x170000A6")]
|
||||
public override bool FFJCAJELFAH
|
||||
{
|
||||
[Token(Token = "0x600044C")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "19")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600044D RID: 1101 RVA: 0x00017284 File Offset: 0x00015484
|
||||
[Token(Token = "0x600044D")]
|
||||
[Address(RVA = "0x1067FF0", Offset = "0x1066DF0", VA = "0x181067FF0")]
|
||||
public Transform GetRetreatTransform()
|
||||
{
|
||||
Transform transform = this.retreatPoint;
|
||||
int num = 0;
|
||||
if (transform != num)
|
||||
{
|
||||
return this.retreatPoint;
|
||||
}
|
||||
return base.transform;
|
||||
}
|
||||
|
||||
// Token: 0x0600044E RID: 1102 RVA: 0x000172B4 File Offset: 0x000154B4
|
||||
[Token(Token = "0x600044E")]
|
||||
[Address(RVA = "0x1068070", Offset = "0x1066E70", VA = "0x181068070")]
|
||||
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: 0x0001737C File Offset: 0x0001557C
|
||||
[Token(Token = "0x600044F")]
|
||||
[Address(RVA = "0x7FA090", Offset = "0x7F8E90", VA = "0x1807FA090")]
|
||||
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