300 lines
13 KiB
C#
300 lines
13 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000B7 RID: 183
|
|
[Token(Token = "0x20000B7")]
|
|
public class BossLevel03BigChargeFar : AttackableObject
|
|
{
|
|
// Token: 0x06000856 RID: 2134 RVA: 0x000142F0 File Offset: 0x000124F0
|
|
[Token(Token = "0x6000856")]
|
|
[Address(RVA = "0x13A6E70", Offset = "0x13A5670", VA = "0x1813A6E70")]
|
|
private void Awake()
|
|
{
|
|
ParticleSystem component = base.GetComponent<ParticleSystem>();
|
|
this.g_PS = component;
|
|
ParticleSystem particleSystem = this.g_PS;
|
|
int num = 0;
|
|
if (particleSystem == num)
|
|
{
|
|
Debug.LogError(base.transform.name + " 特效錯誤");
|
|
}
|
|
this.g_bCollision = false;
|
|
AttackData[] components = base.GetComponents<AttackData>();
|
|
this.g_AD = components;
|
|
List<Transform> list = new List();
|
|
this.g_TargetList = list;
|
|
SphereCollider sphereCollider = this.g_SC;
|
|
int num2 = 0;
|
|
if (sphereCollider == num2)
|
|
{
|
|
SphereCollider component2 = base.GetComponent<SphereCollider>();
|
|
this.g_SC = component2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000857 RID: 2135 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000857")]
|
|
[Address(RVA = "0x13A8E50", Offset = "0x13A7650", VA = "0x1813A8E50", Slot = "6")]
|
|
protected override void Update()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000858 RID: 2136 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000858")]
|
|
[Address(RVA = "0x13A6450", Offset = "0x13A4C50", VA = "0x1813A6450")]
|
|
private void ArcMove(float fDeltaTime)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000859 RID: 2137 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000859")]
|
|
[Address(RVA = "0x13A7070", Offset = "0x13A5870", VA = "0x1813A7070")]
|
|
protected void Explosion(float fDeltaTime)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600085A RID: 2138 RVA: 0x0001438C File Offset: 0x0001258C
|
|
[Token(Token = "0x600085A")]
|
|
[Address(RVA = "0x13A8A80", Offset = "0x13A7280", VA = "0x1813A8A80", Slot = "10")]
|
|
public override void HitMagic(AttackData AD)
|
|
{
|
|
this.Attack(AD);
|
|
}
|
|
|
|
// Token: 0x0600085B RID: 2139 RVA: 0x000143A0 File Offset: 0x000125A0
|
|
[Token(Token = "0x600085B")]
|
|
[Address(RVA = "0x13A8A80", Offset = "0x13A7280", VA = "0x1813A8A80", Slot = "9")]
|
|
public override void HitPhysical(AttackData AD)
|
|
{
|
|
this.Attack(AD);
|
|
}
|
|
|
|
// Token: 0x0600085C RID: 2140 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600085C")]
|
|
[Address(RVA = "0x13A6B40", Offset = "0x13A5340", VA = "0x1813A6B40")]
|
|
private void Attack(AttackData AD)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600085D RID: 2141 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600085D")]
|
|
[Address(RVA = "0x13A8B80", Offset = "0x13A7380", VA = "0x1813A8B80")]
|
|
public 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: 0x0600085E RID: 2142 RVA: 0x000143B4 File Offset: 0x000125B4
|
|
[Token(Token = "0x600085E")]
|
|
[Address(RVA = "0x13A8A90", Offset = "0x13A7290", VA = "0x1813A8A90")]
|
|
public void SetCollisionEffect(EffectPool Explosion, EffectPool Collision)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600085E)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BossLevel03BigChargeFar::SetCollisionEffect(EffectPool,EffectPool)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{; Block_0:; stfld:EffectPool(BossLevel03BigChargeFar::g_EffExplosion, ldloc:BossLevel03BigChargeFar(this), ldloc:EffectPool(Explosion)); stfld:EffectPool(BossLevel03BigChargeFar::g_EffCollision, ldloc:BossLevel03BigChargeFar(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: 0x0600085F RID: 2143 RVA: 0x000143D0 File Offset: 0x000125D0
|
|
[Token(Token = "0x600085F")]
|
|
[Address(RVA = "0x13A8B40", Offset = "0x13A7340", VA = "0x1813A8B40")]
|
|
public void SetCollisionSE(SoundEffectPool Explosion, SoundEffectPool Collision)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600085F)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BossLevel03BigChargeFar::SetCollisionSE(SoundEffectPool,SoundEffectPool)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{; Block_0:; stfld:SoundEffectPool(BossLevel03BigChargeFar::g_SEExplosion, ldloc:BossLevel03BigChargeFar(this), ldloc:SoundEffectPool(Explosion)); stfld:SoundEffectPool(BossLevel03BigChargeFar::g_SECollision, ldloc:BossLevel03BigChargeFar(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: 0x06000860 RID: 2144 RVA: 0x000143EC File Offset: 0x000125EC
|
|
[Token(Token = "0x6000860")]
|
|
[Address(RVA = "0x13A8AD0", Offset = "0x13A72D0", VA = "0x1813A8AD0")]
|
|
public void SetCollisionSE(SoundEffectPool Explosion, SoundEffectPool Explosion02, SoundEffectPool Collision)
|
|
{
|
|
this.g_SEExplosion = Explosion;
|
|
this.g_SEExplosion02 = Explosion02;
|
|
this.g_SECollision = Collision;
|
|
this.g_bg_SEExplosion02 = false;
|
|
}
|
|
|
|
// Token: 0x06000861 RID: 2145 RVA: 0x00014418 File Offset: 0x00012618
|
|
[Token(Token = "0x6000861")]
|
|
[Address(RVA = "0x13A92E0", Offset = "0x13A7AE0", VA = "0x1813A92E0")]
|
|
public BossLevel03BigChargeFar()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000ADB RID: 2779
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4000ADB")]
|
|
public Light LG;
|
|
|
|
// Token: 0x04000ADC RID: 2780
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4000ADC")]
|
|
protected ParticleSystem g_PS;
|
|
|
|
// Token: 0x04000ADD RID: 2781
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x4000ADD")]
|
|
private AttackData[] g_AD;
|
|
|
|
// Token: 0x04000ADE RID: 2782
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x4000ADE")]
|
|
protected Vector3 g_v3Direction;
|
|
|
|
// Token: 0x04000ADF RID: 2783
|
|
[FieldOffset(Offset = "0x8C")]
|
|
[Token(Token = "0x4000ADF")]
|
|
private Vector3 g_v3Center;
|
|
|
|
// Token: 0x04000AE0 RID: 2784
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x4000AE0")]
|
|
private float g_fRadius;
|
|
|
|
// Token: 0x04000AE1 RID: 2785
|
|
[FieldOffset(Offset = "0x9C")]
|
|
[Token(Token = "0x4000AE1")]
|
|
protected float g_fPiVal;
|
|
|
|
// Token: 0x04000AE2 RID: 2786
|
|
[FieldOffset(Offset = "0xA0")]
|
|
[Token(Token = "0x4000AE2")]
|
|
protected float g_fX;
|
|
|
|
// Token: 0x04000AE3 RID: 2787
|
|
[FieldOffset(Offset = "0xA4")]
|
|
[Token(Token = "0x4000AE3")]
|
|
protected float g_fY;
|
|
|
|
// Token: 0x04000AE4 RID: 2788
|
|
[FieldOffset(Offset = "0xA8")]
|
|
[Token(Token = "0x4000AE4")]
|
|
protected float g_fHeight;
|
|
|
|
// Token: 0x04000AE5 RID: 2789
|
|
[FieldOffset(Offset = "0xAC")]
|
|
[Token(Token = "0x4000AE5")]
|
|
protected float g_fSpeed;
|
|
|
|
// Token: 0x04000AE6 RID: 2790
|
|
[FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x4000AE6")]
|
|
protected bool g_bCollision;
|
|
|
|
// Token: 0x04000AE7 RID: 2791
|
|
[FieldOffset(Offset = "0xB4")]
|
|
[Token(Token = "0x4000AE7")]
|
|
protected Vector3 g_PrePosition;
|
|
|
|
// Token: 0x04000AE8 RID: 2792
|
|
[FieldOffset(Offset = "0xC0")]
|
|
[Token(Token = "0x4000AE8")]
|
|
protected EffectPool g_EffExplosion;
|
|
|
|
// Token: 0x04000AE9 RID: 2793
|
|
[FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x4000AE9")]
|
|
protected EffectPool g_EffCollision;
|
|
|
|
// Token: 0x04000AEA RID: 2794
|
|
[FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x4000AEA")]
|
|
protected SoundEffectPool g_SEExplosion;
|
|
|
|
// Token: 0x04000AEB RID: 2795
|
|
[FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x4000AEB")]
|
|
protected SoundEffectPool g_SEExplosion02;
|
|
|
|
// Token: 0x04000AEC RID: 2796
|
|
[FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x4000AEC")]
|
|
protected SoundEffectPool g_SECollision;
|
|
|
|
// Token: 0x04000AED RID: 2797
|
|
[FieldOffset(Offset = "0xE8")]
|
|
[Token(Token = "0x4000AED")]
|
|
private bool g_bg_SEExplosion02;
|
|
|
|
// Token: 0x04000AEE RID: 2798
|
|
[FieldOffset(Offset = "0xEC")]
|
|
[Token(Token = "0x4000AEE")]
|
|
protected float g_fDuration = 2f;
|
|
|
|
// Token: 0x04000AEF RID: 2799
|
|
[FieldOffset(Offset = "0xF0")]
|
|
[Token(Token = "0x4000AEF")]
|
|
protected float g_fDurationV2 = 2.5f;
|
|
|
|
// Token: 0x04000AF0 RID: 2800
|
|
[FieldOffset(Offset = "0xF4")]
|
|
[Token(Token = "0x4000AF0")]
|
|
protected float g_fDurationVal;
|
|
|
|
// Token: 0x04000AF1 RID: 2801
|
|
[FieldOffset(Offset = "0xF8")]
|
|
[Token(Token = "0x4000AF1")]
|
|
protected float g_fIntervals = 0.2f;
|
|
|
|
// Token: 0x04000AF2 RID: 2802
|
|
[FieldOffset(Offset = "0xFC")]
|
|
[Token(Token = "0x4000AF2")]
|
|
protected float g_fIntervalsVal;
|
|
|
|
// Token: 0x04000AF3 RID: 2803
|
|
[FieldOffset(Offset = "0x100")]
|
|
[Token(Token = "0x4000AF3")]
|
|
protected List<Transform> g_TargetList;
|
|
|
|
// Token: 0x04000AF4 RID: 2804
|
|
[FieldOffset(Offset = "0x108")]
|
|
[Token(Token = "0x4000AF4")]
|
|
protected SphereCollider g_SC;
|
|
|
|
// Token: 0x04000AF5 RID: 2805
|
|
[FieldOffset(Offset = "0x110")]
|
|
[Token(Token = "0x4000AF5")]
|
|
protected float g_fRepulse = 20f;
|
|
|
|
// Token: 0x04000AF6 RID: 2806
|
|
[FieldOffset(Offset = "0x114")]
|
|
[Token(Token = "0x4000AF6")]
|
|
protected float g_fRepulseVal;
|
|
|
|
// Token: 0x04000AF7 RID: 2807
|
|
[FieldOffset(Offset = "0x118")]
|
|
[Token(Token = "0x4000AF7")]
|
|
protected float g_fSuckVal;
|
|
}
|