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

141 lines
6.2 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
// Token: 0x020000CA RID: 202
[Token(Token = "0x20000CA")]
public class BossAct01_AttackSwordEnergy : MonoBehaviour
{
// Token: 0x060008A6 RID: 2214 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60008A6")]
[Address(RVA = "0x106FE10", Offset = "0x106EE10", VA = "0x18106FE10", Slot = "4")]
protected virtual void Start()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060008A7 RID: 2215 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60008A7")]
[Address(RVA = "0x1070050", Offset = "0x106F050", VA = "0x181070050", Slot = "5")]
protected virtual void Update()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060008A8 RID: 2216 RVA: 0x000137B4 File Offset: 0x000119B4
[Token(Token = "0x60008A8")]
[Address(RVA = "0x106FD90", Offset = "0x106ED90", VA = "0x18106FD90")]
public void SetCollisionEffect(EffectPool Effect, EffectPool WallEffect)
{
/*
An exception occurred when decompiling this method (060008A8)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BossAct01_AttackSwordEnergy::SetCollisionEffect(EffectPool,EffectPool)
---> System.Exception: Basic block has to end with unconditional control flow.
{; Block_0:; stfld:EffectPool(BossAct01_AttackSwordEnergy::g_CollisionPool, ldloc:BossAct01_AttackSwordEnergy(this), ldloc:EffectPool(Effect)); stfld:EffectPool(BossAct01_AttackSwordEnergy::g_CollisionWallPool, ldloc:BossAct01_AttackSwordEnergy(this), ldloc:EffectPool(WallEffect)); };
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: 0x060008A9 RID: 2217 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60008A9")]
[Address(RVA = "0x106FDD0", Offset = "0x106EDD0", VA = "0x18106FDD0")]
public void SetTarget(Vector3 Direction)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x060008AA RID: 2218 RVA: 0x000137D0 File Offset: 0x000119D0
[Token(Token = "0x60008AA")]
[Address(RVA = "0x9F9550", Offset = "0x9F8550", VA = "0x1809F9550")]
public void SetLife(float fLife)
{
this.g_fLife = fLife;
}
// Token: 0x060008AB RID: 2219 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x60008AB")]
[Address(RVA = "0x1070A60", Offset = "0x106FA60", VA = "0x181070A60")]
public BossAct01_AttackSwordEnergy()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x04000A41 RID: 2625
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000A41")]
private ParticleSystem g_PS;
// Token: 0x04000A42 RID: 2626
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000A42")]
private AttackData g_AData;
// Token: 0x04000A43 RID: 2627
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000A43")]
private Vector3 g_Direction;
// Token: 0x04000A44 RID: 2628
[FieldOffset(Offset = "0x34")]
[Token(Token = "0x4000A44")]
private Vector3 g_PrePosition;
// Token: 0x04000A45 RID: 2629
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000A45")]
protected bool g_bSceneCollision;
// Token: 0x04000A46 RID: 2630
[FieldOffset(Offset = "0x41")]
[Token(Token = "0x4000A46")]
protected bool g_bPlayerCollision;
// Token: 0x04000A47 RID: 2631
[FieldOffset(Offset = "0x44")]
[Token(Token = "0x4000A47")]
public float g_fSpeed;
// Token: 0x04000A48 RID: 2632
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x4000A48")]
public Vector3 g_v3Size;
// Token: 0x04000A49 RID: 2633
[FieldOffset(Offset = "0x54")]
[Token(Token = "0x4000A49")]
private float g_fLife;
// Token: 0x04000A4A RID: 2634
[FieldOffset(Offset = "0x58")]
[Token(Token = "0x4000A4A")]
protected LayerMask g_HitMask01;
// Token: 0x04000A4B RID: 2635
[FieldOffset(Offset = "0x5C")]
[Token(Token = "0x4000A4B")]
protected LayerMask g_HitMask02;
// Token: 0x04000A4C RID: 2636
[FieldOffset(Offset = "0x60")]
[Token(Token = "0x4000A4C")]
private EffectPool g_CollisionPool;
// Token: 0x04000A4D RID: 2637
[FieldOffset(Offset = "0x68")]
[Token(Token = "0x4000A4D")]
private EffectPool g_CollisionWallPool;
// Token: 0x04000A4E RID: 2638
[FieldOffset(Offset = "0x70")]
[Token(Token = "0x4000A4E")]
protected float g_fDeltaTime;
}