141 lines
6.2 KiB
C#
141 lines
6.2 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000B4 RID: 180
|
|
[Token(Token = "0x20000B4")]
|
|
public class BossAct01_AttackSwordEnergy : MonoBehaviour
|
|
{
|
|
// Token: 0x060007FE RID: 2046 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60007FE")]
|
|
[Address(RVA = "0x1397000", Offset = "0x1395800", VA = "0x181397000", Slot = "4")]
|
|
protected virtual void Start()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x060007FF RID: 2047 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x60007FF")]
|
|
[Address(RVA = "0x1397240", Offset = "0x1395A40", VA = "0x181397240", Slot = "5")]
|
|
protected virtual void Update()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000800 RID: 2048 RVA: 0x0001312C File Offset: 0x0001132C
|
|
[Token(Token = "0x6000800")]
|
|
[Address(RVA = "0x1396F80", Offset = "0x1395780", VA = "0x181396F80")]
|
|
public void SetCollisionEffect(EffectPool Effect, EffectPool WallEffect)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06000800)
|
|
|
|
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: 0x06000801 RID: 2049 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000801")]
|
|
[Address(RVA = "0x1396FC0", Offset = "0x13957C0", VA = "0x181396FC0")]
|
|
public void SetTarget(Vector3 Direction)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000802 RID: 2050 RVA: 0x00013148 File Offset: 0x00011348
|
|
[Token(Token = "0x6000802")]
|
|
[Address(RVA = "0x9E3AB0", Offset = "0x9E22B0", VA = "0x1809E3AB0")]
|
|
public void SetLife(float fLife)
|
|
{
|
|
this.g_fLife = fLife;
|
|
}
|
|
|
|
// Token: 0x06000803 RID: 2051 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000803")]
|
|
[Address(RVA = "0x1397C50", Offset = "0x1396450", VA = "0x181397C50")]
|
|
public BossAct01_AttackSwordEnergy()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x040009D2 RID: 2514
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40009D2")]
|
|
private ParticleSystem g_PS;
|
|
|
|
// Token: 0x040009D3 RID: 2515
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40009D3")]
|
|
private AttackData g_AData;
|
|
|
|
// Token: 0x040009D4 RID: 2516
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40009D4")]
|
|
private Vector3 g_Direction;
|
|
|
|
// Token: 0x040009D5 RID: 2517
|
|
[FieldOffset(Offset = "0x34")]
|
|
[Token(Token = "0x40009D5")]
|
|
private Vector3 g_PrePosition;
|
|
|
|
// Token: 0x040009D6 RID: 2518
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40009D6")]
|
|
protected bool g_bSceneCollision;
|
|
|
|
// Token: 0x040009D7 RID: 2519
|
|
[FieldOffset(Offset = "0x41")]
|
|
[Token(Token = "0x40009D7")]
|
|
protected bool g_bPlayerCollision;
|
|
|
|
// Token: 0x040009D8 RID: 2520
|
|
[FieldOffset(Offset = "0x44")]
|
|
[Token(Token = "0x40009D8")]
|
|
public float g_fSpeed;
|
|
|
|
// Token: 0x040009D9 RID: 2521
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x40009D9")]
|
|
public Vector3 g_v3Size;
|
|
|
|
// Token: 0x040009DA RID: 2522
|
|
[FieldOffset(Offset = "0x54")]
|
|
[Token(Token = "0x40009DA")]
|
|
private float g_fLife;
|
|
|
|
// Token: 0x040009DB RID: 2523
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x40009DB")]
|
|
protected LayerMask g_HitMask01;
|
|
|
|
// Token: 0x040009DC RID: 2524
|
|
[FieldOffset(Offset = "0x5C")]
|
|
[Token(Token = "0x40009DC")]
|
|
protected LayerMask g_HitMask02;
|
|
|
|
// Token: 0x040009DD RID: 2525
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x40009DD")]
|
|
private EffectPool g_CollisionPool;
|
|
|
|
// Token: 0x040009DE RID: 2526
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x40009DE")]
|
|
private EffectPool g_CollisionWallPool;
|
|
|
|
// Token: 0x040009DF RID: 2527
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x40009DF")]
|
|
protected float g_fDeltaTime;
|
|
}
|