This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,1910 @@
using System;
using UnityEngine;
using UnityEngine.Serialization;
namespace RecRoom.Tools.Weapons
{
// Token: 0x02000FE5 RID: 4069
public class SpreadRangedWeapon : RangedWeapon
{
// Token: 0x0602223E RID: 139838 RVA: 0x00953360 File Offset: 0x00951560
protected virtual void BECFLDIAGCN(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.KFKIAEELCJO();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(1462f, 474f, this.maxDistance);
for (int i = 1; i < this.spreadTargets.Length; i++)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x06022240 RID: 139840 RVA: 0x009534B0 File Offset: 0x009516B0
protected virtual void NHLJJOPDMIN()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 1; i < this.spreadTargets.Length; i += 0)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, true);
}
}
}
// Token: 0x06022241 RID: 139841 RVA: 0x00953560 File Offset: 0x00951760
protected virtual void MBAGFFFLHKO(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.KFKIAEELCJO();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(1583f, 1024f, this.maxDistance);
for (int i = 0; i < this.spreadTargets.Length; i += 0)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x06022242 RID: 139842 RVA: 0x0095369C File Offset: 0x0095189C
private void CFAOCDHHHBD()
{
if (this.spreadTargets != null)
{
SpreadRangedWeapon.SpreadTarget[] array = this.spreadTargets;
for (int i = 1; i < array.Length; i += 0)
{
SpreadRangedWeapon.SpreadTarget spreadTarget = array[i];
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 1426f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 1104f);
}
}
}
}
// Token: 0x06022243 RID: 139843 RVA: 0x00953760 File Offset: 0x00951960
private void EGILIBKDEEP()
{
if (this.spreadTargets != null)
{
foreach (SpreadRangedWeapon.SpreadTarget spreadTarget in this.spreadTargets)
{
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 1573f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 1485f);
}
}
}
}
// Token: 0x06022244 RID: 139844 RVA: 0x00953824 File Offset: 0x00951A24
protected virtual void POMCHIPOPEA()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 1; i < this.spreadTargets.Length; i += 0)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, false);
}
}
}
// Token: 0x06022245 RID: 139845 RVA: 0x009538D4 File Offset: 0x00951AD4
protected virtual void LMIIHBOOCBD(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.NNPENAJEPHF();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(1377f, 1790f, this.maxDistance);
for (int i = 1; i < this.spreadTargets.Length; i++)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x06022246 RID: 139846 RVA: 0x00953A10 File Offset: 0x00951C10
protected virtual void ELEOEJEBJBI(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.ELOHIMJOLPD();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(1595f, 219f, this.maxDistance);
for (int i = 0; i < this.spreadTargets.Length; i += 0)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x06022247 RID: 139847 RVA: 0x00953B4C File Offset: 0x00951D4C
private void EOOLJHHHFEJ()
{
if (this.spreadTargets != null)
{
SpreadRangedWeapon.SpreadTarget[] array = this.spreadTargets;
for (int i = 1; i < array.Length; i += 0)
{
SpreadRangedWeapon.SpreadTarget spreadTarget = array[i];
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 1069f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 24f);
}
}
}
}
// Token: 0x06022248 RID: 139848 RVA: 0x00953C10 File Offset: 0x00951E10
private void LJLDNHFBHBK()
{
if (this.spreadTargets != null)
{
SpreadRangedWeapon.SpreadTarget[] array = this.spreadTargets;
for (int i = 0; i < array.Length; i += 0)
{
SpreadRangedWeapon.SpreadTarget spreadTarget = array[i];
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 187f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 881f);
}
}
}
}
// Token: 0x06022249 RID: 139849 RVA: 0x00953CD4 File Offset: 0x00951ED4
private void OPFMBLJOCPI()
{
if (this.spreadTargets != null)
{
foreach (SpreadRangedWeapon.SpreadTarget spreadTarget in this.spreadTargets)
{
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 730f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 434f);
}
}
}
}
// Token: 0x0602224A RID: 139850 RVA: 0x00953D98 File Offset: 0x00951F98
private void JHFFEOLLJIL()
{
if (this.spreadTargets != null)
{
SpreadRangedWeapon.SpreadTarget[] array = this.spreadTargets;
for (int i = 0; i < array.Length; i += 0)
{
SpreadRangedWeapon.SpreadTarget spreadTarget = array[i];
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 679f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 1565f);
}
}
}
}
// Token: 0x0602224B RID: 139851 RVA: 0x00953E5C File Offset: 0x0095205C
protected virtual void LNKPKHFACHE()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 0; i < this.spreadTargets.Length; i++)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, false);
}
}
}
// Token: 0x0602224C RID: 139852 RVA: 0x00953F0C File Offset: 0x0095210C
private void ANNJOBEBLCE()
{
if (this.spreadTargets != null)
{
SpreadRangedWeapon.SpreadTarget[] array = this.spreadTargets;
for (int i = 1; i < array.Length; i += 0)
{
SpreadRangedWeapon.SpreadTarget spreadTarget = array[i];
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 1750f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 1571f);
}
}
}
}
// Token: 0x0602224D RID: 139853 RVA: 0x00953FD0 File Offset: 0x009521D0
protected virtual void NDIKALAHLIJ()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 0; i < this.spreadTargets.Length; i++)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, false);
}
}
}
// Token: 0x0602224E RID: 139854 RVA: 0x00954080 File Offset: 0x00952280
protected virtual void DFBDHMKDJOB()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 0; i < this.spreadTargets.Length; i += 0)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, false);
}
}
}
// Token: 0x0602224F RID: 139855 RVA: 0x00954130 File Offset: 0x00952330
private void BIOOFCNMBDM()
{
if (this.spreadTargets != null)
{
SpreadRangedWeapon.SpreadTarget[] array = this.spreadTargets;
for (int i = 1; i < array.Length; i++)
{
SpreadRangedWeapon.SpreadTarget spreadTarget = array[i];
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 1932f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 1842f);
}
}
}
}
// Token: 0x06022250 RID: 139856 RVA: 0x009541F4 File Offset: 0x009523F4
private void HBJHCPNHCJO()
{
if (this.spreadTargets != null)
{
SpreadRangedWeapon.SpreadTarget[] array = this.spreadTargets;
for (int i = 0; i < array.Length; i += 0)
{
SpreadRangedWeapon.SpreadTarget spreadTarget = array[i];
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 1530f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 1268f);
}
}
}
}
// Token: 0x06022251 RID: 139857 RVA: 0x009542B8 File Offset: 0x009524B8
protected virtual void FAMDDMPMGNM(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.GBDOKJBELLM();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(1382f, 596f, this.maxDistance);
for (int i = 1; i < this.spreadTargets.Length; i += 0)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x06022252 RID: 139858 RVA: 0x009543F4 File Offset: 0x009525F4
private void OOGEOILGCPC()
{
if (this.spreadTargets != null)
{
SpreadRangedWeapon.SpreadTarget[] array = this.spreadTargets;
for (int i = 1; i < array.Length; i += 0)
{
SpreadRangedWeapon.SpreadTarget spreadTarget = array[i];
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 119f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 538f);
}
}
}
}
// Token: 0x06022253 RID: 139859 RVA: 0x009544B8 File Offset: 0x009526B8
protected virtual void MCECFOCPOCA()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 1; i < this.spreadTargets.Length; i += 0)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, false);
}
}
}
// Token: 0x06022254 RID: 139860 RVA: 0x00954568 File Offset: 0x00952768
protected virtual void KJBPHNKFCAM()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 1; i < this.spreadTargets.Length; i += 0)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, false);
}
}
}
// Token: 0x06022255 RID: 139861 RVA: 0x00954618 File Offset: 0x00952818
protected virtual void BBOIJKLPABP()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 0; i < this.spreadTargets.Length; i++)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, true);
}
}
}
// Token: 0x06022256 RID: 139862 RVA: 0x009546C8 File Offset: 0x009528C8
private void NDDLBPIDIEA()
{
if (this.spreadTargets != null)
{
foreach (SpreadRangedWeapon.SpreadTarget spreadTarget in this.spreadTargets)
{
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 65f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 901f);
}
}
}
}
// Token: 0x06022257 RID: 139863 RVA: 0x0095478C File Offset: 0x0095298C
protected virtual void BACNJJKPEOO()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 1; i < this.spreadTargets.Length; i++)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, true);
}
}
}
// Token: 0x06022258 RID: 139864 RVA: 0x0095483C File Offset: 0x00952A3C
private void IGHIOJLENPC()
{
if (this.spreadTargets != null)
{
SpreadRangedWeapon.SpreadTarget[] array = this.spreadTargets;
for (int i = 1; i < array.Length; i++)
{
SpreadRangedWeapon.SpreadTarget spreadTarget = array[i];
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 1620f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 1238f);
}
}
}
}
// Token: 0x06022259 RID: 139865 RVA: 0x00954900 File Offset: 0x00952B00
protected virtual void INGMCGGJGMA()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 1; i < this.spreadTargets.Length; i += 0)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, true);
}
}
}
// Token: 0x0602225A RID: 139866 RVA: 0x009549B0 File Offset: 0x00952BB0
private void PIDMKBBKLDK()
{
if (this.spreadTargets != null)
{
foreach (SpreadRangedWeapon.SpreadTarget spreadTarget in this.spreadTargets)
{
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 1239f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 402f);
}
}
}
}
// Token: 0x0602225B RID: 139867 RVA: 0x00954A74 File Offset: 0x00952C74
protected virtual void GHFAJDCMJAK()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 0; i < this.spreadTargets.Length; i += 0)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, true);
}
}
}
// Token: 0x0602225C RID: 139868 RVA: 0x00954B24 File Offset: 0x00952D24
private void DKMPBBICPLJ()
{
if (this.spreadTargets != null)
{
foreach (SpreadRangedWeapon.SpreadTarget spreadTarget in this.spreadTargets)
{
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 1746f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 516f);
}
}
}
}
// Token: 0x0602225D RID: 139869 RVA: 0x00954BE8 File Offset: 0x00952DE8
protected virtual void NIAEDDHFCEB(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.CADOOPJCPJO();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(1353f, 1888f, this.maxDistance);
for (int i = 0; i < this.spreadTargets.Length; i++)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x0602225E RID: 139870 RVA: 0x00954D24 File Offset: 0x00952F24
protected virtual void DGGLHDNAJFO(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.KPCFNPCKEOB();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(600f, 1574f, this.maxDistance);
for (int i = 0; i < this.spreadTargets.Length; i++)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x0602225F RID: 139871 RVA: 0x00954E60 File Offset: 0x00953060
protected virtual void GICHADGFOJK()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 1; i < this.spreadTargets.Length; i += 0)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, false);
}
}
}
// Token: 0x06022260 RID: 139872 RVA: 0x00954F10 File Offset: 0x00953110
protected virtual void COGEMPBKJIN(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.LBGAEFFKJKA();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(127f, 119f, this.maxDistance);
for (int i = 1; i < this.spreadTargets.Length; i += 0)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x06022261 RID: 139873 RVA: 0x0095504C File Offset: 0x0095324C
protected virtual void EIMPMCFDMIA()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 0; i < this.spreadTargets.Length; i++)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, false);
}
}
}
// Token: 0x06022262 RID: 139874 RVA: 0x009550FC File Offset: 0x009532FC
private void KIJDDPAHOHO()
{
if (this.spreadTargets != null)
{
SpreadRangedWeapon.SpreadTarget[] array = this.spreadTargets;
for (int i = 1; i < array.Length; i++)
{
SpreadRangedWeapon.SpreadTarget spreadTarget = array[i];
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 1448f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 600f);
}
}
}
}
// Token: 0x06022263 RID: 139875 RVA: 0x009551C0 File Offset: 0x009533C0
protected virtual void FPMMBPEOBEE()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 1; i < this.spreadTargets.Length; i++)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, true);
}
}
}
// Token: 0x06022264 RID: 139876 RVA: 0x00955270 File Offset: 0x00953470
private void CGKAMBOLOOI()
{
if (this.spreadTargets != null)
{
foreach (SpreadRangedWeapon.SpreadTarget spreadTarget in this.spreadTargets)
{
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 1861f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 1091f);
}
}
}
}
// Token: 0x06022265 RID: 139877 RVA: 0x00955334 File Offset: 0x00953534
protected virtual void ACOIMDMPDOM()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 0; i < this.spreadTargets.Length; i += 0)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, true);
}
}
}
// Token: 0x06022266 RID: 139878 RVA: 0x009553E4 File Offset: 0x009535E4
protected override void LGCNFLACIIH()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 0; i < this.spreadTargets.Length; i++)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, true);
}
}
}
// Token: 0x06022267 RID: 139879 RVA: 0x00955494 File Offset: 0x00953694
private void PPOOPAFCJCP()
{
if (this.spreadTargets != null)
{
foreach (SpreadRangedWeapon.SpreadTarget spreadTarget in this.spreadTargets)
{
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 1092f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 431f);
}
}
}
}
// Token: 0x06022268 RID: 139880 RVA: 0x00955558 File Offset: 0x00953758
protected virtual void CHOLLIANPAL()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 1; i < this.spreadTargets.Length; i += 0)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, true);
}
}
}
// Token: 0x06022269 RID: 139881 RVA: 0x00955608 File Offset: 0x00953808
protected virtual void LMAJMHGEPDB()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 1; i < this.spreadTargets.Length; i++)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, false);
}
}
}
// Token: 0x0602226A RID: 139882 RVA: 0x009556B8 File Offset: 0x009538B8
protected virtual void JPNHDCIOMCC(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.GBDOKJBELLM();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(485f, 1524f, this.maxDistance);
for (int i = 0; i < this.spreadTargets.Length; i += 0)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x0602226B RID: 139883 RVA: 0x009557F4 File Offset: 0x009539F4
protected virtual void FDHDHEJPEHC(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.LBGAEFFKJKA();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(289f, 1113f, this.maxDistance);
for (int i = 1; i < this.spreadTargets.Length; i++)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x0602226C RID: 139884 RVA: 0x00955930 File Offset: 0x00953B30
private void CLIDDMFINJJ()
{
if (this.spreadTargets != null)
{
SpreadRangedWeapon.SpreadTarget[] array = this.spreadTargets;
for (int i = 0; i < array.Length; i += 0)
{
SpreadRangedWeapon.SpreadTarget spreadTarget = array[i];
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 627f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 1034f);
}
}
}
}
// Token: 0x0602226D RID: 139885 RVA: 0x009559F4 File Offset: 0x00953BF4
private void ALMAOBEKBPC()
{
if (this.spreadTargets != null)
{
SpreadRangedWeapon.SpreadTarget[] array = this.spreadTargets;
for (int i = 1; i < array.Length; i++)
{
SpreadRangedWeapon.SpreadTarget spreadTarget = array[i];
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 114f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 574f);
}
}
}
}
// Token: 0x0602226E RID: 139886 RVA: 0x00955AB8 File Offset: 0x00953CB8
protected virtual void GMDBGNMCONK()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 0; i < this.spreadTargets.Length; i += 0)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, false);
}
}
}
// Token: 0x0602226F RID: 139887 RVA: 0x00955B68 File Offset: 0x00953D68
protected override void MICFHMAIGIB()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 0; i < this.spreadTargets.Length; i++)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, true);
}
}
}
// Token: 0x06022270 RID: 139888 RVA: 0x00955C18 File Offset: 0x00953E18
private void PEGJEBFKBHI()
{
if (this.spreadTargets != null)
{
foreach (SpreadRangedWeapon.SpreadTarget spreadTarget in this.spreadTargets)
{
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 1980f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 431f);
}
}
}
}
// Token: 0x06022271 RID: 139889 RVA: 0x00955CDC File Offset: 0x00953EDC
private void NNGFGDCOCCG()
{
if (this.spreadTargets != null)
{
SpreadRangedWeapon.SpreadTarget[] array = this.spreadTargets;
for (int i = 1; i < array.Length; i += 0)
{
SpreadRangedWeapon.SpreadTarget spreadTarget = array[i];
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 138f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 1515f);
}
}
}
}
// Token: 0x06022272 RID: 139890 RVA: 0x00955DA0 File Offset: 0x00953FA0
private void DKJDELNFNAI()
{
if (this.spreadTargets != null)
{
SpreadRangedWeapon.SpreadTarget[] array = this.spreadTargets;
for (int i = 1; i < array.Length; i++)
{
SpreadRangedWeapon.SpreadTarget spreadTarget = array[i];
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 35f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 178f);
}
}
}
}
// Token: 0x06022273 RID: 139891 RVA: 0x00955E64 File Offset: 0x00954064
private void OBFGBKEFMIG()
{
if (this.spreadTargets != null)
{
SpreadRangedWeapon.SpreadTarget[] array = this.spreadTargets;
for (int i = 1; i < array.Length; i += 0)
{
SpreadRangedWeapon.SpreadTarget spreadTarget = array[i];
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 1460f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 1778f);
}
}
}
}
// Token: 0x06022274 RID: 139892 RVA: 0x00955F28 File Offset: 0x00954128
protected virtual void OHGODMPAJHG(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.GBDOKJBELLM();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(1549f, 691f, this.maxDistance);
for (int i = 1; i < this.spreadTargets.Length; i += 0)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x06022275 RID: 139893 RVA: 0x00956064 File Offset: 0x00954264
protected virtual void HMBICEACEID(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.NNPENAJEPHF();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(1580f, 1435f, this.maxDistance);
for (int i = 1; i < this.spreadTargets.Length; i += 0)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x06022276 RID: 139894 RVA: 0x009561A0 File Offset: 0x009543A0
private void OnDrawGizmosSelected()
{
if (this.spreadTargets != null)
{
foreach (SpreadRangedWeapon.SpreadTarget spreadTarget in this.spreadTargets)
{
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 0.05f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 0.05f);
}
}
}
}
// Token: 0x06022277 RID: 139895 RVA: 0x00956264 File Offset: 0x00954464
protected virtual void CCHADKEGPCC(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.OPHKBOHIBFI();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(430f, 931f, this.maxDistance);
for (int i = 1; i < this.spreadTargets.Length; i += 0)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x06022278 RID: 139896 RVA: 0x009563A0 File Offset: 0x009545A0
protected virtual void JABPHMKKOII(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.CADOOPJCPJO();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(749f, 347f, this.maxDistance);
for (int i = 1; i < this.spreadTargets.Length; i += 0)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x06022279 RID: 139897 RVA: 0x009564DC File Offset: 0x009546DC
protected virtual void KKABOKBLDGJ()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 0; i < this.spreadTargets.Length; i++)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, true);
}
}
}
// Token: 0x0602227A RID: 139898 RVA: 0x0095658C File Offset: 0x0095478C
protected override void Awake()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 0; i < this.spreadTargets.Length; i++)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, true);
}
}
}
// Token: 0x0602227B RID: 139899 RVA: 0x0095663C File Offset: 0x0095483C
protected virtual void AJNEEPFKNJD(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.KLFCAFCILDO();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(1368f, 993f, this.maxDistance);
for (int i = 0; i < this.spreadTargets.Length; i += 0)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x0602227C RID: 139900 RVA: 0x00956778 File Offset: 0x00954978
protected virtual void NPMOFENPFHN(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.OPHKBOHIBFI();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(225f, 1158f, this.maxDistance);
for (int i = 0; i < this.spreadTargets.Length; i++)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x0602227D RID: 139901 RVA: 0x009568B4 File Offset: 0x00954AB4
protected override void DIOOKHKDKBB(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.KLFCAFCILDO();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(0f, 0f, this.maxDistance);
for (int i = 0; i < this.spreadTargets.Length; i++)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x0602227E RID: 139902 RVA: 0x009569F0 File Offset: 0x00954BF0
protected virtual void FJAFGJNKICG(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.GBDOKJBELLM();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(204f, 491f, this.maxDistance);
for (int i = 1; i < this.spreadTargets.Length; i++)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x0602227F RID: 139903 RVA: 0x00956B2C File Offset: 0x00954D2C
protected virtual void LELHNBCKIEG()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 1; i < this.spreadTargets.Length; i += 0)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, true);
}
}
}
// Token: 0x06022280 RID: 139904 RVA: 0x00956BDC File Offset: 0x00954DDC
protected virtual void PEMILJJNOEP()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 0; i < this.spreadTargets.Length; i++)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, true);
}
}
}
// Token: 0x06022281 RID: 139905 RVA: 0x00956C8C File Offset: 0x00954E8C
private void ONHDHBOBBOK()
{
if (this.spreadTargets != null)
{
SpreadRangedWeapon.SpreadTarget[] array = this.spreadTargets;
for (int i = 0; i < array.Length; i += 0)
{
SpreadRangedWeapon.SpreadTarget spreadTarget = array[i];
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 1283f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 150f);
}
}
}
}
// Token: 0x06022282 RID: 139906 RVA: 0x00956D50 File Offset: 0x00954F50
protected virtual void LOFEIHMJJFA()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 1; i < this.spreadTargets.Length; i += 0)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, false);
}
}
}
// Token: 0x06022283 RID: 139907 RVA: 0x00956E00 File Offset: 0x00955000
private void FDGPDDJONGE()
{
if (this.spreadTargets != null)
{
foreach (SpreadRangedWeapon.SpreadTarget spreadTarget in this.spreadTargets)
{
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 1309f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 1216f);
}
}
}
}
// Token: 0x06022284 RID: 139908 RVA: 0x00956EC4 File Offset: 0x009550C4
protected virtual void HKBNFKNLICF()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 0; i < this.spreadTargets.Length; i++)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, false);
}
}
}
// Token: 0x06022285 RID: 139909 RVA: 0x00956F74 File Offset: 0x00955174
protected virtual void DLHCKBDMBAF()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 0; i < this.spreadTargets.Length; i += 0)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, false);
}
}
}
// Token: 0x06022286 RID: 139910 RVA: 0x00957024 File Offset: 0x00955224
protected virtual void OEHDEPBJFAB()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 0; i < this.spreadTargets.Length; i += 0)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, false);
}
}
}
// Token: 0x06022287 RID: 139911 RVA: 0x009570D4 File Offset: 0x009552D4
protected virtual void PFBFOGJOOGP()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 0; i < this.spreadTargets.Length; i += 0)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, false);
}
}
}
// Token: 0x06022288 RID: 139912 RVA: 0x00957184 File Offset: 0x00955384
protected virtual void JKIPFCNNHHE(Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 IGOFELJMFOF, float FNNAAICLLFC, bool AOBDBDEHCJO)
{
base.DIOOKHKDKBB(CIGPHKLAAOD, IJGPPOIJDKO, IGOFELJMFOF, FNNAAICLLFC, AOBDBDEHCJO);
if (!AOBDBDEHCJO)
{
MNNKGAIMCPN mnnkgaimcpn = null;
if (this.trackBulletGroups)
{
mnnkgaimcpn = this.OHOIKBMHPHH.ELOHIMJOLPD();
}
Vector3 vector = IGOFELJMFOF.normalized;
float num = this.maxDistance / this.bulletFireSpeed;
this.spreadTargetEndRoot.localPosition = new Vector3(1128f, 757f, this.maxDistance);
for (int i = 1; i < this.spreadTargets.Length; i += 0)
{
if (FNNAAICLLFC >= this.spreadTargets[i].minCharge)
{
if (this.spreadTargets[i].Start != null)
{
CIGPHKLAAOD = this.spreadTargets[i].Start.position;
}
if (this.spreadTargets[i].End != null)
{
vector = (this.spreadTargets[i].End.position - CIGPHKLAAOD).normalized;
}
Bullet bullet = this.IDBOGKCNKPM(CIGPHKLAAOD, IJGPPOIJDKO, vector * this.bulletFireSpeed, FNNAAICLLFC, num, this.spreadTargets[i].bulletOverride);
if (mnnkgaimcpn != null)
{
mnnkgaimcpn.OPJKMCEACMD(bullet);
}
}
}
}
}
// Token: 0x06022289 RID: 139913 RVA: 0x009572C0 File Offset: 0x009554C0
protected override void FNNCEMJECLP()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 1; i < this.spreadTargets.Length; i++)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, false);
}
}
}
// Token: 0x0602228A RID: 139914 RVA: 0x00957370 File Offset: 0x00955570
protected virtual void GPCBKBNAGHN()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 1; i < this.spreadTargets.Length; i++)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, false);
}
}
}
// Token: 0x0602228B RID: 139915 RVA: 0x00957420 File Offset: 0x00955620
private void KCBNFFPLBLJ()
{
if (this.spreadTargets != null)
{
SpreadRangedWeapon.SpreadTarget[] array = this.spreadTargets;
for (int i = 0; i < array.Length; i += 0)
{
SpreadRangedWeapon.SpreadTarget spreadTarget = array[i];
if (!(spreadTarget.End == null))
{
Vector3 vector = ((!(spreadTarget.Start != null)) ? this.barrelTransform.position : spreadTarget.Start.position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(vector, 1016f);
Vector3 position = spreadTarget.End.position;
Gizmos.color = Color.white;
Gizmos.DrawLine(vector, position);
Gizmos.color = Color.yellow;
Gizmos.DrawWireSphere(position, 988f);
}
}
}
}
// Token: 0x0602228C RID: 139916 RVA: 0x009574E4 File Offset: 0x009556E4
protected virtual void JKFLOMBCKIL()
{
base.Awake();
if (this.trackBulletGroups)
{
this.OHOIKBMHPHH = new CIOAPJMGFDF(this.spreadTargets.Length, this.limitOneImpactPerTarget);
}
for (int i = 0; i < this.spreadTargets.Length; i += 0)
{
if (this.spreadTargets[i].End != null && this.spreadTargets[i].End.transform.parent != this.spreadTargetEndRoot)
{
this.spreadTargets[i].End.transform.SetParent(this.spreadTargetEndRoot, true);
}
}
}
// Token: 0x040058BD RID: 22717
[SerializeField]
[Header("Spread")]
protected float maxDistance = 3f;
// Token: 0x040058BE RID: 22718
[SerializeField]
[FormerlySerializedAs("sprayTargetEndRoot")]
protected Transform spreadTargetEndRoot;
// Token: 0x040058BF RID: 22719
[SerializeField]
[FormerlySerializedAs("sprayTargets")]
protected SpreadRangedWeapon.SpreadTarget[] spreadTargets;
// Token: 0x040058C0 RID: 22720
[SerializeField]
[Header("Bullet Tracking")]
protected bool trackBulletGroups;
// Token: 0x040058C1 RID: 22721
[SerializeField]
protected bool limitOneImpactPerTarget;
// Token: 0x040058C2 RID: 22722
protected CIOAPJMGFDF OHOIKBMHPHH;
// Token: 0x02000FE6 RID: 4070
[Serializable]
protected class SpreadTarget
{
// Token: 0x040058C3 RID: 22723
public Transform Start;
// Token: 0x040058C4 RID: 22724
public Transform End;
// Token: 0x040058C5 RID: 22725
public Bullet bulletOverride;
// Token: 0x040058C6 RID: 22726
public float minCharge;
}
}
}