899 lines
30 KiB
C#
899 lines
30 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using DigitalOpus.MB.Core;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x0200004B RID: 75
|
|
[Token(Token = "0x200004B")]
|
|
public class AI_BossLevel05 : AI_NPC
|
|
{
|
|
// Token: 0x06000254 RID: 596 RVA: 0x00007F7C File Offset: 0x0000617C
|
|
[Token(Token = "0x6000254")]
|
|
[Address(RVA = "0x158A480", Offset = "0x1589480", VA = "0x18158A480", Slot = "4")]
|
|
public override void Start(GameObject This, NPCManage NPCM)
|
|
{
|
|
base.Start(This, NPCM);
|
|
CharacterController controller = this.g_Move.controller;
|
|
this.g_CC = controller;
|
|
Animator component = Common.FindChild(this.g_This.transform, "Boss05_Face").GetComponent<Animator>();
|
|
this.g_AnimFace = component;
|
|
BossLevel05EffectPlay component2 = This.GetComponent<BossLevel05EffectPlay>();
|
|
this.g_Effect = component2;
|
|
BossLevel05EffectPlay bossLevel05EffectPlay = this.g_Effect;
|
|
MoveController g_Move = this.g_Move;
|
|
NPCManage g_NPCM = this.g_NPCM;
|
|
bossLevel05EffectPlay.InitData(g_NPCM, this, g_Move);
|
|
VoiceBoss04 component3 = This.GetComponent<VoiceBoss04>();
|
|
this.g_Voice = component3;
|
|
VoiceBoss04 voiceBoss = this.g_Voice;
|
|
Transform transform = Common.FindChild(This.transform, "Bip001 Head");
|
|
voiceBoss.InitData(transform);
|
|
MoveController g_Move2 = this.g_Move;
|
|
this.g_fDragRotation = 0.4f;
|
|
g_Move2.SetDragRotation(0.4f);
|
|
this.g_Move.SetDragMove(9f);
|
|
this.g_Move.gravity = 0f;
|
|
this.g_fVisionDistance = 200f;
|
|
this.g_fVisionAngle = 45f;
|
|
this.g_fWalkSpeed = 3f;
|
|
this.g_fRunSpeed = 6f;
|
|
this.g_fDashSpeed = 13.5f;
|
|
Shake shake = new Shake();
|
|
this.g_ShakeHead = shake;
|
|
Shake shake2 = this.g_ShakeHead;
|
|
Transform transform2 = Common.FindChild(This.transform, "Bip001 Head");
|
|
int num = 0;
|
|
shake2.Start(transform2, num != 0);
|
|
Shake shake3 = new Shake();
|
|
this.g_ShakeBody = shake3;
|
|
Shake shake4 = this.g_ShakeBody;
|
|
Transform transform3 = Common.FindChild(This.transform, "Bip001 Spine");
|
|
int num2 = 0;
|
|
shake4.Start(transform3, num2 != 0);
|
|
Shake shake5 = new Shake();
|
|
this.g_ShakeWeapon = shake5;
|
|
Shake shake6 = this.g_ShakeWeapon;
|
|
Transform transform4 = Common.FindChild(This.transform, "Bip001 R Hand");
|
|
int num3 = 0;
|
|
shake6.Start(transform4, num3 != 0);
|
|
Shake shake7 = new Shake();
|
|
this.g_ShakeAll = shake7;
|
|
Shake shake8 = this.g_ShakeAll;
|
|
Transform transform5 = Common.FindChild(This.transform, "Bip001");
|
|
int num4 = 0;
|
|
shake8.Start(transform5, num4 != 0);
|
|
this.g_Status = (AI_NPC.AIStatus)((ulong)17L);
|
|
}
|
|
|
|
// Token: 0x06000255 RID: 597 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000255")]
|
|
[Address(RVA = "0x158A8C0", Offset = "0x15898C0", VA = "0x18158A8C0", Slot = "5")]
|
|
public override void Update(float fDeltaTime)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000256 RID: 598 RVA: 0x0000818C File Offset: 0x0000638C
|
|
[Token(Token = "0x6000256")]
|
|
[Address(RVA = "0x1589DE0", Offset = "0x1588DE0", VA = "0x181589DE0", Slot = "6")]
|
|
public override void LateUpdate()
|
|
{
|
|
base..ctor();
|
|
this.g_ShakeHead.Update();
|
|
this.g_ShakeBody.Update();
|
|
this.g_ShakeWeapon.Update();
|
|
this.g_ShakeAll.Update();
|
|
}
|
|
|
|
// Token: 0x06000257 RID: 599 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000257")]
|
|
[Address(RVA = "0x1584B90", Offset = "0x1583B90", VA = "0x181584B90", Slot = "22")]
|
|
public override void Fighting()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000258 RID: 600 RVA: 0x000081D4 File Offset: 0x000063D4
|
|
[Token(Token = "0x6000258")]
|
|
[Address(RVA = "0x1584A40", Offset = "0x1583A40", VA = "0x181584A40", Slot = "38")]
|
|
protected virtual void EndFightStatus(AI_BossLevel05.AIFighting Status)
|
|
{
|
|
if (Status == AI_BossLevel05.AIFighting.Idle)
|
|
{
|
|
CharacterBaseData component = this.g_This.GetComponent<CharacterBaseData>();
|
|
Func<string> func = new Func(this.GetBossName);
|
|
Game.SetBossHP(component, func);
|
|
Game.sceneManager.SetBossDialogue(CombatDialogueType.Stage05Boss);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000259 RID: 601 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000259")]
|
|
[Address(RVA = "0x1586570", Offset = "0x1585570", VA = "0x181586570", Slot = "39")]
|
|
protected virtual void InitFightStatus(AI_BossLevel05.AIFighting Status)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600025A RID: 602 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600025A")]
|
|
[Address(RVA = "0x1582E00", Offset = "0x1581E00", VA = "0x181582E00", Slot = "40")]
|
|
protected virtual void AFightSelect()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600025B RID: 603 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600025B")]
|
|
[Address(RVA = "0x1585670", Offset = "0x1584670", VA = "0x181585670", Slot = "41")]
|
|
protected virtual float GetAttackRadius(AI_BossLevel05.AIFighting AF)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600025C RID: 604 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600025C")]
|
|
[Address(RVA = "0x15833E0", Offset = "0x15823E0", VA = "0x1815833E0", Slot = "42")]
|
|
protected virtual void AWatch()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600025D RID: 605 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600025D")]
|
|
[Address(RVA = "0x1582620", Offset = "0x1581620", VA = "0x181582620")]
|
|
protected void ADashStart()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600025E RID: 606 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600025E")]
|
|
[Address(RVA = "0x1582EE0", Offset = "0x1581EE0", VA = "0x181582EE0")]
|
|
protected void AMagic02DashStart()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600025F RID: 607 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600025F")]
|
|
[Address(RVA = "0x15827F0", Offset = "0x15817F0", VA = "0x1815827F0")]
|
|
protected void ADash()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000260 RID: 608 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000260")]
|
|
[Address(RVA = "0x1582210", Offset = "0x1581210", VA = "0x181582210")]
|
|
protected void ADashPlus()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000261 RID: 609 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000261")]
|
|
[Address(RVA = "0x1583080", Offset = "0x1582080", VA = "0x181583080")]
|
|
protected void AMagic02Dash()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000262 RID: 610 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000262")]
|
|
[Address(RVA = "0x1582070", Offset = "0x1581070", VA = "0x181582070")]
|
|
protected void ADashEnd()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000263 RID: 611 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000263")]
|
|
[Address(RVA = "0x1581AB0", Offset = "0x1580AB0", VA = "0x181581AB0")]
|
|
protected void AAttackDashBLoop()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000264 RID: 612 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000264")]
|
|
[Address(RVA = "0x15817E0", Offset = "0x15807E0", VA = "0x1815817E0")]
|
|
protected void AAttackDashB02()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000265 RID: 613 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000265")]
|
|
[Address(RVA = "0x1584680", Offset = "0x1583680", VA = "0x181584680")]
|
|
protected void AttackPenetrateLoop()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000266 RID: 614 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000266")]
|
|
[Address(RVA = "0x15844D0", Offset = "0x15834D0", VA = "0x1815844D0")]
|
|
protected void AttackPenetrateAgain()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000267 RID: 615 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000267")]
|
|
[Address(RVA = "0x1584450", Offset = "0x1583450", VA = "0x181584450")]
|
|
protected void AttackCannonLoop()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000268 RID: 616 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000268")]
|
|
[Address(RVA = "0x1581C10", Offset = "0x1580C10", VA = "0x181581C10")]
|
|
protected void AAttack()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000269 RID: 617 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000269")]
|
|
[Address(RVA = "0x1581270", Offset = "0x1580270", VA = "0x181581270")]
|
|
protected void AAttack0103()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600026A RID: 618 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600026A")]
|
|
[Address(RVA = "0x1581390", Offset = "0x1580390", VA = "0x181581390")]
|
|
protected void AAttack0203()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600026B RID: 619 RVA: 0x00008218 File Offset: 0x00006418
|
|
[Token(Token = "0x600026B")]
|
|
[Address(RVA = "0x1583D10", Offset = "0x1582D10", VA = "0x181583D10")]
|
|
protected void Attack03Start()
|
|
{
|
|
float g_fWaitTime = this.g_fWaitTime;
|
|
int num = 0;
|
|
if (g_fWaitTime <= (float)num)
|
|
{
|
|
this.InitFightStatus((AI_BossLevel05.AIFighting)((uint)23));
|
|
}
|
|
this.g_fWaitTime = g_fWaitTime;
|
|
float num2 = this.g_fAttackMove;
|
|
if (num2 <= (float)num)
|
|
{
|
|
float num3 = this.g_fAttackMove02;
|
|
if (num3 <= (float)num)
|
|
{
|
|
goto IL_118;
|
|
}
|
|
this.g_fAttackMove02 = num3;
|
|
Transform transform = this.g_This.transform;
|
|
int num4 = 0;
|
|
Vector3 up = Vector3.up;
|
|
int num5 = 0;
|
|
transform.Translate(num4, (Space)num5);
|
|
float num6 = this.g_fAttackJump;
|
|
int num7 = 0;
|
|
int num8 = 0;
|
|
float g_fDeltaTime = this.g_fDeltaTime;
|
|
if ((this.g_bPlus ? 1 : 0) != num7)
|
|
{
|
|
float num9 = g_fDeltaTime * 4.5f;
|
|
float num10 = Mathf.Lerp(num6, (float)num8, num9);
|
|
this.g_fAttackJump = num10;
|
|
}
|
|
float num11 = g_fDeltaTime * 1.8f;
|
|
float num12 = Mathf.Lerp(num6, (float)num8, num11);
|
|
this.g_fAttackJump = num12;
|
|
}
|
|
this.g_fAttackMove = num2;
|
|
this.g_Effect.PlayEffAttack03Jump();
|
|
int num14;
|
|
if (this.g_bPlus)
|
|
{
|
|
this.g_Effect.PlayEffDodgeLightningStart();
|
|
CharacterController characterController = this.g_CC;
|
|
int num13 = 0;
|
|
Vector3 up2 = Vector3.up;
|
|
CollisionFlags collisionFlags = characterController.Move(num13);
|
|
BossLevel05EffectPlay bossLevel05EffectPlay = this.g_Effect;
|
|
num14 = 0;
|
|
bossLevel05EffectPlay.PlayEffDodgeLightningEnd();
|
|
}
|
|
IL_118:
|
|
float num15 = this.g_fAttackRotate;
|
|
if (num15 > (float)num)
|
|
{
|
|
MoveController g_Move = this.g_Move;
|
|
this.g_fAttackRotate = num15;
|
|
float z = this.g_v3PlayerDirection.z;
|
|
g_Move.LookAt(num14);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600026C RID: 620 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600026C")]
|
|
[Address(RVA = "0x1583A50", Offset = "0x1582A50", VA = "0x181583A50", Slot = "43")]
|
|
protected virtual void Attack03Loop()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600026D RID: 621 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600026D")]
|
|
[Address(RVA = "0x15841E0", Offset = "0x15831E0", VA = "0x1815841E0", Slot = "44")]
|
|
protected virtual void Attack04Start()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600026E RID: 622 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600026E")]
|
|
[Address(RVA = "0x1583FF0", Offset = "0x1582FF0", VA = "0x181583FF0")]
|
|
protected void Attack04Loop()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600026F RID: 623 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600026F")]
|
|
[Address(RVA = "0x1581EE0", Offset = "0x1580EE0", VA = "0x181581EE0")]
|
|
protected void ACharge()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000270 RID: 624 RVA: 0x00008378 File Offset: 0x00006578
|
|
[Token(Token = "0x6000270")]
|
|
[Address(RVA = "0x1581F80", Offset = "0x1580F80", VA = "0x181581F80")]
|
|
protected void ADamage()
|
|
{
|
|
float g_fWaitTime = this.g_fWaitTime;
|
|
int num = 0;
|
|
if (g_fWaitTime <= (float)num)
|
|
{
|
|
if (!this.g_bPlus)
|
|
{
|
|
CharacterBaseData g_CharData = this.g_CharData;
|
|
if (g_CharData.g_fHPMax * 0.5f > g_CharData.g_fHP)
|
|
{
|
|
bool doUV = ((MB_IMeshBakerSettings)this).doUV6;
|
|
return;
|
|
}
|
|
}
|
|
bool doUV2 = ((MB_IMeshBakerSettings)this).doUV6;
|
|
return;
|
|
}
|
|
this.g_fWaitTime = g_fWaitTime;
|
|
}
|
|
|
|
// Token: 0x06000271 RID: 625 RVA: 0x000083F4 File Offset: 0x000065F4
|
|
[Token(Token = "0x6000271")]
|
|
[Address(RVA = "0x1584A00", Offset = "0x1583A00", VA = "0x181584A00")]
|
|
public void Dead()
|
|
{
|
|
float g_fWaitTime = this.g_fWaitTime;
|
|
int num = 0;
|
|
if (g_fWaitTime <= (float)num)
|
|
{
|
|
bool doUV = ((MB_IMeshBakerSettings)this).doUV6;
|
|
return;
|
|
}
|
|
this.g_fWaitTime = g_fWaitTime;
|
|
}
|
|
|
|
// Token: 0x06000272 RID: 626 RVA: 0x00008420 File Offset: 0x00006620
|
|
[Token(Token = "0x6000272")]
|
|
[Address(RVA = "0x15849C0", Offset = "0x15839C0", VA = "0x1815849C0")]
|
|
public void DeadLoop()
|
|
{
|
|
float g_fWaitTime = this.g_fWaitTime;
|
|
int num = 0;
|
|
if (g_fWaitTime <= (float)num)
|
|
{
|
|
bool doUV = ((MB_IMeshBakerSettings)this).doUV6;
|
|
return;
|
|
}
|
|
this.g_fWaitTime = g_fWaitTime;
|
|
}
|
|
|
|
// Token: 0x06000273 RID: 627 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000273")]
|
|
[Address(RVA = "0x15857A0", Offset = "0x15847A0", VA = "0x1815857A0", Slot = "33")]
|
|
public override void Hit(AttackData Data)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000274 RID: 628 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000274")]
|
|
[Address(RVA = "0x158A300", Offset = "0x1589300", VA = "0x18158A300")]
|
|
protected void SetLightningSpeedUp(float fTimeScaleLightning)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000275 RID: 629 RVA: 0x0000844C File Offset: 0x0000664C
|
|
[Token(Token = "0x6000275")]
|
|
[Address(RVA = "0x158A400", Offset = "0x1589400", VA = "0x18158A400", Slot = "35")]
|
|
public override void SetTimeScale(float fTimeScale)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06000275)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void AI_BossLevel05::SetTimeScale(System.Single)
|
|
|
|
---> System.ArgumentOutOfRangeException: Non-negative number required. (Parameter 'length')
|
|
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
|
|
at System.Array.Copy(Array sourceArray, Array destinationArray, Int32 length)
|
|
at ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackSlot.ModifyStack(StackSlot[] stack, Int32 popCount, Int32 pushCount, ByteCode pushDefinition) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstBuilder.cs:line 51
|
|
at ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackAnalysis(MethodDef methodDef) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstBuilder.cs:line 401
|
|
at ICSharpCode.Decompiler.ILAst.ILAstBuilder.Build(MethodDef methodDef, Boolean optimize, DecompilerContext context) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstBuilder.cs:line 276
|
|
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 112
|
|
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: 0x06000276 RID: 630 RVA: 0x000084A0 File Offset: 0x000066A0
|
|
[Token(Token = "0x6000276")]
|
|
[Address(RVA = "0x157FC50", Offset = "0x157EC50", VA = "0x18157FC50", Slot = "32")]
|
|
public override void Remove()
|
|
{
|
|
base..ctor();
|
|
GameObject g_This = this.g_This;
|
|
int num = 0;
|
|
g_This.SetActive(num != 0);
|
|
}
|
|
|
|
// Token: 0x06000277 RID: 631 RVA: 0x000084CC File Offset: 0x000066CC
|
|
[Token(Token = "0x6000277")]
|
|
[Address(RVA = "0x15848E0", Offset = "0x15838E0", VA = "0x1815848E0", Slot = "31")]
|
|
public override void Create()
|
|
{
|
|
base..ctor();
|
|
this.g_This.SetActive(true);
|
|
this.g_Effect.Create();
|
|
this.g_NPCM.SetLockPoint(true);
|
|
Animator g_Anim = this.g_Anim;
|
|
int num = 0;
|
|
g_Anim.Play("Debut", num);
|
|
Animator g_Anim2 = this.g_Anim;
|
|
this.g_fAniDebut = 0f;
|
|
int num2 = 0;
|
|
g_Anim2.SetFloat("fDebut", (float)num2);
|
|
this.g_iScriptStep = (int)((ulong)0L);
|
|
}
|
|
|
|
// Token: 0x06000278 RID: 632 RVA: 0x00008548 File Offset: 0x00006748
|
|
[Token(Token = "0x6000278")]
|
|
[Address(RVA = "0x157FC80", Offset = "0x157EC80", VA = "0x18157FC80", Slot = "30")]
|
|
public override void Resurrection()
|
|
{
|
|
base.Resurrection();
|
|
this.g_NPCM.SetLockPoint(true);
|
|
}
|
|
|
|
// Token: 0x06000279 RID: 633 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6000279")]
|
|
[Address(RVA = "0x1589E50", Offset = "0x1588E50", VA = "0x181589E50", Slot = "36")]
|
|
public override void SetAiStatus(AI_NPC.AIStatus Status)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600027A RID: 634 RVA: 0x00008570 File Offset: 0x00006770
|
|
[Token(Token = "0x600027A")]
|
|
[Address(RVA = "0x15856E0", Offset = "0x15846E0", VA = "0x1815856E0")]
|
|
protected string GetBossName()
|
|
{
|
|
return Game.<UISystemText>k__BackingField.GetText(405);
|
|
}
|
|
|
|
// Token: 0x0600027B RID: 635 RVA: 0x00008594 File Offset: 0x00006794
|
|
[Token(Token = "0x600027B")]
|
|
[Address(RVA = "0x1580370", Offset = "0x157F370", VA = "0x181580370", Slot = "37")]
|
|
public override void SetSpeakLayerWeight(bool bEnable, string Name = "")
|
|
{
|
|
Animator animator = this.g_AnimFace;
|
|
if (!bEnable)
|
|
{
|
|
int num = 0;
|
|
animator.SetLayerWeight(1, (float)num);
|
|
return;
|
|
}
|
|
animator.SetLayerWeight(1, 1f);
|
|
}
|
|
|
|
// Token: 0x0600027C RID: 636 RVA: 0x000085CC File Offset: 0x000067CC
|
|
[Token(Token = "0x600027C")]
|
|
[Address(RVA = "0x15848C0", Offset = "0x15838C0", VA = "0x1815848C0", Slot = "45")]
|
|
public virtual void ChngeWaitTime(float Value)
|
|
{
|
|
this.g_fWaitTime = Value;
|
|
}
|
|
|
|
// Token: 0x0600027D RID: 637 RVA: 0x000085E0 File Offset: 0x000067E0
|
|
[Token(Token = "0x600027D")]
|
|
[Address(RVA = "0x158B480", Offset = "0x158A480", VA = "0x18158B480")]
|
|
public AI_BossLevel05()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000301 RID: 769
|
|
[FieldOffset(Offset = "0x180")]
|
|
[Token(Token = "0x4000301")]
|
|
protected BossLevel05EffectPlay g_Effect;
|
|
|
|
// Token: 0x04000302 RID: 770
|
|
[FieldOffset(Offset = "0x188")]
|
|
[Token(Token = "0x4000302")]
|
|
protected VoiceBoss04 g_Voice;
|
|
|
|
// Token: 0x04000303 RID: 771
|
|
[FieldOffset(Offset = "0x190")]
|
|
[Token(Token = "0x4000303")]
|
|
protected Animator g_AnimFace;
|
|
|
|
// Token: 0x04000304 RID: 772
|
|
[FieldOffset(Offset = "0x198")]
|
|
[Token(Token = "0x4000304")]
|
|
protected CharacterController g_CC;
|
|
|
|
// Token: 0x04000305 RID: 773
|
|
[FieldOffset(Offset = "0x1A0")]
|
|
[Token(Token = "0x4000305")]
|
|
protected Vector3 g_v3PrePosition;
|
|
|
|
// Token: 0x04000306 RID: 774
|
|
[FieldOffset(Offset = "0x1AC")]
|
|
[Token(Token = "0x4000306")]
|
|
protected Vector3 g_v3PreForward;
|
|
|
|
// Token: 0x04000307 RID: 775
|
|
[FieldOffset(Offset = "0x1B8")]
|
|
[Token(Token = "0x4000307")]
|
|
protected float g_fAnifMoveHorizontal;
|
|
|
|
// Token: 0x04000308 RID: 776
|
|
[FieldOffset(Offset = "0x1BC")]
|
|
[Token(Token = "0x4000308")]
|
|
protected float g_fAnifMoveVertical;
|
|
|
|
// Token: 0x04000309 RID: 777
|
|
[FieldOffset(Offset = "0x1C0")]
|
|
[Token(Token = "0x4000309")]
|
|
protected float g_fAniTrunAngle;
|
|
|
|
// Token: 0x0400030A RID: 778
|
|
[FieldOffset(Offset = "0x1C4")]
|
|
[Token(Token = "0x400030A")]
|
|
protected float g_fAniDebut;
|
|
|
|
// Token: 0x0400030B RID: 779
|
|
[FieldOffset(Offset = "0x1C8")]
|
|
[Token(Token = "0x400030B")]
|
|
protected Shake g_ShakeHead;
|
|
|
|
// Token: 0x0400030C RID: 780
|
|
[FieldOffset(Offset = "0x1D0")]
|
|
[Token(Token = "0x400030C")]
|
|
protected Shake g_ShakeBody;
|
|
|
|
// Token: 0x0400030D RID: 781
|
|
[FieldOffset(Offset = "0x1D8")]
|
|
[Token(Token = "0x400030D")]
|
|
protected Shake g_ShakeWeapon;
|
|
|
|
// Token: 0x0400030E RID: 782
|
|
[FieldOffset(Offset = "0x1E0")]
|
|
[Token(Token = "0x400030E")]
|
|
protected Shake g_ShakeAll;
|
|
|
|
// Token: 0x0400030F RID: 783
|
|
[FieldOffset(Offset = "0x1E8")]
|
|
[Token(Token = "0x400030F")]
|
|
protected Vector3 g_v3DashDirection;
|
|
|
|
// Token: 0x04000310 RID: 784
|
|
[Token(Token = "0x4000310")]
|
|
protected const float g_fDashDistanceMax = 15f;
|
|
|
|
// Token: 0x04000311 RID: 785
|
|
[Token(Token = "0x4000311")]
|
|
protected const float g_fDashDistanceMin = 9f;
|
|
|
|
// Token: 0x04000312 RID: 786
|
|
[FieldOffset(Offset = "0x1F4")]
|
|
[Token(Token = "0x4000312")]
|
|
protected float g_fDashDistance;
|
|
|
|
// Token: 0x04000313 RID: 787
|
|
[FieldOffset(Offset = "0x1F8")]
|
|
[Token(Token = "0x4000313")]
|
|
protected bool g_bDashAttack;
|
|
|
|
// Token: 0x04000314 RID: 788
|
|
[Token(Token = "0x4000314")]
|
|
protected const int g_iAttackPenetrate = 3;
|
|
|
|
// Token: 0x04000315 RID: 789
|
|
[FieldOffset(Offset = "0x1FC")]
|
|
[Token(Token = "0x4000315")]
|
|
protected int g_iAttackPenetrateVal;
|
|
|
|
// Token: 0x04000316 RID: 790
|
|
[FieldOffset(Offset = "0x200")]
|
|
[Token(Token = "0x4000316")]
|
|
protected AI_BossLevel05.AIFighting g_Fighting = (AI_BossLevel05.AIFighting)((ulong)1L);
|
|
|
|
// Token: 0x04000317 RID: 791
|
|
[FieldOffset(Offset = "0x204")]
|
|
[Token(Token = "0x4000317")]
|
|
protected AI_BossLevel05.AIFighting g_NextFighting;
|
|
|
|
// Token: 0x04000318 RID: 792
|
|
[FieldOffset(Offset = "0x208")]
|
|
[Token(Token = "0x4000318")]
|
|
protected int g_iAWatchMoveDir;
|
|
|
|
// Token: 0x04000319 RID: 793
|
|
[FieldOffset(Offset = "0x20C")]
|
|
[Token(Token = "0x4000319")]
|
|
protected float g_fAttackMove;
|
|
|
|
// Token: 0x0400031A RID: 794
|
|
[FieldOffset(Offset = "0x210")]
|
|
[Token(Token = "0x400031A")]
|
|
protected float g_fAttackMove02;
|
|
|
|
// Token: 0x0400031B RID: 795
|
|
[FieldOffset(Offset = "0x214")]
|
|
[Token(Token = "0x400031B")]
|
|
protected float g_fAttackMoveSpeed;
|
|
|
|
// Token: 0x0400031C RID: 796
|
|
[FieldOffset(Offset = "0x218")]
|
|
[Token(Token = "0x400031C")]
|
|
protected float g_fAttackRotate;
|
|
|
|
// Token: 0x0400031D RID: 797
|
|
[FieldOffset(Offset = "0x21C")]
|
|
[Token(Token = "0x400031D")]
|
|
protected float g_fAttackCombo;
|
|
|
|
// Token: 0x0400031E RID: 798
|
|
[FieldOffset(Offset = "0x220")]
|
|
[Token(Token = "0x400031E")]
|
|
protected float g_fAttackJump;
|
|
|
|
// Token: 0x0400031F RID: 799
|
|
[FieldOffset(Offset = "0x224")]
|
|
[Token(Token = "0x400031F")]
|
|
protected float g_fPlayerChargeShot;
|
|
|
|
// Token: 0x04000320 RID: 800
|
|
[FieldOffset(Offset = "0x228")]
|
|
[Token(Token = "0x4000320")]
|
|
protected float g_fTyrantsTime;
|
|
|
|
// Token: 0x04000321 RID: 801
|
|
[FieldOffset(Offset = "0x22C")]
|
|
[Token(Token = "0x4000321")]
|
|
protected bool g_bDebut;
|
|
|
|
// Token: 0x04000322 RID: 802
|
|
[FieldOffset(Offset = "0x22D")]
|
|
[Token(Token = "0x4000322")]
|
|
protected bool g_bPlus;
|
|
|
|
// Token: 0x04000323 RID: 803
|
|
[FieldOffset(Offset = "0x22E")]
|
|
[Token(Token = "0x4000323")]
|
|
protected bool g_bLightningModeFirst = true;
|
|
|
|
// Token: 0x04000324 RID: 804
|
|
[FieldOffset(Offset = "0x230")]
|
|
[Token(Token = "0x4000324")]
|
|
protected int g_iPlusMove;
|
|
|
|
// Token: 0x04000325 RID: 805
|
|
[FieldOffset(Offset = "0x234")]
|
|
[Token(Token = "0x4000325")]
|
|
protected float g_fWorldTimeDeltaTime = 1f;
|
|
|
|
// Token: 0x04000326 RID: 806
|
|
[FieldOffset(Offset = "0x238")]
|
|
[Token(Token = "0x4000326")]
|
|
protected float g_fTimeScaleLightningVal = 1f;
|
|
|
|
// Token: 0x04000327 RID: 807
|
|
[Token(Token = "0x4000327")]
|
|
protected const float g_fLightningModeReciprocal = 3f;
|
|
|
|
// Token: 0x04000328 RID: 808
|
|
[FieldOffset(Offset = "0x23C")]
|
|
[Token(Token = "0x4000328")]
|
|
protected float g_fLightningModeReciprocalVal;
|
|
|
|
// Token: 0x04000329 RID: 809
|
|
[FieldOffset(Offset = "0x240")]
|
|
[Token(Token = "0x4000329")]
|
|
protected int g_iScriptStep;
|
|
|
|
// Token: 0x0200004C RID: 76
|
|
[Token(Token = "0x200004C")]
|
|
protected enum AIFighting
|
|
{
|
|
// Token: 0x0400032B RID: 811
|
|
[Token(Token = "0x400032B")]
|
|
Null,
|
|
// Token: 0x0400032C RID: 812
|
|
[Token(Token = "0x400032C")]
|
|
Idle,
|
|
// Token: 0x0400032D RID: 813
|
|
[Token(Token = "0x400032D")]
|
|
AWatch,
|
|
// Token: 0x0400032E RID: 814
|
|
[Token(Token = "0x400032E")]
|
|
DashStart,
|
|
// Token: 0x0400032F RID: 815
|
|
[Token(Token = "0x400032F")]
|
|
Dash,
|
|
// Token: 0x04000330 RID: 816
|
|
[Token(Token = "0x4000330")]
|
|
DashEnd,
|
|
// Token: 0x04000331 RID: 817
|
|
[Token(Token = "0x4000331")]
|
|
DamageF,
|
|
// Token: 0x04000332 RID: 818
|
|
[Token(Token = "0x4000332")]
|
|
DamageU,
|
|
// Token: 0x04000333 RID: 819
|
|
[Token(Token = "0x4000333")]
|
|
DamageB,
|
|
// Token: 0x04000334 RID: 820
|
|
[Token(Token = "0x4000334")]
|
|
DamageL,
|
|
// Token: 0x04000335 RID: 821
|
|
[Token(Token = "0x4000335")]
|
|
DamageR,
|
|
// Token: 0x04000336 RID: 822
|
|
[Token(Token = "0x4000336")]
|
|
DamageFly,
|
|
// Token: 0x04000337 RID: 823
|
|
[Token(Token = "0x4000337")]
|
|
Defense,
|
|
// Token: 0x04000338 RID: 824
|
|
[Token(Token = "0x4000338")]
|
|
Death,
|
|
// Token: 0x04000339 RID: 825
|
|
[Token(Token = "0x4000339")]
|
|
DeathLoop,
|
|
// Token: 0x0400033A RID: 826
|
|
[Token(Token = "0x400033A")]
|
|
End,
|
|
// Token: 0x0400033B RID: 827
|
|
[Token(Token = "0x400033B")]
|
|
Attack0101,
|
|
// Token: 0x0400033C RID: 828
|
|
[Token(Token = "0x400033C")]
|
|
Attack0102,
|
|
// Token: 0x0400033D RID: 829
|
|
[Token(Token = "0x400033D")]
|
|
Attack0103,
|
|
// Token: 0x0400033E RID: 830
|
|
[Token(Token = "0x400033E")]
|
|
Attack0201,
|
|
// Token: 0x0400033F RID: 831
|
|
[Token(Token = "0x400033F")]
|
|
Attack0202,
|
|
// Token: 0x04000340 RID: 832
|
|
[Token(Token = "0x4000340")]
|
|
Attack0203,
|
|
// Token: 0x04000341 RID: 833
|
|
[Token(Token = "0x4000341")]
|
|
Attack03Start,
|
|
// Token: 0x04000342 RID: 834
|
|
[Token(Token = "0x4000342")]
|
|
Attack03Loop,
|
|
// Token: 0x04000343 RID: 835
|
|
[Token(Token = "0x4000343")]
|
|
Attack03End,
|
|
// Token: 0x04000344 RID: 836
|
|
[Token(Token = "0x4000344")]
|
|
Attack04Start,
|
|
// Token: 0x04000345 RID: 837
|
|
[Token(Token = "0x4000345")]
|
|
Attack04Loop,
|
|
// Token: 0x04000346 RID: 838
|
|
[Token(Token = "0x4000346")]
|
|
Attack04End,
|
|
// Token: 0x04000347 RID: 839
|
|
[Token(Token = "0x4000347")]
|
|
AttackDashL,
|
|
// Token: 0x04000348 RID: 840
|
|
[Token(Token = "0x4000348")]
|
|
AttackDashR,
|
|
// Token: 0x04000349 RID: 841
|
|
[Token(Token = "0x4000349")]
|
|
AttackDashBStart,
|
|
// Token: 0x0400034A RID: 842
|
|
[Token(Token = "0x400034A")]
|
|
AttackDashBLoop,
|
|
// Token: 0x0400034B RID: 843
|
|
[Token(Token = "0x400034B")]
|
|
AttackDashB,
|
|
// Token: 0x0400034C RID: 844
|
|
[Token(Token = "0x400034C")]
|
|
AttackDashB02,
|
|
// Token: 0x0400034D RID: 845
|
|
[Token(Token = "0x400034D")]
|
|
AttackPenetrateStart,
|
|
// Token: 0x0400034E RID: 846
|
|
[Token(Token = "0x400034E")]
|
|
AttackPenetrateLoop,
|
|
// Token: 0x0400034F RID: 847
|
|
[Token(Token = "0x400034F")]
|
|
AttackPenetrateEnd,
|
|
// Token: 0x04000350 RID: 848
|
|
[Token(Token = "0x4000350")]
|
|
AttackPenetrateAgain,
|
|
// Token: 0x04000351 RID: 849
|
|
[Token(Token = "0x4000351")]
|
|
AttackCannonStart,
|
|
// Token: 0x04000352 RID: 850
|
|
[Token(Token = "0x4000352")]
|
|
AttackCannonLoop,
|
|
// Token: 0x04000353 RID: 851
|
|
[Token(Token = "0x4000353")]
|
|
AttackCannonEnd,
|
|
// Token: 0x04000354 RID: 852
|
|
[Token(Token = "0x4000354")]
|
|
AttackMagic02,
|
|
// Token: 0x04000355 RID: 853
|
|
[Token(Token = "0x4000355")]
|
|
AttackMagic02DashStart,
|
|
// Token: 0x04000356 RID: 854
|
|
[Token(Token = "0x4000356")]
|
|
AttackMagic02Dash,
|
|
// Token: 0x04000357 RID: 855
|
|
[Token(Token = "0x4000357")]
|
|
Charge,
|
|
// Token: 0x04000358 RID: 856
|
|
[Token(Token = "0x4000358")]
|
|
ChargeEnd,
|
|
// Token: 0x04000359 RID: 857
|
|
[Token(Token = "0x4000359")]
|
|
BR_Attack0102,
|
|
// Token: 0x0400035A RID: 858
|
|
[Token(Token = "0x400035A")]
|
|
BR_Attack_0202Start,
|
|
// Token: 0x0400035B RID: 859
|
|
[Token(Token = "0x400035B")]
|
|
BR_Attack0202Loop,
|
|
// Token: 0x0400035C RID: 860
|
|
[Token(Token = "0x400035C")]
|
|
BR_Attack0202End,
|
|
// Token: 0x0400035D RID: 861
|
|
[Token(Token = "0x400035D")]
|
|
BR_AttackRotateStart,
|
|
// Token: 0x0400035E RID: 862
|
|
[Token(Token = "0x400035E")]
|
|
BR_AttackRotateLoop,
|
|
// Token: 0x0400035F RID: 863
|
|
[Token(Token = "0x400035F")]
|
|
BR_AttackRotateEnd,
|
|
// Token: 0x04000360 RID: 864
|
|
[Token(Token = "0x4000360")]
|
|
BR_AttackRotateEndPlus
|
|
}
|
|
}
|