1599 lines
50 KiB
C#
1599 lines
50 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000B89 RID: 2953
|
|
[RequireComponent(typeof(PhotonView))]
|
|
public class EnemyPatrolNavMeshRegionPath : EnemyPatrol
|
|
{
|
|
// Token: 0x060164A2 RID: 91298 RVA: 0x0062BD80 File Offset: 0x00629F80
|
|
public override bool HasFinishedPatrol(int EDEKGCLBACC)
|
|
{
|
|
return this.pathNodes == null;
|
|
}
|
|
|
|
// Token: 0x060164A3 RID: 91299 RVA: 0x0062BD8C File Offset: 0x00629F8C
|
|
public virtual bool DJLHJIKHHGF(Vector3 LKPKGAIECIF, Vector3 FHFPOPFBEPP)
|
|
{
|
|
return (LKPKGAIECIF - FHFPOPFBEPP).sqrMagnitude > this.nodeRadius * this.nodeRadius;
|
|
}
|
|
|
|
// Token: 0x060164A5 RID: 91301 RVA: 0x0062BDD0 File Offset: 0x00629FD0
|
|
public virtual bool KDGMNJHNBPH(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return true;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 1, 1, this.pathNodes.Length - 0);
|
|
if (this.pathNodes[num].CAGBAKJONGI(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return false;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x060164A6 RID: 91302 RVA: 0x0062BE3C File Offset: 0x0062A03C
|
|
public virtual Vector3 NGCDCGMJHGA()
|
|
{
|
|
if (this.pathNodes != null && this.pathNodes.Length > 1 && this.pathNodes[1] != null)
|
|
{
|
|
return this.pathNodes[0].transform.position;
|
|
}
|
|
return base.transform.position;
|
|
}
|
|
|
|
// Token: 0x060164A7 RID: 91303 RVA: 0x0062BE94 File Offset: 0x0062A094
|
|
private void HAEOKHJBLII()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 1 && this.pathNodes[0] != null)
|
|
{
|
|
this.pathNodes[1].HDECAMBGPHK(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 1;
|
|
for (int i = 0; i < num2; i += 0)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 1) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].ALHLIOLPIBI(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 1 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].HDECAMBGPHK(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164A8 RID: 91304 RVA: 0x0062BFC0 File Offset: 0x0062A1C0
|
|
public virtual Vector3 JEEIJKOEKIC()
|
|
{
|
|
if (this.pathNodes != null && this.pathNodes.Length > 1 && this.pathNodes[0] != null)
|
|
{
|
|
return this.pathNodes[1].transform.position;
|
|
}
|
|
return base.transform.position;
|
|
}
|
|
|
|
// Token: 0x060164A9 RID: 91305 RVA: 0x0062C018 File Offset: 0x0062A218
|
|
private void DGKOJDDHOOL()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 1 && this.pathNodes[1] != null)
|
|
{
|
|
this.pathNodes[1].HDECAMBGPHK(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 0;
|
|
for (int i = 1; i < num2; i++)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 0) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].ALHLIOLPIBI(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 0 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].DrawGizmos(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164AA RID: 91306 RVA: 0x0062C144 File Offset: 0x0062A344
|
|
public virtual bool KPKGBHIBOGM(int EDEKGCLBACC)
|
|
{
|
|
return this.pathNodes == null;
|
|
}
|
|
|
|
// Token: 0x060164AB RID: 91307 RVA: 0x0062C150 File Offset: 0x0062A350
|
|
private void JNLIAABLKEH()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 1 && this.pathNodes[1] != null)
|
|
{
|
|
this.pathNodes[0].JLPCHGPOMCO(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 0;
|
|
for (int i = 0; i < num2; i += 0)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 0) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].NKGHFKMEBAM(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 1 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].OCNLNONFJPM(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164AC RID: 91308 RVA: 0x0062C27C File Offset: 0x0062A47C
|
|
public override bool HasReachedTarget(Vector3 LKPKGAIECIF, Vector3 FHFPOPFBEPP)
|
|
{
|
|
return (LKPKGAIECIF - FHFPOPFBEPP).sqrMagnitude <= this.nodeRadius * this.nodeRadius;
|
|
}
|
|
|
|
// Token: 0x060164AD RID: 91309 RVA: 0x0062C2AC File Offset: 0x0062A4AC
|
|
private void HAPDCEPNAMI(NavMeshRegion OBELJCEMDHP, NavMeshRegion IDJKHAMKPCH)
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(OBELJCEMDHP.transform.position, IDJKHAMKPCH.transform.position);
|
|
OBELJCEMDHP.OCNLNONFJPM(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
|
|
// Token: 0x060164AE RID: 91310 RVA: 0x0062C2E0 File Offset: 0x0062A4E0
|
|
public virtual bool IFDFBOIIAHB(Vector3 LKPKGAIECIF, Vector3 FHFPOPFBEPP)
|
|
{
|
|
return (LKPKGAIECIF - FHFPOPFBEPP).sqrMagnitude <= this.nodeRadius * this.nodeRadius;
|
|
}
|
|
|
|
// Token: 0x060164AF RID: 91311 RVA: 0x0062C310 File Offset: 0x0062A510
|
|
public virtual bool GGBEBNFFEKP(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return false;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 1, 1, this.pathNodes.Length - 1);
|
|
if (this.pathNodes[num].NHOOCIGOCMB(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return true;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x060164B0 RID: 91312 RVA: 0x0062C37C File Offset: 0x0062A57C
|
|
private void AFIKGNOLEPD(NavMeshRegion OBELJCEMDHP, NavMeshRegion IDJKHAMKPCH)
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(OBELJCEMDHP.transform.position, IDJKHAMKPCH.transform.position);
|
|
OBELJCEMDHP.FHFKKNLCPNH(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
|
|
// Token: 0x060164B1 RID: 91313 RVA: 0x0062C3B0 File Offset: 0x0062A5B0
|
|
public virtual bool AKLIBMOAJHI(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return true;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 1, 0, this.pathNodes.Length - 0);
|
|
if (this.pathNodes[num].ELHDPMJHGBK(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return false;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x060164B2 RID: 91314 RVA: 0x0062C41C File Offset: 0x0062A61C
|
|
private void NDCPGPBHJBL()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 1 && this.pathNodes[1] != null)
|
|
{
|
|
this.pathNodes[1].DrawGizmos(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 0;
|
|
for (int i = 1; i < num2; i += 0)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 0) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].JLPCHGPOMCO(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 0 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].NKGHFKMEBAM(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164B3 RID: 91315 RVA: 0x0062C548 File Offset: 0x0062A748
|
|
public virtual bool MMFEOPCBLHN(int EDEKGCLBACC)
|
|
{
|
|
return this.pathNodes == null;
|
|
}
|
|
|
|
// Token: 0x060164B4 RID: 91316 RVA: 0x0062C554 File Offset: 0x0062A754
|
|
private void GNDLPIGPDDN(NavMeshRegion OBELJCEMDHP, NavMeshRegion IDJKHAMKPCH)
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(OBELJCEMDHP.transform.position, IDJKHAMKPCH.transform.position);
|
|
OBELJCEMDHP.JLPCHGPOMCO(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
|
|
// Token: 0x060164B5 RID: 91317 RVA: 0x0062C588 File Offset: 0x0062A788
|
|
public virtual bool IACHEHODBAB(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return true;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 1, 1, this.pathNodes.Length - 1);
|
|
if (this.pathNodes[num].ONMHHCEKHLP(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return false;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x060164B6 RID: 91318 RVA: 0x0062C5F4 File Offset: 0x0062A7F4
|
|
private void PEEBNOLLLDA()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 1 && this.pathNodes[1] != null)
|
|
{
|
|
this.pathNodes[1].NKGHFKMEBAM(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 0;
|
|
for (int i = 1; i < num2; i++)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 0) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].HDECAMBGPHK(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 1 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].ALHLIOLPIBI(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164B7 RID: 91319 RVA: 0x0062C720 File Offset: 0x0062A920
|
|
private void HOCPCJGIBJL(NavMeshRegion OBELJCEMDHP, NavMeshRegion IDJKHAMKPCH)
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(OBELJCEMDHP.transform.position, IDJKHAMKPCH.transform.position);
|
|
OBELJCEMDHP.JLPCHGPOMCO(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
|
|
// Token: 0x060164B8 RID: 91320 RVA: 0x0062C754 File Offset: 0x0062A954
|
|
private void FDDKKJDACGF()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 1 && this.pathNodes[0] != null)
|
|
{
|
|
this.pathNodes[1].FHFKKNLCPNH(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 0;
|
|
for (int i = 1; i < num2; i += 0)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 0) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].HDECAMBGPHK(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 1 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].JLPCHGPOMCO(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164B9 RID: 91321 RVA: 0x0062C880 File Offset: 0x0062AA80
|
|
public virtual Vector3 HEKLKEFHFAD()
|
|
{
|
|
if (this.pathNodes != null && this.pathNodes.Length > 1 && this.pathNodes[1] != null)
|
|
{
|
|
return this.pathNodes[1].transform.position;
|
|
}
|
|
return base.transform.position;
|
|
}
|
|
|
|
// Token: 0x060164BA RID: 91322 RVA: 0x0062C8D8 File Offset: 0x0062AAD8
|
|
private void AMPKCMKKHPP()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 1 && this.pathNodes[1] != null)
|
|
{
|
|
this.pathNodes[1].JLPCHGPOMCO(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 1;
|
|
for (int i = 0; i < num2; i++)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 0) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].FHFKKNLCPNH(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 1 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].ALHLIOLPIBI(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164BB RID: 91323 RVA: 0x0062CA04 File Offset: 0x0062AC04
|
|
public virtual bool KAEMCCPGANM(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return false;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 0, 1, this.pathNodes.Length - 0);
|
|
if (this.pathNodes[num].IDHNCPLKCNK(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return false;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x060164BC RID: 91324 RVA: 0x0062CA70 File Offset: 0x0062AC70
|
|
public virtual bool POOPDAJLHNP(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return true;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 0, 0, this.pathNodes.Length - 0);
|
|
if (this.pathNodes[num].ELHDPMJHGBK(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return true;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x060164BD RID: 91325 RVA: 0x0062CADC File Offset: 0x0062ACDC
|
|
public virtual bool FPAAKNCBAMF(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return false;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 0, 0, this.pathNodes.Length - 1);
|
|
if (this.pathNodes[num].TryGetRandomPoint(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return true;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x060164BE RID: 91326 RVA: 0x0062CB48 File Offset: 0x0062AD48
|
|
private void ICKMOONBOCC(NavMeshRegion OBELJCEMDHP, NavMeshRegion IDJKHAMKPCH)
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(OBELJCEMDHP.transform.position, IDJKHAMKPCH.transform.position);
|
|
OBELJCEMDHP.ALHLIOLPIBI(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
|
|
// Token: 0x060164BF RID: 91327 RVA: 0x0062CB7C File Offset: 0x0062AD7C
|
|
public virtual bool EAMGJIFAAGN(Vector3 LKPKGAIECIF, Vector3 FHFPOPFBEPP)
|
|
{
|
|
return (LKPKGAIECIF - FHFPOPFBEPP).sqrMagnitude <= this.nodeRadius * this.nodeRadius;
|
|
}
|
|
|
|
// Token: 0x060164C0 RID: 91328 RVA: 0x0062CBAC File Offset: 0x0062ADAC
|
|
private void HMAFKOKNOLL()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 0 && this.pathNodes[1] != null)
|
|
{
|
|
this.pathNodes[1].HDECAMBGPHK(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 1;
|
|
for (int i = 0; i < num2; i++)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 0) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].HDECAMBGPHK(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 0 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].NKGHFKMEBAM(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164C2 RID: 91330 RVA: 0x0062CD18 File Offset: 0x0062AF18
|
|
public virtual bool ENGFFFEGFOC(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return true;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 0, 1, this.pathNodes.Length - 0);
|
|
if (this.pathNodes[num].TryGetRandomPoint(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return true;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x060164C3 RID: 91331 RVA: 0x0062CD84 File Offset: 0x0062AF84
|
|
private void OLINMLGKCGM()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 1 && this.pathNodes[0] != null)
|
|
{
|
|
this.pathNodes[1].OCNLNONFJPM(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 1;
|
|
for (int i = 1; i < num2; i++)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 1) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].ALHLIOLPIBI(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 1 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].OCNLNONFJPM(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164C4 RID: 91332 RVA: 0x0062CEB0 File Offset: 0x0062B0B0
|
|
public override Vector3 GetGizmoPosition()
|
|
{
|
|
if (this.pathNodes != null && this.pathNodes.Length > 0 && this.pathNodes[0] != null)
|
|
{
|
|
return this.pathNodes[0].transform.position;
|
|
}
|
|
return base.transform.position;
|
|
}
|
|
|
|
// Token: 0x060164C5 RID: 91333 RVA: 0x0062CF08 File Offset: 0x0062B108
|
|
public virtual bool PIJKJEHPGCC(int EDEKGCLBACC)
|
|
{
|
|
return this.pathNodes == null;
|
|
}
|
|
|
|
// Token: 0x060164C6 RID: 91334 RVA: 0x0062CF14 File Offset: 0x0062B114
|
|
public virtual bool NHMEALEPHHD(Vector3 LKPKGAIECIF, Vector3 FHFPOPFBEPP)
|
|
{
|
|
return (LKPKGAIECIF - FHFPOPFBEPP).sqrMagnitude > this.nodeRadius * this.nodeRadius;
|
|
}
|
|
|
|
// Token: 0x060164C7 RID: 91335 RVA: 0x0062CF44 File Offset: 0x0062B144
|
|
public virtual Vector3 IFKLGCGBGOE()
|
|
{
|
|
if (this.pathNodes != null && this.pathNodes.Length > 0 && this.pathNodes[1] != null)
|
|
{
|
|
return this.pathNodes[1].transform.position;
|
|
}
|
|
return base.transform.position;
|
|
}
|
|
|
|
// Token: 0x060164C8 RID: 91336 RVA: 0x0062CF9C File Offset: 0x0062B19C
|
|
private void HMDDLEKJKFJ(NavMeshRegion OBELJCEMDHP, NavMeshRegion IDJKHAMKPCH)
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(OBELJCEMDHP.transform.position, IDJKHAMKPCH.transform.position);
|
|
OBELJCEMDHP.HDECAMBGPHK(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
|
|
// Token: 0x060164C9 RID: 91337 RVA: 0x0062CFD0 File Offset: 0x0062B1D0
|
|
public virtual bool BFPEDJFAAJG(int EDEKGCLBACC)
|
|
{
|
|
return this.pathNodes == null;
|
|
}
|
|
|
|
// Token: 0x060164CA RID: 91338 RVA: 0x0062CFDC File Offset: 0x0062B1DC
|
|
private void OJLOCGLGLCJ()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 1 && this.pathNodes[0] != null)
|
|
{
|
|
this.pathNodes[0].OCNLNONFJPM(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 1;
|
|
for (int i = 1; i < num2; i += 0)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 0) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].JLPCHGPOMCO(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 0 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].DrawGizmos(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164CB RID: 91339 RVA: 0x0062D108 File Offset: 0x0062B308
|
|
public virtual bool FDFFANBMBNJ(int EDEKGCLBACC)
|
|
{
|
|
return this.pathNodes == null;
|
|
}
|
|
|
|
// Token: 0x060164CC RID: 91340 RVA: 0x0062D114 File Offset: 0x0062B314
|
|
public virtual bool KOCPLIEPMDF(Vector3 LKPKGAIECIF, Vector3 FHFPOPFBEPP)
|
|
{
|
|
return (LKPKGAIECIF - FHFPOPFBEPP).sqrMagnitude <= this.nodeRadius * this.nodeRadius;
|
|
}
|
|
|
|
// Token: 0x060164CD RID: 91341 RVA: 0x0062D144 File Offset: 0x0062B344
|
|
private void OnDrawGizmos()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 1 && this.pathNodes[0] != null)
|
|
{
|
|
this.pathNodes[0].DrawGizmos(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 1;
|
|
for (int i = 0; i < num2; i++)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 1) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].DrawGizmos(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 0 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].DrawGizmos(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164CE RID: 91342 RVA: 0x0062D270 File Offset: 0x0062B470
|
|
public virtual bool DPHJFIPNEKG(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return false;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 1, 0, this.pathNodes.Length - 0);
|
|
if (this.pathNodes[num].DNCLBOOFOOP(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return true;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x060164CF RID: 91343 RVA: 0x0062D2DC File Offset: 0x0062B4DC
|
|
private void ANAGMGEAKOG()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 0 && this.pathNodes[1] != null)
|
|
{
|
|
this.pathNodes[1].JLPCHGPOMCO(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 0;
|
|
for (int i = 0; i < num2; i += 0)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 0) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].DrawGizmos(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 1 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].OCNLNONFJPM(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164D0 RID: 91344 RVA: 0x0062D408 File Offset: 0x0062B608
|
|
public virtual Vector3 JBPMAPKFINJ()
|
|
{
|
|
if (this.pathNodes != null && this.pathNodes.Length > 0 && this.pathNodes[0] != null)
|
|
{
|
|
return this.pathNodes[1].transform.position;
|
|
}
|
|
return base.transform.position;
|
|
}
|
|
|
|
// Token: 0x060164D1 RID: 91345 RVA: 0x0062D460 File Offset: 0x0062B660
|
|
public virtual bool BEIKILOMDCJ(Vector3 LKPKGAIECIF, Vector3 FHFPOPFBEPP)
|
|
{
|
|
return (LKPKGAIECIF - FHFPOPFBEPP).sqrMagnitude <= this.nodeRadius * this.nodeRadius;
|
|
}
|
|
|
|
// Token: 0x060164D2 RID: 91346 RVA: 0x0062D490 File Offset: 0x0062B690
|
|
public override bool TryGetNextTarget(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return false;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 1, 0, this.pathNodes.Length - 1);
|
|
if (this.pathNodes[num].TryGetRandomPoint(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return true;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x060164D3 RID: 91347 RVA: 0x0062D4FC File Offset: 0x0062B6FC
|
|
private void NLPMHIFPCIP()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 1 && this.pathNodes[0] != null)
|
|
{
|
|
this.pathNodes[1].HDECAMBGPHK(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 1;
|
|
for (int i = 0; i < num2; i++)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 0) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].FHFKKNLCPNH(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 1 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].NKGHFKMEBAM(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164D4 RID: 91348 RVA: 0x0062D628 File Offset: 0x0062B828
|
|
public virtual bool LCFLNLPAFEK(Vector3 LKPKGAIECIF, Vector3 FHFPOPFBEPP)
|
|
{
|
|
return (LKPKGAIECIF - FHFPOPFBEPP).sqrMagnitude > this.nodeRadius * this.nodeRadius;
|
|
}
|
|
|
|
// Token: 0x060164D5 RID: 91349 RVA: 0x0062D658 File Offset: 0x0062B858
|
|
public virtual bool AHALMGBOOCE(int EDEKGCLBACC)
|
|
{
|
|
return this.pathNodes == null;
|
|
}
|
|
|
|
// Token: 0x060164D6 RID: 91350 RVA: 0x0062D664 File Offset: 0x0062B864
|
|
public virtual bool EKJPAFMGHNA(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return false;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 0, 1, this.pathNodes.Length - 1);
|
|
if (this.pathNodes[num].CAGBAKJONGI(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return true;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x060164D7 RID: 91351 RVA: 0x0062D6D0 File Offset: 0x0062B8D0
|
|
public virtual Vector3 NABGAHBIGMP()
|
|
{
|
|
if (this.pathNodes != null && this.pathNodes.Length > 1 && this.pathNodes[1] != null)
|
|
{
|
|
return this.pathNodes[1].transform.position;
|
|
}
|
|
return base.transform.position;
|
|
}
|
|
|
|
// Token: 0x060164D8 RID: 91352 RVA: 0x0062D728 File Offset: 0x0062B928
|
|
public virtual bool DAAHJDACPDE(Vector3 LKPKGAIECIF, Vector3 FHFPOPFBEPP)
|
|
{
|
|
return (LKPKGAIECIF - FHFPOPFBEPP).sqrMagnitude > this.nodeRadius * this.nodeRadius;
|
|
}
|
|
|
|
// Token: 0x060164D9 RID: 91353 RVA: 0x0062D758 File Offset: 0x0062B958
|
|
public virtual Vector3 GKGKDEAILNE()
|
|
{
|
|
if (this.pathNodes != null && this.pathNodes.Length > 1 && this.pathNodes[1] != null)
|
|
{
|
|
return this.pathNodes[0].transform.position;
|
|
}
|
|
return base.transform.position;
|
|
}
|
|
|
|
// Token: 0x060164DA RID: 91354 RVA: 0x0062D7B0 File Offset: 0x0062B9B0
|
|
public virtual Vector3 NHBCFNDMAAB()
|
|
{
|
|
if (this.pathNodes != null && this.pathNodes.Length > 0 && this.pathNodes[0] != null)
|
|
{
|
|
return this.pathNodes[0].transform.position;
|
|
}
|
|
return base.transform.position;
|
|
}
|
|
|
|
// Token: 0x060164DB RID: 91355 RVA: 0x0062D808 File Offset: 0x0062BA08
|
|
public virtual bool JOFMIFNNOFL(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return true;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 1, 0, this.pathNodes.Length - 0);
|
|
if (this.pathNodes[num].ONMHHCEKHLP(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return false;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x060164DC RID: 91356 RVA: 0x0062D874 File Offset: 0x0062BA74
|
|
private void ONNCDMIPNGD(NavMeshRegion OBELJCEMDHP, NavMeshRegion IDJKHAMKPCH)
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(OBELJCEMDHP.transform.position, IDJKHAMKPCH.transform.position);
|
|
OBELJCEMDHP.DrawGizmos(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
|
|
// Token: 0x060164DD RID: 91357 RVA: 0x0062D8A8 File Offset: 0x0062BAA8
|
|
private void FDHLEDOOAEE()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 0 && this.pathNodes[0] != null)
|
|
{
|
|
this.pathNodes[1].HDECAMBGPHK(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 1;
|
|
for (int i = 1; i < num2; i++)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 0) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].HDECAMBGPHK(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 1 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].NKGHFKMEBAM(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164DE RID: 91358 RVA: 0x0062D9D4 File Offset: 0x0062BBD4
|
|
private void KELJBKBGBDP(NavMeshRegion OBELJCEMDHP, NavMeshRegion IDJKHAMKPCH)
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(OBELJCEMDHP.transform.position, IDJKHAMKPCH.transform.position);
|
|
OBELJCEMDHP.NKGHFKMEBAM(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
|
|
// Token: 0x060164DF RID: 91359 RVA: 0x0062DA08 File Offset: 0x0062BC08
|
|
private void LMMHNOJMJKH()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 1 && this.pathNodes[0] != null)
|
|
{
|
|
this.pathNodes[1].OCNLNONFJPM(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 0;
|
|
for (int i = 0; i < num2; i += 0)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 1) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].OCNLNONFJPM(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 1 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].HDECAMBGPHK(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164E0 RID: 91360 RVA: 0x0062DB34 File Offset: 0x0062BD34
|
|
public virtual bool DLNGIIDGDMJ(Vector3 LKPKGAIECIF, Vector3 FHFPOPFBEPP)
|
|
{
|
|
return (LKPKGAIECIF - FHFPOPFBEPP).sqrMagnitude > this.nodeRadius * this.nodeRadius;
|
|
}
|
|
|
|
// Token: 0x060164E1 RID: 91361 RVA: 0x0062DB64 File Offset: 0x0062BD64
|
|
public virtual bool IBAECLKIMDA(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return false;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 1, 1, this.pathNodes.Length - 1);
|
|
if (this.pathNodes[num].DNCLBOOFOOP(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return false;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x060164E2 RID: 91362 RVA: 0x0062DBD0 File Offset: 0x0062BDD0
|
|
private void FKHLOAJGEKP(NavMeshRegion OBELJCEMDHP, NavMeshRegion IDJKHAMKPCH)
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(OBELJCEMDHP.transform.position, IDJKHAMKPCH.transform.position);
|
|
OBELJCEMDHP.BBJEDIFCDGF(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
|
|
// Token: 0x060164E3 RID: 91363 RVA: 0x0062DC04 File Offset: 0x0062BE04
|
|
private void CNEAHLCNOGO(NavMeshRegion OBELJCEMDHP, NavMeshRegion IDJKHAMKPCH)
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(OBELJCEMDHP.transform.position, IDJKHAMKPCH.transform.position);
|
|
OBELJCEMDHP.BBJEDIFCDGF(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
|
|
// Token: 0x060164E4 RID: 91364 RVA: 0x0062DC38 File Offset: 0x0062BE38
|
|
private void DJEEPCIBPGK(NavMeshRegion OBELJCEMDHP, NavMeshRegion IDJKHAMKPCH)
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(OBELJCEMDHP.transform.position, IDJKHAMKPCH.transform.position);
|
|
OBELJCEMDHP.BBJEDIFCDGF(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
|
|
// Token: 0x060164E5 RID: 91365 RVA: 0x0062DC6C File Offset: 0x0062BE6C
|
|
private void DIKJEGJAIJI()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 1 && this.pathNodes[0] != null)
|
|
{
|
|
this.pathNodes[0].NKGHFKMEBAM(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 0;
|
|
for (int i = 0; i < num2; i += 0)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 0) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].BBJEDIFCDGF(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 1 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].NKGHFKMEBAM(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164E6 RID: 91366 RVA: 0x0062DD98 File Offset: 0x0062BF98
|
|
private void OOKDIAMOCNC(NavMeshRegion OBELJCEMDHP, NavMeshRegion IDJKHAMKPCH)
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(OBELJCEMDHP.transform.position, IDJKHAMKPCH.transform.position);
|
|
OBELJCEMDHP.DrawGizmos(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
|
|
// Token: 0x060164E7 RID: 91367 RVA: 0x0062DDCC File Offset: 0x0062BFCC
|
|
public virtual Vector3 LPBBIFHAOHL()
|
|
{
|
|
if (this.pathNodes != null && this.pathNodes.Length > 0 && this.pathNodes[0] != null)
|
|
{
|
|
return this.pathNodes[1].transform.position;
|
|
}
|
|
return base.transform.position;
|
|
}
|
|
|
|
// Token: 0x060164E8 RID: 91368 RVA: 0x0062DE24 File Offset: 0x0062C024
|
|
public virtual bool LGMMPINNGOB(int EDEKGCLBACC)
|
|
{
|
|
return this.pathNodes == null;
|
|
}
|
|
|
|
// Token: 0x060164E9 RID: 91369 RVA: 0x0062DE30 File Offset: 0x0062C030
|
|
public virtual Vector3 LGJKCKMAKJL()
|
|
{
|
|
if (this.pathNodes != null && this.pathNodes.Length > 0 && this.pathNodes[1] != null)
|
|
{
|
|
return this.pathNodes[1].transform.position;
|
|
}
|
|
return base.transform.position;
|
|
}
|
|
|
|
// Token: 0x060164EA RID: 91370 RVA: 0x0062DE88 File Offset: 0x0062C088
|
|
public virtual bool HLLMDKHNMNH(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return true;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 0, 1, this.pathNodes.Length - 0);
|
|
if (this.pathNodes[num].TryGetRandomPoint(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return true;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x060164EB RID: 91371 RVA: 0x0062DEF4 File Offset: 0x0062C0F4
|
|
public virtual Vector3 CHFAJMPFCHD()
|
|
{
|
|
if (this.pathNodes != null && this.pathNodes.Length > 0 && this.pathNodes[0] != null)
|
|
{
|
|
return this.pathNodes[0].transform.position;
|
|
}
|
|
return base.transform.position;
|
|
}
|
|
|
|
// Token: 0x060164EC RID: 91372 RVA: 0x0062DF4C File Offset: 0x0062C14C
|
|
public virtual bool FLKCKPGKEKI(int EDEKGCLBACC)
|
|
{
|
|
return this.pathNodes == null;
|
|
}
|
|
|
|
// Token: 0x060164ED RID: 91373 RVA: 0x0062DF58 File Offset: 0x0062C158
|
|
private void ALOFBCOGEAD()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 1 && this.pathNodes[0] != null)
|
|
{
|
|
this.pathNodes[0].NKGHFKMEBAM(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 1;
|
|
for (int i = 1; i < num2; i++)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 1) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].BBJEDIFCDGF(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 1 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].DrawGizmos(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164EE RID: 91374 RVA: 0x0062E084 File Offset: 0x0062C284
|
|
public virtual bool LCMBDPKNHPD(int EDEKGCLBACC)
|
|
{
|
|
return this.pathNodes == null;
|
|
}
|
|
|
|
// Token: 0x060164EF RID: 91375 RVA: 0x0062E090 File Offset: 0x0062C290
|
|
private void CFNNICGCJOM()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 1 && this.pathNodes[0] != null)
|
|
{
|
|
this.pathNodes[1].FHFKKNLCPNH(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 0;
|
|
for (int i = 0; i < num2; i++)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 1) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].DrawGizmos(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 1 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].HDECAMBGPHK(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164F0 RID: 91376 RVA: 0x0062E1BC File Offset: 0x0062C3BC
|
|
private void NDGFPINKBLE(NavMeshRegion OBELJCEMDHP, NavMeshRegion IDJKHAMKPCH)
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(OBELJCEMDHP.transform.position, IDJKHAMKPCH.transform.position);
|
|
OBELJCEMDHP.HDECAMBGPHK(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
|
|
// Token: 0x060164F1 RID: 91377 RVA: 0x0062E1F0 File Offset: 0x0062C3F0
|
|
public virtual bool CGCFFEGPJDP(int EDEKGCLBACC)
|
|
{
|
|
return this.pathNodes == null;
|
|
}
|
|
|
|
// Token: 0x060164F2 RID: 91378 RVA: 0x0062E1FC File Offset: 0x0062C3FC
|
|
public virtual bool MOJGJHJLMDB(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return true;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 1, 0, this.pathNodes.Length - 0);
|
|
if (this.pathNodes[num].ELHDPMJHGBK(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return false;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x060164F3 RID: 91379 RVA: 0x0062E268 File Offset: 0x0062C468
|
|
private void OFGOLGPJJKG(NavMeshRegion OBELJCEMDHP, NavMeshRegion IDJKHAMKPCH)
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(OBELJCEMDHP.transform.position, IDJKHAMKPCH.transform.position);
|
|
OBELJCEMDHP.FHFKKNLCPNH(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
|
|
// Token: 0x060164F4 RID: 91380 RVA: 0x0062E29C File Offset: 0x0062C49C
|
|
private void CELABFKDCDF()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 1 && this.pathNodes[1] != null)
|
|
{
|
|
this.pathNodes[1].HDECAMBGPHK(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 1;
|
|
for (int i = 0; i < num2; i += 0)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 0) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].ALHLIOLPIBI(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 0 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].HDECAMBGPHK(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164F5 RID: 91381 RVA: 0x0062E3C8 File Offset: 0x0062C5C8
|
|
public virtual bool FHACGGKABDE(int EDEKGCLBACC)
|
|
{
|
|
return this.pathNodes == null;
|
|
}
|
|
|
|
// Token: 0x060164F6 RID: 91382 RVA: 0x0062E3D4 File Offset: 0x0062C5D4
|
|
private void PPDIFKIFMJH(NavMeshRegion OBELJCEMDHP, NavMeshRegion IDJKHAMKPCH)
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(OBELJCEMDHP.transform.position, IDJKHAMKPCH.transform.position);
|
|
OBELJCEMDHP.NKGHFKMEBAM(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
|
|
// Token: 0x060164F7 RID: 91383 RVA: 0x0062E408 File Offset: 0x0062C608
|
|
private void HCHGMLALNOD(NavMeshRegion OBELJCEMDHP, NavMeshRegion IDJKHAMKPCH)
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(OBELJCEMDHP.transform.position, IDJKHAMKPCH.transform.position);
|
|
OBELJCEMDHP.DrawGizmos(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
|
|
// Token: 0x060164F8 RID: 91384 RVA: 0x0062E43C File Offset: 0x0062C63C
|
|
private void IICEIAEMHEH(NavMeshRegion OBELJCEMDHP, NavMeshRegion IDJKHAMKPCH)
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(OBELJCEMDHP.transform.position, IDJKHAMKPCH.transform.position);
|
|
OBELJCEMDHP.OCNLNONFJPM(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
|
|
// Token: 0x060164F9 RID: 91385 RVA: 0x0062E470 File Offset: 0x0062C670
|
|
private void NDDGGPJNNDK(NavMeshRegion OBELJCEMDHP, NavMeshRegion IDJKHAMKPCH)
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(OBELJCEMDHP.transform.position, IDJKHAMKPCH.transform.position);
|
|
OBELJCEMDHP.HDECAMBGPHK(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
|
|
// Token: 0x060164FA RID: 91386 RVA: 0x0062E4A4 File Offset: 0x0062C6A4
|
|
private void IOLPADLCCOG()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 1 && this.pathNodes[0] != null)
|
|
{
|
|
this.pathNodes[1].BBJEDIFCDGF(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 1;
|
|
for (int i = 0; i < num2; i++)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 1) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].HDECAMBGPHK(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 0 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].JLPCHGPOMCO(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164FB RID: 91387 RVA: 0x0062E5D0 File Offset: 0x0062C7D0
|
|
public virtual bool ALOKPDHGICO(int EDEKGCLBACC)
|
|
{
|
|
return this.pathNodes == null;
|
|
}
|
|
|
|
// Token: 0x060164FC RID: 91388 RVA: 0x0062E5DC File Offset: 0x0062C7DC
|
|
private void PPILPPBKGII()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 0 && this.pathNodes[0] != null)
|
|
{
|
|
this.pathNodes[0].JLPCHGPOMCO(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 0;
|
|
for (int i = 1; i < num2; i += 0)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 0) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].FHFKKNLCPNH(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 0 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].FHFKKNLCPNH(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164FD RID: 91389 RVA: 0x0062E708 File Offset: 0x0062C908
|
|
public virtual bool DNIBCOMJDFH(int EDEKGCLBACC)
|
|
{
|
|
return this.pathNodes == null;
|
|
}
|
|
|
|
// Token: 0x060164FE RID: 91390 RVA: 0x0062E714 File Offset: 0x0062C914
|
|
private void LHLLCOJMMOF()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 0 && this.pathNodes[1] != null)
|
|
{
|
|
this.pathNodes[1].NKGHFKMEBAM(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 0;
|
|
for (int i = 1; i < num2; i++)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 0) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].JLPCHGPOMCO(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 1 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].NKGHFKMEBAM(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060164FF RID: 91391 RVA: 0x0062E840 File Offset: 0x0062CA40
|
|
public virtual bool NPHOABAABOL(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return true;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 0, 1, this.pathNodes.Length - 1);
|
|
if (this.pathNodes[num].CAGBAKJONGI(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return false;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x06016500 RID: 91392 RVA: 0x0062E8AC File Offset: 0x0062CAAC
|
|
public virtual bool KJIJOICGGIB(Vector3 LKPKGAIECIF, Vector3 FHFPOPFBEPP)
|
|
{
|
|
return (LKPKGAIECIF - FHFPOPFBEPP).sqrMagnitude > this.nodeRadius * this.nodeRadius;
|
|
}
|
|
|
|
// Token: 0x06016501 RID: 91393 RVA: 0x0062E8DC File Offset: 0x0062CADC
|
|
public virtual bool CPKABNFNOHF(Vector3 LKPKGAIECIF, Vector3 FHFPOPFBEPP)
|
|
{
|
|
return (LKPKGAIECIF - FHFPOPFBEPP).sqrMagnitude > this.nodeRadius * this.nodeRadius;
|
|
}
|
|
|
|
// Token: 0x06016502 RID: 91394 RVA: 0x0062E90C File Offset: 0x0062CB0C
|
|
public virtual bool JJLFBFBCBKI(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return false;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 0, 0, this.pathNodes.Length - 0);
|
|
if (this.pathNodes[num].CAGBAKJONGI(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return false;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x06016503 RID: 91395 RVA: 0x0062E978 File Offset: 0x0062CB78
|
|
public virtual bool HNPIPCGKFGD(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return false;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 0, 0, this.pathNodes.Length - 0);
|
|
if (this.pathNodes[num].NHOOCIGOCMB(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return false;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x06016504 RID: 91396 RVA: 0x0062E9E4 File Offset: 0x0062CBE4
|
|
public virtual bool GEMLEKOFBPI(Vector3 LKPKGAIECIF, Vector3 FHFPOPFBEPP)
|
|
{
|
|
return (LKPKGAIECIF - FHFPOPFBEPP).sqrMagnitude > this.nodeRadius * this.nodeRadius;
|
|
}
|
|
|
|
// Token: 0x06016505 RID: 91397 RVA: 0x0062EA14 File Offset: 0x0062CC14
|
|
private void KGAHOPIGGJJ()
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
return;
|
|
}
|
|
if (this.pathNodes.Length == 1 && this.pathNodes[0] != null)
|
|
{
|
|
this.pathNodes[1].ALHLIOLPIBI(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
return;
|
|
}
|
|
int num = -1;
|
|
int num2 = this.pathNodes.Length - 1;
|
|
for (int i = 0; i < num2; i++)
|
|
{
|
|
int num3 = i;
|
|
num = (num3 + 1) % this.pathNodes.Length;
|
|
NavMeshRegion navMeshRegion = this.pathNodes[num3];
|
|
NavMeshRegion navMeshRegion2 = this.pathNodes[num];
|
|
if (!(navMeshRegion == null) && !(navMeshRegion2 == null))
|
|
{
|
|
Gizmos.color = Color.red;
|
|
EMNADHCPLIB.OPFLGOGNLNA(this.pathNodes[num3].transform.position, this.pathNodes[num].transform.position);
|
|
this.pathNodes[num3].NKGHFKMEBAM(EnemyPatrolNavMeshRegionPath.DDCCAMIMGIP);
|
|
}
|
|
}
|
|
if (num >= 1 && num < this.pathNodes.Length)
|
|
{
|
|
this.pathNodes[num].DrawGizmos(EnemyPatrolNavMeshRegionPath.MDKBIEDBJIA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06016506 RID: 91398 RVA: 0x0062EB40 File Offset: 0x0062CD40
|
|
public virtual bool IFODFEOBEDO(Vector3 LKPKGAIECIF, Vector3 FHFPOPFBEPP)
|
|
{
|
|
return (LKPKGAIECIF - FHFPOPFBEPP).sqrMagnitude > this.nodeRadius * this.nodeRadius;
|
|
}
|
|
|
|
// Token: 0x06016507 RID: 91399 RVA: 0x0062EB70 File Offset: 0x0062CD70
|
|
public virtual bool OGLDPPPELOJ(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return true;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 1, 1, this.pathNodes.Length - 0);
|
|
if (this.pathNodes[num].ELHDPMJHGBK(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return true;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x06016508 RID: 91400 RVA: 0x0062EBDC File Offset: 0x0062CDDC
|
|
public virtual bool EEKLDPFPHAP(int MABEMEAAPOD, out int EGPGNCNBLKD, out Vector3 EBEIEIPKEFF)
|
|
{
|
|
if (this.pathNodes == null || this.pathNodes.Length == 0)
|
|
{
|
|
EBEIEIPKEFF = base.transform.position;
|
|
EGPGNCNBLKD = -1;
|
|
return true;
|
|
}
|
|
int num = Mathf.Clamp(MABEMEAAPOD + 0, 1, this.pathNodes.Length - 0);
|
|
if (this.pathNodes[num].DNCLBOOFOOP(out EBEIEIPKEFF))
|
|
{
|
|
EGPGNCNBLKD = num;
|
|
return true;
|
|
}
|
|
EGPGNCNBLKD = MABEMEAAPOD;
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x06016509 RID: 91401 RVA: 0x0062EC48 File Offset: 0x0062CE48
|
|
public virtual bool HOBFNGOAEMN(int EDEKGCLBACC)
|
|
{
|
|
return this.pathNodes == null;
|
|
}
|
|
|
|
// Token: 0x04003E88 RID: 16008
|
|
[SerializeField]
|
|
private NavMeshRegion[] pathNodes;
|
|
|
|
// Token: 0x04003E89 RID: 16009
|
|
[SerializeField]
|
|
private float nodeRadius = 0.5f;
|
|
|
|
// Token: 0x04003E8A RID: 16010
|
|
private static readonly Color DDCCAMIMGIP = new Color(0.8f, 0.6f, 0f, 0.6f);
|
|
|
|
// Token: 0x04003E8B RID: 16011
|
|
private static readonly Color MDKBIEDBJIA = new Color(0.8f, 0f, 0.2f, 0.6f);
|
|
}
|