300 lines
13 KiB
C#
300 lines
13 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000CD RID: 205
|
|
[Token(Token = "0x20000CD")]
|
|
public class BossLevel03BigChargeFar : AttackableObject
|
|
{
|
|
// Token: 0x060008FE RID: 2302 RVA: 0x00014984 File Offset: 0x00012B84
|
|
[Token(Token = "0x60008FE")]
|
|
[Address(RVA = "0x1081090", Offset = "0x1080090", VA = "0x181081090")]
|
|
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: 0x060008FF RID: 2303 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60008FF")]
|
|
[Address(RVA = "0x1083080", Offset = "0x1082080", VA = "0x181083080", Slot = "6")]
|
|
protected override void Update()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000900 RID: 2304 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000900")]
|
|
[Address(RVA = "0x1080670", Offset = "0x107F670", VA = "0x181080670")]
|
|
private void ArcMove(float fDeltaTime)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000901 RID: 2305 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000901")]
|
|
[Address(RVA = "0x1081290", Offset = "0x1080290", VA = "0x181081290")]
|
|
protected void Explosion(float fDeltaTime)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000902 RID: 2306 RVA: 0x00014A20 File Offset: 0x00012C20
|
|
[Token(Token = "0x6000902")]
|
|
[Address(RVA = "0x1082CA0", Offset = "0x1081CA0", VA = "0x181082CA0", Slot = "10")]
|
|
public override void HitMagic(AttackData AD)
|
|
{
|
|
int valueAsInt = base.ValueAsInt;
|
|
}
|
|
|
|
// Token: 0x06000903 RID: 2307 RVA: 0x00014A34 File Offset: 0x00012C34
|
|
[Token(Token = "0x6000903")]
|
|
[Address(RVA = "0x1082CA0", Offset = "0x1081CA0", VA = "0x181082CA0", Slot = "9")]
|
|
public override void HitPhysical(AttackData AD)
|
|
{
|
|
int valueAsInt = base.ValueAsInt;
|
|
}
|
|
|
|
// Token: 0x06000904 RID: 2308 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000904")]
|
|
[Address(RVA = "0x1080D60", Offset = "0x107FD60", VA = "0x181080D60", Slot = "12")]
|
|
protected virtual void Attack(AttackData AD)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000905 RID: 2309 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000905")]
|
|
[Address(RVA = "0x1082DB0", Offset = "0x1081DB0", VA = "0x181082DB0")]
|
|
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: 0x06000906 RID: 2310 RVA: 0x00014A48 File Offset: 0x00012C48
|
|
[Token(Token = "0x6000906")]
|
|
[Address(RVA = "0x1082CC0", Offset = "0x1081CC0", VA = "0x181082CC0")]
|
|
public void SetCollisionEffect(EffectPool Explosion, EffectPool Collision)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06000906)
|
|
|
|
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: 0x06000907 RID: 2311 RVA: 0x00014A64 File Offset: 0x00012C64
|
|
[Token(Token = "0x6000907")]
|
|
[Address(RVA = "0x1082D70", Offset = "0x1081D70", VA = "0x181082D70")]
|
|
public void SetCollisionSE(SoundEffectPool Explosion, SoundEffectPool Collision)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06000907)
|
|
|
|
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: 0x06000908 RID: 2312 RVA: 0x00014A80 File Offset: 0x00012C80
|
|
[Token(Token = "0x6000908")]
|
|
[Address(RVA = "0x1082D00", Offset = "0x1081D00", VA = "0x181082D00")]
|
|
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: 0x06000909 RID: 2313 RVA: 0x00014AAC File Offset: 0x00012CAC
|
|
[Token(Token = "0x6000909")]
|
|
[Address(RVA = "0x1083510", Offset = "0x1082510", VA = "0x181083510")]
|
|
public BossLevel03BigChargeFar()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000B4A RID: 2890
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4000B4A")]
|
|
public Light LG;
|
|
|
|
// Token: 0x04000B4B RID: 2891
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4000B4B")]
|
|
protected ParticleSystem g_PS;
|
|
|
|
// Token: 0x04000B4C RID: 2892
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x4000B4C")]
|
|
private AttackData[] g_AD;
|
|
|
|
// Token: 0x04000B4D RID: 2893
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x4000B4D")]
|
|
protected Vector3 g_v3Direction;
|
|
|
|
// Token: 0x04000B4E RID: 2894
|
|
[FieldOffset(Offset = "0x8C")]
|
|
[Token(Token = "0x4000B4E")]
|
|
private Vector3 g_v3Center;
|
|
|
|
// Token: 0x04000B4F RID: 2895
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x4000B4F")]
|
|
private float g_fRadius;
|
|
|
|
// Token: 0x04000B50 RID: 2896
|
|
[FieldOffset(Offset = "0x9C")]
|
|
[Token(Token = "0x4000B50")]
|
|
protected float g_fPiVal;
|
|
|
|
// Token: 0x04000B51 RID: 2897
|
|
[FieldOffset(Offset = "0xA0")]
|
|
[Token(Token = "0x4000B51")]
|
|
protected float g_fX;
|
|
|
|
// Token: 0x04000B52 RID: 2898
|
|
[FieldOffset(Offset = "0xA4")]
|
|
[Token(Token = "0x4000B52")]
|
|
protected float g_fY;
|
|
|
|
// Token: 0x04000B53 RID: 2899
|
|
[FieldOffset(Offset = "0xA8")]
|
|
[Token(Token = "0x4000B53")]
|
|
protected float g_fHeight;
|
|
|
|
// Token: 0x04000B54 RID: 2900
|
|
[FieldOffset(Offset = "0xAC")]
|
|
[Token(Token = "0x4000B54")]
|
|
protected float g_fSpeed;
|
|
|
|
// Token: 0x04000B55 RID: 2901
|
|
[FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x4000B55")]
|
|
protected bool g_bCollision;
|
|
|
|
// Token: 0x04000B56 RID: 2902
|
|
[FieldOffset(Offset = "0xB4")]
|
|
[Token(Token = "0x4000B56")]
|
|
protected Vector3 g_PrePosition;
|
|
|
|
// Token: 0x04000B57 RID: 2903
|
|
[FieldOffset(Offset = "0xC0")]
|
|
[Token(Token = "0x4000B57")]
|
|
protected EffectPool g_EffExplosion;
|
|
|
|
// Token: 0x04000B58 RID: 2904
|
|
[FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x4000B58")]
|
|
protected EffectPool g_EffCollision;
|
|
|
|
// Token: 0x04000B59 RID: 2905
|
|
[FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x4000B59")]
|
|
protected SoundEffectPool g_SEExplosion;
|
|
|
|
// Token: 0x04000B5A RID: 2906
|
|
[FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x4000B5A")]
|
|
protected SoundEffectPool g_SEExplosion02;
|
|
|
|
// Token: 0x04000B5B RID: 2907
|
|
[FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x4000B5B")]
|
|
protected SoundEffectPool g_SECollision;
|
|
|
|
// Token: 0x04000B5C RID: 2908
|
|
[FieldOffset(Offset = "0xE8")]
|
|
[Token(Token = "0x4000B5C")]
|
|
private bool g_bg_SEExplosion02;
|
|
|
|
// Token: 0x04000B5D RID: 2909
|
|
[FieldOffset(Offset = "0xEC")]
|
|
[Token(Token = "0x4000B5D")]
|
|
protected float g_fDuration = 2f;
|
|
|
|
// Token: 0x04000B5E RID: 2910
|
|
[FieldOffset(Offset = "0xF0")]
|
|
[Token(Token = "0x4000B5E")]
|
|
protected float g_fDurationV2 = 2.5f;
|
|
|
|
// Token: 0x04000B5F RID: 2911
|
|
[FieldOffset(Offset = "0xF4")]
|
|
[Token(Token = "0x4000B5F")]
|
|
protected float g_fDurationVal;
|
|
|
|
// Token: 0x04000B60 RID: 2912
|
|
[FieldOffset(Offset = "0xF8")]
|
|
[Token(Token = "0x4000B60")]
|
|
protected float g_fIntervals = 0.2f;
|
|
|
|
// Token: 0x04000B61 RID: 2913
|
|
[FieldOffset(Offset = "0xFC")]
|
|
[Token(Token = "0x4000B61")]
|
|
protected float g_fIntervalsVal;
|
|
|
|
// Token: 0x04000B62 RID: 2914
|
|
[FieldOffset(Offset = "0x100")]
|
|
[Token(Token = "0x4000B62")]
|
|
protected List<Transform> g_TargetList;
|
|
|
|
// Token: 0x04000B63 RID: 2915
|
|
[FieldOffset(Offset = "0x108")]
|
|
[Token(Token = "0x4000B63")]
|
|
protected SphereCollider g_SC;
|
|
|
|
// Token: 0x04000B64 RID: 2916
|
|
[FieldOffset(Offset = "0x110")]
|
|
[Token(Token = "0x4000B64")]
|
|
protected float g_fRepulse = 20f;
|
|
|
|
// Token: 0x04000B65 RID: 2917
|
|
[FieldOffset(Offset = "0x114")]
|
|
[Token(Token = "0x4000B65")]
|
|
protected float g_fRepulseVal;
|
|
|
|
// Token: 0x04000B66 RID: 2918
|
|
[FieldOffset(Offset = "0x118")]
|
|
[Token(Token = "0x4000B66")]
|
|
protected float g_fSuckVal;
|
|
}
|