1741 lines
57 KiB
C#
1741 lines
57 KiB
C#
using System;
|
|
using RecRoom.Core.AI;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Tools.Weapons
|
|
{
|
|
// Token: 0x020000EE RID: 238
|
|
public class Grenade : Weapon
|
|
{
|
|
// Token: 0x0600305B RID: 12379 RVA: 0x000F3590 File Offset: 0x000F1790
|
|
private void OEADIPKEOCP()
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
this.visualRoot.gameObject.SetActive(false);
|
|
base.BKDFLNGCINH.BOLBONELAEF.BOAKFKEHGHP = false;
|
|
base.BKDFLNGCINH.BOLBONELAEF.IGOFELJMFOF = Vector3.zero;
|
|
if (base.BKDFLNGCINH.OHGPCMJMFGC && base.BKDFLNGCINH.FICBNMJECCH.NHDDPGADJPJ)
|
|
{
|
|
base.BKDFLNGCINH.BBGHKANFCHC = DDOFAPFDGNL.JPCIKFHMMED;
|
|
}
|
|
if (this.LBKGDBLDHFI != null)
|
|
{
|
|
GrenadeExplosionPooledParticle grenadeExplosionPooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<GrenadeExplosionPooledParticle>(this.particlesPrefab);
|
|
if (grenadeExplosionPooledParticle != null)
|
|
{
|
|
grenadeExplosionPooledParticle.SetColor(this.IIMELCHFGKE);
|
|
grenadeExplosionPooledParticle.Play(base.transform.position, base.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.explodeAudio, base.transform.position, null);
|
|
this.ANKLEFEMBKO.OEADIPKEOCP(base.transform.position, this.explosionRadius, this.explosionForce, this.damageFalloff, this.forceFalloff, 1f, null);
|
|
}
|
|
this.LBKGDBLDHFI = null;
|
|
this.IOPHGGDNICE(false);
|
|
}
|
|
|
|
// Token: 0x0600305C RID: 12380 RVA: 0x000F36C8 File Offset: 0x000F18C8
|
|
private void DCHPBBFDHNC(Player JEFGMHBLLKI, bool HPPFMCLNMCO = false)
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
if (this.LBKGDBLDHFI == null && JEFGMHBLLKI.HEGAPJJIPCA())
|
|
{
|
|
this.HMLMHGDNBCN(JEFGMHBLLKI.LNJFBGIBLHA.BADMPMDONAH);
|
|
this.EFILOFGJIFM(IHFKMIAHBFP.EMGOIJNLLID + (int)(this.explosionTimeout * 1933f));
|
|
}
|
|
if (HPPFMCLNMCO && this.DONMDGCHFGI() > IHFKMIAHBFP.EMGOIJNLLID)
|
|
{
|
|
this.EJCJCHNCBOF(IHFKMIAHBFP.EMGOIJNLLID);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600305D RID: 12381 RVA: 0x000F3748 File Offset: 0x000F1948
|
|
private void LBIGODHFNLO(float PCLBADFMGGI)
|
|
{
|
|
float num = this.explosionTimeLeftToCountdownAudioCurve.Evaluate(PCLBADFMGGI / this.explosionTimeout);
|
|
if (this.KOMICOOJHHM - PCLBADFMGGI > num)
|
|
{
|
|
this.KOMICOOJHHM = PCLBADFMGGI;
|
|
AudioManager.Play3DSFX(this.countdownAudio, base.transform.position, null);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600305E RID: 12382 RVA: 0x000F3798 File Offset: 0x000F1998
|
|
private void JIGHLJHMOOJ(Tool ENBMEDIFBLM)
|
|
{
|
|
this.MOOKBAOIHLN(ENBMEDIFBLM.CAAOEAAJAIL, false);
|
|
}
|
|
|
|
// Token: 0x0600305F RID: 12383 RVA: 0x000F37A8 File Offset: 0x000F19A8
|
|
public void JNFIEOBOCBN(int NOBAPCOKFIL)
|
|
{
|
|
this.FJGGPNIBLJE.MEAINJPIECA(NOBAPCOKFIL);
|
|
}
|
|
|
|
// Token: 0x06003060 RID: 12384 RVA: 0x000F37B8 File Offset: 0x000F19B8
|
|
private void JDMCICIIMJA(bool DJNGHLFLJAD)
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
if (this.armedParticles.gameObject.activeSelf != DJNGHLFLJAD)
|
|
{
|
|
this.armedParticles.gameObject.SetActive(DJNGHLFLJAD);
|
|
this.armedParticles.main.startColor = this.IIMELCHFGKE;
|
|
if (DJNGHLFLJAD)
|
|
{
|
|
this.PBLIKDFJCBC = AudioManager.Play3DSFX(this.activeAudio, base.transform, null);
|
|
}
|
|
else
|
|
{
|
|
this.PBLIKDFJCBC.Stop();
|
|
this.PBLIKDFJCBC.KLCMBKHOOIP();
|
|
this.PBLIKDFJCBC = null;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003061 RID: 12385 RVA: 0x000F3858 File Offset: 0x000F1A58
|
|
protected virtual Color EKFJEGNNADD()
|
|
{
|
|
return (!(base.NEGLDNHHEOB != null) || !base.NEGLDNHHEOB.AAPHLNCOPNF) ? this.defaultColor : base.NEGLDNHHEOB.GBLPHKFPELB;
|
|
}
|
|
|
|
// Token: 0x06003062 RID: 12386 RVA: 0x000F3894 File Offset: 0x000F1A94
|
|
protected virtual void FGBJJONEBDC()
|
|
{
|
|
base.Start();
|
|
if (base.BKDFLNGCINH != null && base.BKDFLNGCINH.ACAJJPKPKBH != null)
|
|
{
|
|
base.BKDFLNGCINH.ACAJJPKPKBH.supportsAnimateOut = true;
|
|
}
|
|
if (base.GANDPDNCOKF())
|
|
{
|
|
this.HIFNFPFBBMD = LNJFBGIBLHA.CGNKKAKJIJL;
|
|
this.EJCJCHNCBOF(1);
|
|
}
|
|
PlayerSpawnedEquipment playerSpawnedEquipment = base.BKDFLNGCINH.GEONLHPMMPG;
|
|
if (playerSpawnedEquipment != null)
|
|
{
|
|
PlayerSpawnedEquipment.EJADIIIMOPI toolPurpose = playerSpawnedEquipment.FMHDHLOEDPE;
|
|
if (toolPurpose == PlayerSpawnedEquipment.EJADIIIMOPI.GiftBox || toolPurpose == (PlayerSpawnedEquipment.EJADIIIMOPI)7)
|
|
{
|
|
this.KOLOECCGLMN = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003063 RID: 12387 RVA: 0x000F3930 File Offset: 0x000F1B30
|
|
protected virtual void EONMIHOPPOJ()
|
|
{
|
|
base.Start();
|
|
if (base.BKDFLNGCINH != null && base.BKDFLNGCINH.ACAJJPKPKBH != null)
|
|
{
|
|
base.BKDFLNGCINH.ACAJJPKPKBH.supportsAnimateOut = true;
|
|
}
|
|
if (base.DFJFKOLLEMK())
|
|
{
|
|
this.HIFNFPFBBMD = LNJFBGIBLHA.CGNKKAKJIJL;
|
|
this.KCIELALBOEB = 1;
|
|
}
|
|
PlayerSpawnedEquipment playerSpawnedEquipment = base.BKDFLNGCINH.GEONLHPMMPG;
|
|
if (playerSpawnedEquipment != null)
|
|
{
|
|
PlayerSpawnedEquipment.EJADIIIMOPI toolPurpose = playerSpawnedEquipment.FMHDHLOEDPE;
|
|
if (toolPurpose == PlayerSpawnedEquipment.EJADIIIMOPI.None || toolPurpose == PlayerSpawnedEquipment.EJADIIIMOPI.Drawer)
|
|
{
|
|
this.KOLOECCGLMN = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003064 RID: 12388 RVA: 0x000F39CC File Offset: 0x000F1BCC
|
|
public int MLCAMOCHOPJ()
|
|
{
|
|
return this.FJGGPNIBLJE.CPIBGJLHLBL();
|
|
}
|
|
|
|
// Token: 0x06003065 RID: 12389 RVA: 0x000F39DC File Offset: 0x000F1BDC
|
|
protected override void DEANHOPAIED(Player BNKAAEFPCJE, Weapon EPIMHMLMEDA)
|
|
{
|
|
base.DEANHOPAIED(BNKAAEFPCJE, EPIMHMLMEDA);
|
|
this.MOOKBAOIHLN(BNKAAEFPCJE, !(EPIMHMLMEDA is Grenade));
|
|
}
|
|
|
|
// Token: 0x06003066 RID: 12390 RVA: 0x000F39FC File Offset: 0x000F1BFC
|
|
private void LCNBMOJKEJH(float PCLBADFMGGI)
|
|
{
|
|
float num = this.explosionTimeLeftToCountdownAudioCurve.Evaluate(PCLBADFMGGI / this.explosionTimeout);
|
|
if (this.KOMICOOJHHM - PCLBADFMGGI > num)
|
|
{
|
|
this.KOMICOOJHHM = PCLBADFMGGI;
|
|
AudioManager.Play3DSFX(this.countdownAudio, base.transform.position, null);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003067 RID: 12391 RVA: 0x000F3A4C File Offset: 0x000F1C4C
|
|
protected virtual Color DJOFODMOFGH()
|
|
{
|
|
return (!(base.NEGLDNHHEOB != null) || !base.NEGLDNHHEOB.AAPHLNCOPNF) ? this.defaultColor : base.NEGLDNHHEOB.GBLPHKFPELB;
|
|
}
|
|
|
|
// Token: 0x06003068 RID: 12392 RVA: 0x000F3A88 File Offset: 0x000F1C88
|
|
protected virtual void NGHJFABFAOA()
|
|
{
|
|
base.Awake();
|
|
this.FJGGPNIBLJE = new LHLLJPPCDKA<int>(this, "CSharpSocket.Disconnect()", LNJFBGIBLHA.CGNKKAKJIJL, IKCAJLLAFML.MASTER_OR_AUTHORITY, new Action(this.MBMLLNNBGAM));
|
|
this.GELCAAPHECJ = new LHLLJPPCDKA<int>(this, "Let me in please! This is clearly bogus.", 0, IKCAJLLAFML.AUTHORITY, null);
|
|
this.ANKLEFEMBKO.AGNMPPFNEDM(new KBLFNOHNGAO.JJANGLANMOO(this.MBEJEEBCPHM));
|
|
this.ANKLEFEMBKO.LHFPOJPOHPJ(new KBLFNOHNGAO.CNPNCBACBJB(this.MHKJMOOFFHN));
|
|
this.ANKLEFEMBKO.HAKCAAIHNOI(new KBLFNOHNGAO.ANADCNDLFNN(this.DANGBGHLIEJ));
|
|
this.ANKLEFEMBKO.OEJDAJFICGK(new KBLFNOHNGAO.NJIPDNBCKJD(this.PIDLKKFLBCM));
|
|
if (base.BKDFLNGCINH != null)
|
|
{
|
|
base.BKDFLNGCINH.POJHLEKILDI += this.HBLCKJHAJGA;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170000E7 RID: 231
|
|
// (get) Token: 0x06003069 RID: 12393 RVA: 0x000F3B58 File Offset: 0x000F1D58
|
|
// (set) Token: 0x0600308E RID: 12430 RVA: 0x000F4848 File Offset: 0x000F2A48
|
|
public int HIFNFPFBBMD
|
|
{
|
|
get
|
|
{
|
|
return this.FJGGPNIBLJE.CPIBGJLHLBL();
|
|
}
|
|
set
|
|
{
|
|
this.FJGGPNIBLJE.MEAINJPIECA(value);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600306A RID: 12394 RVA: 0x000F3B68 File Offset: 0x000F1D68
|
|
private void KPNKEGGPBNB(Trap IAHICNDNKAL, IHEAKAOGCIF CACIBBKDNIH)
|
|
{
|
|
this.JIHANPBFOHH(base.BKDFLNGCINH.FICBNMJECCH, IAHICNDNKAL, CACIBBKDNIH);
|
|
}
|
|
|
|
// Token: 0x0600306B RID: 12395 RVA: 0x000F3B80 File Offset: 0x000F1D80
|
|
public void EJCJCHNCBOF(int NOBAPCOKFIL)
|
|
{
|
|
this.GELCAAPHECJ.MEAINJPIECA(NOBAPCOKFIL);
|
|
}
|
|
|
|
// Token: 0x0600306C RID: 12396 RVA: 0x000F3B90 File Offset: 0x000F1D90
|
|
protected override void MPIHCILBGLM()
|
|
{
|
|
base.Awake();
|
|
this.FJGGPNIBLJE = new LHLLJPPCDKA<int>(this, "We received your report.", LNJFBGIBLHA.CGNKKAKJIJL, (IKCAJLLAFML)7, new Action(this.LLFAANEABPG));
|
|
this.GELCAAPHECJ = new LHLLJPPCDKA<int>(this, "_MainTex_ST", 0, (IKCAJLLAFML)5, null);
|
|
this.ANKLEFEMBKO.KJDFABBOKGA(new KBLFNOHNGAO.JJANGLANMOO(this.MBEJEEBCPHM));
|
|
this.ANKLEFEMBKO.HAGHNOFMDKM(new KBLFNOHNGAO.CNPNCBACBJB(this.CJKMJDLFJLK));
|
|
this.ANKLEFEMBKO.DAKCJMGHOKG(new KBLFNOHNGAO.ANADCNDLFNN(this.HOBIGFEOADO));
|
|
this.ANKLEFEMBKO.KAIDLOJPKEH(new KBLFNOHNGAO.NJIPDNBCKJD(this.ELJBNOJNKOP));
|
|
if (base.BKDFLNGCINH != null)
|
|
{
|
|
base.BKDFLNGCINH.POJHLEKILDI += this.BJJPEJCDBKK;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600306D RID: 12397 RVA: 0x000F3C60 File Offset: 0x000F1E60
|
|
private void DKFODAPJNDG(Player IPLDGGMENKL, Player.HDOICGIKKAO OJCFELLMIFA, IHEAKAOGCIF CACIBBKDNIH)
|
|
{
|
|
this.JLLOKADDIFB(base.BKDFLNGCINH.FICBNMJECCH, IPLDGGMENKL, OJCFELLMIFA, CACIBBKDNIH);
|
|
}
|
|
|
|
// Token: 0x0600306E RID: 12398 RVA: 0x000F3C78 File Offset: 0x000F1E78
|
|
protected virtual void ELBPMKOHCMN(Player BNKAAEFPCJE, Weapon EPIMHMLMEDA)
|
|
{
|
|
base.DEANHOPAIED(BNKAAEFPCJE, EPIMHMLMEDA);
|
|
this.JIEFNHPKGLK(BNKAAEFPCJE, !(EPIMHMLMEDA is Grenade));
|
|
}
|
|
|
|
// Token: 0x0600306F RID: 12399 RVA: 0x000F3C98 File Offset: 0x000F1E98
|
|
private void MBEJEEBCPHM(Player IPLDGGMENKL, Player.HDOICGIKKAO OJCFELLMIFA, IHEAKAOGCIF CACIBBKDNIH)
|
|
{
|
|
this.JLLOKADDIFB(base.BKDFLNGCINH.FICBNMJECCH, IPLDGGMENKL, OJCFELLMIFA, CACIBBKDNIH);
|
|
}
|
|
|
|
// Token: 0x06003070 RID: 12400 RVA: 0x000F3CB0 File Offset: 0x000F1EB0
|
|
protected virtual void OPLLCEOAHPD(Player BNKAAEFPCJE, Weapon EPIMHMLMEDA)
|
|
{
|
|
base.DEANHOPAIED(BNKAAEFPCJE, EPIMHMLMEDA);
|
|
this.MOOKBAOIHLN(BNKAAEFPCJE, EPIMHMLMEDA is Grenade);
|
|
}
|
|
|
|
// Token: 0x06003071 RID: 12401 RVA: 0x000F3CD0 File Offset: 0x000F1ED0
|
|
protected virtual void CAKIEMJPHHG(Tool COMHEONOMBA, Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 BEDLPFBGLLP, bool JKGMHGAFHPB)
|
|
{
|
|
this.visualRoot.gameObject.SetActive(false);
|
|
base.BKDFLNGCINH.BOLBONELAEF.LFHAJAHHALO(false);
|
|
if (base.DGLOKLCEMLH())
|
|
{
|
|
this.NMOBBBPNIPB(LNJFBGIBLHA.CGNKKAKJIJL);
|
|
this.KCIELALBOEB = 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003072 RID: 12402 RVA: 0x000F3D1C File Offset: 0x000F1F1C
|
|
protected virtual void MDAGNEEAOCD(Tool COMHEONOMBA, Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 BEDLPFBGLLP, bool JKGMHGAFHPB)
|
|
{
|
|
this.visualRoot.gameObject.SetActive(true);
|
|
base.BKDFLNGCINH.BOLBONELAEF.LFHAJAHHALO(false);
|
|
if (base.DGLKKANNBPD())
|
|
{
|
|
this.HIFNFPFBBMD = LNJFBGIBLHA.CGNKKAKJIJL;
|
|
this.KCIELALBOEB = 1;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003073 RID: 12403 RVA: 0x000F3D68 File Offset: 0x000F1F68
|
|
private void BNPOAFMFBPL(Tool ENBMEDIFBLM)
|
|
{
|
|
this.AONJFONDIIN(ENBMEDIFBLM.NAABPMOIADH(), true);
|
|
}
|
|
|
|
// Token: 0x06003074 RID: 12404 RVA: 0x000F3D78 File Offset: 0x000F1F78
|
|
private void MJOEJKOALAN(Enemy AKICADDPOIF, MHEBDODJGOA JJGLGHCMDEN, IHEAKAOGCIF CACIBBKDNIH)
|
|
{
|
|
this.BBIIPGLDAHI(base.BKDFLNGCINH.FICBNMJECCH, AKICADDPOIF, MHEBDODJGOA.NORMAL, CACIBBKDNIH);
|
|
if (AKICADDPOIF.BHCCHBHNHCG)
|
|
{
|
|
AKICADDPOIF.AuthorityOnDamageApplyForce(FLDPCEKNKCA.EXPLOSIVE, JJGLGHCMDEN, CACIBBKDNIH.PMEFMHLCPMF, CACIBBKDNIH.LLKJDBBNPKB);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003075 RID: 12405 RVA: 0x000F3DB4 File Offset: 0x000F1FB4
|
|
private void KKAFDEHIELO()
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
this.visualRoot.gameObject.SetActive(false);
|
|
base.BKDFLNGCINH.BOLBONELAEF.BOAKFKEHGHP = true;
|
|
base.BKDFLNGCINH.BOLBONELAEF.IGOFELJMFOF = Vector3.zero;
|
|
if (base.BKDFLNGCINH.OHGPCMJMFGC && base.BKDFLNGCINH.FICBNMJECCH.PCGELLFCMPB())
|
|
{
|
|
base.BKDFLNGCINH.BBGHKANFCHC = DDOFAPFDGNL.JPCIKFHMMED;
|
|
}
|
|
if (this.LBKGDBLDHFI != null)
|
|
{
|
|
GrenadeExplosionPooledParticle grenadeExplosionPooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<GrenadeExplosionPooledParticle>(this.particlesPrefab);
|
|
if (grenadeExplosionPooledParticle != null)
|
|
{
|
|
grenadeExplosionPooledParticle.HGDLHDDPAGD(this.IIMELCHFGKE);
|
|
grenadeExplosionPooledParticle.Play(base.transform.position, base.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.explodeAudio, base.transform.position, null);
|
|
this.ANKLEFEMBKO.OEGMHCCLFHB(base.transform.position, this.explosionRadius, this.explosionForce, this.damageFalloff, this.forceFalloff, 1327f, null);
|
|
}
|
|
this.LBKGDBLDHFI = null;
|
|
this.IOPHGGDNICE(true);
|
|
}
|
|
|
|
// Token: 0x06003076 RID: 12406 RVA: 0x000F3EEC File Offset: 0x000F20EC
|
|
public void EAFNDNGPCKG(int NOBAPCOKFIL)
|
|
{
|
|
this.FJGGPNIBLJE.MEAINJPIECA(NOBAPCOKFIL);
|
|
}
|
|
|
|
// Token: 0x06003077 RID: 12407 RVA: 0x000F3EFC File Offset: 0x000F20FC
|
|
protected virtual void IDFGKJHJBLA()
|
|
{
|
|
base.Awake();
|
|
this.FJGGPNIBLJE = new LHLLJPPCDKA<int>(this, "Restored!", LNJFBGIBLHA.CGNKKAKJIJL, IKCAJLLAFML.AUTHORITY, new Action(this.JBHIDKLBJNE));
|
|
this.GELCAAPHECJ = new LHLLJPPCDKA<int>(this, "stab", 0, IKCAJLLAFML.ANYONE, null);
|
|
this.ANKLEFEMBKO.DIKMLNAFDJD(new KBLFNOHNGAO.JJANGLANMOO(this.DKFODAPJNDG));
|
|
this.ANKLEFEMBKO.BLNKKGCCKDG(new KBLFNOHNGAO.CNPNCBACBJB(this.BKLHBHHACIC));
|
|
this.ANKLEFEMBKO.AAJCGINFAJP(new KBLFNOHNGAO.ANADCNDLFNN(this.DANGBGHLIEJ));
|
|
this.ANKLEFEMBKO.OEJDAJFICGK(new KBLFNOHNGAO.NJIPDNBCKJD(this.ELJBNOJNKOP));
|
|
if (base.BKDFLNGCINH != null)
|
|
{
|
|
base.BKDFLNGCINH.POJHLEKILDI += this.JIGHLJHMOOJ;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003078 RID: 12408 RVA: 0x000F3FCC File Offset: 0x000F21CC
|
|
private void LELODMHPBPJ(Trap IAHICNDNKAL, IHEAKAOGCIF CACIBBKDNIH)
|
|
{
|
|
this.JIHANPBFOHH(base.BKDFLNGCINH.FICBNMJECCH, IAHICNDNKAL, CACIBBKDNIH);
|
|
}
|
|
|
|
// Token: 0x06003079 RID: 12409 RVA: 0x000F3FE4 File Offset: 0x000F21E4
|
|
private void FDGLAMPPMON(Tool ENBMEDIFBLM)
|
|
{
|
|
this.JIEFNHPKGLK(ENBMEDIFBLM.NAABPMOIADH(), true);
|
|
}
|
|
|
|
// Token: 0x0600307A RID: 12410 RVA: 0x000F3FF4 File Offset: 0x000F21F4
|
|
private void GAKIIHLIELK(Enemy AKICADDPOIF, MHEBDODJGOA JJGLGHCMDEN, IHEAKAOGCIF CACIBBKDNIH)
|
|
{
|
|
this.BBIIPGLDAHI(base.BKDFLNGCINH.FICBNMJECCH, AKICADDPOIF, MHEBDODJGOA.NORMAL, CACIBBKDNIH);
|
|
if (AKICADDPOIF.JNOCCMDBMIO())
|
|
{
|
|
AKICADDPOIF.AuthorityOnDamageApplyForce((FLDPCEKNKCA)175, JJGLGHCMDEN, CACIBBKDNIH.PMEFMHLCPMF, CACIBBKDNIH.LLKJDBBNPKB);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600307B RID: 12411 RVA: 0x000F4030 File Offset: 0x000F2230
|
|
private void NBDPMGJAOCM(Player JEFGMHBLLKI, bool HPPFMCLNMCO = false)
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
if (this.LBKGDBLDHFI == null && JEFGMHBLLKI.GNCAHBDHAEI())
|
|
{
|
|
this.EAFNDNGPCKG(JEFGMHBLLKI.LNJFBGIBLHA.BADMPMDONAH);
|
|
this.KCIELALBOEB = IHFKMIAHBFP.EMGOIJNLLID + (int)(this.explosionTimeout * 1896f);
|
|
}
|
|
if (HPPFMCLNMCO && this.DONMDGCHFGI() > IHFKMIAHBFP.EMGOIJNLLID)
|
|
{
|
|
this.KCIELALBOEB = IHFKMIAHBFP.EMGOIJNLLID;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600307C RID: 12412 RVA: 0x000F40B0 File Offset: 0x000F22B0
|
|
public override int GetPlayerImpactDamage(Player.HDOICGIKKAO OJCFELLMIFA, float CPKBGBCDHIA, bool KJEFMLFBFHN)
|
|
{
|
|
return Mathf.RoundToInt((float)base.GetPlayerImpactDamage(OJCFELLMIFA, CPKBGBCDHIA, KJEFMLFBFHN) * Mathf.Clamp01(CPKBGBCDHIA));
|
|
}
|
|
|
|
// Token: 0x0600307D RID: 12413 RVA: 0x000F40C8 File Offset: 0x000F22C8
|
|
protected virtual Color NCPNPFCCBLE()
|
|
{
|
|
return (!(base.NEGLDNHHEOB != null) || !base.NEGLDNHHEOB.AAPHLNCOPNF) ? this.defaultColor : base.NEGLDNHHEOB.EIEBBCBNCIB();
|
|
}
|
|
|
|
// Token: 0x0600307E RID: 12414 RVA: 0x000F4104 File Offset: 0x000F2304
|
|
private void JIEFNHPKGLK(Player JEFGMHBLLKI, bool HPPFMCLNMCO = false)
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
if (this.LBKGDBLDHFI == null && JEFGMHBLLKI.PCGELLFCMPB())
|
|
{
|
|
this.EAFNDNGPCKG(JEFGMHBLLKI.LNJFBGIBLHA.BADMPMDONAH);
|
|
this.ANDAHDDLHOI(IHFKMIAHBFP.EMGOIJNLLID + (int)(this.explosionTimeout * 485f));
|
|
}
|
|
if (HPPFMCLNMCO && this.NHKPGKIKFHP() > IHFKMIAHBFP.EMGOIJNLLID)
|
|
{
|
|
this.ANDAHDDLHOI(IHFKMIAHBFP.EMGOIJNLLID);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600307F RID: 12415 RVA: 0x000F4184 File Offset: 0x000F2384
|
|
protected virtual void LOFEIHMJJFA()
|
|
{
|
|
base.Awake();
|
|
this.FJGGPNIBLJE = new LHLLJPPCDKA<int>(this, "Name: ", LNJFBGIBLHA.CGNKKAKJIJL, (IKCAJLLAFML)6, new Action(this.LLFAANEABPG));
|
|
this.GELCAAPHECJ = new LHLLJPPCDKA<int>(this, "\nFound componentTransform: ", 1, (IKCAJLLAFML)4, null);
|
|
this.ANKLEFEMBKO.JBJODOFANDK(new KBLFNOHNGAO.JJANGLANMOO(this.MBEJEEBCPHM));
|
|
this.ANKLEFEMBKO.HINGFADICOH(new KBLFNOHNGAO.CNPNCBACBJB(this.FDKLADIJKDE));
|
|
this.ANKLEFEMBKO.PHLFFLIJKAF(new KBLFNOHNGAO.ANADCNDLFNN(this.KPNKEGGPBNB));
|
|
this.ANKLEFEMBKO.ALLEGGFBECF(new KBLFNOHNGAO.NJIPDNBCKJD(this.PIDLKKFLBCM));
|
|
if (base.BKDFLNGCINH != null)
|
|
{
|
|
base.BKDFLNGCINH.POJHLEKILDI += this.BJJPEJCDBKK;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170000E9 RID: 233
|
|
// (get) Token: 0x06003080 RID: 12416 RVA: 0x000F4254 File Offset: 0x000F2454
|
|
private ToolCleanup NAFDALAGNNO
|
|
{
|
|
get
|
|
{
|
|
if (this.FCIINLINDJN == null)
|
|
{
|
|
this.FCIINLINDJN = base.GetComponent<ToolCleanup>();
|
|
}
|
|
return this.FCIINLINDJN;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003081 RID: 12417 RVA: 0x000F427C File Offset: 0x000F247C
|
|
private void MPIKFJDEHAM()
|
|
{
|
|
bool flag = true;
|
|
if (this.visualRoot.gameObject.activeSelf)
|
|
{
|
|
flag = !this.armedParticles.gameObject.activeSelf;
|
|
}
|
|
else if (this.DONMDGCHFGI() != 0 && IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.EMGOIJNLLID - this.HMEMAHBIBPA()) / 1683f;
|
|
if (num >= this.postExplosionCleanupTimeout)
|
|
{
|
|
base.BKDFLNGCINH.LocalTakeOwnershipAndResetToLastSpawnPosition();
|
|
}
|
|
}
|
|
if (this.NAFDALAGNNO != null && this.GGNNOEPOJDK().enabled != flag)
|
|
{
|
|
this.JMDECDOOOMO().enabled = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003082 RID: 12418 RVA: 0x000F4328 File Offset: 0x000F2528
|
|
public void EFILOFGJIFM(int NOBAPCOKFIL)
|
|
{
|
|
this.GELCAAPHECJ.MEAINJPIECA(NOBAPCOKFIL);
|
|
}
|
|
|
|
// Token: 0x06003083 RID: 12419 RVA: 0x000F4338 File Offset: 0x000F2538
|
|
public int JDEBIOKHEGE()
|
|
{
|
|
return this.FJGGPNIBLJE.CPIBGJLHLBL();
|
|
}
|
|
|
|
// Token: 0x06003084 RID: 12420 RVA: 0x000F4348 File Offset: 0x000F2548
|
|
private void FDKLADIJKDE(Enemy AKICADDPOIF, MHEBDODJGOA JJGLGHCMDEN, IHEAKAOGCIF CACIBBKDNIH)
|
|
{
|
|
this.BBIIPGLDAHI(base.BKDFLNGCINH.FICBNMJECCH, AKICADDPOIF, MHEBDODJGOA.SHIELD, CACIBBKDNIH);
|
|
if (AKICADDPOIF.BHCCHBHNHCG)
|
|
{
|
|
AKICADDPOIF.AuthorityOnDamageApplyForce((FLDPCEKNKCA)(-170), JJGLGHCMDEN, CACIBBKDNIH.PMEFMHLCPMF, CACIBBKDNIH.LLKJDBBNPKB);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003085 RID: 12421 RVA: 0x000F4384 File Offset: 0x000F2584
|
|
protected virtual void CDHFBOIDMFA()
|
|
{
|
|
base.Start();
|
|
if (base.BKDFLNGCINH != null && base.BKDFLNGCINH.ACAJJPKPKBH != null)
|
|
{
|
|
base.BKDFLNGCINH.ACAJJPKPKBH.supportsAnimateOut = true;
|
|
}
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
this.HIFNFPFBBMD = LNJFBGIBLHA.CGNKKAKJIJL;
|
|
this.KDBKFMBPJKK(0);
|
|
}
|
|
PlayerSpawnedEquipment playerSpawnedEquipment = base.BKDFLNGCINH.GEONLHPMMPG;
|
|
if (playerSpawnedEquipment != null)
|
|
{
|
|
PlayerSpawnedEquipment.EJADIIIMOPI toolPurpose = playerSpawnedEquipment.FMHDHLOEDPE;
|
|
if (toolPurpose == PlayerSpawnedEquipment.EJADIIIMOPI.Minitar || toolPurpose == PlayerSpawnedEquipment.EJADIIIMOPI.Minitar)
|
|
{
|
|
this.KOLOECCGLMN = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003086 RID: 12422 RVA: 0x000F4420 File Offset: 0x000F2620
|
|
private void AONJFONDIIN(Player JEFGMHBLLKI, bool HPPFMCLNMCO = false)
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
if (this.LBKGDBLDHFI == null && JEFGMHBLLKI.GJLCBGPGIGN())
|
|
{
|
|
this.HIFNFPFBBMD = JEFGMHBLLKI.LNJFBGIBLHA.BADMPMDONAH;
|
|
this.KDBKFMBPJKK(IHFKMIAHBFP.EMGOIJNLLID + (int)(this.explosionTimeout * 1881f));
|
|
}
|
|
if (HPPFMCLNMCO && this.NHKPGKIKFHP() > IHFKMIAHBFP.EMGOIJNLLID)
|
|
{
|
|
this.ANDAHDDLHOI(IHFKMIAHBFP.EMGOIJNLLID);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003087 RID: 12423 RVA: 0x000F44A0 File Offset: 0x000F26A0
|
|
protected void EJELDFPCKKF()
|
|
{
|
|
if (this.LBKGDBLDHFI != null && this.HMEMAHBIBPA() != 0 && this.visualRoot.gameObject.activeSelf)
|
|
{
|
|
float num = (float)(this.HMEMAHBIBPA() - IHFKMIAHBFP.EMGOIJNLLID) / 1844f;
|
|
if (num > 1006f)
|
|
{
|
|
this.OHGNILHGNBJ(num);
|
|
}
|
|
else if (num <= 524f)
|
|
{
|
|
this.MLPFHGAHJDD();
|
|
}
|
|
}
|
|
this.CFFHGNKOCHF();
|
|
}
|
|
|
|
// Token: 0x06003088 RID: 12424 RVA: 0x000F4520 File Offset: 0x000F2720
|
|
private void LNLNMNHNHHC()
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = LNJFBGIBLHA.JJHGEEALDGL(this.JDEBIOKHEGE());
|
|
this.LBKGDBLDHFI = ((lnjfbgiblha == null) ? null : lnjfbgiblha.JHJGDFHNBLO());
|
|
bool flag = lnjfbgiblha != null;
|
|
if (this.LBKGDBLDHFI != null && base.HOPJELLOPNJ().AMAJCGADDCL() != this.MLCAMOCHOPJ())
|
|
{
|
|
base.HOPJELLOPNJ().CLBMDMJOEPH(this.MLCAMOCHOPJ());
|
|
}
|
|
else if (this.LBKGDBLDHFI == null)
|
|
{
|
|
base.EKPBHKFHMON().EPPIGICCDBM(LNJFBGIBLHA.CBADMKHNEDP);
|
|
}
|
|
if (base.NEGLDNHHEOB != null)
|
|
{
|
|
base.NEGLDNHHEOB.RefreshOwnerTeam();
|
|
}
|
|
this.KOMICOOJHHM = this.explosionTimeout;
|
|
this.JDMCICIIMJA(flag);
|
|
}
|
|
|
|
// Token: 0x06003089 RID: 12425 RVA: 0x000F45E8 File Offset: 0x000F27E8
|
|
protected void Update()
|
|
{
|
|
if (this.LBKGDBLDHFI != null && this.KCIELALBOEB != 0 && this.visualRoot.gameObject.activeSelf)
|
|
{
|
|
float num = (float)(this.KCIELALBOEB - IHFKMIAHBFP.EMGOIJNLLID) / 1000f;
|
|
if (num > 0f)
|
|
{
|
|
this.LBIGODHFNLO(num);
|
|
}
|
|
else if (num <= 0f)
|
|
{
|
|
this.OEADIPKEOCP();
|
|
}
|
|
}
|
|
this.EBOHCIFNJAK();
|
|
}
|
|
|
|
// Token: 0x0600308A RID: 12426 RVA: 0x000F4668 File Offset: 0x000F2868
|
|
protected override void OnDestroy()
|
|
{
|
|
base.OnDestroy();
|
|
if (base.BKDFLNGCINH != null)
|
|
{
|
|
base.BKDFLNGCINH.POJHLEKILDI -= this.JIGHLJHMOOJ;
|
|
}
|
|
this.ANKLEFEMBKO.NKLDFBAGLFJ -= this.DKFODAPJNDG;
|
|
this.ANKLEFEMBKO.PAOJGBKGGDK -= this.MJOEJKOALAN;
|
|
this.ANKLEFEMBKO.BNLLAHFKFBB -= this.BFJLGHNIKJP;
|
|
this.ANKLEFEMBKO.OELFEIGJEHI -= this.PIDLKKFLBCM;
|
|
}
|
|
|
|
// Token: 0x0600308B RID: 12427 RVA: 0x000F4700 File Offset: 0x000F2900
|
|
protected virtual void MCNEKPDJDFO()
|
|
{
|
|
base.Start();
|
|
if (base.BKDFLNGCINH != null && base.BKDFLNGCINH.ACAJJPKPKBH != null)
|
|
{
|
|
base.BKDFLNGCINH.ACAJJPKPKBH.supportsAnimateOut = true;
|
|
}
|
|
if (base.DFJFKOLLEMK())
|
|
{
|
|
this.HIFNFPFBBMD = LNJFBGIBLHA.CGNKKAKJIJL;
|
|
this.KDBKFMBPJKK(1);
|
|
}
|
|
PlayerSpawnedEquipment playerSpawnedEquipment = base.BKDFLNGCINH.GEONLHPMMPG;
|
|
if (playerSpawnedEquipment != null)
|
|
{
|
|
PlayerSpawnedEquipment.EJADIIIMOPI toolPurpose = playerSpawnedEquipment.FMHDHLOEDPE;
|
|
if (toolPurpose == PlayerSpawnedEquipment.EJADIIIMOPI.Minitar || toolPurpose == PlayerSpawnedEquipment.EJADIIIMOPI.Minitar)
|
|
{
|
|
this.KOLOECCGLMN = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600308D RID: 12429 RVA: 0x000F4838 File Offset: 0x000F2A38
|
|
public int DCFIIMFBALO()
|
|
{
|
|
return this.GELCAAPHECJ.CPIBGJLHLBL();
|
|
}
|
|
|
|
// Token: 0x0600308F RID: 12431 RVA: 0x000F4858 File Offset: 0x000F2A58
|
|
private void CFFHGNKOCHF()
|
|
{
|
|
bool flag = false;
|
|
if (this.visualRoot.gameObject.activeSelf)
|
|
{
|
|
flag = this.armedParticles.gameObject.activeSelf;
|
|
}
|
|
else if (this.NHKPGKIKFHP() != 0 && IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.EMGOIJNLLID - this.DCFIIMFBALO()) / 156f;
|
|
if (num >= this.postExplosionCleanupTimeout)
|
|
{
|
|
base.BKDFLNGCINH.LocalTakeOwnershipAndResetToLastSpawnPosition();
|
|
}
|
|
}
|
|
if (this.GGNNOEPOJDK() != null && this.GGNNOEPOJDK().enabled != flag)
|
|
{
|
|
this.NAFDALAGNNO.enabled = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003090 RID: 12432 RVA: 0x000F4904 File Offset: 0x000F2B04
|
|
private void OHGNILHGNBJ(float PCLBADFMGGI)
|
|
{
|
|
float num = this.explosionTimeLeftToCountdownAudioCurve.Evaluate(PCLBADFMGGI / this.explosionTimeout);
|
|
if (this.KOMICOOJHHM - PCLBADFMGGI > num)
|
|
{
|
|
this.KOMICOOJHHM = PCLBADFMGGI;
|
|
AudioManager.Play3DSFX(this.countdownAudio, base.transform.position, null);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003091 RID: 12433 RVA: 0x000F4954 File Offset: 0x000F2B54
|
|
private void MEOANLCPOCL(Player JEFGMHBLLKI, bool HPPFMCLNMCO = false)
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
if (this.LBKGDBLDHFI == null && JEFGMHBLLKI.KKDEBGNKDMG())
|
|
{
|
|
this.NMOBBBPNIPB(JEFGMHBLLKI.LNJFBGIBLHA.BADMPMDONAH);
|
|
this.KDBKFMBPJKK(IHFKMIAHBFP.EMGOIJNLLID + (int)(this.explosionTimeout * 1683f));
|
|
}
|
|
if (HPPFMCLNMCO && this.NHKPGKIKFHP() > IHFKMIAHBFP.EMGOIJNLLID)
|
|
{
|
|
this.ANDAHDDLHOI(IHFKMIAHBFP.EMGOIJNLLID);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003092 RID: 12434 RVA: 0x000F49D4 File Offset: 0x000F2BD4
|
|
private void MCIAOIBEDJF(Player JEFGMHBLLKI, bool HPPFMCLNMCO = false)
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
if (this.LBKGDBLDHFI == null && JEFGMHBLLKI.NHDDPGADJPJ)
|
|
{
|
|
this.JNFIEOBOCBN(JEFGMHBLLKI.LNJFBGIBLHA.BADMPMDONAH);
|
|
this.EBHEMFOPCDL(IHFKMIAHBFP.EMGOIJNLLID + (int)(this.explosionTimeout * 1993f));
|
|
}
|
|
if (HPPFMCLNMCO && this.DCFIIMFBALO() > IHFKMIAHBFP.EMGOIJNLLID)
|
|
{
|
|
this.KCIELALBOEB = IHFKMIAHBFP.EMGOIJNLLID;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003093 RID: 12435 RVA: 0x000F4A54 File Offset: 0x000F2C54
|
|
protected virtual void ADIMNKKPECO()
|
|
{
|
|
base.Start();
|
|
if (base.BKDFLNGCINH != null && base.BKDFLNGCINH.ACAJJPKPKBH != null)
|
|
{
|
|
base.BKDFLNGCINH.ACAJJPKPKBH.supportsAnimateOut = true;
|
|
}
|
|
if (base.DFJFKOLLEMK())
|
|
{
|
|
this.HIFNFPFBBMD = LNJFBGIBLHA.CGNKKAKJIJL;
|
|
this.EJCJCHNCBOF(0);
|
|
}
|
|
PlayerSpawnedEquipment playerSpawnedEquipment = base.BKDFLNGCINH.GEONLHPMMPG;
|
|
if (playerSpawnedEquipment != null)
|
|
{
|
|
PlayerSpawnedEquipment.EJADIIIMOPI toolPurpose = playerSpawnedEquipment.FMHDHLOEDPE;
|
|
if (toolPurpose == PlayerSpawnedEquipment.EJADIIIMOPI.Drawer || toolPurpose == (PlayerSpawnedEquipment.EJADIIIMOPI)7)
|
|
{
|
|
this.KOLOECCGLMN = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003094 RID: 12436 RVA: 0x000F4AF0 File Offset: 0x000F2CF0
|
|
protected virtual void DEGNFLDBLGF()
|
|
{
|
|
base.Start();
|
|
if (base.BKDFLNGCINH != null && base.BKDFLNGCINH.ACAJJPKPKBH != null)
|
|
{
|
|
base.BKDFLNGCINH.ACAJJPKPKBH.supportsAnimateOut = false;
|
|
}
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
this.HIFNFPFBBMD = LNJFBGIBLHA.CGNKKAKJIJL;
|
|
this.EBHEMFOPCDL(1);
|
|
}
|
|
PlayerSpawnedEquipment playerSpawnedEquipment = base.BKDFLNGCINH.GEONLHPMMPG;
|
|
if (playerSpawnedEquipment != null)
|
|
{
|
|
PlayerSpawnedEquipment.EJADIIIMOPI toolPurpose = playerSpawnedEquipment.FMHDHLOEDPE;
|
|
if (toolPurpose == PlayerSpawnedEquipment.EJADIIIMOPI.Drawer || toolPurpose == PlayerSpawnedEquipment.EJADIIIMOPI.None)
|
|
{
|
|
this.KOLOECCGLMN = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003095 RID: 12437 RVA: 0x000F4B8C File Offset: 0x000F2D8C
|
|
protected virtual void APEBEAPOJIO()
|
|
{
|
|
base.OnDestroy();
|
|
if (base.BKDFLNGCINH != null)
|
|
{
|
|
base.BKDFLNGCINH.POJHLEKILDI -= this.BLCLFJJMLNL;
|
|
}
|
|
this.ANKLEFEMBKO.OFKGOJGDNMN(new KBLFNOHNGAO.JJANGLANMOO(this.FDGBLGCKLCE));
|
|
this.ANKLEFEMBKO.GBJFLLJAHIH(new KBLFNOHNGAO.CNPNCBACBJB(this.BKLHBHHACIC));
|
|
this.ANKLEFEMBKO.FGGGHJFGLIH(new KBLFNOHNGAO.ANADCNDLFNN(this.LELODMHPBPJ));
|
|
this.ANKLEFEMBKO.LGHLGHOBFKB(new KBLFNOHNGAO.NJIPDNBCKJD(this.ELJBNOJNKOP));
|
|
}
|
|
|
|
// Token: 0x06003096 RID: 12438 RVA: 0x000F4C24 File Offset: 0x000F2E24
|
|
private void CJKMJDLFJLK(Enemy AKICADDPOIF, MHEBDODJGOA JJGLGHCMDEN, IHEAKAOGCIF CACIBBKDNIH)
|
|
{
|
|
this.BBIIPGLDAHI(base.BKDFLNGCINH.FICBNMJECCH, AKICADDPOIF, MHEBDODJGOA.SHIELD, CACIBBKDNIH);
|
|
if (AKICADDPOIF.JNOCCMDBMIO())
|
|
{
|
|
AKICADDPOIF.AuthorityOnDamageApplyForce((FLDPCEKNKCA)177, JJGLGHCMDEN, CACIBBKDNIH.PMEFMHLCPMF, CACIBBKDNIH.LLKJDBBNPKB);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003097 RID: 12439 RVA: 0x000F4C60 File Offset: 0x000F2E60
|
|
protected virtual void OEHDEPBJFAB()
|
|
{
|
|
base.Awake();
|
|
this.FJGGPNIBLJE = new LHLLJPPCDKA<int>(this, "Left", LNJFBGIBLHA.CGNKKAKJIJL, IKCAJLLAFML.MASTER_OR_AUTHORITY, new Action(this.LNLNMNHNHHC));
|
|
this.GELCAAPHECJ = new LHLLJPPCDKA<int>(this, " Team disc on Hole ", 1, (IKCAJLLAFML)7, null);
|
|
this.ANKLEFEMBKO.KJDFABBOKGA(new KBLFNOHNGAO.JJANGLANMOO(this.MBEJEEBCPHM));
|
|
this.ANKLEFEMBKO.MPBANAKALCH(new KBLFNOHNGAO.CNPNCBACBJB(this.MHKJMOOFFHN));
|
|
this.ANKLEFEMBKO.LNHGINGPHIM(new KBLFNOHNGAO.ANADCNDLFNN(this.KPNKEGGPBNB));
|
|
this.ANKLEFEMBKO.ANHHOGFPDPB(new KBLFNOHNGAO.NJIPDNBCKJD(this.PIDLKKFLBCM));
|
|
if (base.BKDFLNGCINH != null)
|
|
{
|
|
base.BKDFLNGCINH.POJHLEKILDI += this.FDGLAMPPMON;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003098 RID: 12440 RVA: 0x000F4D30 File Offset: 0x000F2F30
|
|
public int DONMDGCHFGI()
|
|
{
|
|
return this.GELCAAPHECJ.CPIBGJLHLBL();
|
|
}
|
|
|
|
// Token: 0x06003099 RID: 12441 RVA: 0x000F4D40 File Offset: 0x000F2F40
|
|
private void PIDLKKFLBCM(Tool EEPPNAIKGEO, IHEAKAOGCIF CACIBBKDNIH)
|
|
{
|
|
this.HGKOIFBANBK(base.BKDFLNGCINH.FICBNMJECCH, EEPPNAIKGEO, CACIBBKDNIH);
|
|
if (base.BHCCHBHNHCG && EEPPNAIKGEO.BHCCHBHNHCG)
|
|
{
|
|
EEPPNAIKGEO.AuthorityApplyForce(CACIBBKDNIH.PMEFMHLCPMF, CACIBBKDNIH.LLKJDBBNPKB, ForceMode.Impulse);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600309A RID: 12442 RVA: 0x000F4D80 File Offset: 0x000F2F80
|
|
public int DGODEBHEHLP()
|
|
{
|
|
return this.FJGGPNIBLJE.CPIBGJLHLBL();
|
|
}
|
|
|
|
// Token: 0x0600309B RID: 12443 RVA: 0x000F4D90 File Offset: 0x000F2F90
|
|
private void LHGLALHIELA(bool DJNGHLFLJAD)
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
if (this.armedParticles.gameObject.activeSelf != DJNGHLFLJAD)
|
|
{
|
|
this.armedParticles.gameObject.SetActive(DJNGHLFLJAD);
|
|
this.armedParticles.main.startColor = this.IIMELCHFGKE;
|
|
if (DJNGHLFLJAD)
|
|
{
|
|
this.PBLIKDFJCBC = AudioManager.Play3DSFX(this.activeAudio, base.transform, null);
|
|
}
|
|
else
|
|
{
|
|
this.PBLIKDFJCBC.LHGGHFOFPMA();
|
|
this.PBLIKDFJCBC.MABMPBJKCDA();
|
|
this.PBLIKDFJCBC = null;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600309C RID: 12444 RVA: 0x000F4E30 File Offset: 0x000F3030
|
|
public int HMEMAHBIBPA()
|
|
{
|
|
return this.GELCAAPHECJ.CPIBGJLHLBL();
|
|
}
|
|
|
|
// Token: 0x0600309D RID: 12445 RVA: 0x000F4E40 File Offset: 0x000F3040
|
|
private void KCPEHGEGNHN()
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = LNJFBGIBLHA.DGIBFHDCGHH(this.HIFNFPFBBMD);
|
|
this.LBKGDBLDHFI = ((lnjfbgiblha == null) ? null : lnjfbgiblha.JHJGDFHNBLO());
|
|
bool flag = lnjfbgiblha == null;
|
|
if (this.LBKGDBLDHFI != null && base.LJILHDMCKME().AMAJCGADDCL() != this.MLCAMOCHOPJ())
|
|
{
|
|
base.CJKKPMHAMCN().TransferOwnership(this.JDEBIOKHEGE());
|
|
}
|
|
else if (this.LBKGDBLDHFI == null)
|
|
{
|
|
base.LJILHDMCKME().EPPIGICCDBM(LNJFBGIBLHA.CBADMKHNEDP);
|
|
}
|
|
if (base.NEGLDNHHEOB != null)
|
|
{
|
|
base.NEGLDNHHEOB.RefreshOwnerTeam();
|
|
}
|
|
this.KOMICOOJHHM = this.explosionTimeout;
|
|
this.LHGLALHIELA(flag);
|
|
}
|
|
|
|
// Token: 0x0600309E RID: 12446 RVA: 0x000F4F08 File Offset: 0x000F3108
|
|
public int NHKPGKIKFHP()
|
|
{
|
|
return this.GELCAAPHECJ.CPIBGJLHLBL();
|
|
}
|
|
|
|
// Token: 0x0600309F RID: 12447 RVA: 0x000F4F18 File Offset: 0x000F3118
|
|
private void LLFAANEABPG()
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = LNJFBGIBLHA.FDOBBLFBBBK(this.HIFNFPFBBMD);
|
|
this.LBKGDBLDHFI = ((lnjfbgiblha == null) ? null : lnjfbgiblha.JHJGDFHNBLO());
|
|
bool flag = lnjfbgiblha != null;
|
|
if (this.LBKGDBLDHFI != null && base.OMNGGJICBBI.OPDLGJGHMJI != this.HIFNFPFBBMD)
|
|
{
|
|
base.OMNGGJICBBI.TransferOwnership(this.HIFNFPFBBMD);
|
|
}
|
|
else if (this.LBKGDBLDHFI == null)
|
|
{
|
|
base.OMNGGJICBBI.TransferOwnership(LNJFBGIBLHA.CBADMKHNEDP);
|
|
}
|
|
if (base.NEGLDNHHEOB != null)
|
|
{
|
|
base.NEGLDNHHEOB.RefreshOwnerTeam();
|
|
}
|
|
this.KOMICOOJHHM = this.explosionTimeout;
|
|
this.IOPHGGDNICE(flag);
|
|
}
|
|
|
|
// Token: 0x060030A0 RID: 12448 RVA: 0x000F4FE0 File Offset: 0x000F31E0
|
|
private void JKGIDLLOGCL()
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = LNJFBGIBLHA.MLAAOMLEIGD(this.JDEBIOKHEGE());
|
|
this.LBKGDBLDHFI = ((lnjfbgiblha == null) ? null : lnjfbgiblha.JHJGDFHNBLO());
|
|
bool flag = lnjfbgiblha == null;
|
|
if (this.LBKGDBLDHFI != null && base.LJILHDMCKME().AMAJCGADDCL() != this.HIFNFPFBBMD)
|
|
{
|
|
base.POOAOJPEDJD().CLBMDMJOEPH(this.COADAMAGKNO());
|
|
}
|
|
else if (this.LBKGDBLDHFI == null)
|
|
{
|
|
base.BIPEBCPEPKL().CLBMDMJOEPH(LNJFBGIBLHA.CBADMKHNEDP);
|
|
}
|
|
if (base.NEGLDNHHEOB != null)
|
|
{
|
|
base.NEGLDNHHEOB.RefreshOwnerTeam();
|
|
}
|
|
this.KOMICOOJHHM = this.explosionTimeout;
|
|
this.CAAJKPEFMBK(flag);
|
|
}
|
|
|
|
// Token: 0x060030A1 RID: 12449 RVA: 0x000F50A8 File Offset: 0x000F32A8
|
|
private void HKOFDKFLPOE(bool DJNGHLFLJAD)
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
if (this.armedParticles.gameObject.activeSelf != DJNGHLFLJAD)
|
|
{
|
|
this.armedParticles.gameObject.SetActive(DJNGHLFLJAD);
|
|
this.armedParticles.main.startColor = this.IIMELCHFGKE;
|
|
if (DJNGHLFLJAD)
|
|
{
|
|
this.PBLIKDFJCBC = AudioManager.Play3DSFX(this.activeAudio, base.transform, null);
|
|
}
|
|
else
|
|
{
|
|
this.PBLIKDFJCBC.LHGGHFOFPMA();
|
|
this.PBLIKDFJCBC.IBMHACHIFIH();
|
|
this.PBLIKDFJCBC = null;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030A2 RID: 12450 RVA: 0x000F5148 File Offset: 0x000F3348
|
|
public virtual int FKAGJOPJNPJ(Player.HDOICGIKKAO OJCFELLMIFA, float CPKBGBCDHIA, bool KJEFMLFBFHN)
|
|
{
|
|
return Mathf.RoundToInt((float)base.GetPlayerImpactDamage(OJCFELLMIFA, CPKBGBCDHIA, KJEFMLFBFHN) * Mathf.Clamp01(CPKBGBCDHIA));
|
|
}
|
|
|
|
// Token: 0x060030A3 RID: 12451 RVA: 0x000F5160 File Offset: 0x000F3360
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
this.FJGGPNIBLJE = new LHLLJPPCDKA<int>(this, "Grenade.Thrower", LNJFBGIBLHA.CGNKKAKJIJL, IKCAJLLAFML.ANYONE, new Action(this.LLFAANEABPG));
|
|
this.GELCAAPHECJ = new LHLLJPPCDKA<int>(this, "Grenade.ExplodeTime", 0, IKCAJLLAFML.ANYONE, null);
|
|
this.ANKLEFEMBKO.NKLDFBAGLFJ += this.DKFODAPJNDG;
|
|
this.ANKLEFEMBKO.PAOJGBKGGDK += this.MJOEJKOALAN;
|
|
this.ANKLEFEMBKO.BNLLAHFKFBB += this.BFJLGHNIKJP;
|
|
this.ANKLEFEMBKO.OELFEIGJEHI += this.PIDLKKFLBCM;
|
|
if (base.BKDFLNGCINH != null)
|
|
{
|
|
base.BKDFLNGCINH.POJHLEKILDI += this.JIGHLJHMOOJ;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030A4 RID: 12452 RVA: 0x000F5230 File Offset: 0x000F3430
|
|
private void IOPHGGDNICE(bool DJNGHLFLJAD)
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
if (this.armedParticles.gameObject.activeSelf != DJNGHLFLJAD)
|
|
{
|
|
this.armedParticles.gameObject.SetActive(DJNGHLFLJAD);
|
|
this.armedParticles.main.startColor = this.IIMELCHFGKE;
|
|
if (DJNGHLFLJAD)
|
|
{
|
|
this.PBLIKDFJCBC = AudioManager.Play3DSFX(this.activeAudio, base.transform, null);
|
|
}
|
|
else
|
|
{
|
|
this.PBLIKDFJCBC.Stop();
|
|
this.PBLIKDFJCBC.Release();
|
|
this.PBLIKDFJCBC = null;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030A5 RID: 12453 RVA: 0x000F52D0 File Offset: 0x000F34D0
|
|
private void MHEFAJPHHFD()
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
this.visualRoot.gameObject.SetActive(true);
|
|
base.BKDFLNGCINH.BOLBONELAEF.LFHAJAHHALO(false);
|
|
base.BKDFLNGCINH.BOLBONELAEF.IGOFELJMFOF = Vector3.zero;
|
|
if (base.BKDFLNGCINH.OHGPCMJMFGC && base.BKDFLNGCINH.FICBNMJECCH.EEHCAMCMPAG())
|
|
{
|
|
base.BKDFLNGCINH.BBGHKANFCHC = DDOFAPFDGNL.JPCIKFHMMED;
|
|
}
|
|
if (this.LBKGDBLDHFI != null)
|
|
{
|
|
GrenadeExplosionPooledParticle grenadeExplosionPooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<GrenadeExplosionPooledParticle>(this.particlesPrefab);
|
|
if (grenadeExplosionPooledParticle != null)
|
|
{
|
|
grenadeExplosionPooledParticle.MJNJEMOOFCI(this.IIMELCHFGKE);
|
|
grenadeExplosionPooledParticle.NAPGKLNBMHN(base.transform.position, base.transform.rotation, false);
|
|
}
|
|
AudioManager.Play3DSFX(this.explodeAudio, base.transform.position, null);
|
|
this.ANKLEFEMBKO.CCBBCAEMDHA(base.transform.position, this.explosionRadius, this.explosionForce, this.damageFalloff, this.forceFalloff, 1103f, null);
|
|
}
|
|
this.LBKGDBLDHFI = null;
|
|
this.JDMCICIIMJA(false);
|
|
}
|
|
|
|
// Token: 0x060030A6 RID: 12454 RVA: 0x000F5408 File Offset: 0x000F3608
|
|
private void AJKEKNCMFAJ()
|
|
{
|
|
bool flag = false;
|
|
if (this.visualRoot.gameObject.activeSelf)
|
|
{
|
|
flag = this.armedParticles.gameObject.activeSelf;
|
|
}
|
|
else if (this.NHKPGKIKFHP() != 0 && IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.EMGOIJNLLID - this.NHKPGKIKFHP()) / 1858f;
|
|
if (num >= this.postExplosionCleanupTimeout)
|
|
{
|
|
base.BKDFLNGCINH.LocalTakeOwnershipAndResetToLastSpawnPosition();
|
|
}
|
|
}
|
|
if (this.NAFDALAGNNO != null && this.GGNNOEPOJDK().enabled != flag)
|
|
{
|
|
this.JMDECDOOOMO().enabled = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030A7 RID: 12455 RVA: 0x000F54B4 File Offset: 0x000F36B4
|
|
private ToolCleanup JMDECDOOOMO()
|
|
{
|
|
if (this.FCIINLINDJN == null)
|
|
{
|
|
this.FCIINLINDJN = base.GetComponent<ToolCleanup>();
|
|
}
|
|
return this.FCIINLINDJN;
|
|
}
|
|
|
|
// Token: 0x060030A8 RID: 12456 RVA: 0x000F54DC File Offset: 0x000F36DC
|
|
protected override void Start()
|
|
{
|
|
base.Start();
|
|
if (base.BKDFLNGCINH != null && base.BKDFLNGCINH.ACAJJPKPKBH != null)
|
|
{
|
|
base.BKDFLNGCINH.ACAJJPKPKBH.supportsAnimateOut = false;
|
|
}
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
this.HIFNFPFBBMD = LNJFBGIBLHA.CGNKKAKJIJL;
|
|
this.KCIELALBOEB = 0;
|
|
}
|
|
PlayerSpawnedEquipment playerSpawnedEquipment = base.BKDFLNGCINH.GEONLHPMMPG;
|
|
if (playerSpawnedEquipment != null)
|
|
{
|
|
PlayerSpawnedEquipment.EJADIIIMOPI toolPurpose = playerSpawnedEquipment.FMHDHLOEDPE;
|
|
if (toolPurpose == PlayerSpawnedEquipment.EJADIIIMOPI.Checklist || toolPurpose == PlayerSpawnedEquipment.EJADIIIMOPI.Drawer)
|
|
{
|
|
this.KOLOECCGLMN = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030A9 RID: 12457 RVA: 0x000F5578 File Offset: 0x000F3778
|
|
protected virtual void HJGAHNCPFNJ(Player BNKAAEFPCJE, Weapon EPIMHMLMEDA)
|
|
{
|
|
base.DEANHOPAIED(BNKAAEFPCJE, EPIMHMLMEDA);
|
|
this.NBDPMGJAOCM(BNKAAEFPCJE, EPIMHMLMEDA is Grenade);
|
|
}
|
|
|
|
// Token: 0x060030AA RID: 12458 RVA: 0x000F5598 File Offset: 0x000F3798
|
|
public void KDBKFMBPJKK(int NOBAPCOKFIL)
|
|
{
|
|
this.GELCAAPHECJ.MEAINJPIECA(NOBAPCOKFIL);
|
|
}
|
|
|
|
// Token: 0x060030AB RID: 12459 RVA: 0x000F55A8 File Offset: 0x000F37A8
|
|
private void ELJBNOJNKOP(Tool EEPPNAIKGEO, IHEAKAOGCIF CACIBBKDNIH)
|
|
{
|
|
this.HGKOIFBANBK(base.BKDFLNGCINH.FICBNMJECCH, EEPPNAIKGEO, CACIBBKDNIH);
|
|
if (base.BHCCHBHNHCG && EEPPNAIKGEO.DFJFKOLLEMK())
|
|
{
|
|
EEPPNAIKGEO.AuthorityApplyForce(CACIBBKDNIH.PMEFMHLCPMF, CACIBBKDNIH.LLKJDBBNPKB, ForceMode.Impulse);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030AC RID: 12460 RVA: 0x000F55E8 File Offset: 0x000F37E8
|
|
private void IPGDPICOLMN(Tool ENBMEDIFBLM)
|
|
{
|
|
this.DCHPBBFDHNC(ENBMEDIFBLM.CAAOEAAJAIL, false);
|
|
}
|
|
|
|
// Token: 0x060030AD RID: 12461 RVA: 0x000F55F8 File Offset: 0x000F37F8
|
|
public void NMOBBBPNIPB(int NOBAPCOKFIL)
|
|
{
|
|
this.FJGGPNIBLJE.MEAINJPIECA(NOBAPCOKFIL);
|
|
}
|
|
|
|
// Token: 0x060030AE RID: 12462 RVA: 0x000F5608 File Offset: 0x000F3808
|
|
private void MBMLLNNBGAM()
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = LNJFBGIBLHA.DGIBFHDCGHH(this.DGODEBHEHLP());
|
|
this.LBKGDBLDHFI = ((lnjfbgiblha == null) ? null : lnjfbgiblha.JHJGDFHNBLO());
|
|
bool flag = lnjfbgiblha == null;
|
|
if (this.LBKGDBLDHFI != null && base.ACEAACJNNAF().PNAHJNPGAFI() != this.COADAMAGKNO())
|
|
{
|
|
base.HOPJELLOPNJ().TransferOwnership(this.JDEBIOKHEGE());
|
|
}
|
|
else if (this.LBKGDBLDHFI == null)
|
|
{
|
|
base.HOPJELLOPNJ().CLBMDMJOEPH(LNJFBGIBLHA.CBADMKHNEDP);
|
|
}
|
|
if (base.NEGLDNHHEOB != null)
|
|
{
|
|
base.NEGLDNHHEOB.RefreshOwnerTeam();
|
|
}
|
|
this.KOMICOOJHHM = this.explosionTimeout;
|
|
this.HKOFDKFLPOE(flag);
|
|
}
|
|
|
|
// Token: 0x060030AF RID: 12463 RVA: 0x000F56D0 File Offset: 0x000F38D0
|
|
private ToolCleanup GGNNOEPOJDK()
|
|
{
|
|
if (this.FCIINLINDJN == null)
|
|
{
|
|
this.FCIINLINDJN = base.GetComponent<ToolCleanup>();
|
|
}
|
|
return this.FCIINLINDJN;
|
|
}
|
|
|
|
// Token: 0x170000E8 RID: 232
|
|
// (get) Token: 0x060030C0 RID: 12480 RVA: 0x000F5C78 File Offset: 0x000F3E78
|
|
// (set) Token: 0x060030B0 RID: 12464 RVA: 0x000F56F8 File Offset: 0x000F38F8
|
|
public int KCIELALBOEB
|
|
{
|
|
get
|
|
{
|
|
return this.GELCAAPHECJ.CPIBGJLHLBL();
|
|
}
|
|
set
|
|
{
|
|
this.GELCAAPHECJ.MEAINJPIECA(value);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030B1 RID: 12465 RVA: 0x000F5708 File Offset: 0x000F3908
|
|
private void JNBKBHACIEB(float PCLBADFMGGI)
|
|
{
|
|
float num = this.explosionTimeLeftToCountdownAudioCurve.Evaluate(PCLBADFMGGI / this.explosionTimeout);
|
|
if (this.KOMICOOJHHM - PCLBADFMGGI > num)
|
|
{
|
|
this.KOMICOOJHHM = PCLBADFMGGI;
|
|
AudioManager.Play3DSFX(this.countdownAudio, base.transform.position, null);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030B2 RID: 12466 RVA: 0x000F5758 File Offset: 0x000F3958
|
|
protected virtual Color MPHBAPLIFKC()
|
|
{
|
|
return (!(base.NEGLDNHHEOB != null) || !base.NEGLDNHHEOB.DIEAOHGIEDD()) ? this.defaultColor : base.NEGLDNHHEOB.GBLPHKFPELB;
|
|
}
|
|
|
|
// Token: 0x060030B3 RID: 12467 RVA: 0x000F5794 File Offset: 0x000F3994
|
|
protected void GOKDBMNMJFM()
|
|
{
|
|
if (this.LBKGDBLDHFI != null && this.HMEMAHBIBPA() != 0 && this.visualRoot.gameObject.activeSelf)
|
|
{
|
|
float num = (float)(this.NHKPGKIKFHP() - IHFKMIAHBFP.EMGOIJNLLID) / 1176f;
|
|
if (num > 220f)
|
|
{
|
|
this.LBIGODHFNLO(num);
|
|
}
|
|
else if (num <= 33f)
|
|
{
|
|
this.OEADIPKEOCP();
|
|
}
|
|
}
|
|
this.DIBGIPGKHOJ();
|
|
}
|
|
|
|
// Token: 0x060030B4 RID: 12468 RVA: 0x000F5814 File Offset: 0x000F3A14
|
|
public virtual int IIPMKPCFIOP(Player.HDOICGIKKAO OJCFELLMIFA, float CPKBGBCDHIA, bool KJEFMLFBFHN)
|
|
{
|
|
return Mathf.RoundToInt((float)base.GetPlayerImpactDamage(OJCFELLMIFA, CPKBGBCDHIA, KJEFMLFBFHN) * Mathf.Clamp01(CPKBGBCDHIA));
|
|
}
|
|
|
|
// Token: 0x060030B5 RID: 12469 RVA: 0x000F582C File Offset: 0x000F3A2C
|
|
private void BFJLGHNIKJP(Trap IAHICNDNKAL, IHEAKAOGCIF CACIBBKDNIH)
|
|
{
|
|
this.JIHANPBFOHH(base.BKDFLNGCINH.FICBNMJECCH, IAHICNDNKAL, CACIBBKDNIH);
|
|
}
|
|
|
|
// Token: 0x060030B6 RID: 12470 RVA: 0x000F5844 File Offset: 0x000F3A44
|
|
private void EBOHCIFNJAK()
|
|
{
|
|
bool flag = false;
|
|
if (this.visualRoot.gameObject.activeSelf)
|
|
{
|
|
flag = !this.armedParticles.gameObject.activeSelf;
|
|
}
|
|
else if (this.KCIELALBOEB != 0 && IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.EMGOIJNLLID - this.KCIELALBOEB) / 1000f;
|
|
if (num >= this.postExplosionCleanupTimeout)
|
|
{
|
|
base.BKDFLNGCINH.LocalTakeOwnershipAndResetToLastSpawnPosition();
|
|
}
|
|
}
|
|
if (this.NAFDALAGNNO != null && this.NAFDALAGNNO.enabled != flag)
|
|
{
|
|
this.NAFDALAGNNO.enabled = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030B7 RID: 12471 RVA: 0x000F58F0 File Offset: 0x000F3AF0
|
|
protected virtual void KDHBBCGHDMC()
|
|
{
|
|
base.OnDestroy();
|
|
if (base.BKDFLNGCINH != null)
|
|
{
|
|
base.BKDFLNGCINH.POJHLEKILDI -= this.BJJPEJCDBKK;
|
|
}
|
|
this.ANKLEFEMBKO.MFFLHODKFJF(new KBLFNOHNGAO.JJANGLANMOO(this.DKFODAPJNDG));
|
|
this.ANKLEFEMBKO.DKDMBLKGIAA(new KBLFNOHNGAO.CNPNCBACBJB(this.MHKJMOOFFHN));
|
|
this.ANKLEFEMBKO.CPPBFOALGAP(new KBLFNOHNGAO.ANADCNDLFNN(this.DANGBGHLIEJ));
|
|
this.ANKLEFEMBKO.JPHLDBIMCPK(new KBLFNOHNGAO.NJIPDNBCKJD(this.ELJBNOJNKOP));
|
|
}
|
|
|
|
// Token: 0x060030B8 RID: 12472 RVA: 0x000F5988 File Offset: 0x000F3B88
|
|
private void MOOKBAOIHLN(Player JEFGMHBLLKI, bool HPPFMCLNMCO = false)
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
if (this.LBKGDBLDHFI == null && JEFGMHBLLKI.NHDDPGADJPJ)
|
|
{
|
|
this.HIFNFPFBBMD = JEFGMHBLLKI.LNJFBGIBLHA.BADMPMDONAH;
|
|
this.KCIELALBOEB = IHFKMIAHBFP.EMGOIJNLLID + (int)(this.explosionTimeout * 1000f);
|
|
}
|
|
if (HPPFMCLNMCO && this.KCIELALBOEB > IHFKMIAHBFP.EMGOIJNLLID)
|
|
{
|
|
this.KCIELALBOEB = IHFKMIAHBFP.EMGOIJNLLID;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030B9 RID: 12473 RVA: 0x000F5A08 File Offset: 0x000F3C08
|
|
public virtual int BJHNFJCADIH(Player.HDOICGIKKAO OJCFELLMIFA, float CPKBGBCDHIA, bool KJEFMLFBFHN)
|
|
{
|
|
return Mathf.RoundToInt((float)base.GetPlayerImpactDamage(OJCFELLMIFA, CPKBGBCDHIA, KJEFMLFBFHN) * Mathf.Clamp01(CPKBGBCDHIA));
|
|
}
|
|
|
|
// Token: 0x060030BA RID: 12474 RVA: 0x000F5A20 File Offset: 0x000F3C20
|
|
protected virtual void DOGHEODIFMK()
|
|
{
|
|
base.Start();
|
|
if (base.BKDFLNGCINH != null && base.BKDFLNGCINH.ACAJJPKPKBH != null)
|
|
{
|
|
base.BKDFLNGCINH.ACAJJPKPKBH.supportsAnimateOut = false;
|
|
}
|
|
if (base.JNOCCMDBMIO())
|
|
{
|
|
this.HMLMHGDNBCN(LNJFBGIBLHA.CGNKKAKJIJL);
|
|
this.KCIELALBOEB = 0;
|
|
}
|
|
PlayerSpawnedEquipment playerSpawnedEquipment = base.BKDFLNGCINH.GEONLHPMMPG;
|
|
if (playerSpawnedEquipment != null)
|
|
{
|
|
PlayerSpawnedEquipment.EJADIIIMOPI toolPurpose = playerSpawnedEquipment.FMHDHLOEDPE;
|
|
if (toolPurpose == (PlayerSpawnedEquipment.EJADIIIMOPI)7 || toolPurpose == PlayerSpawnedEquipment.EJADIIIMOPI.Backpack)
|
|
{
|
|
this.KOLOECCGLMN = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030BB RID: 12475 RVA: 0x000F5ABC File Offset: 0x000F3CBC
|
|
private void MHKJMOOFFHN(Enemy AKICADDPOIF, MHEBDODJGOA JJGLGHCMDEN, IHEAKAOGCIF CACIBBKDNIH)
|
|
{
|
|
this.BBIIPGLDAHI(base.BKDFLNGCINH.FICBNMJECCH, AKICADDPOIF, MHEBDODJGOA.NORMAL, CACIBBKDNIH);
|
|
if (AKICADDPOIF.DFJFKOLLEMK())
|
|
{
|
|
AKICADDPOIF.AuthorityOnDamageApplyForce((FLDPCEKNKCA)(-126), JJGLGHCMDEN, CACIBBKDNIH.PMEFMHLCPMF, CACIBBKDNIH.LLKJDBBNPKB);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030BC RID: 12476 RVA: 0x000F5AF8 File Offset: 0x000F3CF8
|
|
private void CPLNNPABIKL()
|
|
{
|
|
bool flag = false;
|
|
if (this.visualRoot.gameObject.activeSelf)
|
|
{
|
|
flag = this.armedParticles.gameObject.activeSelf;
|
|
}
|
|
else if (this.HMEMAHBIBPA() != 0 && IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.EMGOIJNLLID - this.NHKPGKIKFHP()) / 1764f;
|
|
if (num >= this.postExplosionCleanupTimeout)
|
|
{
|
|
base.BKDFLNGCINH.LocalTakeOwnershipAndResetToLastSpawnPosition();
|
|
}
|
|
}
|
|
if (this.JMDECDOOOMO() != null && this.GGNNOEPOJDK().enabled != flag)
|
|
{
|
|
this.GGNNOEPOJDK().enabled = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030BD RID: 12477 RVA: 0x000F5BA4 File Offset: 0x000F3DA4
|
|
private void GPIEJJNDFDL(Player JEFGMHBLLKI, bool HPPFMCLNMCO = false)
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
if (this.LBKGDBLDHFI == null && JEFGMHBLLKI.BGOFBKHOLHF())
|
|
{
|
|
this.JNFIEOBOCBN(JEFGMHBLLKI.LNJFBGIBLHA.BADMPMDONAH);
|
|
this.EJCJCHNCBOF(IHFKMIAHBFP.EMGOIJNLLID + (int)(this.explosionTimeout * 1618f));
|
|
}
|
|
if (HPPFMCLNMCO && this.DONMDGCHFGI() > IHFKMIAHBFP.EMGOIJNLLID)
|
|
{
|
|
this.EFILOFGJIFM(IHFKMIAHBFP.EMGOIJNLLID);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030BE RID: 12478 RVA: 0x000F5C24 File Offset: 0x000F3E24
|
|
private void HOBIGFEOADO(Trap IAHICNDNKAL, IHEAKAOGCIF CACIBBKDNIH)
|
|
{
|
|
this.JIHANPBFOHH(base.BKDFLNGCINH.FICBNMJECCH, IAHICNDNKAL, CACIBBKDNIH);
|
|
}
|
|
|
|
// Token: 0x060030BF RID: 12479 RVA: 0x000F5C3C File Offset: 0x000F3E3C
|
|
private void BKLHBHHACIC(Enemy AKICADDPOIF, MHEBDODJGOA JJGLGHCMDEN, IHEAKAOGCIF CACIBBKDNIH)
|
|
{
|
|
this.BBIIPGLDAHI(base.BKDFLNGCINH.FICBNMJECCH, AKICADDPOIF, MHEBDODJGOA.NORMAL, CACIBBKDNIH);
|
|
if (AKICADDPOIF.DFJFKOLLEMK())
|
|
{
|
|
AKICADDPOIF.AuthorityOnDamageApplyForce((FLDPCEKNKCA)(-108), JJGLGHCMDEN, CACIBBKDNIH.PMEFMHLCPMF, CACIBBKDNIH.LLKJDBBNPKB);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030C1 RID: 12481 RVA: 0x000F5C88 File Offset: 0x000F3E88
|
|
private void BDHFOHAAIFL(Player JEFGMHBLLKI, bool HPPFMCLNMCO = false)
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
if (this.LBKGDBLDHFI == null && JEFGMHBLLKI.PCGELLFCMPB())
|
|
{
|
|
this.JNFIEOBOCBN(JEFGMHBLLKI.LNJFBGIBLHA.BADMPMDONAH);
|
|
this.EBHEMFOPCDL(IHFKMIAHBFP.EMGOIJNLLID + (int)(this.explosionTimeout * 1758f));
|
|
}
|
|
if (HPPFMCLNMCO && this.NHKPGKIKFHP() > IHFKMIAHBFP.EMGOIJNLLID)
|
|
{
|
|
this.EFILOFGJIFM(IHFKMIAHBFP.EMGOIJNLLID);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030C2 RID: 12482 RVA: 0x000F5D08 File Offset: 0x000F3F08
|
|
private void EMPPOOFGAEF(Player IPLDGGMENKL, Player.HDOICGIKKAO OJCFELLMIFA, IHEAKAOGCIF CACIBBKDNIH)
|
|
{
|
|
this.JLLOKADDIFB(base.BKDFLNGCINH.FICBNMJECCH, IPLDGGMENKL, OJCFELLMIFA, CACIBBKDNIH);
|
|
}
|
|
|
|
// Token: 0x060030C3 RID: 12483 RVA: 0x000F5D20 File Offset: 0x000F3F20
|
|
protected override void MPFLHACPICD(Tool COMHEONOMBA, Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 BEDLPFBGLLP, bool JKGMHGAFHPB)
|
|
{
|
|
this.visualRoot.gameObject.SetActive(true);
|
|
base.BKDFLNGCINH.BOLBONELAEF.BOAKFKEHGHP = true;
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
this.HIFNFPFBBMD = LNJFBGIBLHA.CGNKKAKJIJL;
|
|
this.KCIELALBOEB = 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030C4 RID: 12484 RVA: 0x000F5D6C File Offset: 0x000F3F6C
|
|
public void ANDAHDDLHOI(int NOBAPCOKFIL)
|
|
{
|
|
this.GELCAAPHECJ.MEAINJPIECA(NOBAPCOKFIL);
|
|
}
|
|
|
|
// Token: 0x060030C5 RID: 12485 RVA: 0x000F5D7C File Offset: 0x000F3F7C
|
|
private void JBHIDKLBJNE()
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = LNJFBGIBLHA.FDOBBLFBBBK(this.DGODEBHEHLP());
|
|
this.LBKGDBLDHFI = ((lnjfbgiblha == null) ? null : lnjfbgiblha.JHJGDFHNBLO());
|
|
bool flag = lnjfbgiblha == null;
|
|
if (this.LBKGDBLDHFI != null && base.ACEAACJNNAF().OPDLGJGHMJI != this.DGODEBHEHLP())
|
|
{
|
|
base.CEGDLFAENEJ().CLBMDMJOEPH(this.JDEBIOKHEGE());
|
|
}
|
|
else if (this.LBKGDBLDHFI == null)
|
|
{
|
|
base.OMNGGJICBBI.TransferOwnership(LNJFBGIBLHA.CBADMKHNEDP);
|
|
}
|
|
if (base.NEGLDNHHEOB != null)
|
|
{
|
|
base.NEGLDNHHEOB.RefreshOwnerTeam();
|
|
}
|
|
this.KOMICOOJHHM = this.explosionTimeout;
|
|
this.HKOFDKFLPOE(flag);
|
|
}
|
|
|
|
// Token: 0x060030C6 RID: 12486 RVA: 0x000F5E44 File Offset: 0x000F4044
|
|
protected virtual void KMCJNIPIKBA()
|
|
{
|
|
base.Awake();
|
|
this.FJGGPNIBLJE = new LHLLJPPCDKA<int>(this, "AuthenticationValues UserId: {0}, GetParameters: {1} Token available: {2}", LNJFBGIBLHA.CGNKKAKJIJL, (IKCAJLLAFML)6, new Action(this.KCPEHGEGNHN));
|
|
this.GELCAAPHECJ = new LHLLJPPCDKA<int>(this, "ERROR You should never change PhotonPlayer IDs!", 0, (IKCAJLLAFML)5, null);
|
|
this.ANKLEFEMBKO.ACLCNJAPIOB(new KBLFNOHNGAO.JJANGLANMOO(this.MBEJEEBCPHM));
|
|
this.ANKLEFEMBKO.HAGHNOFMDKM(new KBLFNOHNGAO.CNPNCBACBJB(this.MHKJMOOFFHN));
|
|
this.ANKLEFEMBKO.DHHHPJLGDEF(new KBLFNOHNGAO.ANADCNDLFNN(this.KPNKEGGPBNB));
|
|
this.ANKLEFEMBKO.FLLJLODJIDC(new KBLFNOHNGAO.NJIPDNBCKJD(this.PIDLKKFLBCM));
|
|
if (base.BKDFLNGCINH != null)
|
|
{
|
|
base.BKDFLNGCINH.POJHLEKILDI += this.HBLCKJHAJGA;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030C7 RID: 12487 RVA: 0x000F5F14 File Offset: 0x000F4114
|
|
private void CAAJKPEFMBK(bool DJNGHLFLJAD)
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
if (this.armedParticles.gameObject.activeSelf != DJNGHLFLJAD)
|
|
{
|
|
this.armedParticles.gameObject.SetActive(DJNGHLFLJAD);
|
|
this.armedParticles.main.startColor = this.IIMELCHFGKE;
|
|
if (DJNGHLFLJAD)
|
|
{
|
|
this.PBLIKDFJCBC = AudioManager.Play3DSFX(this.activeAudio, base.transform, null);
|
|
}
|
|
else
|
|
{
|
|
this.PBLIKDFJCBC.LHGGHFOFPMA();
|
|
this.PBLIKDFJCBC.NGEFJMABBFA();
|
|
this.PBLIKDFJCBC = null;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030C8 RID: 12488 RVA: 0x000F5FB4 File Offset: 0x000F41B4
|
|
private void MLPFHGAHJDD()
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
this.visualRoot.gameObject.SetActive(false);
|
|
base.BKDFLNGCINH.BOLBONELAEF.LFHAJAHHALO(false);
|
|
base.BKDFLNGCINH.BOLBONELAEF.IGOFELJMFOF = Vector3.zero;
|
|
if (base.BKDFLNGCINH.OHGPCMJMFGC && base.BKDFLNGCINH.FICBNMJECCH.NMDPPKDGAJN())
|
|
{
|
|
base.BKDFLNGCINH.BBGHKANFCHC = DDOFAPFDGNL.JPCIKFHMMED;
|
|
}
|
|
if (this.LBKGDBLDHFI != null)
|
|
{
|
|
GrenadeExplosionPooledParticle grenadeExplosionPooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<GrenadeExplosionPooledParticle>(this.particlesPrefab);
|
|
if (grenadeExplosionPooledParticle != null)
|
|
{
|
|
grenadeExplosionPooledParticle.FFJFFBLIBBM(this.IIMELCHFGKE);
|
|
grenadeExplosionPooledParticle.AONJILIKFOI(base.transform.position, base.transform.rotation, true);
|
|
}
|
|
AudioManager.Play3DSFX(this.explodeAudio, base.transform.position, null);
|
|
this.ANKLEFEMBKO.CCBBCAEMDHA(base.transform.position, this.explosionRadius, this.explosionForce, this.damageFalloff, this.forceFalloff, 24f, null);
|
|
}
|
|
this.LBKGDBLDHFI = null;
|
|
this.IOPHGGDNICE(false);
|
|
}
|
|
|
|
// Token: 0x060030C9 RID: 12489 RVA: 0x000F60EC File Offset: 0x000F42EC
|
|
private void PLCAFPGGHLA()
|
|
{
|
|
bool flag = true;
|
|
if (this.visualRoot.gameObject.activeSelf)
|
|
{
|
|
flag = !this.armedParticles.gameObject.activeSelf;
|
|
}
|
|
else if (this.NHKPGKIKFHP() != 0 && IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.EMGOIJNLLID - this.DONMDGCHFGI()) / 1371f;
|
|
if (num >= this.postExplosionCleanupTimeout)
|
|
{
|
|
base.BKDFLNGCINH.LocalTakeOwnershipAndResetToLastSpawnPosition();
|
|
}
|
|
}
|
|
if (this.NAFDALAGNNO != null && this.GGNNOEPOJDK().enabled != flag)
|
|
{
|
|
this.NAFDALAGNNO.enabled = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030CA RID: 12490 RVA: 0x000F6198 File Offset: 0x000F4398
|
|
private void FDGBLGCKLCE(Player IPLDGGMENKL, Player.HDOICGIKKAO OJCFELLMIFA, IHEAKAOGCIF CACIBBKDNIH)
|
|
{
|
|
this.JLLOKADDIFB(base.BKDFLNGCINH.FICBNMJECCH, IPLDGGMENKL, OJCFELLMIFA, CACIBBKDNIH);
|
|
}
|
|
|
|
// Token: 0x060030CB RID: 12491 RVA: 0x000F61B0 File Offset: 0x000F43B0
|
|
private void DIBGIPGKHOJ()
|
|
{
|
|
bool flag = true;
|
|
if (this.visualRoot.gameObject.activeSelf)
|
|
{
|
|
flag = this.armedParticles.gameObject.activeSelf;
|
|
}
|
|
else if (this.HMEMAHBIBPA() != 0 && IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.EMGOIJNLLID - this.DONMDGCHFGI()) / 335f;
|
|
if (num >= this.postExplosionCleanupTimeout)
|
|
{
|
|
base.BKDFLNGCINH.LocalTakeOwnershipAndResetToLastSpawnPosition();
|
|
}
|
|
}
|
|
if (this.NAFDALAGNNO != null && this.NAFDALAGNNO.enabled != flag)
|
|
{
|
|
this.NAFDALAGNNO.enabled = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030CC RID: 12492 RVA: 0x000F625C File Offset: 0x000F445C
|
|
private void HBLCKJHAJGA(Tool ENBMEDIFBLM)
|
|
{
|
|
this.HGGLJGAMHBE(ENBMEDIFBLM.NAABPMOIADH(), false);
|
|
}
|
|
|
|
// Token: 0x060030CD RID: 12493 RVA: 0x000F626C File Offset: 0x000F446C
|
|
public int COADAMAGKNO()
|
|
{
|
|
return this.FJGGPNIBLJE.CPIBGJLHLBL();
|
|
}
|
|
|
|
// Token: 0x060030CE RID: 12494 RVA: 0x000F627C File Offset: 0x000F447C
|
|
public void EBHEMFOPCDL(int NOBAPCOKFIL)
|
|
{
|
|
this.GELCAAPHECJ.MEAINJPIECA(NOBAPCOKFIL);
|
|
}
|
|
|
|
// Token: 0x060030CF RID: 12495 RVA: 0x000F628C File Offset: 0x000F448C
|
|
private void HGGLJGAMHBE(Player JEFGMHBLLKI, bool HPPFMCLNMCO = false)
|
|
{
|
|
if (!this.KOLOECCGLMN)
|
|
{
|
|
return;
|
|
}
|
|
if (this.LBKGDBLDHFI == null && JEFGMHBLLKI.CFPNNAADNJF())
|
|
{
|
|
this.EAFNDNGPCKG(JEFGMHBLLKI.LNJFBGIBLHA.BADMPMDONAH);
|
|
this.EFILOFGJIFM(IHFKMIAHBFP.EMGOIJNLLID + (int)(this.explosionTimeout * 1853f));
|
|
}
|
|
if (HPPFMCLNMCO && this.KCIELALBOEB > IHFKMIAHBFP.EMGOIJNLLID)
|
|
{
|
|
this.EBHEMFOPCDL(IHFKMIAHBFP.EMGOIJNLLID);
|
|
}
|
|
}
|
|
|
|
// Token: 0x170000EA RID: 234
|
|
// (get) Token: 0x060030D0 RID: 12496 RVA: 0x000F630C File Offset: 0x000F450C
|
|
protected override Color IIMELCHFGKE
|
|
{
|
|
get
|
|
{
|
|
return (!(base.NEGLDNHHEOB != null) || !base.NEGLDNHHEOB.AAPHLNCOPNF) ? this.defaultColor : base.NEGLDNHHEOB.GBLPHKFPELB;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030D1 RID: 12497 RVA: 0x000F6348 File Offset: 0x000F4548
|
|
protected virtual void BHEHFLNNGOG(Tool COMHEONOMBA, Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, Vector3 BEDLPFBGLLP, bool JKGMHGAFHPB)
|
|
{
|
|
this.visualRoot.gameObject.SetActive(true);
|
|
base.BKDFLNGCINH.BOLBONELAEF.BOAKFKEHGHP = false;
|
|
if (base.JNOCCMDBMIO())
|
|
{
|
|
this.HMLMHGDNBCN(LNJFBGIBLHA.CGNKKAKJIJL);
|
|
this.KDBKFMBPJKK(1);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030D2 RID: 12498 RVA: 0x000F6394 File Offset: 0x000F4594
|
|
private void DANGBGHLIEJ(Trap IAHICNDNKAL, IHEAKAOGCIF CACIBBKDNIH)
|
|
{
|
|
this.JIHANPBFOHH(base.BKDFLNGCINH.FICBNMJECCH, IAHICNDNKAL, CACIBBKDNIH);
|
|
}
|
|
|
|
// Token: 0x060030D3 RID: 12499 RVA: 0x000F63AC File Offset: 0x000F45AC
|
|
private void BJJPEJCDBKK(Tool ENBMEDIFBLM)
|
|
{
|
|
this.AONJFONDIIN(ENBMEDIFBLM.CAAOEAAJAIL, true);
|
|
}
|
|
|
|
// Token: 0x060030D4 RID: 12500 RVA: 0x000F63BC File Offset: 0x000F45BC
|
|
private void DOFAOILGMLL()
|
|
{
|
|
bool flag = true;
|
|
if (this.visualRoot.gameObject.activeSelf)
|
|
{
|
|
flag = !this.armedParticles.gameObject.activeSelf;
|
|
}
|
|
else if (this.HMEMAHBIBPA() != 0 && IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
float num = (float)(IHFKMIAHBFP.EMGOIJNLLID - this.HMEMAHBIBPA()) / 481f;
|
|
if (num >= this.postExplosionCleanupTimeout)
|
|
{
|
|
base.BKDFLNGCINH.LocalTakeOwnershipAndResetToLastSpawnPosition();
|
|
}
|
|
}
|
|
if (this.JMDECDOOOMO() != null && this.GGNNOEPOJDK().enabled != flag)
|
|
{
|
|
this.GGNNOEPOJDK().enabled = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060030D5 RID: 12501 RVA: 0x000F6468 File Offset: 0x000F4668
|
|
private void BLCLFJJMLNL(Tool ENBMEDIFBLM)
|
|
{
|
|
this.JIEFNHPKGLK(ENBMEDIFBLM.CAAOEAAJAIL, false);
|
|
}
|
|
|
|
// Token: 0x060030D6 RID: 12502 RVA: 0x000F6478 File Offset: 0x000F4678
|
|
public void HMLMHGDNBCN(int NOBAPCOKFIL)
|
|
{
|
|
this.FJGGPNIBLJE.MEAINJPIECA(NOBAPCOKFIL);
|
|
}
|
|
|
|
// Token: 0x04000661 RID: 1633
|
|
[SerializeField]
|
|
[Header("Explosion")]
|
|
private float explosionRadius = 5f;
|
|
|
|
// Token: 0x04000662 RID: 1634
|
|
[SerializeField]
|
|
private float explosionForce = 30f;
|
|
|
|
// Token: 0x04000663 RID: 1635
|
|
[SerializeField]
|
|
protected AnimationCurve forceFalloff = AnimationCurve.Linear(0f, 1f, 1f, 1f);
|
|
|
|
// Token: 0x04000664 RID: 1636
|
|
[SerializeField]
|
|
protected AnimationCurve damageFalloff = AnimationCurve.Linear(0f, 1f, 1f, 1f);
|
|
|
|
// Token: 0x04000665 RID: 1637
|
|
[SerializeField]
|
|
private float explosionTimeout = 5f;
|
|
|
|
// Token: 0x04000666 RID: 1638
|
|
[SerializeField]
|
|
private float postExplosionCleanupTimeout = 15f;
|
|
|
|
// Token: 0x04000667 RID: 1639
|
|
[SerializeField]
|
|
[Header("Visuals")]
|
|
private Transform visualRoot;
|
|
|
|
// Token: 0x04000668 RID: 1640
|
|
[SerializeField]
|
|
private GrenadeExplosionPooledParticle particlesPrefab;
|
|
|
|
// Token: 0x04000669 RID: 1641
|
|
[SerializeField]
|
|
private ParticleSystem armedParticles;
|
|
|
|
// Token: 0x0400066A RID: 1642
|
|
[SerializeField]
|
|
private Color defaultColor = Color.green;
|
|
|
|
// Token: 0x0400066B RID: 1643
|
|
[Header("Audio")]
|
|
[SerializeField]
|
|
private RecRoomAudioClip explodeAudio;
|
|
|
|
// Token: 0x0400066C RID: 1644
|
|
[SerializeField]
|
|
private RecRoomAudioClip activeAudio;
|
|
|
|
// Token: 0x0400066D RID: 1645
|
|
[SerializeField]
|
|
private RecRoomAudioClip countdownAudio;
|
|
|
|
// Token: 0x0400066E RID: 1646
|
|
[SerializeField]
|
|
private AnimationCurve explosionTimeLeftToCountdownAudioCurve;
|
|
|
|
// Token: 0x0400066F RID: 1647
|
|
private KBLFNOHNGAO ANKLEFEMBKO = new KBLFNOHNGAO();
|
|
|
|
// Token: 0x04000670 RID: 1648
|
|
private ToolCleanup FCIINLINDJN;
|
|
|
|
// Token: 0x04000671 RID: 1649
|
|
private SFXAudioSource PBLIKDFJCBC;
|
|
|
|
// Token: 0x04000672 RID: 1650
|
|
private bool KOLOECCGLMN = true;
|
|
|
|
// Token: 0x04000673 RID: 1651
|
|
private Player LBKGDBLDHFI;
|
|
|
|
// Token: 0x04000674 RID: 1652
|
|
private float KOMICOOJHHM;
|
|
|
|
// Token: 0x04000675 RID: 1653
|
|
private LHLLJPPCDKA<int> FJGGPNIBLJE;
|
|
|
|
// Token: 0x04000676 RID: 1654
|
|
private LHLLJPPCDKA<int> GELCAAPHECJ;
|
|
|
|
// Token: 0x04000677 RID: 1655
|
|
private const int NCNEKENPBFD = 256;
|
|
}
|
|
}
|