310 lines
12 KiB
C#
310 lines
12 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000D2 RID: 210
|
|
[Token(Token = "0x20000D2")]
|
|
public class FireBallCollision : MonoBehaviour
|
|
{
|
|
// Token: 0x17000038 RID: 56
|
|
// (get) Token: 0x06000B5A RID: 2906 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x17000038")]
|
|
private GameSave GameSave
|
|
{
|
|
[Token(Token = "0x6000B5A")]
|
|
[Address(RVA = "0x4D1DE0", Offset = "0x4D05E0", VA = "0x1804D1DE0")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000B5B RID: 2907 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000B5B")]
|
|
[Address(RVA = "0x4CE6B0", Offset = "0x4CCEB0", VA = "0x1804CE6B0")]
|
|
public void InitData()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000B5C RID: 2908 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000B5C")]
|
|
[Address(RVA = "0x4CF0E0", Offset = "0x4CD8E0", VA = "0x1804CF0E0")]
|
|
private void Update()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000B5D RID: 2909 RVA: 0x0001BB94 File Offset: 0x00019D94
|
|
[Token(Token = "0x6000B5D")]
|
|
[Address(RVA = "0x4CE640", Offset = "0x4CCE40", VA = "0x1804CE640")]
|
|
private void CheckAliveTime(float deltaTime)
|
|
{
|
|
float num = this.aliveTime;
|
|
if (0 < (int)num)
|
|
{
|
|
this.aliveTime = num;
|
|
GameObject gameObject = base.gameObject;
|
|
int num2 = 0;
|
|
gameObject.SetActive(num2 != 0);
|
|
Action action = this.returnHandler;
|
|
if (action != 0)
|
|
{
|
|
action();
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000B5E RID: 2910 RVA: 0x0001BBDC File Offset: 0x00019DDC
|
|
[Token(Token = "0x6000B5E")]
|
|
[Address(RVA = "0x4CF070", Offset = "0x4CD870", VA = "0x1804CF070")]
|
|
private void ReturnEffect()
|
|
{
|
|
GameObject gameObject = base.gameObject;
|
|
int num = 0;
|
|
gameObject.SetActive(num != 0);
|
|
Action action = this.returnHandler;
|
|
if (action != 0)
|
|
{
|
|
action();
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000B5F RID: 2911 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000B5F")]
|
|
[Address(RVA = "0x4CED00", Offset = "0x4CD500", VA = "0x1804CED00")]
|
|
public void ResetData(Vector3 pos, Quaternion rot)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000B60 RID: 2912 RVA: 0x0001BC14 File Offset: 0x00019E14
|
|
[Token(Token = "0x6000B60")]
|
|
[Address(RVA = "0x4CF0D0", Offset = "0x4CD8D0", VA = "0x1804CF0D0")]
|
|
public void SetTarget(Transform Target)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06000B60)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void FireBallCollision::SetTarget(UnityEngine.Transform)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{; Block_0:; stfld:Transform(FireBallCollision::g_Track, ldloc:FireBallCollision(this), ldloc:Transform(Target)); };
|
|
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: 0x06000B61 RID: 2913 RVA: 0x0001BC28 File Offset: 0x00019E28
|
|
[Token(Token = "0x6000B61")]
|
|
[Address(RVA = "0x4CF0C0", Offset = "0x4CD8C0", VA = "0x1804CF0C0")]
|
|
public void SetAliveTime(float time)
|
|
{
|
|
this.aliveTimeSet = time;
|
|
}
|
|
|
|
// Token: 0x06000B62 RID: 2914 RVA: 0x0001BC3C File Offset: 0x00019E3C
|
|
[Token(Token = "0x6000B62")]
|
|
[Address(RVA = "0x4CE630", Offset = "0x4CCE30", VA = "0x1804CE630")]
|
|
public void BindReturnHandlerEvent(Action returnHandler)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06000B62)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void FireBallCollision::BindReturnHandlerEvent(System.Action)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{; Block_0:; stfld:Action(FireBallCollision::returnHandler, ldloc:FireBallCollision(this), ldloc:Action(returnHandler)); };
|
|
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: 0x06000B63 RID: 2915 RVA: 0x0001BC50 File Offset: 0x00019E50
|
|
[Token(Token = "0x6000B63")]
|
|
[Address(RVA = "0x4D1DB0", Offset = "0x4D05B0", VA = "0x1804D1DB0")]
|
|
public FireBallCollision()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04001335 RID: 4917
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4001335")]
|
|
private List<EnemiesManager.EnemyData> enemies;
|
|
|
|
// Token: 0x04001336 RID: 4918
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4001336")]
|
|
private AttackData[] g_AD;
|
|
|
|
// Token: 0x04001337 RID: 4919
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4001337")]
|
|
public float g_fDuration = 2f;
|
|
|
|
// Token: 0x04001338 RID: 4920
|
|
[FieldOffset(Offset = "0x2C")]
|
|
[Token(Token = "0x4001338")]
|
|
public float g_fDurationV2 = 3f;
|
|
|
|
// Token: 0x04001339 RID: 4921
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4001339")]
|
|
private float g_fDurationVal;
|
|
|
|
// Token: 0x0400133A RID: 4922
|
|
[FieldOffset(Offset = "0x34")]
|
|
[Token(Token = "0x400133A")]
|
|
public float g_fIntervals = 0.2f;
|
|
|
|
// Token: 0x0400133B RID: 4923
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400133B")]
|
|
private float g_fIntervalsVal;
|
|
|
|
// Token: 0x0400133C RID: 4924
|
|
[FieldOffset(Offset = "0x3C")]
|
|
[Token(Token = "0x400133C")]
|
|
private float g_fRadius = 2f;
|
|
|
|
// Token: 0x0400133D RID: 4925
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400133D")]
|
|
private bool g_bShake01;
|
|
|
|
// Token: 0x0400133E RID: 4926
|
|
[FieldOffset(Offset = "0x41")]
|
|
[Token(Token = "0x400133E")]
|
|
private bool g_bShake02;
|
|
|
|
// Token: 0x0400133F RID: 4927
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400133F")]
|
|
private List<Transform> g_TargetList;
|
|
|
|
// Token: 0x04001340 RID: 4928
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4001340")]
|
|
private Transform g_Track;
|
|
|
|
// Token: 0x04001341 RID: 4929
|
|
[Token(Token = "0x4001341")]
|
|
private const float g_fMoveSpeed = 9f;
|
|
|
|
// Token: 0x04001342 RID: 4930
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4001342")]
|
|
public GameObject g_CollisionEffect;
|
|
|
|
// Token: 0x04001343 RID: 4931
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x4001343")]
|
|
private EffectPool g_CollisionPool;
|
|
|
|
// Token: 0x04001344 RID: 4932
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4001344")]
|
|
public GameObject g_SECollisionObject;
|
|
|
|
// Token: 0x04001345 RID: 4933
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4001345")]
|
|
private SoundEffectPool g_SECollision;
|
|
|
|
// Token: 0x04001346 RID: 4934
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x4001346")]
|
|
public GameObject g_EffLv01Object;
|
|
|
|
// Token: 0x04001347 RID: 4935
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x4001347")]
|
|
public GameObject g_EffLv03Object;
|
|
|
|
// Token: 0x04001348 RID: 4936
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4001348")]
|
|
public GameObject g_EffLv04Object;
|
|
|
|
// Token: 0x04001349 RID: 4937
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x4001349")]
|
|
public GameObject g_EffLv05Object;
|
|
|
|
// Token: 0x0400134A RID: 4938
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x400134A")]
|
|
private EffectPool g_EffLv01;
|
|
|
|
// Token: 0x0400134B RID: 4939
|
|
[FieldOffset(Offset = "0xA0")]
|
|
[Token(Token = "0x400134B")]
|
|
private EffectPool g_EffLv03;
|
|
|
|
// Token: 0x0400134C RID: 4940
|
|
[FieldOffset(Offset = "0xA8")]
|
|
[Token(Token = "0x400134C")]
|
|
private EffectPool g_EffLv04;
|
|
|
|
// Token: 0x0400134D RID: 4941
|
|
[FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x400134D")]
|
|
private EffectPool g_EffLv05;
|
|
|
|
// Token: 0x0400134E RID: 4942
|
|
[FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x400134E")]
|
|
public GameObject g_SEObject;
|
|
|
|
// Token: 0x0400134F RID: 4943
|
|
[FieldOffset(Offset = "0xC0")]
|
|
[Token(Token = "0x400134F")]
|
|
public GameObject g_SEV2Object;
|
|
|
|
// Token: 0x04001350 RID: 4944
|
|
[FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x4001350")]
|
|
private SoundEffectPool g_SE;
|
|
|
|
// Token: 0x04001351 RID: 4945
|
|
[FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x4001351")]
|
|
private SoundEffectPool g_SEV2;
|
|
|
|
// Token: 0x04001352 RID: 4946
|
|
[Token(Token = "0x4001352")]
|
|
private const float g_fSuckDistance = 18f;
|
|
|
|
// Token: 0x04001353 RID: 4947
|
|
[Token(Token = "0x4001353")]
|
|
private const float g_fSuckStrength = 2.7f;
|
|
|
|
// Token: 0x04001354 RID: 4948
|
|
[FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x4001354")]
|
|
private float aliveTimeSet;
|
|
|
|
// Token: 0x04001355 RID: 4949
|
|
[FieldOffset(Offset = "0xDC")]
|
|
[Token(Token = "0x4001355")]
|
|
private float aliveTime;
|
|
|
|
// Token: 0x04001356 RID: 4950
|
|
[FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x4001356")]
|
|
private Action returnHandler;
|
|
}
|