scripts
This commit is contained in:
@@ -0,0 +1,743 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x02000171 RID: 369
|
||||
[RequireComponent(typeof(LootDropper))]
|
||||
[RequireComponent(typeof(PhotonView))]
|
||||
public class LootTrap : Trap
|
||||
{
|
||||
// Token: 0x06004D12 RID: 19730 RVA: 0x0017EAF0 File Offset: 0x0017CCF0
|
||||
public virtual void AIDAMCLBFJE()
|
||||
{
|
||||
base.MasterResetToSpawnPoint();
|
||||
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
||||
{
|
||||
if (!base.JNOCCMDBMIO())
|
||||
{
|
||||
base.EKPBHKFHMON().GLMELMJKGKP(IHFKMIAHBFP.JEFGMHBLLKI);
|
||||
}
|
||||
this.ABPKKPBENJJ(this.defaultHealth);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D13 RID: 19731 RVA: 0x0017EB2C File Offset: 0x0017CD2C
|
||||
protected virtual void NNDMPBHLHGG()
|
||||
{
|
||||
base.FMFOFJCCCMJ();
|
||||
if (base.DFJJBNAGNNM())
|
||||
{
|
||||
this.AMBHNMDKDDP.Clear();
|
||||
if (base.IGIPCHFCFNN())
|
||||
{
|
||||
this.ABPKKPBENJJ(this.defaultHealth);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D14 RID: 19732 RVA: 0x0017EB64 File Offset: 0x0017CD64
|
||||
public override void AuthorityApplyDamage(FLDPCEKNKCA BDOBLEKAEAM, int ONBHFBHGALJ, Vector3 FHFHOMKFHCI, Vector3 MNNIMIJFPPJ)
|
||||
{
|
||||
base.AuthorityApplyDamage(BDOBLEKAEAM, ONBHFBHGALJ, FHFHOMKFHCI, MNNIMIJFPPJ);
|
||||
if (base.BHCCHBHNHCG && this.CNHBPJFLDCE > 0)
|
||||
{
|
||||
this.CNHBPJFLDCE -= ONBHFBHGALJ;
|
||||
bool flag = this.CNHBPJFLDCE <= 0;
|
||||
base.OMNGGJICBBI.RPC("RpcOnDamage", IHCPDNLJMMD.All, new object[]
|
||||
{
|
||||
base.ECHJNDDOIBD.BADMPMDONAH,
|
||||
flag,
|
||||
FHFHOMKFHCI,
|
||||
MNNIMIJFPPJ
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D15 RID: 19733 RVA: 0x0017EBF4 File Offset: 0x0017CDF4
|
||||
protected virtual void HKBNFKNLICF()
|
||||
{
|
||||
base.Awake();
|
||||
this.LLMACEFNAKG = base.GetComponentsInChildren<Renderer>();
|
||||
this.NOALHBDNLCL = base.GetComponent<LootDropper>();
|
||||
this.JIHKECPJGJI = new LHLLJPPCDKA<int>(this, "Left", this.defaultHealth, IKCAJLLAFML.MASTER, new Action(this.BNMENGKOKCB));
|
||||
}
|
||||
|
||||
// Token: 0x06004D16 RID: 19734 RVA: 0x0017EC44 File Offset: 0x0017CE44
|
||||
protected virtual void CHHGINOOBGL()
|
||||
{
|
||||
base.ABMIODDOGNJ();
|
||||
if (base.NIINOABKAPJ)
|
||||
{
|
||||
this.AMBHNMDKDDP.Clear();
|
||||
if (base.IGIPCHFCFNN())
|
||||
{
|
||||
this.CNHBPJFLDCE = this.defaultHealth;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D17 RID: 19735 RVA: 0x0017EC7C File Offset: 0x0017CE7C
|
||||
protected virtual void GJGEACMGLKP()
|
||||
{
|
||||
base.ONKCFGIOGCF();
|
||||
this.LLMACEFNAKG = base.GetComponentsInChildren<Renderer>();
|
||||
this.NOALHBDNLCL = base.GetComponent<LootDropper>();
|
||||
this.JIHKECPJGJI = new LHLLJPPCDKA<int>(this, "/home ", this.defaultHealth, IKCAJLLAFML.MASTER, new Action(this.BNMENGKOKCB));
|
||||
}
|
||||
|
||||
// Token: 0x06004D18 RID: 19736 RVA: 0x0017ECCC File Offset: 0x0017CECC
|
||||
protected virtual void KFMEHMEDGBE()
|
||||
{
|
||||
base.Start();
|
||||
this.BNMENGKOKCB();
|
||||
}
|
||||
|
||||
// Token: 0x06004D19 RID: 19737 RVA: 0x0017ECDC File Offset: 0x0017CEDC
|
||||
private void CHJAOOGKPJC(LNJFBGIBLHA EFCIKBEHKNL, bool LLKNMKFNMAK, Vector3 FHFHOMKFHCI, Vector3 MNNIMIJFPPJ)
|
||||
{
|
||||
this.AMBHNMDKDDP.Add(EFCIKBEHKNL);
|
||||
if (LLKNMKFNMAK)
|
||||
{
|
||||
if (this.NOALHBDNLCL != null && this.AMBHNMDKDDP.Count > 1)
|
||||
{
|
||||
this.NOALHBDNLCL.HCMDFGBGJAN(this.AMBHNMDKDDP.ToArray(), this.lootSpawn.position);
|
||||
}
|
||||
if (this.onDeathParticles != null)
|
||||
{
|
||||
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.onDeathParticles);
|
||||
if (pooledParticle != null)
|
||||
{
|
||||
pooledParticle.Play(FHFHOMKFHCI, Quaternion.LookRotation(MNNIMIJFPPJ, Vector3.up), false);
|
||||
}
|
||||
}
|
||||
if (this.onDeathAudio != null && this.onDeathAudio.audioClip != null)
|
||||
{
|
||||
AudioManager.Play3DSFX(this.onDeathAudio, FHFHOMKFHCI, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D1A RID: 19738 RVA: 0x0017EDB0 File Offset: 0x0017CFB0
|
||||
public virtual void ECJKHBIJCMJ(FLDPCEKNKCA BDOBLEKAEAM, int ONBHFBHGALJ, Vector3 FHFHOMKFHCI, Vector3 MNNIMIJFPPJ)
|
||||
{
|
||||
base.AuthorityApplyDamage(BDOBLEKAEAM, ONBHFBHGALJ, FHFHOMKFHCI, MNNIMIJFPPJ);
|
||||
if (base.DGLOKLCEMLH() && this.PJOAONJKLEI() > 0)
|
||||
{
|
||||
this.LBKGGFAKKOO(this.OGKNEKHHIGE() - ONBHFBHGALJ);
|
||||
bool flag = this.FFJKAKGBLJP() > 0;
|
||||
PhotonView photonView = base.MLNMONBHHBO();
|
||||
string text = "Play";
|
||||
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
||||
object[] array = new object[4];
|
||||
array[1] = base.NCANAACNOIJ().BADMPMDONAH;
|
||||
array[0] = flag;
|
||||
array[3] = FHFHOMKFHCI;
|
||||
array[7] = MNNIMIJFPPJ;
|
||||
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D1B RID: 19739 RVA: 0x0017EE40 File Offset: 0x0017D040
|
||||
public virtual void IPCHHPHPBNM(FLDPCEKNKCA BDOBLEKAEAM, int ONBHFBHGALJ, Vector3 FHFHOMKFHCI, Vector3 MNNIMIJFPPJ)
|
||||
{
|
||||
base.ELGJEGLPABH(BDOBLEKAEAM, ONBHFBHGALJ, FHFHOMKFHCI, MNNIMIJFPPJ);
|
||||
if (base.DGLKKANNBPD() && this.HFGCDKBCEFI() > 1)
|
||||
{
|
||||
this.LBKGGFAKKOO(this.ADOONCLCDEM() - ONBHFBHGALJ);
|
||||
bool flag = this.HFGCDKBCEFI() > 1;
|
||||
PhotonView photonView = base.POOAOJPEDJD();
|
||||
string text = "QueerGirl";
|
||||
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
||||
object[] array = new object[0];
|
||||
array[1] = base.BBHPOAFPKAE().BADMPMDONAH;
|
||||
array[0] = flag;
|
||||
array[2] = FHFHOMKFHCI;
|
||||
array[5] = MNNIMIJFPPJ;
|
||||
photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D1C RID: 19740 RVA: 0x0017EED0 File Offset: 0x0017D0D0
|
||||
public virtual void BKACPJLKMED()
|
||||
{
|
||||
base.MasterResetToSpawnPoint();
|
||||
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
||||
{
|
||||
if (!base.IGIPCHFCFNN())
|
||||
{
|
||||
base.LJILHDMCKME().GLMELMJKGKP(IHFKMIAHBFP.JEFGMHBLLKI);
|
||||
}
|
||||
this.LBKGGFAKKOO(this.defaultHealth);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D1D RID: 19741 RVA: 0x0017EF0C File Offset: 0x0017D10C
|
||||
public override void CHFICIJHDFF()
|
||||
{
|
||||
base.CHFICIJHDFF();
|
||||
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
||||
{
|
||||
if (!base.DFJFKOLLEMK())
|
||||
{
|
||||
base.LHEPJEHMAEC().GLMELMJKGKP(IHFKMIAHBFP.JEFGMHBLLKI);
|
||||
}
|
||||
this.ABPKKPBENJJ(this.defaultHealth);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D1E RID: 19742 RVA: 0x0017EF48 File Offset: 0x0017D148
|
||||
private void BFNHFJFLGHC(LNJFBGIBLHA EFCIKBEHKNL, bool LLKNMKFNMAK, Vector3 FHFHOMKFHCI, Vector3 MNNIMIJFPPJ)
|
||||
{
|
||||
this.AMBHNMDKDDP.Add(EFCIKBEHKNL);
|
||||
if (LLKNMKFNMAK)
|
||||
{
|
||||
if (this.NOALHBDNLCL != null && this.AMBHNMDKDDP.Count > 0)
|
||||
{
|
||||
this.NOALHBDNLCL.DropLoot(this.AMBHNMDKDDP.ToArray(), this.lootSpawn.position);
|
||||
}
|
||||
if (this.onDeathParticles != null)
|
||||
{
|
||||
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.onDeathParticles);
|
||||
if (pooledParticle != null)
|
||||
{
|
||||
pooledParticle.Play(FHFHOMKFHCI, Quaternion.LookRotation(MNNIMIJFPPJ, Vector3.up), false);
|
||||
}
|
||||
}
|
||||
if (this.onDeathAudio != null && this.onDeathAudio.audioClip != null)
|
||||
{
|
||||
AudioManager.Play3DSFX(this.onDeathAudio, FHFHOMKFHCI, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D1F RID: 19743 RVA: 0x0017F01C File Offset: 0x0017D21C
|
||||
protected void MODAHCHKJCH(int BLHBOAOIMLN, bool LLKNMKFNMAK, Vector3 FHFHOMKFHCI, Vector3 MNNIMIJFPPJ)
|
||||
{
|
||||
LNJFBGIBLHA lnjfbgiblha = LNJFBGIBLHA.DGIBFHDCGHH(BLHBOAOIMLN);
|
||||
this.BFNHFJFLGHC(lnjfbgiblha, LLKNMKFNMAK, FHFHOMKFHCI, MNNIMIJFPPJ);
|
||||
}
|
||||
|
||||
// Token: 0x1700015E RID: 350
|
||||
// (get) Token: 0x06004D48 RID: 19784 RVA: 0x0017FBD0 File Offset: 0x0017DDD0
|
||||
// (set) Token: 0x06004D20 RID: 19744 RVA: 0x0017F03C File Offset: 0x0017D23C
|
||||
private int CNHBPJFLDCE
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.JIHKECPJGJI.CPIBGJLHLBL();
|
||||
}
|
||||
set
|
||||
{
|
||||
this.JIHKECPJGJI.MEAINJPIECA(value);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D21 RID: 19745 RVA: 0x0017F04C File Offset: 0x0017D24C
|
||||
protected virtual void PEMILJJNOEP()
|
||||
{
|
||||
base.ONKCFGIOGCF();
|
||||
this.LLMACEFNAKG = base.GetComponentsInChildren<Renderer>();
|
||||
this.NOALHBDNLCL = base.GetComponent<LootDropper>();
|
||||
this.JIHKECPJGJI = new LHLLJPPCDKA<int>(this, "Id", this.defaultHealth, IKCAJLLAFML.MASTER, new Action(this.BNMENGKOKCB));
|
||||
}
|
||||
|
||||
// Token: 0x06004D22 RID: 19746 RVA: 0x0017F09C File Offset: 0x0017D29C
|
||||
private void DIBMCNBCLGA(LNJFBGIBLHA EFCIKBEHKNL, bool LLKNMKFNMAK, Vector3 FHFHOMKFHCI, Vector3 MNNIMIJFPPJ)
|
||||
{
|
||||
this.AMBHNMDKDDP.Add(EFCIKBEHKNL);
|
||||
if (LLKNMKFNMAK)
|
||||
{
|
||||
if (this.NOALHBDNLCL != null && this.AMBHNMDKDDP.Count > 1)
|
||||
{
|
||||
this.NOALHBDNLCL.IBINICGCNDE(this.AMBHNMDKDDP.ToArray(), this.lootSpawn.position);
|
||||
}
|
||||
if (this.onDeathParticles != null)
|
||||
{
|
||||
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.onDeathParticles);
|
||||
if (pooledParticle != null)
|
||||
{
|
||||
pooledParticle.NAPGKLNBMHN(FHFHOMKFHCI, Quaternion.LookRotation(MNNIMIJFPPJ, Vector3.up), false);
|
||||
}
|
||||
}
|
||||
if (this.onDeathAudio != null && this.onDeathAudio.audioClip != null)
|
||||
{
|
||||
AudioManager.Play3DSFX(this.onDeathAudio, FHFHOMKFHCI, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D23 RID: 19747 RVA: 0x0017F170 File Offset: 0x0017D370
|
||||
protected override void MICFHMAIGIB()
|
||||
{
|
||||
base.ONKCFGIOGCF();
|
||||
this.LLMACEFNAKG = base.GetComponentsInChildren<Renderer>();
|
||||
this.NOALHBDNLCL = base.GetComponent<LootDropper>();
|
||||
this.JIHKECPJGJI = new LHLLJPPCDKA<int>(this, "[PV] CreateLocalVoice: encoder for IFrameStream<short> is not IBufferEncoder<short>: ", this.defaultHealth, IKCAJLLAFML.AUTHORITY, new Action(this.FFBEABHGHNH));
|
||||
}
|
||||
|
||||
// Token: 0x06004D25 RID: 19749 RVA: 0x0017F1DC File Offset: 0x0017D3DC
|
||||
private int DEBJDLGBNOH()
|
||||
{
|
||||
return this.JIHKECPJGJI.CPIBGJLHLBL();
|
||||
}
|
||||
|
||||
// Token: 0x06004D26 RID: 19750 RVA: 0x0017F1EC File Offset: 0x0017D3EC
|
||||
protected virtual void AMCANMJHAEH()
|
||||
{
|
||||
base.Start();
|
||||
this.FFBEABHGHNH();
|
||||
}
|
||||
|
||||
// Token: 0x06004D27 RID: 19751 RVA: 0x0017F1FC File Offset: 0x0017D3FC
|
||||
[BCENPNOIAOM]
|
||||
protected void RpcOnDamage(int BLHBOAOIMLN, bool LLKNMKFNMAK, Vector3 FHFHOMKFHCI, Vector3 MNNIMIJFPPJ)
|
||||
{
|
||||
LNJFBGIBLHA lnjfbgiblha = LNJFBGIBLHA.FDOBBLFBBBK(BLHBOAOIMLN);
|
||||
this.BFNHFJFLGHC(lnjfbgiblha, LLKNMKFNMAK, FHFHOMKFHCI, MNNIMIJFPPJ);
|
||||
}
|
||||
|
||||
// Token: 0x06004D28 RID: 19752 RVA: 0x0017F21C File Offset: 0x0017D41C
|
||||
private void JBLABCDBOJG(LNJFBGIBLHA EFCIKBEHKNL, bool LLKNMKFNMAK, Vector3 FHFHOMKFHCI, Vector3 MNNIMIJFPPJ)
|
||||
{
|
||||
this.AMBHNMDKDDP.Add(EFCIKBEHKNL);
|
||||
if (LLKNMKFNMAK)
|
||||
{
|
||||
if (this.NOALHBDNLCL != null && this.AMBHNMDKDDP.Count > 1)
|
||||
{
|
||||
this.NOALHBDNLCL.DropLoot(this.AMBHNMDKDDP.ToArray(), this.lootSpawn.position);
|
||||
}
|
||||
if (this.onDeathParticles != null)
|
||||
{
|
||||
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.onDeathParticles);
|
||||
if (pooledParticle != null)
|
||||
{
|
||||
pooledParticle.Play(FHFHOMKFHCI, Quaternion.LookRotation(MNNIMIJFPPJ, Vector3.up), true);
|
||||
}
|
||||
}
|
||||
if (this.onDeathAudio != null && this.onDeathAudio.audioClip != null)
|
||||
{
|
||||
AudioManager.Play3DSFX(this.onDeathAudio, FHFHOMKFHCI, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D29 RID: 19753 RVA: 0x0017F2F0 File Offset: 0x0017D4F0
|
||||
protected virtual void MIDBFNEKHOA()
|
||||
{
|
||||
base.ABMIODDOGNJ();
|
||||
if (base.DFJJBNAGNNM())
|
||||
{
|
||||
this.AMBHNMDKDDP.Clear();
|
||||
if (base.DFJFKOLLEMK())
|
||||
{
|
||||
this.CNHBPJFLDCE = this.defaultHealth;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D2A RID: 19754 RVA: 0x0017F328 File Offset: 0x0017D528
|
||||
private void BNMENGKOKCB()
|
||||
{
|
||||
if (this.LLMACEFNAKG != null)
|
||||
{
|
||||
Renderer[] llmacefnakg = this.LLMACEFNAKG;
|
||||
for (int i = 0; i < llmacefnakg.Length; i += 0)
|
||||
{
|
||||
Renderer renderer = llmacefnakg[i];
|
||||
renderer.material = ((this.HFGCDKBCEFI() != this.defaultHealth) ? this.damagedMaterial : this.fullHealthMaterial);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D2B RID: 19755 RVA: 0x0017F388 File Offset: 0x0017D588
|
||||
public virtual void AMJGEEIEGAB()
|
||||
{
|
||||
base.NLBEPMOPLNL();
|
||||
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
||||
{
|
||||
if (!base.DFJFKOLLEMK())
|
||||
{
|
||||
base.LHEPJEHMAEC().EJBOGPNBGHI(IHFKMIAHBFP.JEFGMHBLLKI);
|
||||
}
|
||||
this.FJGPHHNBABP(this.defaultHealth);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D2C RID: 19756 RVA: 0x0017F3C4 File Offset: 0x0017D5C4
|
||||
private void ABPKKPBENJJ(int NOBAPCOKFIL)
|
||||
{
|
||||
this.JIHKECPJGJI.MEAINJPIECA(NOBAPCOKFIL);
|
||||
}
|
||||
|
||||
// Token: 0x06004D2D RID: 19757 RVA: 0x0017F3D4 File Offset: 0x0017D5D4
|
||||
private void BEIPOKNDGBH(LNJFBGIBLHA EFCIKBEHKNL, bool LLKNMKFNMAK, Vector3 FHFHOMKFHCI, Vector3 MNNIMIJFPPJ)
|
||||
{
|
||||
this.AMBHNMDKDDP.Add(EFCIKBEHKNL);
|
||||
if (LLKNMKFNMAK)
|
||||
{
|
||||
if (this.NOALHBDNLCL != null && this.AMBHNMDKDDP.Count > 1)
|
||||
{
|
||||
this.NOALHBDNLCL.FDIJDMGBDGG(this.AMBHNMDKDDP.ToArray(), this.lootSpawn.position);
|
||||
}
|
||||
if (this.onDeathParticles != null)
|
||||
{
|
||||
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.onDeathParticles);
|
||||
if (pooledParticle != null)
|
||||
{
|
||||
pooledParticle.Play(FHFHOMKFHCI, Quaternion.LookRotation(MNNIMIJFPPJ, Vector3.up), true);
|
||||
}
|
||||
}
|
||||
if (this.onDeathAudio != null && this.onDeathAudio.audioClip != null)
|
||||
{
|
||||
AudioManager.Play3DSFX(this.onDeathAudio, FHFHOMKFHCI, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D2E RID: 19758 RVA: 0x0017F4A8 File Offset: 0x0017D6A8
|
||||
protected override void Start()
|
||||
{
|
||||
base.Start();
|
||||
this.FFBEABHGHNH();
|
||||
}
|
||||
|
||||
// Token: 0x06004D2F RID: 19759 RVA: 0x0017F4B8 File Offset: 0x0017D6B8
|
||||
private int HFGCDKBCEFI()
|
||||
{
|
||||
return this.JIHKECPJGJI.CPIBGJLHLBL();
|
||||
}
|
||||
|
||||
// Token: 0x06004D30 RID: 19760 RVA: 0x0017F4C8 File Offset: 0x0017D6C8
|
||||
private void CAMLDLKGBMJ(LNJFBGIBLHA EFCIKBEHKNL, bool LLKNMKFNMAK, Vector3 FHFHOMKFHCI, Vector3 MNNIMIJFPPJ)
|
||||
{
|
||||
this.AMBHNMDKDDP.Add(EFCIKBEHKNL);
|
||||
if (LLKNMKFNMAK)
|
||||
{
|
||||
if (this.NOALHBDNLCL != null && this.AMBHNMDKDDP.Count > 0)
|
||||
{
|
||||
this.NOALHBDNLCL.OJHLNEJJLFP(this.AMBHNMDKDDP.ToArray(), this.lootSpawn.position);
|
||||
}
|
||||
if (this.onDeathParticles != null)
|
||||
{
|
||||
PooledParticle pooledParticle = ObjectPool.NFHMLKPHCFF().Acquire<PooledParticle>(this.onDeathParticles);
|
||||
if (pooledParticle != null)
|
||||
{
|
||||
pooledParticle.NAPGKLNBMHN(FHFHOMKFHCI, Quaternion.LookRotation(MNNIMIJFPPJ, Vector3.up), true);
|
||||
}
|
||||
}
|
||||
if (this.onDeathAudio != null && this.onDeathAudio.audioClip != null)
|
||||
{
|
||||
AudioManager.Play3DSFX(this.onDeathAudio, FHFHOMKFHCI, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D31 RID: 19761 RVA: 0x0017F59C File Offset: 0x0017D79C
|
||||
public virtual void AJIBANOEBEE(FLDPCEKNKCA BDOBLEKAEAM, int ONBHFBHGALJ, Vector3 FHFHOMKFHCI, Vector3 MNNIMIJFPPJ)
|
||||
{
|
||||
base.ELGJEGLPABH(BDOBLEKAEAM, ONBHFBHGALJ, FHFHOMKFHCI, MNNIMIJFPPJ);
|
||||
if (base.JNOCCMDBMIO() && this.OGKNEKHHIGE() > 1)
|
||||
{
|
||||
this.CNHBPJFLDCE = this.PJOAONJKLEI() - ONBHFBHGALJ;
|
||||
bool flag = this.OGKNEKHHIGE() <= 0;
|
||||
PhotonView photonView = base.OMNGGJICBBI;
|
||||
string text = "Tickets";
|
||||
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
||||
object[] array = new object[8];
|
||||
array[0] = base.KNFBAEDFDAP().BADMPMDONAH;
|
||||
array[0] = flag;
|
||||
array[5] = FHFHOMKFHCI;
|
||||
array[8] = MNNIMIJFPPJ;
|
||||
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D32 RID: 19762 RVA: 0x0017F62C File Offset: 0x0017D82C
|
||||
private void FFBEABHGHNH()
|
||||
{
|
||||
if (this.LLMACEFNAKG != null)
|
||||
{
|
||||
foreach (Renderer renderer in this.LLMACEFNAKG)
|
||||
{
|
||||
renderer.material = ((this.CNHBPJFLDCE != this.defaultHealth) ? this.damagedMaterial : this.fullHealthMaterial);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D33 RID: 19763 RVA: 0x0017F68C File Offset: 0x0017D88C
|
||||
protected void DPBGJKFNPIA(int BLHBOAOIMLN, bool LLKNMKFNMAK, Vector3 FHFHOMKFHCI, Vector3 MNNIMIJFPPJ)
|
||||
{
|
||||
LNJFBGIBLHA lnjfbgiblha = LNJFBGIBLHA.AEOAPCJIOKO(BLHBOAOIMLN);
|
||||
this.BFNHFJFLGHC(lnjfbgiblha, LLKNMKFNMAK, FHFHOMKFHCI, MNNIMIJFPPJ);
|
||||
}
|
||||
|
||||
// Token: 0x06004D34 RID: 19764 RVA: 0x0017F6AC File Offset: 0x0017D8AC
|
||||
protected override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
this.LLMACEFNAKG = base.GetComponentsInChildren<Renderer>();
|
||||
this.NOALHBDNLCL = base.GetComponent<LootDropper>();
|
||||
this.JIHKECPJGJI = new LHLLJPPCDKA<int>(this, "HEALTH", this.defaultHealth, IKCAJLLAFML.AUTHORITY, new Action(this.FFBEABHGHNH));
|
||||
}
|
||||
|
||||
// Token: 0x06004D35 RID: 19765 RVA: 0x0017F6FC File Offset: 0x0017D8FC
|
||||
protected virtual void BOOMNFIGOAN()
|
||||
{
|
||||
base.ONKCFGIOGCF();
|
||||
this.LLMACEFNAKG = base.GetComponentsInChildren<Renderer>();
|
||||
this.NOALHBDNLCL = base.GetComponent<LootDropper>();
|
||||
this.JIHKECPJGJI = new LHLLJPPCDKA<int>(this, "FnTable:IVRScreenshots_001", this.defaultHealth, IKCAJLLAFML.AUTHORITY, new Action(this.BNMENGKOKCB));
|
||||
}
|
||||
|
||||
// Token: 0x06004D36 RID: 19766 RVA: 0x0017F74C File Offset: 0x0017D94C
|
||||
private void BGEGPKODDHM(LNJFBGIBLHA EFCIKBEHKNL, bool LLKNMKFNMAK, Vector3 FHFHOMKFHCI, Vector3 MNNIMIJFPPJ)
|
||||
{
|
||||
this.AMBHNMDKDDP.Add(EFCIKBEHKNL);
|
||||
if (LLKNMKFNMAK)
|
||||
{
|
||||
if (this.NOALHBDNLCL != null && this.AMBHNMDKDDP.Count > 1)
|
||||
{
|
||||
this.NOALHBDNLCL.FDIJDMGBDGG(this.AMBHNMDKDDP.ToArray(), this.lootSpawn.position);
|
||||
}
|
||||
if (this.onDeathParticles != null)
|
||||
{
|
||||
PooledParticle pooledParticle = ObjectPool.NCKMBFBMBFM.Acquire<PooledParticle>(this.onDeathParticles);
|
||||
if (pooledParticle != null)
|
||||
{
|
||||
pooledParticle.NAPGKLNBMHN(FHFHOMKFHCI, Quaternion.LookRotation(MNNIMIJFPPJ, Vector3.up), false);
|
||||
}
|
||||
}
|
||||
if (this.onDeathAudio != null && this.onDeathAudio.audioClip != null)
|
||||
{
|
||||
AudioManager.Play3DSFX(this.onDeathAudio, FHFHOMKFHCI, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D37 RID: 19767 RVA: 0x0017F820 File Offset: 0x0017DA20
|
||||
public virtual void LCEHDEBINPD(FLDPCEKNKCA BDOBLEKAEAM, int ONBHFBHGALJ, Vector3 FHFHOMKFHCI, Vector3 MNNIMIJFPPJ)
|
||||
{
|
||||
base.ELGJEGLPABH(BDOBLEKAEAM, ONBHFBHGALJ, FHFHOMKFHCI, MNNIMIJFPPJ);
|
||||
if (base.DGLKKANNBPD() && this.FFJKAKGBLJP() > 1)
|
||||
{
|
||||
this.CNHBPJFLDCE = this.OGKNEKHHIGE() - ONBHFBHGALJ;
|
||||
bool flag = this.PJOAONJKLEI() <= 1;
|
||||
PhotonView photonView = base.LHEPJEHMAEC();
|
||||
string text = "PORTAL AND ELITE BOTS OFFLINE";
|
||||
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
||||
object[] array = new object[7];
|
||||
array[1] = base.BJMJBHLDGPE().BADMPMDONAH;
|
||||
array[0] = flag;
|
||||
array[6] = FHFHOMKFHCI;
|
||||
array[3] = MNNIMIJFPPJ;
|
||||
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D38 RID: 19768 RVA: 0x0017F8B0 File Offset: 0x0017DAB0
|
||||
public virtual void INIGHONPMOP()
|
||||
{
|
||||
base.NLBEPMOPLNL();
|
||||
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
||||
{
|
||||
if (!base.IGIPCHFCFNN())
|
||||
{
|
||||
base.OMNGGJICBBI.KBHKLBNAMID(IHFKMIAHBFP.JEFGMHBLLKI);
|
||||
}
|
||||
this.LBKGGFAKKOO(this.defaultHealth);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D39 RID: 19769 RVA: 0x0017F8EC File Offset: 0x0017DAEC
|
||||
private int ADOONCLCDEM()
|
||||
{
|
||||
return this.JIHKECPJGJI.CPIBGJLHLBL();
|
||||
}
|
||||
|
||||
// Token: 0x06004D3A RID: 19770 RVA: 0x0017F8FC File Offset: 0x0017DAFC
|
||||
private int FFJKAKGBLJP()
|
||||
{
|
||||
return this.JIHKECPJGJI.CPIBGJLHLBL();
|
||||
}
|
||||
|
||||
// Token: 0x06004D3B RID: 19771 RVA: 0x0017F90C File Offset: 0x0017DB0C
|
||||
public virtual void FAKGNNCPAEH(FLDPCEKNKCA BDOBLEKAEAM, int ONBHFBHGALJ, Vector3 FHFHOMKFHCI, Vector3 MNNIMIJFPPJ)
|
||||
{
|
||||
base.ELGJEGLPABH(BDOBLEKAEAM, ONBHFBHGALJ, FHFHOMKFHCI, MNNIMIJFPPJ);
|
||||
if (base.BHCCHBHNHCG && this.ADOONCLCDEM() > 0)
|
||||
{
|
||||
this.LBKGGFAKKOO(this.ADOONCLCDEM() - ONBHFBHGALJ);
|
||||
bool flag = this.CNHBPJFLDCE <= 0;
|
||||
PhotonView photonView = base.LJILHDMCKME();
|
||||
string text = "[ACTk] <b>[ ObscuredInt test ]</b>";
|
||||
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
||||
object[] array = new object[8];
|
||||
array[0] = base.ODEBNHJLDGE().BADMPMDONAH;
|
||||
array[0] = flag;
|
||||
array[1] = FHFHOMKFHCI;
|
||||
array[4] = MNNIMIJFPPJ;
|
||||
photonView.RPC(text, ihcpdnljmmd, array);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D3C RID: 19772 RVA: 0x0017F99C File Offset: 0x0017DB9C
|
||||
private int PJOAONJKLEI()
|
||||
{
|
||||
return this.JIHKECPJGJI.CPIBGJLHLBL();
|
||||
}
|
||||
|
||||
// Token: 0x06004D3D RID: 19773 RVA: 0x0017F9AC File Offset: 0x0017DBAC
|
||||
public virtual void ILNAOMJPCOM(FLDPCEKNKCA BDOBLEKAEAM, int ONBHFBHGALJ, Vector3 FHFHOMKFHCI, Vector3 MNNIMIJFPPJ)
|
||||
{
|
||||
base.AuthorityApplyDamage(BDOBLEKAEAM, ONBHFBHGALJ, FHFHOMKFHCI, MNNIMIJFPPJ);
|
||||
if (base.DGLOKLCEMLH() && this.DEBJDLGBNOH() > 0)
|
||||
{
|
||||
this.FJGPHHNBABP(this.DMPHFOPBCKK() - ONBHFBHGALJ);
|
||||
bool flag = this.DMPHFOPBCKK() <= 1;
|
||||
PhotonView photonView = base.HOPJELLOPNJ();
|
||||
string text = "TIA";
|
||||
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
||||
object[] array = new object[0];
|
||||
array[1] = base.GOLECFELBEI().BADMPMDONAH;
|
||||
array[1] = flag;
|
||||
array[2] = FHFHOMKFHCI;
|
||||
array[1] = MNNIMIJFPPJ;
|
||||
photonView.RPC(text, ihcpdnljmmd, array);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D3E RID: 19774 RVA: 0x0017FA3C File Offset: 0x0017DC3C
|
||||
protected override void DFINBKHMDBK()
|
||||
{
|
||||
base.DFINBKHMDBK();
|
||||
if (base.NIINOABKAPJ)
|
||||
{
|
||||
this.AMBHNMDKDDP.Clear();
|
||||
if (base.BHCCHBHNHCG)
|
||||
{
|
||||
this.CNHBPJFLDCE = this.defaultHealth;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D3F RID: 19775 RVA: 0x0017FA74 File Offset: 0x0017DC74
|
||||
protected virtual void JFFLHAMMGAH()
|
||||
{
|
||||
base.Awake();
|
||||
this.LLMACEFNAKG = base.GetComponentsInChildren<Renderer>();
|
||||
this.NOALHBDNLCL = base.GetComponent<LootDropper>();
|
||||
this.JIHKECPJGJI = new LHLLJPPCDKA<int>(this, "PlayAreaPreviewTransform", this.defaultHealth, IKCAJLLAFML.MASTER, new Action(this.BNMENGKOKCB));
|
||||
}
|
||||
|
||||
// Token: 0x06004D40 RID: 19776 RVA: 0x0017FAC4 File Offset: 0x0017DCC4
|
||||
private int OGKNEKHHIGE()
|
||||
{
|
||||
return this.JIHKECPJGJI.CPIBGJLHLBL();
|
||||
}
|
||||
|
||||
// Token: 0x06004D41 RID: 19777 RVA: 0x0017FAD4 File Offset: 0x0017DCD4
|
||||
public override void MasterResetToSpawnPoint()
|
||||
{
|
||||
base.MasterResetToSpawnPoint();
|
||||
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
||||
{
|
||||
if (!base.BHCCHBHNHCG)
|
||||
{
|
||||
base.OMNGGJICBBI.TransferOwnership(IHFKMIAHBFP.JEFGMHBLLKI);
|
||||
}
|
||||
this.CNHBPJFLDCE = this.defaultHealth;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D42 RID: 19778 RVA: 0x0017FB10 File Offset: 0x0017DD10
|
||||
private void FJGPHHNBABP(int NOBAPCOKFIL)
|
||||
{
|
||||
this.JIHKECPJGJI.MEAINJPIECA(NOBAPCOKFIL);
|
||||
}
|
||||
|
||||
// Token: 0x06004D43 RID: 19779 RVA: 0x0017FB20 File Offset: 0x0017DD20
|
||||
protected virtual void IOBLMIJMLOL()
|
||||
{
|
||||
base.DFINBKHMDBK();
|
||||
if (base.CCGPHDLBCFI())
|
||||
{
|
||||
this.AMBHNMDKDDP.Clear();
|
||||
if (base.BHCCHBHNHCG)
|
||||
{
|
||||
this.LBKGGFAKKOO(this.defaultHealth);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D44 RID: 19780 RVA: 0x0017FB58 File Offset: 0x0017DD58
|
||||
private void LBKGGFAKKOO(int NOBAPCOKFIL)
|
||||
{
|
||||
this.JIHKECPJGJI.MEAINJPIECA(NOBAPCOKFIL);
|
||||
}
|
||||
|
||||
// Token: 0x06004D45 RID: 19781 RVA: 0x0017FB68 File Offset: 0x0017DD68
|
||||
private int DMPHFOPBCKK()
|
||||
{
|
||||
return this.JIHKECPJGJI.CPIBGJLHLBL();
|
||||
}
|
||||
|
||||
// Token: 0x06004D46 RID: 19782 RVA: 0x0017FB78 File Offset: 0x0017DD78
|
||||
protected virtual void LFAMGPLHMPF()
|
||||
{
|
||||
base.ABMIODDOGNJ();
|
||||
if (base.NIINOABKAPJ)
|
||||
{
|
||||
this.AMBHNMDKDDP.Clear();
|
||||
if (base.DGLKKANNBPD())
|
||||
{
|
||||
this.CNHBPJFLDCE = this.defaultHealth;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06004D47 RID: 19783 RVA: 0x0017FBB0 File Offset: 0x0017DDB0
|
||||
protected void GOBJHFNHIIB(int BLHBOAOIMLN, bool LLKNMKFNMAK, Vector3 FHFHOMKFHCI, Vector3 MNNIMIJFPPJ)
|
||||
{
|
||||
LNJFBGIBLHA lnjfbgiblha = LNJFBGIBLHA.MLAAOMLEIGD(BLHBOAOIMLN);
|
||||
this.BEIPOKNDGBH(lnjfbgiblha, LLKNMKFNMAK, FHFHOMKFHCI, MNNIMIJFPPJ);
|
||||
}
|
||||
|
||||
// Token: 0x040009B8 RID: 2488
|
||||
[Header("Loot Trap")]
|
||||
[SerializeField]
|
||||
private int defaultHealth = 1;
|
||||
|
||||
// Token: 0x040009B9 RID: 2489
|
||||
[SerializeField]
|
||||
private Transform lootSpawn;
|
||||
|
||||
// Token: 0x040009BA RID: 2490
|
||||
[Header("Damage Feedback")]
|
||||
[SerializeField]
|
||||
private Material fullHealthMaterial;
|
||||
|
||||
// Token: 0x040009BB RID: 2491
|
||||
[SerializeField]
|
||||
private Material damagedMaterial;
|
||||
|
||||
// Token: 0x040009BC RID: 2492
|
||||
[Header("DeathFeedback")]
|
||||
[SerializeField]
|
||||
private RecRoomAudioClip onDeathAudio;
|
||||
|
||||
// Token: 0x040009BD RID: 2493
|
||||
[SerializeField]
|
||||
private PooledParticle onDeathParticles;
|
||||
|
||||
// Token: 0x040009BE RID: 2494
|
||||
private LHLLJPPCDKA<int> JIHKECPJGJI;
|
||||
|
||||
// Token: 0x040009BF RID: 2495
|
||||
private Renderer[] LLMACEFNAKG;
|
||||
|
||||
// Token: 0x040009C0 RID: 2496
|
||||
private LootDropper NOALHBDNLCL;
|
||||
|
||||
// Token: 0x040009C1 RID: 2497
|
||||
private List<LNJFBGIBLHA> AMBHNMDKDDP = new List<LNJFBGIBLHA>();
|
||||
}
|
||||
Reference in New Issue
Block a user