Files
NobetaSource/Cpp2IL/Assembly-CSharp/IceChargeTrack.cs
2023-09-06 22:09:22 +02:00

194 lines
11 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
// Token: 0x020000DF RID: 223
[Token(Token = "0x20000DF")]
public class IceChargeTrack : MonoBehaviour
{
// Token: 0x17000039 RID: 57
// (get) Token: 0x06000C32 RID: 3122 RVA: 0x0001DBF4 File Offset: 0x0001BDF4
[Token(Token = "0x17000039")]
private GameSave GameSave
{
[Token(Token = "0x6000C32")]
[Address(RVA = "0x10AE5E0", Offset = "0x10ACDE0", VA = "0x1810AE5E0")]
get
{
return Game.GameSave;
}
}
// Token: 0x06000C33 RID: 3123 RVA: 0x0001DC08 File Offset: 0x0001BE08
[Token(Token = "0x6000C33")]
[Address(RVA = "0x10AD560", Offset = "0x10ABD60", VA = "0x1810AD560")]
private void Start()
{
AttackData component = base.GetComponent<AttackData>();
this.g_AData = component;
AttackData attackData = this.g_AData;
int num = 0;
if (attackData == num)
{
Debug.LogError(base.transform.name + " 攻擊資料錯誤");
}
this.g_bCollision = false;
}
// Token: 0x06000C34 RID: 3124 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6000C34")]
[Address(RVA = "0x10AD670", Offset = "0x10ABE70", VA = "0x1810AD670")]
private void Update()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06000C35 RID: 3125 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6000C35")]
[Address(RVA = "0x10AD410", Offset = "0x10ABC10", VA = "0x1810AD410")]
public void SetTarget(Vector3 Target)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06000C36 RID: 3126 RVA: 0x0001DC60 File Offset: 0x0001BE60
[Token(Token = "0x6000C36")]
[Address(RVA = "0x4B8E70", Offset = "0x4B7670", VA = "0x1804B8E70")]
public void SetLife(float fLife)
{
this.g_fLife = fLife;
}
// Token: 0x06000C37 RID: 3127 RVA: 0x0001DC74 File Offset: 0x0001BE74
[Token(Token = "0x6000C37")]
[Address(RVA = "0x4CF0D0", Offset = "0x4CD8D0", VA = "0x1804CF0D0")]
public void SetCollisionPool(EffectPool Effect)
{
/*
An exception occurred when decompiling this method (06000C37)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void IceChargeTrack::SetCollisionPool(EffectPool)
---> System.Exception: Basic block has to end with unconditional control flow.
{; Block_0:; stfld:EffectPool(IceChargeTrack::g_CollisionPool, ldloc:IceChargeTrack(this), ldloc:EffectPool(Effect)); };
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: 0x06000C38 RID: 3128 RVA: 0x0001DC88 File Offset: 0x0001BE88
[Token(Token = "0x6000C38")]
[Address(RVA = "0x4B9090", Offset = "0x4B7890", VA = "0x1804B9090")]
public void SetSECollision(SoundEffectPool SEP)
{
/*
An exception occurred when decompiling this method (06000C38)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void IceChargeTrack::SetSECollision(SoundEffectPool)
---> System.Exception: Basic block has to end with unconditional control flow.
{; Block_0:; stfld:SoundEffectPool(IceChargeTrack::g_SECollision, ldloc:IceChargeTrack(this), ldloc:SoundEffectPool(SEP)); };
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: 0x06000C39 RID: 3129 RVA: 0x0001DC9C File Offset: 0x0001BE9C
[Token(Token = "0x6000C39")]
[Address(RVA = "0x628230", Offset = "0x626A30", VA = "0x180628230")]
public void SetSEShot(SoundEffectPool SEP)
{
/*
An exception occurred when decompiling this method (06000C39)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void IceChargeTrack::SetSEShot(SoundEffectPool)
---> System.Exception: Basic block has to end with unconditional control flow.
{; Block_0:; stfld:SoundEffectPool(IceChargeTrack::g_SEShot, ldloc:IceChargeTrack(this), ldloc:SoundEffectPool(SEP)); };
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: 0x06000C3A RID: 3130 RVA: 0x0001DCB0 File Offset: 0x0001BEB0
[Token(Token = "0x6000C3A")]
[Address(RVA = "0x4D1F80", Offset = "0x4D0780", VA = "0x1804D1F80")]
public void ResetIsCollision()
{
this.g_bCollision = false;
}
// Token: 0x06000C3B RID: 3131 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6000C3B")]
[Address(RVA = "0x10AE5A0", Offset = "0x10ACDA0", VA = "0x1810AE5A0")]
public IceChargeTrack()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x04001513 RID: 5395
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001513")]
private AttackData g_AData;
// Token: 0x04001514 RID: 5396
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001514")]
private Vector3 g_Direction;
// Token: 0x04001515 RID: 5397
[FieldOffset(Offset = "0x2C")]
[Token(Token = "0x4001515")]
private Vector3 g_PrePosition;
// Token: 0x04001516 RID: 5398
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4001516")]
private bool g_bCollision;
// Token: 0x04001517 RID: 5399
[FieldOffset(Offset = "0x3C")]
[Token(Token = "0x4001517")]
public float g_fSpeed;
// Token: 0x04001518 RID: 5400
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x4001518")]
public Vector3 g_v3Size;
// Token: 0x04001519 RID: 5401
[FieldOffset(Offset = "0x4C")]
[Token(Token = "0x4001519")]
private float g_fLife;
// Token: 0x0400151A RID: 5402
[FieldOffset(Offset = "0x50")]
[Token(Token = "0x400151A")]
private EffectPool g_CollisionPool;
// Token: 0x0400151B RID: 5403
[FieldOffset(Offset = "0x58")]
[Token(Token = "0x400151B")]
private SoundEffectPool g_SECollision;
// Token: 0x0400151C RID: 5404
[FieldOffset(Offset = "0x60")]
[Token(Token = "0x400151C")]
private SoundEffectPool g_SEShot;
}