scripts
This commit is contained in:
@@ -0,0 +1,754 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using Photon.Pun;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Core.AI
|
||||
{
|
||||
// Token: 0x02002E36 RID: 11830
|
||||
[Token(Token = "0x2002E36")]
|
||||
[StructLayout(3)]
|
||||
public class EnemyAnimator : MonoBehaviour
|
||||
{
|
||||
// Token: 0x170038E0 RID: 14560
|
||||
// (set) Token: 0x06015351 RID: 86865 RVA: 0x00519CEC File Offset: 0x00517EEC
|
||||
[Token(Token = "0x170038E0")]
|
||||
public bool LBNBKGMIILG
|
||||
{
|
||||
[Token(Token = "0x6015351")]
|
||||
[Address(RVA = "0x1B6B510", Offset = "0x1B69F10", VA = "0x181B6B510")]
|
||||
set
|
||||
{
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator = this.animator;
|
||||
int abbpfjmnkal = EnemyAnimator.ABBPFJMNKAL;
|
||||
animator.SetBool(abbpfjmnkal, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170038E1 RID: 14561
|
||||
// (set) Token: 0x06015352 RID: 86866 RVA: 0x00519D20 File Offset: 0x00517F20
|
||||
[Token(Token = "0x170038E1")]
|
||||
public bool ICDINHNADIH
|
||||
{
|
||||
[Token(Token = "0x6015352")]
|
||||
[Address(RVA = "0x1B6B2A0", Offset = "0x1B69CA0", VA = "0x181B6B2A0")]
|
||||
set
|
||||
{
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator = this.animator;
|
||||
int cmlafhgjddg = EnemyAnimator.CMLAFHGJDDG;
|
||||
animator.SetBool(cmlafhgjddg, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170038E2 RID: 14562
|
||||
// (set) Token: 0x06015353 RID: 86867 RVA: 0x00519D54 File Offset: 0x00517F54
|
||||
[Token(Token = "0x170038E2")]
|
||||
public bool AMCLDGIHFOA
|
||||
{
|
||||
[Token(Token = "0x6015353")]
|
||||
[Address(RVA = "0x1B6B5A0", Offset = "0x1B69FA0", VA = "0x181B6B5A0")]
|
||||
set
|
||||
{
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator = this.animator;
|
||||
int mopliipnjac = EnemyAnimator.MOPLIIPNJAC;
|
||||
animator.SetBool(mopliipnjac, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170038E3 RID: 14563
|
||||
// (set) Token: 0x06015354 RID: 86868 RVA: 0x00519D88 File Offset: 0x00517F88
|
||||
[Token(Token = "0x170038E3")]
|
||||
public bool DLJEPKIILPO
|
||||
{
|
||||
[Token(Token = "0x6015354")]
|
||||
[Address(RVA = "0x1B6B480", Offset = "0x1B69E80", VA = "0x181B6B480")]
|
||||
set
|
||||
{
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator = this.animator;
|
||||
int feijkchcfmo = EnemyAnimator.FEIJKCHCFMO;
|
||||
animator.SetBool(feijkchcfmo, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170038E4 RID: 14564
|
||||
// (set) Token: 0x06015355 RID: 86869 RVA: 0x00519DBC File Offset: 0x00517FBC
|
||||
[Token(Token = "0x170038E4")]
|
||||
public EnemyAnimator.JKIPIGKPAOO OBNDIKHDOAI
|
||||
{
|
||||
[Token(Token = "0x6015355")]
|
||||
[Address(RVA = "0x1B6B7D0", Offset = "0x1B6A1D0", VA = "0x181B6B7D0")]
|
||||
set
|
||||
{
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator = this.animator;
|
||||
Animator animator2 = this.animator;
|
||||
int jiadgbjbnon = EnemyAnimator.JIADGBJBNON;
|
||||
animator2.SetInteger(jiadgbjbnon, (int)value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170038E5 RID: 14565
|
||||
// (set) Token: 0x06015356 RID: 86870 RVA: 0x00519DF8 File Offset: 0x00517FF8
|
||||
[Token(Token = "0x170038E5")]
|
||||
public EnemyAnimator.LFFPOPKIFFI JNJKLGMMBHA
|
||||
{
|
||||
[Token(Token = "0x6015356")]
|
||||
[Address(RVA = "0x1B6B890", Offset = "0x1B6A290", VA = "0x181B6B890")]
|
||||
set
|
||||
{
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator = this.animator;
|
||||
int jlfdckkegjp = EnemyAnimator.JLFDCKKEGJP;
|
||||
animator.SetInteger(jlfdckkegjp, (int)value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170038E6 RID: 14566
|
||||
// (set) Token: 0x06015357 RID: 86871 RVA: 0x00519E2C File Offset: 0x0051802C
|
||||
[Token(Token = "0x170038E6")]
|
||||
public EnemyAnimator.NDICCLAHNFC BIJAKFGKKCI
|
||||
{
|
||||
[Token(Token = "0x6015357")]
|
||||
[Address(RVA = "0x1B6B710", Offset = "0x1B6A110", VA = "0x181B6B710")]
|
||||
set
|
||||
{
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator = this.animator;
|
||||
Animator animator2 = this.animator;
|
||||
int ififgioajoj = EnemyAnimator.IFIFGIOAJOJ;
|
||||
animator2.SetInteger(ififgioajoj, (int)value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170038E7 RID: 14567
|
||||
// (set) Token: 0x06015358 RID: 86872 RVA: 0x00519E68 File Offset: 0x00518068
|
||||
[Token(Token = "0x170038E7")]
|
||||
public bool KAPLCJDFAMJ
|
||||
{
|
||||
[Token(Token = "0x6015358")]
|
||||
[Address(RVA = "0x1B6B330", Offset = "0x1B69D30", VA = "0x181B6B330")]
|
||||
set
|
||||
{
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator = this.animator;
|
||||
int lkbipblehon = EnemyAnimator.LKBIPBLEHON;
|
||||
animator.SetBool(lkbipblehon, value);
|
||||
if (value)
|
||||
{
|
||||
Animator animator2 = this.animator;
|
||||
int eapljjelpka = this.EAPLJJELPKA;
|
||||
int loagmlpkmna = EnemyAnimator.LOAGMLPKMNA;
|
||||
animator2.SetInteger(loagmlpkmna, eapljjelpka);
|
||||
Animator animator3 = this.animator;
|
||||
int bkgmeffekeb = EnemyAnimator.BKGMEFFEKEB;
|
||||
animator3.SetTrigger(bkgmeffekeb);
|
||||
int num = this.blockVariantCount;
|
||||
if (num > 1)
|
||||
{
|
||||
int num2 = global::UnityEngine.Random.Range(0, num);
|
||||
this.EAPLJJELPKA = num;
|
||||
return;
|
||||
}
|
||||
int eapljjelpka2 = this.EAPLJJELPKA;
|
||||
this.EAPLJJELPKA = eapljjelpka2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170038E8 RID: 14568
|
||||
// (set) Token: 0x06015359 RID: 86873 RVA: 0x00519F08 File Offset: 0x00518108
|
||||
[Token(Token = "0x170038E8")]
|
||||
public bool LBGOAHJFKDK
|
||||
{
|
||||
[Token(Token = "0x6015359")]
|
||||
[Address(RVA = "0x1B6B650", Offset = "0x1B6A050", VA = "0x181B6B650")]
|
||||
set
|
||||
{
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator = this.animator;
|
||||
Animator animator2 = this.animator;
|
||||
int oghgfihlcge = EnemyAnimator.OGHGFIHLCGE;
|
||||
animator2.SetBool(oghgfihlcge, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0601535A RID: 86874 RVA: 0x00519F40 File Offset: 0x00518140
|
||||
[Token(Token = "0x601535A")]
|
||||
[Address(RVA = "0x1B6AEA0", Offset = "0x1B698A0", VA = "0x181B6AEA0")]
|
||||
public void StartStun(bool EKLHIHKMMDA)
|
||||
{
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator = this.animator;
|
||||
int gaaancbdjeo = EnemyAnimator.GAAANCBDJEO;
|
||||
animator.SetBool(gaaancbdjeo, EKLHIHKMMDA);
|
||||
Animator animator2 = this.animator;
|
||||
int fpfpfieafil = EnemyAnimator.FPFPFIEAFIL;
|
||||
animator2.SetBool(fpfpfieafil, EKLHIHKMMDA);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0601535B RID: 86875 RVA: 0x00519F88 File Offset: 0x00518188
|
||||
[Token(Token = "0x601535B")]
|
||||
[Address(RVA = "0x1B6AF60", Offset = "0x1B69960", VA = "0x181B6AF60")]
|
||||
public void StopStun()
|
||||
{
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator = this.animator;
|
||||
int num = 0;
|
||||
int gaaancbdjeo = EnemyAnimator.GAAANCBDJEO;
|
||||
animator.SetBool(gaaancbdjeo, num != 0);
|
||||
Animator animator2 = this.animator;
|
||||
int num2 = 0;
|
||||
int fpfpfieafil = EnemyAnimator.FPFPFIEAFIL;
|
||||
animator2.SetBool(fpfpfieafil, num2 != 0);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0601535C RID: 86876 RVA: 0x00519FD8 File Offset: 0x005181D8
|
||||
[Token(Token = "0x601535C")]
|
||||
[Address(RVA = "0x1B6AD60", Offset = "0x1B69760", VA = "0x181B6AD60")]
|
||||
public void PlayRangedAttack()
|
||||
{
|
||||
Animator animator = this.animator;
|
||||
int num = 0;
|
||||
if (animator != num)
|
||||
{
|
||||
Animator animator2 = this.animator;
|
||||
int boblhmjjnja = EnemyAnimator.BOBLHMJJNJA;
|
||||
animator2.SetTrigger(boblhmjjnja);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0601535D RID: 86877 RVA: 0x0051A014 File Offset: 0x00518214
|
||||
[Token(Token = "0x601535D")]
|
||||
[Address(RVA = "0x1B6AC80", Offset = "0x1B69680", VA = "0x181B6AC80")]
|
||||
public void PlayMeleeAttack()
|
||||
{
|
||||
Animator animator = this.animator;
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
if (animator != num2)
|
||||
{
|
||||
Animator animator2 = this.animator;
|
||||
int kobkinkhcon = EnemyAnimator.KOBKINKHCON;
|
||||
animator2.SetFloat(kobkinkhcon, (float)num);
|
||||
Animator animator3 = this.animator;
|
||||
int pheemmgfgmg = EnemyAnimator.PHEEMMGFGMG;
|
||||
animator3.SetTrigger(pheemmgfgmg);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0601535E RID: 86878 RVA: 0x0051A06C File Offset: 0x0051826C
|
||||
[Token(Token = "0x601535E")]
|
||||
[Address(RVA = "0x1B6ABF0", Offset = "0x1B695F0", VA = "0x181B6ABF0")]
|
||||
public void PlayDeath()
|
||||
{
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator = this.animator;
|
||||
int fmdkbanaijg = EnemyAnimator.FMDKBANAIJG;
|
||||
animator.SetTrigger(fmdkbanaijg);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0601535F RID: 86879 RVA: 0x0051A0A0 File Offset: 0x005182A0
|
||||
[Token(Token = "0x601535F")]
|
||||
[Address(RVA = "0x1B6A2A0", Offset = "0x1B68CA0", VA = "0x181B6A2A0")]
|
||||
private void Awake()
|
||||
{
|
||||
Animator animator = this.animator;
|
||||
int num = 0;
|
||||
bool flag = animator != num;
|
||||
this.MBGKKAEIJGB = flag;
|
||||
if (flag)
|
||||
{
|
||||
int num2 = this.blockVariantCount;
|
||||
if (num2 > 1)
|
||||
{
|
||||
int num3 = global::UnityEngine.Random.Range(0, num2);
|
||||
this.EAPLJJELPKA = num3;
|
||||
}
|
||||
int num4 = this.meleeAttackVariantCount;
|
||||
if (num4 > 1)
|
||||
{
|
||||
int num5 = global::UnityEngine.Random.Range(0, num4);
|
||||
int num6 = this.meleeAttackVariantCount;
|
||||
int num7 = 0;
|
||||
int num8 = Mathf.Clamp(num5, num7, num6);
|
||||
this.OJDBJEAGBGA = num8;
|
||||
}
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator2 = this.animator;
|
||||
bool flag2 = this.isAlwaysMoving;
|
||||
int mopliipnjac = EnemyAnimator.MOPLIIPNJAC;
|
||||
animator2.SetBool(mopliipnjac, flag2);
|
||||
}
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator3 = this.animator;
|
||||
int num9 = 0;
|
||||
int cmlafhgjddg = EnemyAnimator.CMLAFHGJDDG;
|
||||
animator3.SetBool(cmlafhgjddg, num9 != 0);
|
||||
}
|
||||
int num10;
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator4 = this.animator;
|
||||
num10 = 0;
|
||||
int feijkchcfmo = EnemyAnimator.FEIJKCHCFMO;
|
||||
animator4.SetBool(feijkchcfmo, num10 != 0);
|
||||
}
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator5 = this.animator;
|
||||
int kobkinkhcon = EnemyAnimator.KOBKINKHCON;
|
||||
animator5.SetFloat(kobkinkhcon, (float)num10);
|
||||
Animator animator6 = this.animator;
|
||||
int num11 = 0;
|
||||
int oghgfihlcge = EnemyAnimator.OGHGFIHLCGE;
|
||||
animator6.SetBool(oghgfihlcge, num11 != 0);
|
||||
}
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator7 = this.animator;
|
||||
int num12 = 0;
|
||||
int lkbipblehon = EnemyAnimator.LKBIPBLEHON;
|
||||
animator7.SetBool(lkbipblehon, num12 != 0);
|
||||
}
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator8 = this.animator;
|
||||
int num13 = 0;
|
||||
int gaaancbdjeo = EnemyAnimator.GAAANCBDJEO;
|
||||
animator8.SetBool(gaaancbdjeo, num13 != 0);
|
||||
Animator animator9 = this.animator;
|
||||
int num14 = 0;
|
||||
int fpfpfieafil = EnemyAnimator.FPFPFIEAFIL;
|
||||
animator9.SetBool(fpfpfieafil, num14 != 0);
|
||||
}
|
||||
Animator animator10 = this.animator;
|
||||
bool flag3 = this.patrolHasTransition;
|
||||
int ciiompjibim = EnemyAnimator.CIIOMPJIBIM;
|
||||
animator10.SetBool(ciiompjibim, flag3);
|
||||
int num15;
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator11 = this.animator;
|
||||
int kobkinkhcon2 = EnemyAnimator.KOBKINKHCON;
|
||||
animator11.SetFloat(kobkinkhcon2, flag3);
|
||||
Animator animator12 = this.animator;
|
||||
num15 = 0;
|
||||
int ififgioajoj = EnemyAnimator.IFIFGIOAJOJ;
|
||||
animator12.SetInteger(ififgioajoj, num15);
|
||||
}
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator13 = this.animator;
|
||||
int kobkinkhcon3 = EnemyAnimator.KOBKINKHCON;
|
||||
animator13.SetFloat(kobkinkhcon3, (float)num15);
|
||||
Animator animator14 = this.animator;
|
||||
int num16 = 0;
|
||||
int jiadgbjbnon = EnemyAnimator.JIADGBJBNON;
|
||||
animator14.SetInteger(jiadgbjbnon, num16);
|
||||
}
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator15 = this.animator;
|
||||
int num17 = 0;
|
||||
int jlfdckkegjp = EnemyAnimator.JLFDCKKEGJP;
|
||||
animator15.SetInteger(jlfdckkegjp, num17);
|
||||
}
|
||||
PhotonView photonView = this.enemy.photonView;
|
||||
Action<int> action = new Action(this.BKGAGNPKJEA);
|
||||
photonView.OwnerChangedEvent -= action;
|
||||
if (this.FPFPFIEAFIL == 20)
|
||||
{
|
||||
PhotonView photonView2 = this.enemy.photonView;
|
||||
Action<int> action2 = new Action(this.BKGAGNPKJEA);
|
||||
photonView2.OwnerChangedEvent += action2;
|
||||
}
|
||||
this.NCPCFHLFGCO();
|
||||
return;
|
||||
}
|
||||
Debug.LogWarning(base.name + " does not have a Unity Animator Component");
|
||||
}
|
||||
|
||||
// Token: 0x06015360 RID: 86880 RVA: 0x0051A384 File Offset: 0x00518584
|
||||
[Token(Token = "0x6015360")]
|
||||
[Address(RVA = "0x1B6ABC0", Offset = "0x1B695C0", VA = "0x181B6ABC0")]
|
||||
private void OnDisable()
|
||||
{
|
||||
if (this.IFIFGIOAJOJ != 0)
|
||||
{
|
||||
Animator animator = this.animator;
|
||||
int num = 0;
|
||||
animator.enabled = num != 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06015361 RID: 86881 RVA: 0x0051A3B4 File Offset: 0x005185B4
|
||||
[Token(Token = "0x6015361")]
|
||||
[Address(RVA = "0x1B6B010", Offset = "0x1B69A10", VA = "0x181B6B010")]
|
||||
private void Update()
|
||||
{
|
||||
if (this.IFIFGIOAJOJ == 0)
|
||||
{
|
||||
int num = 0;
|
||||
base.enabled = num != 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06015362 RID: 86882 RVA: 0x0051A3D4 File Offset: 0x005185D4
|
||||
[Token(Token = "0x6015362")]
|
||||
[Address(RVA = "0x1B6AAD0", Offset = "0x1B694D0", VA = "0x181B6AAD0")]
|
||||
private int EMDOCPEFEPC()
|
||||
{
|
||||
int num = this.blockVariantCount;
|
||||
if (num > 1)
|
||||
{
|
||||
int num2 = global::UnityEngine.Random.Range(0, num);
|
||||
return num;
|
||||
}
|
||||
return this.EAPLJJELPKA;
|
||||
}
|
||||
|
||||
// Token: 0x06015363 RID: 86883 RVA: 0x0051A400 File Offset: 0x00518600
|
||||
[Token(Token = "0x6015363")]
|
||||
[Address(RVA = "0x1B6A9B0", Offset = "0x1B693B0", VA = "0x181B6A9B0")]
|
||||
private int BMMBLKACFEB()
|
||||
{
|
||||
int num = this.blockVariantCount;
|
||||
if (num > 0)
|
||||
{
|
||||
return global::UnityEngine.Random.Range(0, num);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06015364 RID: 86884 RVA: 0x0051A424 File Offset: 0x00518624
|
||||
[Token(Token = "0x6015364")]
|
||||
[Address(RVA = "0x1B6AB10", Offset = "0x1B69510", VA = "0x181B6AB10")]
|
||||
public int GetRandomMeleeAttackVariantIndex()
|
||||
{
|
||||
int num = this.meleeAttackVariantCount;
|
||||
return global::UnityEngine.Random.Range(0, num);
|
||||
}
|
||||
|
||||
// Token: 0x06015365 RID: 86885 RVA: 0x0051A440 File Offset: 0x00518640
|
||||
[Token(Token = "0x6015365")]
|
||||
[Address(RVA = "0x1B6AE20", Offset = "0x1B69820", VA = "0x181B6AE20")]
|
||||
public void SetMeleeAttackVariantIndex(int EFBDCIJMFGD)
|
||||
{
|
||||
int num = this.meleeAttackVariantCount;
|
||||
int num2 = 0;
|
||||
int num3 = Mathf.Clamp(EFBDCIJMFGD, num2, num);
|
||||
this.OJDBJEAGBGA = num3;
|
||||
}
|
||||
|
||||
// Token: 0x06015366 RID: 86886 RVA: 0x0051A468 File Offset: 0x00518668
|
||||
[Token(Token = "0x6015366")]
|
||||
[Address(RVA = "0x1B6A9D0", Offset = "0x1B693D0", VA = "0x181B6A9D0")]
|
||||
private void CPEAGDCHNEB()
|
||||
{
|
||||
PhotonView photonView = this.enemy.photonView;
|
||||
Action<int> action = new Action(this.BKGAGNPKJEA);
|
||||
photonView.OwnerChangedEvent -= action;
|
||||
if (this.FPFPFIEAFIL == 20)
|
||||
{
|
||||
PhotonView photonView2 = this.enemy.photonView;
|
||||
Action<int> action2 = new Action(this.BKGAGNPKJEA);
|
||||
photonView2.OwnerChangedEvent += action2;
|
||||
}
|
||||
this.NCPCFHLFGCO();
|
||||
}
|
||||
|
||||
// Token: 0x06015367 RID: 86887 RVA: 0x0051A4CC File Offset: 0x005186CC
|
||||
[Token(Token = "0x6015367")]
|
||||
[Address(RVA = "0x1B6AB20", Offset = "0x1B69520", VA = "0x181B6AB20")]
|
||||
private void NCPCFHLFGCO()
|
||||
{
|
||||
EnemyAnimator.LPIJBMGNECO lpijbmgneco = this.cullingMode;
|
||||
if (lpijbmgneco > EnemyAnimator.LPIJBMGNECO.CullUpdateTransforms)
|
||||
{
|
||||
Animator animator;
|
||||
if (lpijbmgneco != EnemyAnimator.LPIJBMGNECO.AnimateIfAuthority || !this.enemy.hasAuthority)
|
||||
{
|
||||
if (lpijbmgneco != EnemyAnimator.LPIJBMGNECO.AlwaysAnimate)
|
||||
{
|
||||
return;
|
||||
}
|
||||
animator = this.animator;
|
||||
}
|
||||
int num = 0;
|
||||
animator.cullingMode = (AnimatorCullingMode)num;
|
||||
return;
|
||||
}
|
||||
Animator animator2;
|
||||
if (lpijbmgneco == EnemyAnimator.LPIJBMGNECO.CullCompletely)
|
||||
{
|
||||
animator2 = this.animator;
|
||||
return;
|
||||
}
|
||||
while (lpijbmgneco != EnemyAnimator.LPIJBMGNECO.CullUpdateTransforms)
|
||||
{
|
||||
}
|
||||
animator2.cullingMode = AnimatorCullingMode.CullUpdateTransforms;
|
||||
}
|
||||
|
||||
// Token: 0x06015368 RID: 86888 RVA: 0x0051A530 File Offset: 0x00518730
|
||||
[Token(Token = "0x6015368")]
|
||||
[Address(RVA = "0x1B6A9A0", Offset = "0x1B693A0", VA = "0x181B6A9A0")]
|
||||
private void BKGAGNPKJEA(int DLIAGKNBCEA)
|
||||
{
|
||||
this.NCPCFHLFGCO();
|
||||
}
|
||||
|
||||
// Token: 0x06015369 RID: 86889 RVA: 0x0051A544 File Offset: 0x00518744
|
||||
[Token(Token = "0x6015369")]
|
||||
[Address(RVA = "0x1B6B290", Offset = "0x1B69C90", VA = "0x181B6B290")]
|
||||
public EnemyAnimator()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400E23F RID: 57919
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400E23F")]
|
||||
[SerializeField]
|
||||
private bool patrolHasTransition;
|
||||
|
||||
// Token: 0x0400E240 RID: 57920
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x19")]
|
||||
[Token(Token = "0x400E240")]
|
||||
[SerializeField]
|
||||
[Header("Movement")]
|
||||
private bool isAlwaysMoving;
|
||||
|
||||
// Token: 0x0400E241 RID: 57921
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x400E241")]
|
||||
[SerializeField]
|
||||
[Header("Melee Combat")]
|
||||
private int meleeAttackVariantCount = (int)((ulong)1L);
|
||||
|
||||
// Token: 0x0400E242 RID: 57922
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400E242")]
|
||||
[SerializeField]
|
||||
private int blockVariantCount;
|
||||
|
||||
// Token: 0x0400E243 RID: 57923
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x400E243")]
|
||||
[SerializeField]
|
||||
[Header("Optimization")]
|
||||
[Tooltip("Melee enemies should never cull, since their attacks are based on their collider positions.")]
|
||||
private EnemyAnimator.LPIJBMGNECO cullingMode;
|
||||
|
||||
// Token: 0x0400E244 RID: 57924
|
||||
[Token(Token = "0x400E244")]
|
||||
private static readonly int BOBLHMJJNJA = Animator.StringToHash("OnRangedAttack");
|
||||
|
||||
// Token: 0x0400E245 RID: 57925
|
||||
[Token(Token = "0x400E245")]
|
||||
private static readonly int PHEEMMGFGMG = Animator.StringToHash("OnMeleeAttack");
|
||||
|
||||
// Token: 0x0400E246 RID: 57926
|
||||
[Token(Token = "0x400E246")]
|
||||
private static readonly int BKGMEFFEKEB = Animator.StringToHash("OnBlock");
|
||||
|
||||
// Token: 0x0400E247 RID: 57927
|
||||
[Token(Token = "0x400E247")]
|
||||
private static readonly int FMDKBANAIJG = Animator.StringToHash("OnDeath");
|
||||
|
||||
// Token: 0x0400E248 RID: 57928
|
||||
[Token(Token = "0x400E248")]
|
||||
private static readonly int MOPLIIPNJAC = Animator.StringToHash("IsMoving");
|
||||
|
||||
// Token: 0x0400E249 RID: 57929
|
||||
[Token(Token = "0x400E249")]
|
||||
private static readonly int CMLAFHGJDDG = Animator.StringToHash("IsInCombat");
|
||||
|
||||
// Token: 0x0400E24A RID: 57930
|
||||
[Token(Token = "0x400E24A")]
|
||||
private static readonly int ABBPFJMNKAL = Animator.StringToHash("IsInPatrol");
|
||||
|
||||
// Token: 0x0400E24B RID: 57931
|
||||
[Token(Token = "0x400E24B")]
|
||||
private static readonly int LKBIPBLEHON = Animator.StringToHash("IsBlocking");
|
||||
|
||||
// Token: 0x0400E24C RID: 57932
|
||||
[Token(Token = "0x400E24C")]
|
||||
private static readonly int GAAANCBDJEO = Animator.StringToHash("IsStunnedCombat");
|
||||
|
||||
// Token: 0x0400E24D RID: 57933
|
||||
[Token(Token = "0x400E24D")]
|
||||
private static readonly int FPFPFIEAFIL = Animator.StringToHash("IsStunnedInterrupted");
|
||||
|
||||
// Token: 0x0400E24E RID: 57934
|
||||
[Token(Token = "0x400E24E")]
|
||||
private static readonly int FEIJKCHCFMO = Animator.StringToHash("IsDisengaged");
|
||||
|
||||
// Token: 0x0400E24F RID: 57935
|
||||
[Token(Token = "0x400E24F")]
|
||||
private static readonly int OGHGFIHLCGE = Animator.StringToHash("IsSprinting");
|
||||
|
||||
// Token: 0x0400E250 RID: 57936
|
||||
[Token(Token = "0x400E250")]
|
||||
private static readonly int JIADGBJBNON = Animator.StringToHash("MeleeCombatState");
|
||||
|
||||
// Token: 0x0400E251 RID: 57937
|
||||
[Token(Token = "0x400E251")]
|
||||
private static readonly int JLFDCKKEGJP = Animator.StringToHash("RangedCombatState");
|
||||
|
||||
// Token: 0x0400E252 RID: 57938
|
||||
[Token(Token = "0x400E252")]
|
||||
private static readonly int IFIFGIOAJOJ = Animator.StringToHash("JumpState");
|
||||
|
||||
// Token: 0x0400E253 RID: 57939
|
||||
[Token(Token = "0x400E253")]
|
||||
private static readonly int LOAGMLPKMNA = Animator.StringToHash("BlockVariant");
|
||||
|
||||
// Token: 0x0400E254 RID: 57940
|
||||
[Token(Token = "0x400E254")]
|
||||
private static readonly int CIIOMPJIBIM = Animator.StringToHash("PatrolHasTransition");
|
||||
|
||||
// Token: 0x0400E255 RID: 57941
|
||||
[Token(Token = "0x400E255")]
|
||||
private static readonly int KOBKINKHCON = Animator.StringToHash("MeleeAttackVariant");
|
||||
|
||||
// Token: 0x0400E256 RID: 57942
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400E256")]
|
||||
[SerializeField]
|
||||
[OCIDFHDICIP(JIBDPHMGEGO.SelfAndChildren, false, false)]
|
||||
private Animator animator;
|
||||
|
||||
// Token: 0x0400E257 RID: 57943
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400E257")]
|
||||
[SerializeField]
|
||||
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
||||
private Enemy enemy;
|
||||
|
||||
// Token: 0x0400E258 RID: 57944
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400E258")]
|
||||
private bool MBGKKAEIJGB;
|
||||
|
||||
// Token: 0x0400E259 RID: 57945
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3C")]
|
||||
[Token(Token = "0x400E259")]
|
||||
private float ECEINJDGKND;
|
||||
|
||||
// Token: 0x0400E25A RID: 57946
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400E25A")]
|
||||
private int EAPLJJELPKA;
|
||||
|
||||
// Token: 0x0400E25B RID: 57947
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x44")]
|
||||
[Token(Token = "0x400E25B")]
|
||||
private int OJDBJEAGBGA;
|
||||
|
||||
// Token: 0x02002E37 RID: 11831
|
||||
[Token(Token = "0x2002E37")]
|
||||
public enum LPIJBMGNECO
|
||||
{
|
||||
// Token: 0x0400E25D RID: 57949
|
||||
[Token(Token = "0x400E25D")]
|
||||
CullCompletely,
|
||||
// Token: 0x0400E25E RID: 57950
|
||||
[Token(Token = "0x400E25E")]
|
||||
CullUpdateTransforms = 10,
|
||||
// Token: 0x0400E25F RID: 57951
|
||||
[Token(Token = "0x400E25F")]
|
||||
AnimateIfAuthority = 20,
|
||||
// Token: 0x0400E260 RID: 57952
|
||||
[Token(Token = "0x400E260")]
|
||||
AlwaysAnimate = 30
|
||||
}
|
||||
|
||||
// Token: 0x02002E38 RID: 11832
|
||||
[Token(Token = "0x2002E38")]
|
||||
public enum JKIPIGKPAOO
|
||||
{
|
||||
// Token: 0x0400E262 RID: 57954
|
||||
[Token(Token = "0x400E262")]
|
||||
NONE,
|
||||
// Token: 0x0400E263 RID: 57955
|
||||
[Token(Token = "0x400E263")]
|
||||
CHARGE,
|
||||
// Token: 0x0400E264 RID: 57956
|
||||
[Token(Token = "0x400E264")]
|
||||
ATTACK,
|
||||
// Token: 0x0400E265 RID: 57957
|
||||
[Token(Token = "0x400E265")]
|
||||
POST_ATTACK,
|
||||
// Token: 0x0400E266 RID: 57958
|
||||
[Token(Token = "0x400E266")]
|
||||
ATTACK_INTERRUPTED
|
||||
}
|
||||
|
||||
// Token: 0x02002E39 RID: 11833
|
||||
[Token(Token = "0x2002E39")]
|
||||
public enum LFFPOPKIFFI
|
||||
{
|
||||
// Token: 0x0400E268 RID: 57960
|
||||
[Token(Token = "0x400E268")]
|
||||
NONE,
|
||||
// Token: 0x0400E269 RID: 57961
|
||||
[Token(Token = "0x400E269")]
|
||||
CHARGE,
|
||||
// Token: 0x0400E26A RID: 57962
|
||||
[Token(Token = "0x400E26A")]
|
||||
ATTACK,
|
||||
// Token: 0x0400E26B RID: 57963
|
||||
[Token(Token = "0x400E26B")]
|
||||
POST_ATTACK
|
||||
}
|
||||
|
||||
// Token: 0x02002E3A RID: 11834
|
||||
[Token(Token = "0x2002E3A")]
|
||||
public enum NDICCLAHNFC
|
||||
{
|
||||
// Token: 0x0400E26D RID: 57965
|
||||
[Token(Token = "0x400E26D")]
|
||||
NONE,
|
||||
// Token: 0x0400E26E RID: 57966
|
||||
[Token(Token = "0x400E26E")]
|
||||
PREPARE,
|
||||
// Token: 0x0400E26F RID: 57967
|
||||
[Token(Token = "0x400E26F")]
|
||||
JUMP
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user