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

118 lines
3.5 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
// Token: 0x0200007F RID: 127
[Token(Token = "0x200007F")]
public class AI_GhostD_Red : AI_GhostD
{
// Token: 0x06000537 RID: 1335 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6000537")]
[Address(RVA = "0x17740F0", Offset = "0x17728F0", VA = "0x1817740F0", Slot = "38")]
protected override void Move()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06000538 RID: 1336 RVA: 0x0000D064 File Offset: 0x0000B264
[Token(Token = "0x6000538")]
[Address(RVA = "0x1773EC0", Offset = "0x17726C0", VA = "0x181773EC0", Slot = "40")]
protected override void InitFightingType(AI_GhostD.AIFighting Type)
{
this.g_Move.SetDragMove(6f);
WizardGirlManage g_WM = this.g_WM;
this.g_Fightting = Type;
if (!g_WM.GetIsDead() && Game.sceneManager.stageState != SceneManager.GameState.Script)
{
AI_GhostD.AIFighting g_Fightting = this.g_Fightting;
if (g_Fightting == AI_GhostD.AIFighting.WatchFirst)
{
this.g_fWaitTime = 0f;
this.g_fTrackTime = 30f;
return;
}
if (g_Fightting != AI_GhostD.AIFighting.WatchFirst)
{
if (g_Fightting != AI_GhostD.AIFighting.WatchFirst)
{
if (g_Fightting == AI_GhostD.AIFighting.Watch)
{
GhostDEffectPlay g_Effect = this.g_Effect;
this.g_fWaitTime = 1.8f;
g_Effect.StopAllEffect();
Animator g_Anim = this.g_Anim;
int num = 0;
int num2 = 0;
g_Anim.CrossFade("GhosDDash", 0.03f, num2, (float)num);
this.g_fDashReadyTime = 1.26f;
}
return;
}
GhostDEffectPlay g_Effect2 = this.g_Effect;
this.g_fWaitTime = 0.9f;
this.g_fAttackTips = 0f;
g_Effect2.PlayEffectCharge();
return;
}
}
else
{
this.g_Fightting = (AI_GhostD.AIFighting)((ulong)1L);
}
float num3 = UnityEngine.Random.Range(2.7f, 3.6f);
this.g_fWaitTime = num3;
this.g_fTrackTime = 15f;
}
// Token: 0x06000539 RID: 1337 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6000539")]
[Address(RVA = "0x1773600", Offset = "0x1771E00", VA = "0x181773600", Slot = "41")]
protected override void FightShot()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600053A RID: 1338 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x600053A")]
[Address(RVA = "0x1773770", Offset = "0x1771F70", VA = "0x181773770", Slot = "33")]
public override void Hit(AttackData Data)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600053B RID: 1339 RVA: 0x0000D184 File Offset: 0x0000B384
[Token(Token = "0x600053B")]
[Address(RVA = "0x1772C90", Offset = "0x1771490", VA = "0x181772C90")]
public AI_GhostD_Red()
{
this.g_fAttackRadius = 5f;
this.g_fMoveVal = 1f;
this.g_Fightting = (AI_GhostD.AIFighting)((ulong)1L);
base..ctor();
}
// Token: 0x04000603 RID: 1539
[FieldOffset(Offset = "0x1E0")]
[Token(Token = "0x4000603")]
private float g_fDashReadyTime;
// Token: 0x04000604 RID: 1540
[Token(Token = "0x4000604")]
private const float g_fDashMoveSpeed = 120f;
// Token: 0x04000605 RID: 1541
[FieldOffset(Offset = "0x1E4")]
[Token(Token = "0x4000605")]
private float g_fDashMoveSpeedVal;
// Token: 0x04000606 RID: 1542
[FieldOffset(Offset = "0x1E8")]
[Token(Token = "0x4000606")]
private Vector3 g_v3DashDirection;
// Token: 0x04000607 RID: 1543
[FieldOffset(Offset = "0x1F4")]
[Token(Token = "0x4000607")]
private bool g_bDashAttack;
}