184 lines
9.4 KiB
C#
184 lines
9.4 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000EF RID: 239
|
|
[Token(Token = "0x20000EF")]
|
|
public class TargetArc02 : MonoBehaviour
|
|
{
|
|
// Token: 0x06000D78 RID: 3448 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000D78")]
|
|
[Address(RVA = "0x131DD70", Offset = "0x131C570", VA = "0x18131DD70", Slot = "4")]
|
|
protected virtual void Start()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000D79 RID: 3449 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000D79")]
|
|
[Address(RVA = "0x131DFD0", Offset = "0x131C7D0", VA = "0x18131DFD0", Slot = "5")]
|
|
protected virtual void Update()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000D7A RID: 3450 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000D7A")]
|
|
[Address(RVA = "0x131DBD0", Offset = "0x131C3D0", VA = "0x18131DBD0", Slot = "6")]
|
|
public virtual void Set(Vector3 v3ShotPos, Vector3 v3TargetPos, float fHeight, float fSpeed, float ExplosionRange)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000D7B RID: 3451 RVA: 0x00020AC0 File Offset: 0x0001ECC0
|
|
[Token(Token = "0x6000D7B")]
|
|
[Address(RVA = "0x131DB50", Offset = "0x131C350", VA = "0x18131DB50")]
|
|
public void SetCollisionEffect(EffectPool Explosion, EffectPool Collision)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06000D7B)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void TargetArc02::SetCollisionEffect(EffectPool,EffectPool)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{; Block_0:; stfld:EffectPool(TargetArc02::g_EffExplosion, ldloc:TargetArc02(this), ldloc:EffectPool(Explosion)); stfld:EffectPool(TargetArc02::g_EffCollision, ldloc:TargetArc02(this), ldloc:EffectPool(Collision)); };
|
|
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: 0x06000D7C RID: 3452 RVA: 0x00020ADC File Offset: 0x0001ECDC
|
|
[Token(Token = "0x6000D7C")]
|
|
[Address(RVA = "0x131DB90", Offset = "0x131C390", VA = "0x18131DB90")]
|
|
public void SetCollisionSE(SoundEffectPool Explosion, SoundEffectPool Collision)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06000D7C)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void TargetArc02::SetCollisionSE(SoundEffectPool,SoundEffectPool)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{; Block_0:; stfld:SoundEffectPool(TargetArc02::g_SEExplosion, ldloc:TargetArc02(this), ldloc:SoundEffectPool(Explosion)); stfld:SoundEffectPool(TargetArc02::g_SECollision, ldloc:TargetArc02(this), ldloc:SoundEffectPool(Collision)); };
|
|
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: 0x06000D7D RID: 3453 RVA: 0x00020AF8 File Offset: 0x0001ECF8
|
|
[Token(Token = "0x6000D7D")]
|
|
[Address(RVA = "0x131EEC0", Offset = "0x131D6C0", VA = "0x18131EEC0")]
|
|
public TargetArc02()
|
|
{
|
|
}
|
|
|
|
// Token: 0x040017C4 RID: 6084
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40017C4")]
|
|
protected ParticleSystem g_PS;
|
|
|
|
// Token: 0x040017C5 RID: 6085
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40017C5")]
|
|
protected AttackData g_AData;
|
|
|
|
// Token: 0x040017C6 RID: 6086
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40017C6")]
|
|
public int MPSuol;
|
|
|
|
// Token: 0x040017C7 RID: 6087
|
|
[FieldOffset(Offset = "0x2C")]
|
|
[Token(Token = "0x40017C7")]
|
|
protected Vector3 g_v3Direction;
|
|
|
|
// Token: 0x040017C8 RID: 6088
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x40017C8")]
|
|
protected Vector3 g_v3Center;
|
|
|
|
// Token: 0x040017C9 RID: 6089
|
|
[FieldOffset(Offset = "0x44")]
|
|
[Token(Token = "0x40017C9")]
|
|
protected float g_fRadius;
|
|
|
|
// Token: 0x040017CA RID: 6090
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x40017CA")]
|
|
protected float g_fPiVal;
|
|
|
|
// Token: 0x040017CB RID: 6091
|
|
[FieldOffset(Offset = "0x4C")]
|
|
[Token(Token = "0x40017CB")]
|
|
protected float g_fX;
|
|
|
|
// Token: 0x040017CC RID: 6092
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x40017CC")]
|
|
protected float g_fY;
|
|
|
|
// Token: 0x040017CD RID: 6093
|
|
[FieldOffset(Offset = "0x54")]
|
|
[Token(Token = "0x40017CD")]
|
|
protected float g_fHeight;
|
|
|
|
// Token: 0x040017CE RID: 6094
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x40017CE")]
|
|
protected float g_fSpeed;
|
|
|
|
// Token: 0x040017CF RID: 6095
|
|
[FieldOffset(Offset = "0x5C")]
|
|
[Token(Token = "0x40017CF")]
|
|
protected bool g_bCollision;
|
|
|
|
// Token: 0x040017D0 RID: 6096
|
|
[FieldOffset(Offset = "0x5D")]
|
|
[Token(Token = "0x40017D0")]
|
|
protected bool g_bBulletCollision;
|
|
|
|
// Token: 0x040017D1 RID: 6097
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x40017D1")]
|
|
protected Vector3 g_PrePosition;
|
|
|
|
// Token: 0x040017D2 RID: 6098
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x40017D2")]
|
|
protected EffectPool g_EffExplosion;
|
|
|
|
// Token: 0x040017D3 RID: 6099
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x40017D3")]
|
|
protected EffectPool g_EffCollision;
|
|
|
|
// Token: 0x040017D4 RID: 6100
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x40017D4")]
|
|
protected float g_ExplosionRange = 2f;
|
|
|
|
// Token: 0x040017D5 RID: 6101
|
|
[FieldOffset(Offset = "0x84")]
|
|
[Token(Token = "0x40017D5")]
|
|
private LayerMask g_Mask;
|
|
|
|
// Token: 0x040017D6 RID: 6102
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x40017D6")]
|
|
protected SoundEffectPool g_SEExplosion;
|
|
|
|
// Token: 0x040017D7 RID: 6103
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x40017D7")]
|
|
protected SoundEffectPool g_SECollision;
|
|
}
|