4412 lines
125 KiB
C#
4412 lines
125 KiB
C#
using System;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace RecRoom
|
|
{
|
|
// Token: 0x02000029 RID: 41
|
|
public class LocalPlayerCombatHUD : MonoBehaviour
|
|
{
|
|
// Token: 0x06000845 RID: 2117 RVA: 0x00021EE0 File Offset: 0x000200E0
|
|
private void ILCHKHEAGEP()
|
|
{
|
|
if (this.DJKLHBIFEGF == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN != null && this.LMLLOKLLODN.BGOGBEPJGPJ != null)
|
|
{
|
|
this.DJKLHBIFEGF = this.LMLLOKLLODN.AJHHFNCFKNF().transform;
|
|
}
|
|
}
|
|
if (this.DJKLHBIFEGF != null)
|
|
{
|
|
base.transform.position = this.DJKLHBIFEGF.position;
|
|
base.transform.rotation = this.DJKLHBIFEGF.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000846 RID: 2118 RVA: 0x00021FA8 File Offset: 0x000201A8
|
|
private void HEHEJKPODID()
|
|
{
|
|
if (this.DJKLHBIFEGF == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN != null && this.LMLLOKLLODN.HFDJIFFPEFM() != null)
|
|
{
|
|
this.DJKLHBIFEGF = this.LMLLOKLLODN.BGOGBEPJGPJ.transform;
|
|
}
|
|
}
|
|
if (this.DJKLHBIFEGF != null)
|
|
{
|
|
base.transform.position = this.DJKLHBIFEGF.position;
|
|
base.transform.rotation = this.DJKLHBIFEGF.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000847 RID: 2119 RVA: 0x00022070 File Offset: 0x00020270
|
|
private void HJDDOOOKPKB()
|
|
{
|
|
this.PLIKKOEFPBD();
|
|
}
|
|
|
|
// Token: 0x06000848 RID: 2120 RVA: 0x00022078 File Offset: 0x00020278
|
|
private void JHJOMOGMAOH()
|
|
{
|
|
if (this.DJKLHBIFEGF == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN != null && this.LMLLOKLLODN.BGOGBEPJGPJ != null)
|
|
{
|
|
this.DJKLHBIFEGF = this.LMLLOKLLODN.BGOGBEPJGPJ.transform;
|
|
}
|
|
}
|
|
if (this.DJKLHBIFEGF != null)
|
|
{
|
|
base.transform.position = this.DJKLHBIFEGF.position;
|
|
base.transform.rotation = this.DJKLHBIFEGF.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000849 RID: 2121 RVA: 0x00022140 File Offset: 0x00020340
|
|
private void FCPKPKNOMJE(LNJFBGIBLHA FNGMABCOENN)
|
|
{
|
|
if (FNGMABCOENN == this.JEFGMHBLLKI)
|
|
{
|
|
this.JPLJIPMDDOJ();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600084A RID: 2122 RVA: 0x00022154 File Offset: 0x00020354
|
|
private void ACCNFJNJLGE()
|
|
{
|
|
if (this.FMBELJHPBCG == null || this.JEFGMHBLLKI == null)
|
|
{
|
|
return;
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
int num = this.FMBELJHPBCG.APOAHJMLMEG.CLOLEPCHGDP();
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
int num2 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim);
|
|
this.thisTeamScoreHUD.NOAOCLLDLEK(num2, num);
|
|
}
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
int num3 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim2);
|
|
this.otherTeamScoreHUD.NCIABNCMLPL(num3, num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600084B RID: 2123 RVA: 0x00022210 File Offset: 0x00020410
|
|
private void LateUpdate()
|
|
{
|
|
this.JHJOMOGMAOH();
|
|
}
|
|
|
|
// Token: 0x0600084C RID: 2124 RVA: 0x00022218 File Offset: 0x00020418
|
|
private void NAPPHLFFLNK()
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
Color color = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim);
|
|
for (int i = 1; i < this.thisTeamColorElements.Length; i += 0)
|
|
{
|
|
color.a = this.thisTeamColorElements[i].color.a;
|
|
this.thisTeamColorElements[i].color = color;
|
|
}
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
this.thisTeamScoreHUD.CCBFJFIAFOJ(color);
|
|
}
|
|
if (this.leftHandAmmoHUD != null)
|
|
{
|
|
this.leftHandAmmoHUD.EJHKAEDMAIA(color);
|
|
}
|
|
if (this.rightHandAmmoHUD != null)
|
|
{
|
|
this.rightHandAmmoHUD.AHILKPMDEFF(color);
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
Color color2 = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim2);
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
this.otherTeamScoreHUD.BICJGDFPIGA(color2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600084D RID: 2125 RVA: 0x00022300 File Offset: 0x00020500
|
|
private void DGHCGOGIGEE()
|
|
{
|
|
if (Time.realtimeSinceStartup > this.OFJHAHOIJIB)
|
|
{
|
|
this.AFPHAKPHPEI();
|
|
this.FLCBBKNFGGJ();
|
|
string text = string.Empty;
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
if (this.FMBELJHPBCG.IIINBIBMEGJ.OHGKGOPHBBL() != null)
|
|
{
|
|
text = this.FMBELJHPBCG.IIINBIBMEGJ.CustomTimerString;
|
|
}
|
|
else if (this.FMBELJHPBCG.PNOOBNCKAMJ.OHOKJFIACIN().GameHasDuration)
|
|
{
|
|
text = this.FMBELJHPBCG.KDIPJNOKDFL.DOFECFECLIG().PPKOEKKHJAG();
|
|
}
|
|
}
|
|
if (this.timerText != null)
|
|
{
|
|
this.timerText.text = text;
|
|
}
|
|
NCFHCLMCPBN.NDLOIAMODDJ(this._canvas, this.ANHNNLOIDPF);
|
|
this.OFJHAHOIJIB = Time.realtimeSinceStartup + 339f / (float)this.RenderFrameRate;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600084E RID: 2126 RVA: 0x000223E8 File Offset: 0x000205E8
|
|
private void LINBABLAOII()
|
|
{
|
|
if (this.JEFGMHBLLKI == null || this.FMBELJHPBCG == null)
|
|
{
|
|
return;
|
|
}
|
|
int num = this.FMBELJHPBCG.DPOLNGGBMDH.CABHMLIDHJA(this.JEFGMHBLLKI);
|
|
int defaultHealth = this.FMBELJHPBCG.PNOOBNCKAMJ.JJIJLOEBLML().DefaultHealth;
|
|
float num2 = (float)num / (float)defaultHealth;
|
|
this.healthBar.value = num2;
|
|
}
|
|
|
|
// Token: 0x0600084F RID: 2127 RVA: 0x00022454 File Offset: 0x00020654
|
|
private void JFNIPHMJBCP()
|
|
{
|
|
this._canvas.transform.SetParent(null, false);
|
|
this.ANHNNLOIDPF = NCFHCLMCPBN.OIHMPJACJGD(this._canvas);
|
|
this.hudMesh.material.mainTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06000850 RID: 2128 RVA: 0x00022490 File Offset: 0x00020690
|
|
private void PHAAKFONJKB()
|
|
{
|
|
if (this.DJKLHBIFEGF == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN != null && this.LMLLOKLLODN.AJHHFNCFKNF() != null)
|
|
{
|
|
this.DJKLHBIFEGF = this.LMLLOKLLODN.BGOGBEPJGPJ.transform;
|
|
}
|
|
}
|
|
if (this.DJKLHBIFEGF != null)
|
|
{
|
|
base.transform.position = this.DJKLHBIFEGF.position;
|
|
base.transform.rotation = this.DJKLHBIFEGF.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000851 RID: 2129 RVA: 0x00022558 File Offset: 0x00020758
|
|
private void HEKMPKDNNGB()
|
|
{
|
|
this._canvas.transform.SetParent(null, false);
|
|
this.ANHNNLOIDPF = NCFHCLMCPBN.LPJOFLAOMGG(this._canvas);
|
|
this.hudMesh.material.mainTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06000852 RID: 2130 RVA: 0x00022594 File Offset: 0x00020794
|
|
private void DMLGMJBEHNM()
|
|
{
|
|
if (this.DJKLHBIFEGF == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN != null && this.LMLLOKLLODN.AJHHFNCFKNF() != null)
|
|
{
|
|
this.DJKLHBIFEGF = this.LMLLOKLLODN.AJHHFNCFKNF().transform;
|
|
}
|
|
}
|
|
if (this.DJKLHBIFEGF != null)
|
|
{
|
|
base.transform.position = this.DJKLHBIFEGF.position;
|
|
base.transform.rotation = this.DJKLHBIFEGF.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000853 RID: 2131 RVA: 0x0002265C File Offset: 0x0002085C
|
|
private void LNBMNLLAIHJ()
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
Color color = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim);
|
|
for (int i = 1; i < this.thisTeamColorElements.Length; i += 0)
|
|
{
|
|
color.a = this.thisTeamColorElements[i].color.a;
|
|
this.thisTeamColorElements[i].color = color;
|
|
}
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
this.thisTeamScoreHUD.ENJAIMIAEIJ(color);
|
|
}
|
|
if (this.leftHandAmmoHUD != null)
|
|
{
|
|
this.leftHandAmmoHUD.DEBJEBAGANK(color);
|
|
}
|
|
if (this.rightHandAmmoHUD != null)
|
|
{
|
|
this.rightHandAmmoHUD.ABGBJEGGHAH(color);
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
Color color2 = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim2);
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
this.otherTeamScoreHUD.BICJGDFPIGA(color2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000854 RID: 2132 RVA: 0x00022744 File Offset: 0x00020944
|
|
public void BBNJFJJCKIG(GameManager FMBELJHPBCG, LNJFBGIBLHA JEFGMHBLLKI)
|
|
{
|
|
this.JEFGMHBLLKI = JEFGMHBLLKI;
|
|
this.PHAAKFONJKB();
|
|
this.FMBELJHPBCG = FMBELJHPBCG;
|
|
this.AFPHAKPHPEI();
|
|
this.GJPGIDODFAJ();
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL += this.GHMCFABNELL;
|
|
this.JBPCPDLPLGH();
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED += this.LMCHAEINEOK;
|
|
this.MGCONPEMLKH();
|
|
}
|
|
|
|
// Token: 0x06000855 RID: 2133 RVA: 0x000227B8 File Offset: 0x000209B8
|
|
private void APBEHCFMEAB()
|
|
{
|
|
this.PHAAKFONJKB();
|
|
}
|
|
|
|
// Token: 0x06000856 RID: 2134 RVA: 0x000227C0 File Offset: 0x000209C0
|
|
private void PLKHINPPGPK()
|
|
{
|
|
if (Time.realtimeSinceStartup > this.OFJHAHOIJIB)
|
|
{
|
|
this.OMHBMLPKDBN();
|
|
this.HPBBCAKPOFC();
|
|
string text = string.Empty;
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
if (this.FMBELJHPBCG.IIINBIBMEGJ.EGFEPONEICP() != null)
|
|
{
|
|
text = this.FMBELJHPBCG.IIINBIBMEGJ.IEFEDGNAAAJ();
|
|
}
|
|
else if (this.FMBELJHPBCG.PNOOBNCKAMJ.CPKBLLFOGPB().GameHasDuration)
|
|
{
|
|
text = this.FMBELJHPBCG.KDIPJNOKDFL.TimeRemaining.PPKOEKKHJAG();
|
|
}
|
|
}
|
|
if (this.timerText != null)
|
|
{
|
|
this.timerText.text = text;
|
|
}
|
|
NCFHCLMCPBN.HKOGGPPNBOH(this._canvas, this.ANHNNLOIDPF);
|
|
this.OFJHAHOIJIB = Time.realtimeSinceStartup + 1461f / (float)this.RenderFrameRate;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000857 RID: 2135 RVA: 0x000228A8 File Offset: 0x00020AA8
|
|
private void MGNGNCILNPC()
|
|
{
|
|
if (this.LMLLOKLLODN == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
return;
|
|
}
|
|
Weapon weapon = null;
|
|
if (this.LMLLOKLLODN.BGIBHPOALJG != null && this.LMLLOKLLODN.DGEOJLGFGNG().NGMCOGJDNKC && this.LMLLOKLLODN.DGEOJLGFGNG().HJOIOHCOEOH() != null)
|
|
{
|
|
weapon = this.LMLLOKLLODN.DGEOJLGFGNG().HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.leftHandAmmoHUD.JMKEOEGEBCB(weapon);
|
|
Weapon weapon2 = null;
|
|
if (this.LMLLOKLLODN.KEJBPANGFKK != null && this.LMLLOKLLODN.KEJBPANGFKK.NGMCOGJDNKC && this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH() != null)
|
|
{
|
|
weapon2 = this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.rightHandAmmoHUD.FCDGKJNDGCE(weapon2);
|
|
}
|
|
|
|
// Token: 0x06000858 RID: 2136 RVA: 0x000229C8 File Offset: 0x00020BC8
|
|
private void ENGNDJADBDF()
|
|
{
|
|
if (Time.realtimeSinceStartup > this.OFJHAHOIJIB)
|
|
{
|
|
this.NLMEGOALNLD();
|
|
this.MGNGNCILNPC();
|
|
string text = string.Empty;
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
if (this.FMBELJHPBCG.IIINBIBMEGJ.HDICCIIBFNG() != null)
|
|
{
|
|
text = this.FMBELJHPBCG.IIINBIBMEGJ.JJOJKMNIPHD();
|
|
}
|
|
else if (this.FMBELJHPBCG.PNOOBNCKAMJ.EJKNAKDAMAC().GameHasDuration)
|
|
{
|
|
text = this.FMBELJHPBCG.KDIPJNOKDFL.TimeRemaining.PPKOEKKHJAG();
|
|
}
|
|
}
|
|
if (this.timerText != null)
|
|
{
|
|
this.timerText.text = text;
|
|
}
|
|
NCFHCLMCPBN.CIIFBEEPIGD(this._canvas, this.ANHNNLOIDPF);
|
|
this.OFJHAHOIJIB = Time.realtimeSinceStartup + 1988f / (float)this.RenderFrameRate;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000859 RID: 2137 RVA: 0x00022AB0 File Offset: 0x00020CB0
|
|
private void GCPPILGNMBJ()
|
|
{
|
|
if (this.DJKLHBIFEGF == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN != null && this.LMLLOKLLODN.HFDJIFFPEFM() != null)
|
|
{
|
|
this.DJKLHBIFEGF = this.LMLLOKLLODN.AJHHFNCFKNF().transform;
|
|
}
|
|
}
|
|
if (this.DJKLHBIFEGF != null)
|
|
{
|
|
base.transform.position = this.DJKLHBIFEGF.position;
|
|
base.transform.rotation = this.DJKLHBIFEGF.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600085A RID: 2138 RVA: 0x00022B78 File Offset: 0x00020D78
|
|
private void LNKPKHFACHE()
|
|
{
|
|
this._canvas.transform.SetParent(null, true);
|
|
this.ANHNNLOIDPF = NCFHCLMCPBN.NDLOIAMODDJ(this._canvas);
|
|
this.hudMesh.material.mainTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x0600085B RID: 2139 RVA: 0x00022BB4 File Offset: 0x00020DB4
|
|
private void LMCHAEINEOK()
|
|
{
|
|
this.IKLOKKCFODL();
|
|
}
|
|
|
|
// Token: 0x0600085C RID: 2140 RVA: 0x00022BBC File Offset: 0x00020DBC
|
|
private void DBAKHPDMCCN()
|
|
{
|
|
this.MGCONPEMLKH();
|
|
}
|
|
|
|
// Token: 0x0600085D RID: 2141 RVA: 0x00022BC4 File Offset: 0x00020DC4
|
|
private void PMLEDKFHAEJ()
|
|
{
|
|
global::UnityEngine.Object.Destroy(this._canvas.gameObject);
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL -= this.FCPKPKNOMJE;
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED -= this.HJBAHOCOLAE;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600085E RID: 2142 RVA: 0x00022C2C File Offset: 0x00020E2C
|
|
private void OLDAKDNNIBH()
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
Color color = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim);
|
|
for (int i = 0; i < this.thisTeamColorElements.Length; i++)
|
|
{
|
|
color.a = this.thisTeamColorElements[i].color.a;
|
|
this.thisTeamColorElements[i].color = color;
|
|
}
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
this.thisTeamScoreHUD.PHNLEMLPEKD(color);
|
|
}
|
|
if (this.leftHandAmmoHUD != null)
|
|
{
|
|
this.leftHandAmmoHUD.PHNLEMLPEKD(color);
|
|
}
|
|
if (this.rightHandAmmoHUD != null)
|
|
{
|
|
this.rightHandAmmoHUD.PHNLEMLPEKD(color);
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
Color color2 = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim2);
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
this.otherTeamScoreHUD.PHNLEMLPEKD(color2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600085F RID: 2143 RVA: 0x00022D14 File Offset: 0x00020F14
|
|
private void FGENJMMCGIE()
|
|
{
|
|
if (this.DJKLHBIFEGF == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN != null && this.LMLLOKLLODN.BGOGBEPJGPJ != null)
|
|
{
|
|
this.DJKLHBIFEGF = this.LMLLOKLLODN.AJHHFNCFKNF().transform;
|
|
}
|
|
}
|
|
if (this.DJKLHBIFEGF != null)
|
|
{
|
|
base.transform.position = this.DJKLHBIFEGF.position;
|
|
base.transform.rotation = this.DJKLHBIFEGF.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000860 RID: 2144 RVA: 0x00022DDC File Offset: 0x00020FDC
|
|
private void OMHBMLPKDBN()
|
|
{
|
|
if (this.JEFGMHBLLKI == null || this.FMBELJHPBCG == null)
|
|
{
|
|
return;
|
|
}
|
|
int num = this.FMBELJHPBCG.DPOLNGGBMDH.BHEGCFDBMCO(this.JEFGMHBLLKI);
|
|
int defaultHealth = this.FMBELJHPBCG.PNOOBNCKAMJ.CDGJEJLCHMG().DefaultHealth;
|
|
float num2 = (float)num / (float)defaultHealth;
|
|
this.healthBar.value = num2;
|
|
}
|
|
|
|
// Token: 0x06000861 RID: 2145 RVA: 0x00022E48 File Offset: 0x00021048
|
|
private void BACNJJKPEOO()
|
|
{
|
|
this._canvas.transform.SetParent(null, false);
|
|
this.ANHNNLOIDPF = NCFHCLMCPBN.PNNLOGHMIHE(this._canvas);
|
|
this.hudMesh.material.mainTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06000862 RID: 2146 RVA: 0x00022E84 File Offset: 0x00021084
|
|
private void CMLPGMPNKJJ()
|
|
{
|
|
if (this.FMBELJHPBCG == null || this.JEFGMHBLLKI == null)
|
|
{
|
|
return;
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
int num = this.FMBELJHPBCG.APOAHJMLMEG.CLOLEPCHGDP();
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
int num2 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim);
|
|
this.thisTeamScoreHUD.ACFEDGALIFA(num2, num);
|
|
}
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
int num3 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim2);
|
|
this.otherTeamScoreHUD.MDHLMGIAIBD(num3, num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000863 RID: 2147 RVA: 0x00022F40 File Offset: 0x00021140
|
|
private void NIDPNEAEBLB()
|
|
{
|
|
if (Time.realtimeSinceStartup > this.OFJHAHOIJIB)
|
|
{
|
|
this.KLHGEJCHKFL();
|
|
this.OPLDMKPIIHI();
|
|
string text = string.Empty;
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
if (this.FMBELJHPBCG.IIINBIBMEGJ.CPGFNMDMJGC() != null)
|
|
{
|
|
text = this.FMBELJHPBCG.IIINBIBMEGJ.CustomTimerString;
|
|
}
|
|
else if (this.FMBELJHPBCG.PNOOBNCKAMJ.FAOFELGNGAM().GameHasDuration)
|
|
{
|
|
text = this.FMBELJHPBCG.KDIPJNOKDFL.TimeRemaining.PPKOEKKHJAG();
|
|
}
|
|
}
|
|
if (this.timerText != null)
|
|
{
|
|
this.timerText.text = text;
|
|
}
|
|
NCFHCLMCPBN.OMCGPHEEGOK(this._canvas, this.ANHNNLOIDPF);
|
|
this.OFJHAHOIJIB = Time.realtimeSinceStartup + 1301f / (float)this.RenderFrameRate;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000864 RID: 2148 RVA: 0x00023028 File Offset: 0x00021228
|
|
private void ACLCFGKFFEB()
|
|
{
|
|
if (this.LMLLOKLLODN == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
return;
|
|
}
|
|
Weapon weapon = null;
|
|
if (this.LMLLOKLLODN.DGEOJLGFGNG() != null && this.LMLLOKLLODN.DGEOJLGFGNG().NGMCOGJDNKC && this.LMLLOKLLODN.BGIBHPOALJG.OOIMAEHGBIC != null)
|
|
{
|
|
weapon = this.LMLLOKLLODN.BGIBHPOALJG.OOIMAEHGBIC.GetComponent<Weapon>();
|
|
}
|
|
this.leftHandAmmoHUD.FLALABDEENP(weapon);
|
|
Weapon weapon2 = null;
|
|
if (this.LMLLOKLLODN.KEJBPANGFKK != null && this.LMLLOKLLODN.KEJBPANGFKK.NGMCOGJDNKC && this.LMLLOKLLODN.KEJBPANGFKK.OOIMAEHGBIC != null)
|
|
{
|
|
weapon2 = this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.rightHandAmmoHUD.OGKJPMKAFBL(weapon2);
|
|
}
|
|
|
|
// Token: 0x06000865 RID: 2149 RVA: 0x00023148 File Offset: 0x00021348
|
|
private void Awake()
|
|
{
|
|
this._canvas.transform.SetParent(null, true);
|
|
this.ANHNNLOIDPF = NCFHCLMCPBN.NDLOIAMODDJ(this._canvas);
|
|
this.hudMesh.material.mainTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06000866 RID: 2150 RVA: 0x00023184 File Offset: 0x00021384
|
|
private void Update()
|
|
{
|
|
if (Time.realtimeSinceStartup > this.OFJHAHOIJIB)
|
|
{
|
|
this.CENJLMCJJOD();
|
|
this.HPBBCAKPOFC();
|
|
string text = string.Empty;
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
if (this.FMBELJHPBCG.IIINBIBMEGJ.CustomTimerString != null)
|
|
{
|
|
text = this.FMBELJHPBCG.IIINBIBMEGJ.CustomTimerString;
|
|
}
|
|
else if (this.FMBELJHPBCG.PNOOBNCKAMJ.GPEOKJCNPJH.GameHasDuration)
|
|
{
|
|
text = this.FMBELJHPBCG.KDIPJNOKDFL.TimeRemaining.PPKOEKKHJAG();
|
|
}
|
|
}
|
|
if (this.timerText != null)
|
|
{
|
|
this.timerText.text = text;
|
|
}
|
|
NCFHCLMCPBN.NDLOIAMODDJ(this._canvas, this.ANHNNLOIDPF);
|
|
this.OFJHAHOIJIB = Time.realtimeSinceStartup + 1f / (float)this.RenderFrameRate;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000867 RID: 2151 RVA: 0x0002326C File Offset: 0x0002146C
|
|
private void KAEPFOILFCG()
|
|
{
|
|
this._canvas.transform.SetParent(null, false);
|
|
this.ANHNNLOIDPF = NCFHCLMCPBN.OIHMPJACJGD(this._canvas);
|
|
this.hudMesh.material.mainTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06000868 RID: 2152 RVA: 0x000232A8 File Offset: 0x000214A8
|
|
private void LEMGDPHJENH()
|
|
{
|
|
this._canvas.transform.SetParent(null, true);
|
|
this.ANHNNLOIDPF = NCFHCLMCPBN.NDLOIAMODDJ(this._canvas);
|
|
this.hudMesh.material.mainTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06000869 RID: 2153 RVA: 0x000232E4 File Offset: 0x000214E4
|
|
private void PLIKKOEFPBD()
|
|
{
|
|
if (this.DJKLHBIFEGF == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN != null && this.LMLLOKLLODN.AJHHFNCFKNF() != null)
|
|
{
|
|
this.DJKLHBIFEGF = this.LMLLOKLLODN.AJHHFNCFKNF().transform;
|
|
}
|
|
}
|
|
if (this.DJKLHBIFEGF != null)
|
|
{
|
|
base.transform.position = this.DJKLHBIFEGF.position;
|
|
base.transform.rotation = this.DJKLHBIFEGF.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600086A RID: 2154 RVA: 0x000233AC File Offset: 0x000215AC
|
|
private void LHLLLHEDMAG()
|
|
{
|
|
if (this.LMLLOKLLODN == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
return;
|
|
}
|
|
Weapon weapon = null;
|
|
if (this.LMLLOKLLODN.BGIBHPOALJG != null && this.LMLLOKLLODN.BGIBHPOALJG.NGMCOGJDNKC && this.LMLLOKLLODN.DGEOJLGFGNG().HJOIOHCOEOH() != null)
|
|
{
|
|
weapon = this.LMLLOKLLODN.DGEOJLGFGNG().HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.leftHandAmmoHUD.HLEMIBACFHI(weapon);
|
|
Weapon weapon2 = null;
|
|
if (this.LMLLOKLLODN.KEJBPANGFKK != null && this.LMLLOKLLODN.KEJBPANGFKK.NGMCOGJDNKC && this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH() != null)
|
|
{
|
|
weapon2 = this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.rightHandAmmoHUD.COIPCAPEKHM(weapon2);
|
|
}
|
|
|
|
// Token: 0x0600086B RID: 2155 RVA: 0x000234CC File Offset: 0x000216CC
|
|
private void JKMNBLDOIMB()
|
|
{
|
|
if (Time.realtimeSinceStartup > this.OFJHAHOIJIB)
|
|
{
|
|
this.IGLKIHBCKEG();
|
|
this.PALMBNCDJLE();
|
|
string text = string.Empty;
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
if (this.FMBELJHPBCG.IIINBIBMEGJ.HDICCIIBFNG() != null)
|
|
{
|
|
text = this.FMBELJHPBCG.IIINBIBMEGJ.IEFEDGNAAAJ();
|
|
}
|
|
else if (this.FMBELJHPBCG.PNOOBNCKAMJ.FOBFBHIKHNE().GameHasDuration)
|
|
{
|
|
text = this.FMBELJHPBCG.KDIPJNOKDFL.DOFECFECLIG().PPKOEKKHJAG();
|
|
}
|
|
}
|
|
if (this.timerText != null)
|
|
{
|
|
this.timerText.text = text;
|
|
}
|
|
NCFHCLMCPBN.MDDNDJLMKNO(this._canvas, this.ANHNNLOIDPF);
|
|
this.OFJHAHOIJIB = Time.realtimeSinceStartup + 1607f / (float)this.RenderFrameRate;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600086C RID: 2156 RVA: 0x000235B4 File Offset: 0x000217B4
|
|
private void JOPBEEBJLEE()
|
|
{
|
|
if (this.FMBELJHPBCG == null || this.JEFGMHBLLKI == null)
|
|
{
|
|
return;
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
int scoreToWin = this.FMBELJHPBCG.APOAHJMLMEG.ScoreToWin;
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
int num = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim);
|
|
this.thisTeamScoreHUD.ELCMJLBCBPE(num, scoreToWin);
|
|
}
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
int num2 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim2);
|
|
this.otherTeamScoreHUD.LHHOJDKOJJE(num2, scoreToWin);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600086D RID: 2157 RVA: 0x00023670 File Offset: 0x00021870
|
|
private void LBMHFBFIGJN()
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
Color color = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim);
|
|
for (int i = 0; i < this.thisTeamColorElements.Length; i++)
|
|
{
|
|
color.a = this.thisTeamColorElements[i].color.a;
|
|
this.thisTeamColorElements[i].color = color;
|
|
}
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
this.thisTeamScoreHUD.POEKDLEPHJM(color);
|
|
}
|
|
if (this.leftHandAmmoHUD != null)
|
|
{
|
|
this.leftHandAmmoHUD.AAOKBJMDIAI(color);
|
|
}
|
|
if (this.rightHandAmmoHUD != null)
|
|
{
|
|
this.rightHandAmmoHUD.ENJAIMIAEIJ(color);
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
Color color2 = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim2);
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
this.otherTeamScoreHUD.KAMAIHEGOEO(color2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600086E RID: 2158 RVA: 0x00023758 File Offset: 0x00021958
|
|
private void CLILABKDIKG()
|
|
{
|
|
this.CMLPGMPNKJJ();
|
|
}
|
|
|
|
// Token: 0x0600086F RID: 2159 RVA: 0x00023760 File Offset: 0x00021960
|
|
private void OLGJNNGDDJO()
|
|
{
|
|
if (this.JEFGMHBLLKI == null || this.FMBELJHPBCG == null)
|
|
{
|
|
return;
|
|
}
|
|
int num = this.FMBELJHPBCG.DPOLNGGBMDH.CABHMLIDHJA(this.JEFGMHBLLKI);
|
|
int defaultHealth = this.FMBELJHPBCG.PNOOBNCKAMJ.MNPBJNNNAGB().DefaultHealth;
|
|
float num2 = (float)num / (float)defaultHealth;
|
|
this.healthBar.value = num2;
|
|
}
|
|
|
|
// Token: 0x06000870 RID: 2160 RVA: 0x000237CC File Offset: 0x000219CC
|
|
private void EEAPKHMDNDG()
|
|
{
|
|
this.HHBLPPNNHOI();
|
|
}
|
|
|
|
// Token: 0x06000871 RID: 2161 RVA: 0x000237D4 File Offset: 0x000219D4
|
|
private void CJAHJEBCMFK()
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
Color color = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim);
|
|
for (int i = 0; i < this.thisTeamColorElements.Length; i++)
|
|
{
|
|
color.a = this.thisTeamColorElements[i].color.a;
|
|
this.thisTeamColorElements[i].color = color;
|
|
}
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
this.thisTeamScoreHUD.NBDHNOIGHCA(color);
|
|
}
|
|
if (this.leftHandAmmoHUD != null)
|
|
{
|
|
this.leftHandAmmoHUD.BICJGDFPIGA(color);
|
|
}
|
|
if (this.rightHandAmmoHUD != null)
|
|
{
|
|
this.rightHandAmmoHUD.DGELDPJEHKF(color);
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
Color color2 = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim2);
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
this.otherTeamScoreHUD.OOGCLLNMOCB(color2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000872 RID: 2162 RVA: 0x000238BC File Offset: 0x00021ABC
|
|
private void MLEKBPNGLNE()
|
|
{
|
|
if (this.JEFGMHBLLKI == null || this.FMBELJHPBCG == null)
|
|
{
|
|
return;
|
|
}
|
|
int num = this.FMBELJHPBCG.DPOLNGGBMDH.AEECCNMEPHK(this.JEFGMHBLLKI);
|
|
int defaultHealth = this.FMBELJHPBCG.PNOOBNCKAMJ.PMBPLJKFNCL().DefaultHealth;
|
|
float num2 = (float)num / (float)defaultHealth;
|
|
this.healthBar.value = num2;
|
|
}
|
|
|
|
// Token: 0x06000873 RID: 2163 RVA: 0x00023928 File Offset: 0x00021B28
|
|
private void ELPAGAAOPFN()
|
|
{
|
|
this._canvas.transform.SetParent(null, true);
|
|
this.ANHNNLOIDPF = NCFHCLMCPBN.PNNLOGHMIHE(this._canvas);
|
|
this.hudMesh.material.mainTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06000874 RID: 2164 RVA: 0x00023964 File Offset: 0x00021B64
|
|
private void KLHGEJCHKFL()
|
|
{
|
|
if (this.JEFGMHBLLKI == null || this.FMBELJHPBCG == null)
|
|
{
|
|
return;
|
|
}
|
|
int num = this.FMBELJHPBCG.DPOLNGGBMDH.CABHMLIDHJA(this.JEFGMHBLLKI);
|
|
int defaultHealth = this.FMBELJHPBCG.PNOOBNCKAMJ.PMBPLJKFNCL().DefaultHealth;
|
|
float num2 = (float)num / (float)defaultHealth;
|
|
this.healthBar.value = num2;
|
|
}
|
|
|
|
// Token: 0x06000876 RID: 2166 RVA: 0x000239EC File Offset: 0x00021BEC
|
|
private void PALMBNCDJLE()
|
|
{
|
|
if (this.LMLLOKLLODN == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
return;
|
|
}
|
|
Weapon weapon = null;
|
|
if (this.LMLLOKLLODN.BGIBHPOALJG != null && this.LMLLOKLLODN.BGIBHPOALJG.NGMCOGJDNKC && this.LMLLOKLLODN.BGIBHPOALJG.HJOIOHCOEOH() != null)
|
|
{
|
|
weapon = this.LMLLOKLLODN.BGIBHPOALJG.HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.leftHandAmmoHUD.KJHIFHOBJFC(weapon);
|
|
Weapon weapon2 = null;
|
|
if (this.LMLLOKLLODN.KEJBPANGFKK != null && this.LMLLOKLLODN.KEJBPANGFKK.NGMCOGJDNKC && this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH() != null)
|
|
{
|
|
weapon2 = this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.rightHandAmmoHUD.LIHEADNOBJO(weapon2);
|
|
}
|
|
|
|
// Token: 0x06000877 RID: 2167 RVA: 0x00023B0C File Offset: 0x00021D0C
|
|
private void OnDestroy()
|
|
{
|
|
global::UnityEngine.Object.Destroy(this._canvas.gameObject);
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL -= this.FNLOKKHNOLL;
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED -= this.LMCHAEINEOK;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000878 RID: 2168 RVA: 0x00023B74 File Offset: 0x00021D74
|
|
private void JJKMFPJFIDC()
|
|
{
|
|
this.JOPBEEBJLEE();
|
|
}
|
|
|
|
// Token: 0x06000879 RID: 2169 RVA: 0x00023B7C File Offset: 0x00021D7C
|
|
private void LBJABLHMAED()
|
|
{
|
|
this.ACCNFJNJLGE();
|
|
}
|
|
|
|
// Token: 0x0600087A RID: 2170 RVA: 0x00023B84 File Offset: 0x00021D84
|
|
private void IGLKIHBCKEG()
|
|
{
|
|
if (this.JEFGMHBLLKI == null || this.FMBELJHPBCG == null)
|
|
{
|
|
return;
|
|
}
|
|
int num = this.FMBELJHPBCG.DPOLNGGBMDH.JCILIEPHECC(this.JEFGMHBLLKI);
|
|
int defaultHealth = this.FMBELJHPBCG.PNOOBNCKAMJ.JDICOGKGEMP.DefaultHealth;
|
|
float num2 = (float)num / (float)defaultHealth;
|
|
this.healthBar.value = num2;
|
|
}
|
|
|
|
// Token: 0x0600087B RID: 2171 RVA: 0x00023BF0 File Offset: 0x00021DF0
|
|
private void JPLJIPMDDOJ()
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
Color color = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim);
|
|
for (int i = 1; i < this.thisTeamColorElements.Length; i++)
|
|
{
|
|
color.a = this.thisTeamColorElements[i].color.a;
|
|
this.thisTeamColorElements[i].color = color;
|
|
}
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
this.thisTeamScoreHUD.MAFLEFNEEFM(color);
|
|
}
|
|
if (this.leftHandAmmoHUD != null)
|
|
{
|
|
this.leftHandAmmoHUD.FGIGKLHHBHH(color);
|
|
}
|
|
if (this.rightHandAmmoHUD != null)
|
|
{
|
|
this.rightHandAmmoHUD.DGELDPJEHKF(color);
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
Color color2 = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim2);
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
this.otherTeamScoreHUD.OOGCLLNMOCB(color2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600087C RID: 2172 RVA: 0x00023CD8 File Offset: 0x00021ED8
|
|
private void MIBIJLIBPGJ()
|
|
{
|
|
if (Time.realtimeSinceStartup > this.OFJHAHOIJIB)
|
|
{
|
|
this.OMHBMLPKDBN();
|
|
this.LHLLLHEDMAG();
|
|
string text = string.Empty;
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
if (this.FMBELJHPBCG.IIINBIBMEGJ.IEFEDGNAAAJ() != null)
|
|
{
|
|
text = this.FMBELJHPBCG.IIINBIBMEGJ.JJOJKMNIPHD();
|
|
}
|
|
else if (this.FMBELJHPBCG.PNOOBNCKAMJ.HDBKIFDIOCN().GameHasDuration)
|
|
{
|
|
text = this.FMBELJHPBCG.KDIPJNOKDFL.DOFECFECLIG().PPKOEKKHJAG();
|
|
}
|
|
}
|
|
if (this.timerText != null)
|
|
{
|
|
this.timerText.text = text;
|
|
}
|
|
NCFHCLMCPBN.OMCGPHEEGOK(this._canvas, this.ANHNNLOIDPF);
|
|
this.OFJHAHOIJIB = Time.realtimeSinceStartup + 336f / (float)this.RenderFrameRate;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600087D RID: 2173 RVA: 0x00023DC0 File Offset: 0x00021FC0
|
|
private void FKNAFPHNDMM()
|
|
{
|
|
if (Time.realtimeSinceStartup > this.OFJHAHOIJIB)
|
|
{
|
|
this.CENJLMCJJOD();
|
|
this.ACLCFGKFFEB();
|
|
string text = string.Empty;
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
if (this.FMBELJHPBCG.IIINBIBMEGJ.OHGKGOPHBBL() != null)
|
|
{
|
|
text = this.FMBELJHPBCG.IIINBIBMEGJ.CPGFNMDMJGC();
|
|
}
|
|
else if (this.FMBELJHPBCG.PNOOBNCKAMJ.FOBFBHIKHNE().GameHasDuration)
|
|
{
|
|
text = this.FMBELJHPBCG.KDIPJNOKDFL.DOFECFECLIG().PPKOEKKHJAG();
|
|
}
|
|
}
|
|
if (this.timerText != null)
|
|
{
|
|
this.timerText.text = text;
|
|
}
|
|
NCFHCLMCPBN.CIIFBEEPIGD(this._canvas, this.ANHNNLOIDPF);
|
|
this.OFJHAHOIJIB = Time.realtimeSinceStartup + 268f / (float)this.RenderFrameRate;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600087E RID: 2174 RVA: 0x00023EA8 File Offset: 0x000220A8
|
|
private void HJBAHOCOLAE()
|
|
{
|
|
this.POBPHLENFML();
|
|
}
|
|
|
|
// Token: 0x0600087F RID: 2175 RVA: 0x00023EB0 File Offset: 0x000220B0
|
|
private void PNPPPHFKNKI()
|
|
{
|
|
if (this.LMLLOKLLODN == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
return;
|
|
}
|
|
Weapon weapon = null;
|
|
if (this.LMLLOKLLODN.DGEOJLGFGNG() != null && this.LMLLOKLLODN.DGEOJLGFGNG().NGMCOGJDNKC && this.LMLLOKLLODN.DGEOJLGFGNG().HJOIOHCOEOH() != null)
|
|
{
|
|
weapon = this.LMLLOKLLODN.DGEOJLGFGNG().OOIMAEHGBIC.GetComponent<Weapon>();
|
|
}
|
|
this.leftHandAmmoHUD.ENKPKNGDNCE(weapon);
|
|
Weapon weapon2 = null;
|
|
if (this.LMLLOKLLODN.KEJBPANGFKK != null && this.LMLLOKLLODN.KEJBPANGFKK.NGMCOGJDNKC && this.LMLLOKLLODN.KEJBPANGFKK.OOIMAEHGBIC != null)
|
|
{
|
|
weapon2 = this.LMLLOKLLODN.KEJBPANGFKK.OOIMAEHGBIC.GetComponent<Weapon>();
|
|
}
|
|
this.rightHandAmmoHUD.PAONKGBFADI(weapon2);
|
|
}
|
|
|
|
// Token: 0x06000880 RID: 2176 RVA: 0x00023FD0 File Offset: 0x000221D0
|
|
private void OPIPJMGIDEN()
|
|
{
|
|
if (this.FMBELJHPBCG == null || this.JEFGMHBLLKI == null)
|
|
{
|
|
return;
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
int num = this.FMBELJHPBCG.APOAHJMLMEG.CLOLEPCHGDP();
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
int num2 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim);
|
|
this.thisTeamScoreHUD.NCIABNCMLPL(num2, num);
|
|
}
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
int num3 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim2);
|
|
this.otherTeamScoreHUD.DJCPNOHEFNJ(num3, num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000881 RID: 2177 RVA: 0x0002408C File Offset: 0x0002228C
|
|
private void AFPHAKPHPEI()
|
|
{
|
|
if (this.JEFGMHBLLKI == null || this.FMBELJHPBCG == null)
|
|
{
|
|
return;
|
|
}
|
|
int num = this.FMBELJHPBCG.DPOLNGGBMDH.BHEGCFDBMCO(this.JEFGMHBLLKI);
|
|
int defaultHealth = this.FMBELJHPBCG.PNOOBNCKAMJ.FKHFJHJPHDH().DefaultHealth;
|
|
float num2 = (float)num / (float)defaultHealth;
|
|
this.healthBar.value = num2;
|
|
}
|
|
|
|
// Token: 0x06000882 RID: 2178 RVA: 0x000240F8 File Offset: 0x000222F8
|
|
private void POBPHLENFML()
|
|
{
|
|
if (this.FMBELJHPBCG == null || this.JEFGMHBLLKI == null)
|
|
{
|
|
return;
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
int scoreToWin = this.FMBELJHPBCG.APOAHJMLMEG.ScoreToWin;
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
int num = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim);
|
|
this.thisTeamScoreHUD.LLHAJKJOKGE(num, scoreToWin);
|
|
}
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
int num2 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim2);
|
|
this.otherTeamScoreHUD.DJCPNOHEFNJ(num2, scoreToWin);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000883 RID: 2179 RVA: 0x000241B4 File Offset: 0x000223B4
|
|
private void BGLMPGLMFJC()
|
|
{
|
|
this.ACCNFJNJLGE();
|
|
}
|
|
|
|
// Token: 0x06000884 RID: 2180 RVA: 0x000241BC File Offset: 0x000223BC
|
|
public void Initialize(GameManager FMBELJHPBCG, LNJFBGIBLHA JEFGMHBLLKI)
|
|
{
|
|
this.JEFGMHBLLKI = JEFGMHBLLKI;
|
|
this.JHJOMOGMAOH();
|
|
this.FMBELJHPBCG = FMBELJHPBCG;
|
|
this.CENJLMCJJOD();
|
|
this.HPBBCAKPOFC();
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL += this.FNLOKKHNOLL;
|
|
this.OLDAKDNNIBH();
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED += this.LMCHAEINEOK;
|
|
this.IKLOKKCFODL();
|
|
}
|
|
|
|
// Token: 0x06000885 RID: 2181 RVA: 0x00024230 File Offset: 0x00022430
|
|
public void JIIIGPCLIDP(GameManager FMBELJHPBCG, LNJFBGIBLHA JEFGMHBLLKI)
|
|
{
|
|
this.JEFGMHBLLKI = JEFGMHBLLKI;
|
|
this.GCPPILGNMBJ();
|
|
this.FMBELJHPBCG = FMBELJHPBCG;
|
|
this.OLGJNNGDDJO();
|
|
this.LHLLLHEDMAG();
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL += this.GHMCFABNELL;
|
|
this.HLECCAPECCD();
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED += this.GFNFMCNINBM;
|
|
this.ACCNFJNJLGE();
|
|
}
|
|
|
|
// Token: 0x06000886 RID: 2182 RVA: 0x000242A4 File Offset: 0x000224A4
|
|
private void KJHIFHOBJFC()
|
|
{
|
|
if (this.LMLLOKLLODN == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
return;
|
|
}
|
|
Weapon weapon = null;
|
|
if (this.LMLLOKLLODN.BGIBHPOALJG != null && this.LMLLOKLLODN.BGIBHPOALJG.NGMCOGJDNKC && this.LMLLOKLLODN.DGEOJLGFGNG().HJOIOHCOEOH() != null)
|
|
{
|
|
weapon = this.LMLLOKLLODN.DGEOJLGFGNG().HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.leftHandAmmoHUD.AKPFCGDBNCF(weapon);
|
|
Weapon weapon2 = null;
|
|
if (this.LMLLOKLLODN.KEJBPANGFKK != null && this.LMLLOKLLODN.KEJBPANGFKK.NGMCOGJDNKC && this.LMLLOKLLODN.KEJBPANGFKK.OOIMAEHGBIC != null)
|
|
{
|
|
weapon2 = this.LMLLOKLLODN.KEJBPANGFKK.OOIMAEHGBIC.GetComponent<Weapon>();
|
|
}
|
|
this.rightHandAmmoHUD.PAONKGBFADI(weapon2);
|
|
}
|
|
|
|
// Token: 0x06000887 RID: 2183 RVA: 0x000243C4 File Offset: 0x000225C4
|
|
private void KPNLIAADHNJ()
|
|
{
|
|
this._canvas.transform.SetParent(null, true);
|
|
this.ANHNNLOIDPF = NCFHCLMCPBN.PNNLOGHMIHE(this._canvas);
|
|
this.hudMesh.material.mainTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06000888 RID: 2184 RVA: 0x00024400 File Offset: 0x00022600
|
|
private void PPOIBECKCCB()
|
|
{
|
|
if (this.FMBELJHPBCG == null || this.JEFGMHBLLKI == null)
|
|
{
|
|
return;
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
int num = this.FMBELJHPBCG.APOAHJMLMEG.EJIIHIFPIFD();
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
int num2 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim);
|
|
this.thisTeamScoreHUD.NOAOCLLDLEK(num2, num);
|
|
}
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
int num3 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim2);
|
|
this.otherTeamScoreHUD.MDHLMGIAIBD(num3, num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000889 RID: 2185 RVA: 0x000244BC File Offset: 0x000226BC
|
|
private void ECJJJPCIFLN()
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
Color color = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim);
|
|
for (int i = 0; i < this.thisTeamColorElements.Length; i++)
|
|
{
|
|
color.a = this.thisTeamColorElements[i].color.a;
|
|
this.thisTeamColorElements[i].color = color;
|
|
}
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
this.thisTeamScoreHUD.KOLFECDBGIF(color);
|
|
}
|
|
if (this.leftHandAmmoHUD != null)
|
|
{
|
|
this.leftHandAmmoHUD.FDEKEEOGFDH(color);
|
|
}
|
|
if (this.rightHandAmmoHUD != null)
|
|
{
|
|
this.rightHandAmmoHUD.HPCKJIOIBGJ(color);
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
Color color2 = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim2);
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
this.otherTeamScoreHUD.OOGCLLNMOCB(color2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600088A RID: 2186 RVA: 0x000245A4 File Offset: 0x000227A4
|
|
private void GBEGEIBCELO()
|
|
{
|
|
this.GCPPILGNMBJ();
|
|
}
|
|
|
|
// Token: 0x0600088B RID: 2187 RVA: 0x000245AC File Offset: 0x000227AC
|
|
private void HLECCAPECCD()
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
Color color = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim);
|
|
for (int i = 0; i < this.thisTeamColorElements.Length; i += 0)
|
|
{
|
|
color.a = this.thisTeamColorElements[i].color.a;
|
|
this.thisTeamColorElements[i].color = color;
|
|
}
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
this.thisTeamScoreHUD.CCBFJFIAFOJ(color);
|
|
}
|
|
if (this.leftHandAmmoHUD != null)
|
|
{
|
|
this.leftHandAmmoHUD.AHILKPMDEFF(color);
|
|
}
|
|
if (this.rightHandAmmoHUD != null)
|
|
{
|
|
this.rightHandAmmoHUD.DGELDPJEHKF(color);
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
Color color2 = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim2);
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
this.otherTeamScoreHUD.CCBFJFIAFOJ(color2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600088C RID: 2188 RVA: 0x00024694 File Offset: 0x00022894
|
|
public void PHGDIOFDAJL(GameManager FMBELJHPBCG, LNJFBGIBLHA JEFGMHBLLKI)
|
|
{
|
|
this.JEFGMHBLLKI = JEFGMHBLLKI;
|
|
this.ACBMGMKDHJH();
|
|
this.FMBELJHPBCG = FMBELJHPBCG;
|
|
this.OLGJNNGDDJO();
|
|
this.LHLLLHEDMAG();
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL += this.HIOGCCDIODP;
|
|
this.CJAHJEBCMFK();
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED += this.OPBIFEPKEGP;
|
|
this.POBPHLENFML();
|
|
}
|
|
|
|
// Token: 0x0600088D RID: 2189 RVA: 0x00024708 File Offset: 0x00022908
|
|
private void NLMEGOALNLD()
|
|
{
|
|
if (this.JEFGMHBLLKI == null || this.FMBELJHPBCG == null)
|
|
{
|
|
return;
|
|
}
|
|
int num = this.FMBELJHPBCG.DPOLNGGBMDH.BHEGCFDBMCO(this.JEFGMHBLLKI);
|
|
int defaultHealth = this.FMBELJHPBCG.PNOOBNCKAMJ.PCMHAKDJJOJ().DefaultHealth;
|
|
float num2 = (float)num / (float)defaultHealth;
|
|
this.healthBar.value = num2;
|
|
}
|
|
|
|
// Token: 0x0600088E RID: 2190 RVA: 0x00024774 File Offset: 0x00022974
|
|
private void HLNOMOIKFHP()
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
Color color = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim);
|
|
for (int i = 0; i < this.thisTeamColorElements.Length; i += 0)
|
|
{
|
|
color.a = this.thisTeamColorElements[i].color.a;
|
|
this.thisTeamColorElements[i].color = color;
|
|
}
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
this.thisTeamScoreHUD.CCBFJFIAFOJ(color);
|
|
}
|
|
if (this.leftHandAmmoHUD != null)
|
|
{
|
|
this.leftHandAmmoHUD.OOGCLLNMOCB(color);
|
|
}
|
|
if (this.rightHandAmmoHUD != null)
|
|
{
|
|
this.rightHandAmmoHUD.JMFKHPIKEHD(color);
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
Color color2 = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim2);
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
this.otherTeamScoreHUD.ENJAIMIAEIJ(color2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600088F RID: 2191 RVA: 0x0002485C File Offset: 0x00022A5C
|
|
private void OEKOPBDDGCK()
|
|
{
|
|
if (Time.realtimeSinceStartup > this.OFJHAHOIJIB)
|
|
{
|
|
this.AFPHAKPHPEI();
|
|
this.OPLDMKPIIHI();
|
|
string text = string.Empty;
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
if (this.FMBELJHPBCG.IIINBIBMEGJ.CPGFNMDMJGC() != null)
|
|
{
|
|
text = this.FMBELJHPBCG.IIINBIBMEGJ.JDACMPBLAIJ();
|
|
}
|
|
else if (this.FMBELJHPBCG.PNOOBNCKAMJ.MNIKCCAIILH().GameHasDuration)
|
|
{
|
|
text = this.FMBELJHPBCG.KDIPJNOKDFL.DOFECFECLIG().PPKOEKKHJAG();
|
|
}
|
|
}
|
|
if (this.timerText != null)
|
|
{
|
|
this.timerText.text = text;
|
|
}
|
|
NCFHCLMCPBN.HKOGGPPNBOH(this._canvas, this.ANHNNLOIDPF);
|
|
this.OFJHAHOIJIB = Time.realtimeSinceStartup + 1946f / (float)this.RenderFrameRate;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000890 RID: 2192 RVA: 0x00024944 File Offset: 0x00022B44
|
|
private void OBAJGABKBNC()
|
|
{
|
|
if (this.LMLLOKLLODN == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
return;
|
|
}
|
|
Weapon weapon = null;
|
|
if (this.LMLLOKLLODN.BGIBHPOALJG != null && this.LMLLOKLLODN.DGEOJLGFGNG().NGMCOGJDNKC && this.LMLLOKLLODN.BGIBHPOALJG.OOIMAEHGBIC != null)
|
|
{
|
|
weapon = this.LMLLOKLLODN.DGEOJLGFGNG().OOIMAEHGBIC.GetComponent<Weapon>();
|
|
}
|
|
this.leftHandAmmoHUD.FCDGKJNDGCE(weapon);
|
|
Weapon weapon2 = null;
|
|
if (this.LMLLOKLLODN.KEJBPANGFKK != null && this.LMLLOKLLODN.KEJBPANGFKK.NGMCOGJDNKC && this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH() != null)
|
|
{
|
|
weapon2 = this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.rightHandAmmoHUD.HFJAPEGAAKN(weapon2);
|
|
}
|
|
|
|
// Token: 0x06000891 RID: 2193 RVA: 0x00024A64 File Offset: 0x00022C64
|
|
private void HHBLPPNNHOI()
|
|
{
|
|
if (this.FMBELJHPBCG == null || this.JEFGMHBLLKI == null)
|
|
{
|
|
return;
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
int scoreToWin = this.FMBELJHPBCG.APOAHJMLMEG.ScoreToWin;
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
int num = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim);
|
|
this.thisTeamScoreHUD.ELCMJLBCBPE(num, scoreToWin);
|
|
}
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
int num2 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim2);
|
|
this.otherTeamScoreHUD.HIFJKKLOFAI(num2, scoreToWin);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000892 RID: 2194 RVA: 0x00024B20 File Offset: 0x00022D20
|
|
private void GPOHCPCKGMI()
|
|
{
|
|
if (this.FMBELJHPBCG == null || this.JEFGMHBLLKI == null)
|
|
{
|
|
return;
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
int num = this.FMBELJHPBCG.APOAHJMLMEG.EJIIHIFPIFD();
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
int num2 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim);
|
|
this.thisTeamScoreHUD.ELCMJLBCBPE(num2, num);
|
|
}
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
int num3 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim2);
|
|
this.otherTeamScoreHUD.ACFEDGALIFA(num3, num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000893 RID: 2195 RVA: 0x00024BDC File Offset: 0x00022DDC
|
|
private void ILKKDENMHLL()
|
|
{
|
|
this.MGEHEINIPHN();
|
|
}
|
|
|
|
// Token: 0x06000894 RID: 2196 RVA: 0x00024BE4 File Offset: 0x00022DE4
|
|
private void AHHEENEFAPI()
|
|
{
|
|
if (Time.realtimeSinceStartup > this.OFJHAHOIJIB)
|
|
{
|
|
this.IABPGDFDPDJ();
|
|
this.HNGNEJIPNDF();
|
|
string text = string.Empty;
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
if (this.FMBELJHPBCG.IIINBIBMEGJ.IEFEDGNAAAJ() != null)
|
|
{
|
|
text = this.FMBELJHPBCG.IIINBIBMEGJ.BJACNOAMCBH();
|
|
}
|
|
else if (this.FMBELJHPBCG.PNOOBNCKAMJ.JGAAALIHAKF().GameHasDuration)
|
|
{
|
|
text = this.FMBELJHPBCG.KDIPJNOKDFL.DOFECFECLIG().PPKOEKKHJAG();
|
|
}
|
|
}
|
|
if (this.timerText != null)
|
|
{
|
|
this.timerText.text = text;
|
|
}
|
|
NCFHCLMCPBN.NJFFCPMCJGD(this._canvas, this.ANHNNLOIDPF);
|
|
this.OFJHAHOIJIB = Time.realtimeSinceStartup + 872f / (float)this.RenderFrameRate;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000895 RID: 2197 RVA: 0x00024CCC File Offset: 0x00022ECC
|
|
private void HKJDCDEMIPG()
|
|
{
|
|
global::UnityEngine.Object.Destroy(this._canvas.gameObject);
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL -= this.JLBOFCEOOMN;
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED -= this.HJBAHOCOLAE;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000896 RID: 2198 RVA: 0x00024D34 File Offset: 0x00022F34
|
|
private void LJPJMNNJEIO()
|
|
{
|
|
if (Time.realtimeSinceStartup > this.OFJHAHOIJIB)
|
|
{
|
|
this.OMHBMLPKDBN();
|
|
this.FBLIHOIMAEB();
|
|
string text = string.Empty;
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
if (this.FMBELJHPBCG.IIINBIBMEGJ.CustomTimerString != null)
|
|
{
|
|
text = this.FMBELJHPBCG.IIINBIBMEGJ.CPGFNMDMJGC();
|
|
}
|
|
else if (this.FMBELJHPBCG.PNOOBNCKAMJ.JGAAALIHAKF().GameHasDuration)
|
|
{
|
|
text = this.FMBELJHPBCG.KDIPJNOKDFL.TimeRemaining.PPKOEKKHJAG();
|
|
}
|
|
}
|
|
if (this.timerText != null)
|
|
{
|
|
this.timerText.text = text;
|
|
}
|
|
NCFHCLMCPBN.NJFFCPMCJGD(this._canvas, this.ANHNNLOIDPF);
|
|
this.OFJHAHOIJIB = Time.realtimeSinceStartup + 1662f / (float)this.RenderFrameRate;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000897 RID: 2199 RVA: 0x00024E1C File Offset: 0x0002301C
|
|
private void MGEHEINIPHN()
|
|
{
|
|
if (this.DJKLHBIFEGF == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN != null && this.LMLLOKLLODN.BGOGBEPJGPJ != null)
|
|
{
|
|
this.DJKLHBIFEGF = this.LMLLOKLLODN.BGOGBEPJGPJ.transform;
|
|
}
|
|
}
|
|
if (this.DJKLHBIFEGF != null)
|
|
{
|
|
base.transform.position = this.DJKLHBIFEGF.position;
|
|
base.transform.rotation = this.DJKLHBIFEGF.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000898 RID: 2200 RVA: 0x00024EE4 File Offset: 0x000230E4
|
|
private void PLHKCNHIOMA()
|
|
{
|
|
global::UnityEngine.Object.Destroy(this._canvas.gameObject);
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL -= this.LLCJPBEFLDN;
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED -= this.BGLMPGLMFJC;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000899 RID: 2201 RVA: 0x00024F4C File Offset: 0x0002314C
|
|
private void APJJMBIAKJH()
|
|
{
|
|
if (this.JEFGMHBLLKI == null || this.FMBELJHPBCG == null)
|
|
{
|
|
return;
|
|
}
|
|
int num = this.FMBELJHPBCG.DPOLNGGBMDH.BHEGCFDBMCO(this.JEFGMHBLLKI);
|
|
int defaultHealth = this.FMBELJHPBCG.PNOOBNCKAMJ.HHKLICOPHDN().DefaultHealth;
|
|
float num2 = (float)num / (float)defaultHealth;
|
|
this.healthBar.value = num2;
|
|
}
|
|
|
|
// Token: 0x0600089A RID: 2202 RVA: 0x00024FB8 File Offset: 0x000231B8
|
|
private void OHCDDPBAJDE()
|
|
{
|
|
this.JOPBEEBJLEE();
|
|
}
|
|
|
|
// Token: 0x0600089B RID: 2203 RVA: 0x00024FC0 File Offset: 0x000231C0
|
|
private void JBPCPDLPLGH()
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
Color color = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim);
|
|
for (int i = 1; i < this.thisTeamColorElements.Length; i += 0)
|
|
{
|
|
color.a = this.thisTeamColorElements[i].color.a;
|
|
this.thisTeamColorElements[i].color = color;
|
|
}
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
this.thisTeamScoreHUD.FJAKJNOAICK(color);
|
|
}
|
|
if (this.leftHandAmmoHUD != null)
|
|
{
|
|
this.leftHandAmmoHUD.FDEKEEOGFDH(color);
|
|
}
|
|
if (this.rightHandAmmoHUD != null)
|
|
{
|
|
this.rightHandAmmoHUD.JMFKHPIKEHD(color);
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
Color color2 = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim2);
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
this.otherTeamScoreHUD.EGIDCMNMKID(color2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600089C RID: 2204 RVA: 0x000250A8 File Offset: 0x000232A8
|
|
private void FNLOKKHNOLL(LNJFBGIBLHA FNGMABCOENN)
|
|
{
|
|
if (FNGMABCOENN == this.JEFGMHBLLKI)
|
|
{
|
|
this.OLDAKDNNIBH();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600089D RID: 2205 RVA: 0x000250BC File Offset: 0x000232BC
|
|
private void KOBMONBPKGI()
|
|
{
|
|
this.MGCONPEMLKH();
|
|
}
|
|
|
|
// Token: 0x0600089E RID: 2206 RVA: 0x000250C4 File Offset: 0x000232C4
|
|
private void MDBGKNBMIAI()
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
Color color = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim);
|
|
for (int i = 1; i < this.thisTeamColorElements.Length; i += 0)
|
|
{
|
|
color.a = this.thisTeamColorElements[i].color.a;
|
|
this.thisTeamColorElements[i].color = color;
|
|
}
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
this.thisTeamScoreHUD.EGIDCMNMKID(color);
|
|
}
|
|
if (this.leftHandAmmoHUD != null)
|
|
{
|
|
this.leftHandAmmoHUD.KJGFEGAJMKC(color);
|
|
}
|
|
if (this.rightHandAmmoHUD != null)
|
|
{
|
|
this.rightHandAmmoHUD.CCBFJFIAFOJ(color);
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
Color color2 = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim2);
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
this.otherTeamScoreHUD.POEKDLEPHJM(color2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600089F RID: 2207 RVA: 0x000251AC File Offset: 0x000233AC
|
|
private void NPGBJPLJKDP()
|
|
{
|
|
if (Time.realtimeSinceStartup > this.OFJHAHOIJIB)
|
|
{
|
|
this.IABPGDFDPDJ();
|
|
this.CEEFHKFPCOM();
|
|
string text = string.Empty;
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
if (this.FMBELJHPBCG.IIINBIBMEGJ.BJACNOAMCBH() != null)
|
|
{
|
|
text = this.FMBELJHPBCG.IIINBIBMEGJ.EGFEPONEICP();
|
|
}
|
|
else if (this.FMBELJHPBCG.PNOOBNCKAMJ.JGAAALIHAKF().GameHasDuration)
|
|
{
|
|
text = this.FMBELJHPBCG.KDIPJNOKDFL.DOFECFECLIG().PPKOEKKHJAG();
|
|
}
|
|
}
|
|
if (this.timerText != null)
|
|
{
|
|
this.timerText.text = text;
|
|
}
|
|
NCFHCLMCPBN.NJFFCPMCJGD(this._canvas, this.ANHNNLOIDPF);
|
|
this.OFJHAHOIJIB = Time.realtimeSinceStartup + 956f / (float)this.RenderFrameRate;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008A0 RID: 2208 RVA: 0x00025294 File Offset: 0x00023494
|
|
private void PAALCGEAEDE()
|
|
{
|
|
this._canvas.transform.SetParent(null, false);
|
|
this.ANHNNLOIDPF = NCFHCLMCPBN.OIHMPJACJGD(this._canvas);
|
|
this.hudMesh.material.mainTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x060008A1 RID: 2209 RVA: 0x000252D0 File Offset: 0x000234D0
|
|
private void IKLMLKBEAHG(LNJFBGIBLHA FNGMABCOENN)
|
|
{
|
|
if (FNGMABCOENN == this.JEFGMHBLLKI)
|
|
{
|
|
this.CJAHJEBCMFK();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008A2 RID: 2210 RVA: 0x000252E4 File Offset: 0x000234E4
|
|
private void IKLOKKCFODL()
|
|
{
|
|
if (this.FMBELJHPBCG == null || this.JEFGMHBLLKI == null)
|
|
{
|
|
return;
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
int scoreToWin = this.FMBELJHPBCG.APOAHJMLMEG.ScoreToWin;
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
int num = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim);
|
|
this.thisTeamScoreHUD.MDHLMGIAIBD(num, scoreToWin);
|
|
}
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
int num2 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim2);
|
|
this.otherTeamScoreHUD.MDHLMGIAIBD(num2, scoreToWin);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008A3 RID: 2211 RVA: 0x000253A0 File Offset: 0x000235A0
|
|
private void GFNFMCNINBM()
|
|
{
|
|
this.GPOHCPCKGMI();
|
|
}
|
|
|
|
// Token: 0x060008A4 RID: 2212 RVA: 0x000253A8 File Offset: 0x000235A8
|
|
private void NAKGPJKLHDF()
|
|
{
|
|
this._canvas.transform.SetParent(null, true);
|
|
this.ANHNNLOIDPF = NCFHCLMCPBN.NDLOIAMODDJ(this._canvas);
|
|
this.hudMesh.material.mainTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x060008A5 RID: 2213 RVA: 0x000253E4 File Offset: 0x000235E4
|
|
private void NHGGEHIGIMP()
|
|
{
|
|
this.POBPHLENFML();
|
|
}
|
|
|
|
// Token: 0x060008A6 RID: 2214 RVA: 0x000253EC File Offset: 0x000235EC
|
|
public void JBPAKBEJGKH(GameManager FMBELJHPBCG, LNJFBGIBLHA JEFGMHBLLKI)
|
|
{
|
|
this.JEFGMHBLLKI = JEFGMHBLLKI;
|
|
this.KPCFBGJFFHO();
|
|
this.FMBELJHPBCG = FMBELJHPBCG;
|
|
this.OLGJNNGDDJO();
|
|
this.DDNBOHMGDBE();
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL += this.GHMCFABNELL;
|
|
this.LNBMNLLAIHJ();
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED += this.GJGAOMMOPAC;
|
|
this.CKOJGIBGDFF();
|
|
}
|
|
|
|
// Token: 0x060008A7 RID: 2215 RVA: 0x00025460 File Offset: 0x00023660
|
|
public void JEBKPGDEFLF(GameManager FMBELJHPBCG, LNJFBGIBLHA JEFGMHBLLKI)
|
|
{
|
|
this.JEFGMHBLLKI = JEFGMHBLLKI;
|
|
this.KKODFINDBHK();
|
|
this.FMBELJHPBCG = FMBELJHPBCG;
|
|
this.KLHGEJCHKFL();
|
|
this.OBAJGABKBNC();
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL += this.DFOGJIABPGM;
|
|
this.JBPCPDLPLGH();
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED += this.JJKMFPJFIDC;
|
|
this.IKLOKKCFODL();
|
|
}
|
|
|
|
// Token: 0x060008A8 RID: 2216 RVA: 0x000254D4 File Offset: 0x000236D4
|
|
private void GHMCFABNELL(LNJFBGIBLHA FNGMABCOENN)
|
|
{
|
|
if (FNGMABCOENN == this.JEFGMHBLLKI)
|
|
{
|
|
this.OLDAKDNNIBH();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008A9 RID: 2217 RVA: 0x000254E8 File Offset: 0x000236E8
|
|
public void FBMJCDMNIHJ(GameManager FMBELJHPBCG, LNJFBGIBLHA JEFGMHBLLKI)
|
|
{
|
|
this.JEFGMHBLLKI = JEFGMHBLLKI;
|
|
this.ACBMGMKDHJH();
|
|
this.FMBELJHPBCG = FMBELJHPBCG;
|
|
this.IGLKIHBCKEG();
|
|
this.PNPPPHFKNKI();
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL += this.GHMCFABNELL;
|
|
this.HLNOMOIKFHP();
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED += this.GFNFMCNINBM;
|
|
this.JOPBEEBJLEE();
|
|
}
|
|
|
|
// Token: 0x060008AA RID: 2218 RVA: 0x0002555C File Offset: 0x0002375C
|
|
private void DCHCOKIMPDJ()
|
|
{
|
|
global::UnityEngine.Object.Destroy(this._canvas.gameObject);
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL -= this.HIOGCCDIODP;
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED -= this.OHCDDPBAJDE;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008AB RID: 2219 RVA: 0x000255C4 File Offset: 0x000237C4
|
|
private void ALOIPJOEMNH()
|
|
{
|
|
this.JOPBEEBJLEE();
|
|
}
|
|
|
|
// Token: 0x060008AC RID: 2220 RVA: 0x000255CC File Offset: 0x000237CC
|
|
private void OPBIFEPKEGP()
|
|
{
|
|
this.GPOHCPCKGMI();
|
|
}
|
|
|
|
// Token: 0x060008AD RID: 2221 RVA: 0x000255D4 File Offset: 0x000237D4
|
|
private void LCNAGFKGKHH()
|
|
{
|
|
if (this.DJKLHBIFEGF == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN != null && this.LMLLOKLLODN.HFDJIFFPEFM() != null)
|
|
{
|
|
this.DJKLHBIFEGF = this.LMLLOKLLODN.HFDJIFFPEFM().transform;
|
|
}
|
|
}
|
|
if (this.DJKLHBIFEGF != null)
|
|
{
|
|
base.transform.position = this.DJKLHBIFEGF.position;
|
|
base.transform.rotation = this.DJKLHBIFEGF.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008AE RID: 2222 RVA: 0x0002569C File Offset: 0x0002389C
|
|
private void HFJAPEGAAKN()
|
|
{
|
|
if (this.LMLLOKLLODN == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
return;
|
|
}
|
|
Weapon weapon = null;
|
|
if (this.LMLLOKLLODN.DGEOJLGFGNG() != null && this.LMLLOKLLODN.BGIBHPOALJG.NGMCOGJDNKC && this.LMLLOKLLODN.DGEOJLGFGNG().HJOIOHCOEOH() != null)
|
|
{
|
|
weapon = this.LMLLOKLLODN.DGEOJLGFGNG().OOIMAEHGBIC.GetComponent<Weapon>();
|
|
}
|
|
this.leftHandAmmoHUD.AKPFCGDBNCF(weapon);
|
|
Weapon weapon2 = null;
|
|
if (this.LMLLOKLLODN.KEJBPANGFKK != null && this.LMLLOKLLODN.KEJBPANGFKK.NGMCOGJDNKC && this.LMLLOKLLODN.KEJBPANGFKK.OOIMAEHGBIC != null)
|
|
{
|
|
weapon2 = this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.rightHandAmmoHUD.FLCBBKNFGGJ(weapon2);
|
|
}
|
|
|
|
// Token: 0x060008AF RID: 2223 RVA: 0x000257BC File Offset: 0x000239BC
|
|
private void PBPGLFFLIPH()
|
|
{
|
|
this._canvas.transform.SetParent(null, true);
|
|
this.ANHNNLOIDPF = NCFHCLMCPBN.PNNLOGHMIHE(this._canvas);
|
|
this.hudMesh.material.mainTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x060008B0 RID: 2224 RVA: 0x000257F8 File Offset: 0x000239F8
|
|
private void ACBMGMKDHJH()
|
|
{
|
|
if (this.DJKLHBIFEGF == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN != null && this.LMLLOKLLODN.AJHHFNCFKNF() != null)
|
|
{
|
|
this.DJKLHBIFEGF = this.LMLLOKLLODN.AJHHFNCFKNF().transform;
|
|
}
|
|
}
|
|
if (this.DJKLHBIFEGF != null)
|
|
{
|
|
base.transform.position = this.DJKLHBIFEGF.position;
|
|
base.transform.rotation = this.DJKLHBIFEGF.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008B1 RID: 2225 RVA: 0x000258C0 File Offset: 0x00023AC0
|
|
private void FBLIHOIMAEB()
|
|
{
|
|
if (this.LMLLOKLLODN == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
return;
|
|
}
|
|
Weapon weapon = null;
|
|
if (this.LMLLOKLLODN.DGEOJLGFGNG() != null && this.LMLLOKLLODN.BGIBHPOALJG.NGMCOGJDNKC && this.LMLLOKLLODN.DGEOJLGFGNG().OOIMAEHGBIC != null)
|
|
{
|
|
weapon = this.LMLLOKLLODN.BGIBHPOALJG.OOIMAEHGBIC.GetComponent<Weapon>();
|
|
}
|
|
this.leftHandAmmoHUD.IEHHGHMBPAM(weapon);
|
|
Weapon weapon2 = null;
|
|
if (this.LMLLOKLLODN.KEJBPANGFKK != null && this.LMLLOKLLODN.KEJBPANGFKK.NGMCOGJDNKC && this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH() != null)
|
|
{
|
|
weapon2 = this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.rightHandAmmoHUD.PAONKGBFADI(weapon2);
|
|
}
|
|
|
|
// Token: 0x060008B2 RID: 2226 RVA: 0x000259E0 File Offset: 0x00023BE0
|
|
private void MDGPLNDHKCI()
|
|
{
|
|
if (Time.realtimeSinceStartup > this.OFJHAHOIJIB)
|
|
{
|
|
this.IABPGDFDPDJ();
|
|
this.LHLLLHEDMAG();
|
|
string text = string.Empty;
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
if (this.FMBELJHPBCG.IIINBIBMEGJ.EGFEPONEICP() != null)
|
|
{
|
|
text = this.FMBELJHPBCG.IIINBIBMEGJ.BJACNOAMCBH();
|
|
}
|
|
else if (this.FMBELJHPBCG.PNOOBNCKAMJ.EJKNAKDAMAC().GameHasDuration)
|
|
{
|
|
text = this.FMBELJHPBCG.KDIPJNOKDFL.DOFECFECLIG().PPKOEKKHJAG();
|
|
}
|
|
}
|
|
if (this.timerText != null)
|
|
{
|
|
this.timerText.text = text;
|
|
}
|
|
NCFHCLMCPBN.ADMHDHNMALL(this._canvas, this.ANHNNLOIDPF);
|
|
this.OFJHAHOIJIB = Time.realtimeSinceStartup + 1415f / (float)this.RenderFrameRate;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008B3 RID: 2227 RVA: 0x00025AC8 File Offset: 0x00023CC8
|
|
private void LBJNOEIOLCO()
|
|
{
|
|
global::UnityEngine.Object.Destroy(this._canvas.gameObject);
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL -= this.FNLOKKHNOLL;
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED -= this.EEAPKHMDNDG;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008B4 RID: 2228 RVA: 0x00025B30 File Offset: 0x00023D30
|
|
private void ACGIKOLNAAM()
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
Color color = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim);
|
|
for (int i = 0; i < this.thisTeamColorElements.Length; i++)
|
|
{
|
|
color.a = this.thisTeamColorElements[i].color.a;
|
|
this.thisTeamColorElements[i].color = color;
|
|
}
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
this.thisTeamScoreHUD.FJAKJNOAICK(color);
|
|
}
|
|
if (this.leftHandAmmoHUD != null)
|
|
{
|
|
this.leftHandAmmoHUD.ABGBJEGGHAH(color);
|
|
}
|
|
if (this.rightHandAmmoHUD != null)
|
|
{
|
|
this.rightHandAmmoHUD.HPCKJIOIBGJ(color);
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
Color color2 = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim2);
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
this.otherTeamScoreHUD.POEKDLEPHJM(color2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008B5 RID: 2229 RVA: 0x00025C18 File Offset: 0x00023E18
|
|
private void MGCONPEMLKH()
|
|
{
|
|
if (this.FMBELJHPBCG == null || this.JEFGMHBLLKI == null)
|
|
{
|
|
return;
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
int scoreToWin = this.FMBELJHPBCG.APOAHJMLMEG.ScoreToWin;
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
int num = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim);
|
|
this.thisTeamScoreHUD.ELCMJLBCBPE(num, scoreToWin);
|
|
}
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
int num2 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim2);
|
|
this.otherTeamScoreHUD.HKKBPCCJFAO(num2, scoreToWin);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008B6 RID: 2230 RVA: 0x00025CD4 File Offset: 0x00023ED4
|
|
private void BCGPKEMICON()
|
|
{
|
|
this.GCPPILGNMBJ();
|
|
}
|
|
|
|
// Token: 0x060008B7 RID: 2231 RVA: 0x00025CDC File Offset: 0x00023EDC
|
|
private void JLBOFCEOOMN(LNJFBGIBLHA FNGMABCOENN)
|
|
{
|
|
if (FNGMABCOENN == this.JEFGMHBLLKI)
|
|
{
|
|
this.NGOBICOAAFG();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008B8 RID: 2232 RVA: 0x00025CF0 File Offset: 0x00023EF0
|
|
private void ILKMDFNNJPG(LNJFBGIBLHA FNGMABCOENN)
|
|
{
|
|
if (FNGMABCOENN == this.JEFGMHBLLKI)
|
|
{
|
|
this.HLECCAPECCD();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008B9 RID: 2233 RVA: 0x00025D04 File Offset: 0x00023F04
|
|
private void CMDEHFKNKPG()
|
|
{
|
|
this.KKODFINDBHK();
|
|
}
|
|
|
|
// Token: 0x060008BA RID: 2234 RVA: 0x00025D0C File Offset: 0x00023F0C
|
|
private void IABPGDFDPDJ()
|
|
{
|
|
if (this.JEFGMHBLLKI == null || this.FMBELJHPBCG == null)
|
|
{
|
|
return;
|
|
}
|
|
int num = this.FMBELJHPBCG.DPOLNGGBMDH.BHEGCFDBMCO(this.JEFGMHBLLKI);
|
|
int defaultHealth = this.FMBELJHPBCG.PNOOBNCKAMJ.HDNHHKEJIHD().DefaultHealth;
|
|
float num2 = (float)num / (float)defaultHealth;
|
|
this.healthBar.value = num2;
|
|
}
|
|
|
|
// Token: 0x060008BB RID: 2235 RVA: 0x00025D78 File Offset: 0x00023F78
|
|
private void DFOGJIABPGM(LNJFBGIBLHA FNGMABCOENN)
|
|
{
|
|
if (FNGMABCOENN == this.JEFGMHBLLKI)
|
|
{
|
|
this.JBPCPDLPLGH();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008BC RID: 2236 RVA: 0x00025D8C File Offset: 0x00023F8C
|
|
private void HNLFHHBMGHF()
|
|
{
|
|
if (this.JEFGMHBLLKI == null || this.FMBELJHPBCG == null)
|
|
{
|
|
return;
|
|
}
|
|
int num = this.FMBELJHPBCG.DPOLNGGBMDH.CABHMLIDHJA(this.JEFGMHBLLKI);
|
|
int defaultHealth = this.FMBELJHPBCG.PNOOBNCKAMJ.NGMCGMOPEJL().DefaultHealth;
|
|
float num2 = (float)num / (float)defaultHealth;
|
|
this.healthBar.value = num2;
|
|
}
|
|
|
|
// Token: 0x060008BD RID: 2237 RVA: 0x00025DF8 File Offset: 0x00023FF8
|
|
private void FMFPFFNPHKC()
|
|
{
|
|
if (this.FMBELJHPBCG == null || this.JEFGMHBLLKI == null)
|
|
{
|
|
return;
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
int num = this.FMBELJHPBCG.APOAHJMLMEG.CLOLEPCHGDP();
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
int num2 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim);
|
|
this.thisTeamScoreHUD.KNEKOBDPKFG(num2, num);
|
|
}
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
int num3 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim2);
|
|
this.otherTeamScoreHUD.LKGOLIDMCFC(num3, num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008BE RID: 2238 RVA: 0x00025EB4 File Offset: 0x000240B4
|
|
private void LLCJPBEFLDN(LNJFBGIBLHA FNGMABCOENN)
|
|
{
|
|
if (FNGMABCOENN == this.JEFGMHBLLKI)
|
|
{
|
|
this.JBPCPDLPLGH();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008BF RID: 2239 RVA: 0x00025EC8 File Offset: 0x000240C8
|
|
private void CKOJGIBGDFF()
|
|
{
|
|
if (this.FMBELJHPBCG == null || this.JEFGMHBLLKI == null)
|
|
{
|
|
return;
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
int num = this.FMBELJHPBCG.APOAHJMLMEG.CLOLEPCHGDP();
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
int num2 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim);
|
|
this.thisTeamScoreHUD.PCPIPLDDKNA(num2, num);
|
|
}
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
int num3 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim2);
|
|
this.otherTeamScoreHUD.PCPIPLDDKNA(num3, num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008C0 RID: 2240 RVA: 0x00025F84 File Offset: 0x00024184
|
|
private void CENJLMCJJOD()
|
|
{
|
|
if (this.JEFGMHBLLKI == null || this.FMBELJHPBCG == null)
|
|
{
|
|
return;
|
|
}
|
|
int num = this.FMBELJHPBCG.DPOLNGGBMDH.GOAOEAAKPPF(this.JEFGMHBLLKI);
|
|
int defaultHealth = this.FMBELJHPBCG.PNOOBNCKAMJ.JDICOGKGEMP.DefaultHealth;
|
|
float num2 = (float)num / (float)defaultHealth;
|
|
this.healthBar.value = num2;
|
|
}
|
|
|
|
// Token: 0x060008C1 RID: 2241 RVA: 0x00025FF0 File Offset: 0x000241F0
|
|
private void FLCBBKNFGGJ()
|
|
{
|
|
if (this.LMLLOKLLODN == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
return;
|
|
}
|
|
Weapon weapon = null;
|
|
if (this.LMLLOKLLODN.DGEOJLGFGNG() != null && this.LMLLOKLLODN.DGEOJLGFGNG().NGMCOGJDNKC && this.LMLLOKLLODN.DGEOJLGFGNG().HJOIOHCOEOH() != null)
|
|
{
|
|
weapon = this.LMLLOKLLODN.DGEOJLGFGNG().OOIMAEHGBIC.GetComponent<Weapon>();
|
|
}
|
|
this.leftHandAmmoHUD.JMKEOEGEBCB(weapon);
|
|
Weapon weapon2 = null;
|
|
if (this.LMLLOKLLODN.KEJBPANGFKK != null && this.LMLLOKLLODN.KEJBPANGFKK.NGMCOGJDNKC && this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH() != null)
|
|
{
|
|
weapon2 = this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.rightHandAmmoHUD.OGKJPMKAFBL(weapon2);
|
|
}
|
|
|
|
// Token: 0x060008C2 RID: 2242 RVA: 0x00026110 File Offset: 0x00024310
|
|
private void NMOBMJGJCCC()
|
|
{
|
|
this._canvas.transform.SetParent(null, true);
|
|
this.ANHNNLOIDPF = NCFHCLMCPBN.NDLOIAMODDJ(this._canvas);
|
|
this.hudMesh.material.mainTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x060008C3 RID: 2243 RVA: 0x0002614C File Offset: 0x0002434C
|
|
private void KPCFBGJFFHO()
|
|
{
|
|
if (this.DJKLHBIFEGF == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN != null && this.LMLLOKLLODN.AJHHFNCFKNF() != null)
|
|
{
|
|
this.DJKLHBIFEGF = this.LMLLOKLLODN.AJHHFNCFKNF().transform;
|
|
}
|
|
}
|
|
if (this.DJKLHBIFEGF != null)
|
|
{
|
|
base.transform.position = this.DJKLHBIFEGF.position;
|
|
base.transform.rotation = this.DJKLHBIFEGF.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008C4 RID: 2244 RVA: 0x00026214 File Offset: 0x00024414
|
|
private void NGOBICOAAFG()
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
Color color = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim);
|
|
for (int i = 0; i < this.thisTeamColorElements.Length; i += 0)
|
|
{
|
|
color.a = this.thisTeamColorElements[i].color.a;
|
|
this.thisTeamColorElements[i].color = color;
|
|
}
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
this.thisTeamScoreHUD.FJAKJNOAICK(color);
|
|
}
|
|
if (this.leftHandAmmoHUD != null)
|
|
{
|
|
this.leftHandAmmoHUD.PHNLEMLPEKD(color);
|
|
}
|
|
if (this.rightHandAmmoHUD != null)
|
|
{
|
|
this.rightHandAmmoHUD.AHILKPMDEFF(color);
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
Color color2 = PBMLOBHPIMG.OMKFIIOOMJB(ipbdfpepnim2);
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
this.otherTeamScoreHUD.ENJAIMIAEIJ(color2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008C5 RID: 2245 RVA: 0x000262FC File Offset: 0x000244FC
|
|
private void HPBBCAKPOFC()
|
|
{
|
|
if (this.LMLLOKLLODN == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
return;
|
|
}
|
|
Weapon weapon = null;
|
|
if (this.LMLLOKLLODN.BGIBHPOALJG != null && this.LMLLOKLLODN.BGIBHPOALJG.NGMCOGJDNKC && this.LMLLOKLLODN.BGIBHPOALJG.OOIMAEHGBIC != null)
|
|
{
|
|
weapon = this.LMLLOKLLODN.BGIBHPOALJG.OOIMAEHGBIC.GetComponent<Weapon>();
|
|
}
|
|
this.leftHandAmmoHUD.HPBBCAKPOFC(weapon);
|
|
Weapon weapon2 = null;
|
|
if (this.LMLLOKLLODN.KEJBPANGFKK != null && this.LMLLOKLLODN.KEJBPANGFKK.NGMCOGJDNKC && this.LMLLOKLLODN.KEJBPANGFKK.OOIMAEHGBIC != null)
|
|
{
|
|
weapon2 = this.LMLLOKLLODN.KEJBPANGFKK.OOIMAEHGBIC.GetComponent<Weapon>();
|
|
}
|
|
this.rightHandAmmoHUD.HPBBCAKPOFC(weapon2);
|
|
}
|
|
|
|
// Token: 0x060008C6 RID: 2246 RVA: 0x0002641C File Offset: 0x0002461C
|
|
private void MNJAFJGIFJK()
|
|
{
|
|
global::UnityEngine.Object.Destroy(this._canvas.gameObject);
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL -= this.LLCJPBEFLDN;
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED -= this.CLILABKDIKG;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008C7 RID: 2247 RVA: 0x00026484 File Offset: 0x00024684
|
|
private void FPMMBPEOBEE()
|
|
{
|
|
this._canvas.transform.SetParent(null, false);
|
|
this.ANHNNLOIDPF = NCFHCLMCPBN.PKCPODADAII(this._canvas);
|
|
this.hudMesh.material.mainTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x060008C8 RID: 2248 RVA: 0x000264C0 File Offset: 0x000246C0
|
|
private void EODPPGAGFBO()
|
|
{
|
|
global::UnityEngine.Object.Destroy(this._canvas.gameObject);
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL -= this.FCPKPKNOMJE;
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED -= this.NHGGEHIGIMP;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008C9 RID: 2249 RVA: 0x00026528 File Offset: 0x00024728
|
|
private void HNGNEJIPNDF()
|
|
{
|
|
if (this.LMLLOKLLODN == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
return;
|
|
}
|
|
Weapon weapon = null;
|
|
if (this.LMLLOKLLODN.DGEOJLGFGNG() != null && this.LMLLOKLLODN.BGIBHPOALJG.NGMCOGJDNKC && this.LMLLOKLLODN.DGEOJLGFGNG().OOIMAEHGBIC != null)
|
|
{
|
|
weapon = this.LMLLOKLLODN.DGEOJLGFGNG().HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.leftHandAmmoHUD.LIHEADNOBJO(weapon);
|
|
Weapon weapon2 = null;
|
|
if (this.LMLLOKLLODN.KEJBPANGFKK != null && this.LMLLOKLLODN.KEJBPANGFKK.NGMCOGJDNKC && this.LMLLOKLLODN.KEJBPANGFKK.OOIMAEHGBIC != null)
|
|
{
|
|
weapon2 = this.LMLLOKLLODN.KEJBPANGFKK.OOIMAEHGBIC.GetComponent<Weapon>();
|
|
}
|
|
this.rightHandAmmoHUD.FLCBBKNFGGJ(weapon2);
|
|
}
|
|
|
|
// Token: 0x060008CA RID: 2250 RVA: 0x00026648 File Offset: 0x00024848
|
|
private void KKODFINDBHK()
|
|
{
|
|
if (this.DJKLHBIFEGF == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN != null && this.LMLLOKLLODN.BGOGBEPJGPJ != null)
|
|
{
|
|
this.DJKLHBIFEGF = this.LMLLOKLLODN.BGOGBEPJGPJ.transform;
|
|
}
|
|
}
|
|
if (this.DJKLHBIFEGF != null)
|
|
{
|
|
base.transform.position = this.DJKLHBIFEGF.position;
|
|
base.transform.rotation = this.DJKLHBIFEGF.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008CB RID: 2251 RVA: 0x00026710 File Offset: 0x00024910
|
|
private void NLOGLEMGBMF()
|
|
{
|
|
this.ACCNFJNJLGE();
|
|
}
|
|
|
|
// Token: 0x060008CC RID: 2252 RVA: 0x00026718 File Offset: 0x00024918
|
|
private void OECIOLNLDPJ()
|
|
{
|
|
if (this.JEFGMHBLLKI == null || this.FMBELJHPBCG == null)
|
|
{
|
|
return;
|
|
}
|
|
int num = this.FMBELJHPBCG.DPOLNGGBMDH.JCILIEPHECC(this.JEFGMHBLLKI);
|
|
int defaultHealth = this.FMBELJHPBCG.PNOOBNCKAMJ.PCBDCCKOFND().DefaultHealth;
|
|
float num2 = (float)num / (float)defaultHealth;
|
|
this.healthBar.value = num2;
|
|
}
|
|
|
|
// Token: 0x060008CD RID: 2253 RVA: 0x00026784 File Offset: 0x00024984
|
|
private void MDJMFHBCLAM()
|
|
{
|
|
this.DMLGMJBEHNM();
|
|
}
|
|
|
|
// Token: 0x060008CE RID: 2254 RVA: 0x0002678C File Offset: 0x0002498C
|
|
private void DCGCFFFPABH()
|
|
{
|
|
global::UnityEngine.Object.Destroy(this._canvas.gameObject);
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL -= this.JLBOFCEOOMN;
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED -= this.EEAPKHMDNDG;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008CF RID: 2255 RVA: 0x000267F4 File Offset: 0x000249F4
|
|
private void OFDCCGLFACL()
|
|
{
|
|
if (Time.realtimeSinceStartup > this.OFJHAHOIJIB)
|
|
{
|
|
this.IGLKIHBCKEG();
|
|
this.FLCBBKNFGGJ();
|
|
string text = string.Empty;
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
if (this.FMBELJHPBCG.IIINBIBMEGJ.JJOJKMNIPHD() != null)
|
|
{
|
|
text = this.FMBELJHPBCG.IIINBIBMEGJ.BJACNOAMCBH();
|
|
}
|
|
else if (this.FMBELJHPBCG.PNOOBNCKAMJ.GPEOKJCNPJH.GameHasDuration)
|
|
{
|
|
text = this.FMBELJHPBCG.KDIPJNOKDFL.TimeRemaining.PPKOEKKHJAG();
|
|
}
|
|
}
|
|
if (this.timerText != null)
|
|
{
|
|
this.timerText.text = text;
|
|
}
|
|
NCFHCLMCPBN.DOELIKABAMA(this._canvas, this.ANHNNLOIDPF);
|
|
this.OFJHAHOIJIB = Time.realtimeSinceStartup + 829f / (float)this.RenderFrameRate;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008D0 RID: 2256 RVA: 0x000268DC File Offset: 0x00024ADC
|
|
private void DDNBOHMGDBE()
|
|
{
|
|
if (this.LMLLOKLLODN == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
return;
|
|
}
|
|
Weapon weapon = null;
|
|
if (this.LMLLOKLLODN.BGIBHPOALJG != null && this.LMLLOKLLODN.DGEOJLGFGNG().NGMCOGJDNKC && this.LMLLOKLLODN.DGEOJLGFGNG().HJOIOHCOEOH() != null)
|
|
{
|
|
weapon = this.LMLLOKLLODN.BGIBHPOALJG.HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.leftHandAmmoHUD.KJHIFHOBJFC(weapon);
|
|
Weapon weapon2 = null;
|
|
if (this.LMLLOKLLODN.KEJBPANGFKK != null && this.LMLLOKLLODN.KEJBPANGFKK.NGMCOGJDNKC && this.LMLLOKLLODN.KEJBPANGFKK.OOIMAEHGBIC != null)
|
|
{
|
|
weapon2 = this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.rightHandAmmoHUD.IEHHGHMBPAM(weapon2);
|
|
}
|
|
|
|
// Token: 0x060008D1 RID: 2257 RVA: 0x000269FC File Offset: 0x00024BFC
|
|
private void DKOBEFOMHDD()
|
|
{
|
|
if (this.LMLLOKLLODN == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
return;
|
|
}
|
|
Weapon weapon = null;
|
|
if (this.LMLLOKLLODN.DGEOJLGFGNG() != null && this.LMLLOKLLODN.DGEOJLGFGNG().NGMCOGJDNKC && this.LMLLOKLLODN.DGEOJLGFGNG().HJOIOHCOEOH() != null)
|
|
{
|
|
weapon = this.LMLLOKLLODN.BGIBHPOALJG.OOIMAEHGBIC.GetComponent<Weapon>();
|
|
}
|
|
this.leftHandAmmoHUD.LIHEADNOBJO(weapon);
|
|
Weapon weapon2 = null;
|
|
if (this.LMLLOKLLODN.KEJBPANGFKK != null && this.LMLLOKLLODN.KEJBPANGFKK.NGMCOGJDNKC && this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH() != null)
|
|
{
|
|
weapon2 = this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.rightHandAmmoHUD.JMKEOEGEBCB(weapon2);
|
|
}
|
|
|
|
// Token: 0x060008D2 RID: 2258 RVA: 0x00026B1C File Offset: 0x00024D1C
|
|
private void MECIFJBLPIM()
|
|
{
|
|
this.ILCHKHEAGEP();
|
|
}
|
|
|
|
// Token: 0x060008D3 RID: 2259 RVA: 0x00026B24 File Offset: 0x00024D24
|
|
private void HIOGCCDIODP(LNJFBGIBLHA FNGMABCOENN)
|
|
{
|
|
if (FNGMABCOENN == this.JEFGMHBLLKI)
|
|
{
|
|
this.NAPPHLFFLNK();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008D4 RID: 2260 RVA: 0x00026B38 File Offset: 0x00024D38
|
|
private void EOHCNPOJKMG()
|
|
{
|
|
global::UnityEngine.Object.Destroy(this._canvas.gameObject);
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL -= this.IKLMLKBEAHG;
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED -= this.EEAPKHMDNDG;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008D5 RID: 2261 RVA: 0x00026BA0 File Offset: 0x00024DA0
|
|
private void OPLDMKPIIHI()
|
|
{
|
|
if (this.LMLLOKLLODN == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
return;
|
|
}
|
|
Weapon weapon = null;
|
|
if (this.LMLLOKLLODN.BGIBHPOALJG != null && this.LMLLOKLLODN.BGIBHPOALJG.NGMCOGJDNKC && this.LMLLOKLLODN.DGEOJLGFGNG().OOIMAEHGBIC != null)
|
|
{
|
|
weapon = this.LMLLOKLLODN.DGEOJLGFGNG().OOIMAEHGBIC.GetComponent<Weapon>();
|
|
}
|
|
this.leftHandAmmoHUD.FLALABDEENP(weapon);
|
|
Weapon weapon2 = null;
|
|
if (this.LMLLOKLLODN.KEJBPANGFKK != null && this.LMLLOKLLODN.KEJBPANGFKK.NGMCOGJDNKC && this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH() != null)
|
|
{
|
|
weapon2 = this.LMLLOKLLODN.KEJBPANGFKK.OOIMAEHGBIC.GetComponent<Weapon>();
|
|
}
|
|
this.rightHandAmmoHUD.ECELPDEDIFH(weapon2);
|
|
}
|
|
|
|
// Token: 0x060008D6 RID: 2262 RVA: 0x00026CC0 File Offset: 0x00024EC0
|
|
private void POKAOBLDBLO()
|
|
{
|
|
this.JOPBEEBJLEE();
|
|
}
|
|
|
|
// Token: 0x060008D7 RID: 2263 RVA: 0x00026CC8 File Offset: 0x00024EC8
|
|
private void KHMLCKHNNNJ()
|
|
{
|
|
global::UnityEngine.Object.Destroy(this._canvas.gameObject);
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL -= this.FCPKPKNOMJE;
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED -= this.POKAOBLDBLO;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008D8 RID: 2264 RVA: 0x00026D30 File Offset: 0x00024F30
|
|
public void PEEDHBCBCOI(GameManager FMBELJHPBCG, LNJFBGIBLHA JEFGMHBLLKI)
|
|
{
|
|
this.JEFGMHBLLKI = JEFGMHBLLKI;
|
|
this.ILCHKHEAGEP();
|
|
this.FMBELJHPBCG = FMBELJHPBCG;
|
|
this.APJJMBIAKJH();
|
|
this.OPLDMKPIIHI();
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL += this.ILKMDFNNJPG;
|
|
this.LBMHFBFIGJN();
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED += this.LMCHAEINEOK;
|
|
this.ACCNFJNJLGE();
|
|
}
|
|
|
|
// Token: 0x060008D9 RID: 2265 RVA: 0x00026DA4 File Offset: 0x00024FA4
|
|
private void GJPGIDODFAJ()
|
|
{
|
|
if (this.LMLLOKLLODN == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
return;
|
|
}
|
|
Weapon weapon = null;
|
|
if (this.LMLLOKLLODN.BGIBHPOALJG != null && this.LMLLOKLLODN.DGEOJLGFGNG().NGMCOGJDNKC && this.LMLLOKLLODN.DGEOJLGFGNG().OOIMAEHGBIC != null)
|
|
{
|
|
weapon = this.LMLLOKLLODN.DGEOJLGFGNG().HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.leftHandAmmoHUD.OGKJPMKAFBL(weapon);
|
|
Weapon weapon2 = null;
|
|
if (this.LMLLOKLLODN.KEJBPANGFKK != null && this.LMLLOKLLODN.KEJBPANGFKK.NGMCOGJDNKC && this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH() != null)
|
|
{
|
|
weapon2 = this.LMLLOKLLODN.KEJBPANGFKK.OOIMAEHGBIC.GetComponent<Weapon>();
|
|
}
|
|
this.rightHandAmmoHUD.NCHEKNNEBKK(weapon2);
|
|
}
|
|
|
|
// Token: 0x060008DA RID: 2266 RVA: 0x00026EC4 File Offset: 0x000250C4
|
|
public void MHFAELAEJAJ(GameManager FMBELJHPBCG, LNJFBGIBLHA JEFGMHBLLKI)
|
|
{
|
|
this.JEFGMHBLLKI = JEFGMHBLLKI;
|
|
this.GCPPILGNMBJ();
|
|
this.FMBELJHPBCG = FMBELJHPBCG;
|
|
this.KLHGEJCHKFL();
|
|
this.DKOBEFOMHDD();
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL += this.HIOGCCDIODP;
|
|
this.LNBMNLLAIHJ();
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED += this.HJBAHOCOLAE;
|
|
this.JOPBEEBJLEE();
|
|
}
|
|
|
|
// Token: 0x060008DB RID: 2267 RVA: 0x00026F38 File Offset: 0x00025138
|
|
private void PNOOGHPBPOJ()
|
|
{
|
|
if (this.LMLLOKLLODN == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
return;
|
|
}
|
|
Weapon weapon = null;
|
|
if (this.LMLLOKLLODN.BGIBHPOALJG != null && this.LMLLOKLLODN.BGIBHPOALJG.NGMCOGJDNKC && this.LMLLOKLLODN.DGEOJLGFGNG().HJOIOHCOEOH() != null)
|
|
{
|
|
weapon = this.LMLLOKLLODN.DGEOJLGFGNG().HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.leftHandAmmoHUD.PAONKGBFADI(weapon);
|
|
Weapon weapon2 = null;
|
|
if (this.LMLLOKLLODN.KEJBPANGFKK != null && this.LMLLOKLLODN.KEJBPANGFKK.NGMCOGJDNKC && this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH() != null)
|
|
{
|
|
weapon2 = this.LMLLOKLLODN.KEJBPANGFKK.OOIMAEHGBIC.GetComponent<Weapon>();
|
|
}
|
|
this.rightHandAmmoHUD.HPBBCAKPOFC(weapon2);
|
|
}
|
|
|
|
// Token: 0x060008DC RID: 2268 RVA: 0x00027058 File Offset: 0x00025258
|
|
private void GJGAOMMOPAC()
|
|
{
|
|
this.OPIPJMGIDEN();
|
|
}
|
|
|
|
// Token: 0x060008DD RID: 2269 RVA: 0x00027060 File Offset: 0x00025260
|
|
private void DJOLDILNEEF()
|
|
{
|
|
if (this.FMBELJHPBCG == null || this.JEFGMHBLLKI == null)
|
|
{
|
|
return;
|
|
}
|
|
IPBDFPEPNIM ipbdfpepnim = this.FMBELJHPBCG.NKCBOCMOBCA.KKPAEEHBNGE(this.JEFGMHBLLKI);
|
|
int num = this.FMBELJHPBCG.APOAHJMLMEG.CLOLEPCHGDP();
|
|
if (this.thisTeamScoreHUD != null)
|
|
{
|
|
int num2 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim);
|
|
this.thisTeamScoreHUD.JAMLPHIDOHA(num2, num);
|
|
}
|
|
if (this.otherTeamScoreHUD != null)
|
|
{
|
|
IPBDFPEPNIM ipbdfpepnim2 = this.FMBELJHPBCG.NKCBOCMOBCA.OGBBFKIGNAK(ipbdfpepnim);
|
|
int num3 = this.FMBELJHPBCG.APOAHJMLMEG.LDKEEKDKJPL(ipbdfpepnim2);
|
|
this.otherTeamScoreHUD.ELCMJLBCBPE(num3, num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008DE RID: 2270 RVA: 0x0002711C File Offset: 0x0002531C
|
|
public void HGEGPBJALMF(GameManager FMBELJHPBCG, LNJFBGIBLHA JEFGMHBLLKI)
|
|
{
|
|
this.JEFGMHBLLKI = JEFGMHBLLKI;
|
|
this.JHJOMOGMAOH();
|
|
this.FMBELJHPBCG = FMBELJHPBCG;
|
|
this.OLGJNNGDDJO();
|
|
this.ACLCFGKFFEB();
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL += this.ILKMDFNNJPG;
|
|
this.ECJJJPCIFLN();
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED += this.POKAOBLDBLO;
|
|
this.POBPHLENFML();
|
|
}
|
|
|
|
// Token: 0x060008DF RID: 2271 RVA: 0x00027190 File Offset: 0x00025390
|
|
private void DMPIIMLLCEB()
|
|
{
|
|
global::UnityEngine.Object.Destroy(this._canvas.gameObject);
|
|
if (this.FMBELJHPBCG != null)
|
|
{
|
|
this.FMBELJHPBCG.NKCBOCMOBCA.BGNOIMIHABL -= this.GHMCFABNELL;
|
|
this.FMBELJHPBCG.APOAHJMLMEG.FDCMFEAGCED -= this.OHCDDPBAJDE;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008E0 RID: 2272 RVA: 0x000271F8 File Offset: 0x000253F8
|
|
private void CEEFHKFPCOM()
|
|
{
|
|
if (this.LMLLOKLLODN == null && this.JEFGMHBLLKI != null)
|
|
{
|
|
this.LMLLOKLLODN = this.JEFGMHBLLKI.JHJGDFHNBLO();
|
|
}
|
|
if (this.LMLLOKLLODN == null)
|
|
{
|
|
return;
|
|
}
|
|
Weapon weapon = null;
|
|
if (this.LMLLOKLLODN.DGEOJLGFGNG() != null && this.LMLLOKLLODN.BGIBHPOALJG.NGMCOGJDNKC && this.LMLLOKLLODN.DGEOJLGFGNG().OOIMAEHGBIC != null)
|
|
{
|
|
weapon = this.LMLLOKLLODN.BGIBHPOALJG.OOIMAEHGBIC.GetComponent<Weapon>();
|
|
}
|
|
this.leftHandAmmoHUD.HFJAPEGAAKN(weapon);
|
|
Weapon weapon2 = null;
|
|
if (this.LMLLOKLLODN.KEJBPANGFKK != null && this.LMLLOKLLODN.KEJBPANGFKK.NGMCOGJDNKC && this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH() != null)
|
|
{
|
|
weapon2 = this.LMLLOKLLODN.KEJBPANGFKK.HJOIOHCOEOH().GetComponent<Weapon>();
|
|
}
|
|
this.rightHandAmmoHUD.AKPFCGDBNCF(weapon2);
|
|
}
|
|
|
|
// Token: 0x060008E1 RID: 2273 RVA: 0x00027318 File Offset: 0x00025518
|
|
private void LNNDINHMDIL()
|
|
{
|
|
this.DJOLDILNEEF();
|
|
}
|
|
|
|
// Token: 0x0400013F RID: 319
|
|
[SerializeField]
|
|
[Header("Team Color")]
|
|
private Image[] thisTeamColorElements;
|
|
|
|
// Token: 0x04000140 RID: 320
|
|
[SerializeField]
|
|
[Header("Health")]
|
|
private Slider healthBar;
|
|
|
|
// Token: 0x04000141 RID: 321
|
|
[Header("Ammunition")]
|
|
[SerializeField]
|
|
private LocalPlayerCombatHUD.AmmoHUD leftHandAmmoHUD;
|
|
|
|
// Token: 0x04000142 RID: 322
|
|
[SerializeField]
|
|
private LocalPlayerCombatHUD.AmmoHUD rightHandAmmoHUD;
|
|
|
|
// Token: 0x04000143 RID: 323
|
|
[SerializeField]
|
|
[Header("Score")]
|
|
private LocalPlayerCombatHUD.ScoreHUD thisTeamScoreHUD;
|
|
|
|
// Token: 0x04000144 RID: 324
|
|
[SerializeField]
|
|
private LocalPlayerCombatHUD.ScoreHUD otherTeamScoreHUD;
|
|
|
|
// Token: 0x04000145 RID: 325
|
|
[SerializeField]
|
|
[Header("Timer")]
|
|
private Text timerText;
|
|
|
|
// Token: 0x04000146 RID: 326
|
|
[SerializeField]
|
|
[Header("Fundamentals")]
|
|
private Canvas _canvas;
|
|
|
|
// Token: 0x04000147 RID: 327
|
|
[SerializeField]
|
|
private MeshRenderer hudMesh;
|
|
|
|
// Token: 0x04000148 RID: 328
|
|
[SerializeField]
|
|
private int RenderFrameRate = 10;
|
|
|
|
// Token: 0x04000149 RID: 329
|
|
private RenderTexture ANHNNLOIDPF;
|
|
|
|
// Token: 0x0400014A RID: 330
|
|
private GameManager FMBELJHPBCG;
|
|
|
|
// Token: 0x0400014B RID: 331
|
|
private LNJFBGIBLHA JEFGMHBLLKI;
|
|
|
|
// Token: 0x0400014C RID: 332
|
|
private Transform DJKLHBIFEGF;
|
|
|
|
// Token: 0x0400014D RID: 333
|
|
private Player LMLLOKLLODN;
|
|
|
|
// Token: 0x0400014E RID: 334
|
|
private float OFJHAHOIJIB = float.MinValue;
|
|
|
|
// Token: 0x0200002A RID: 42
|
|
[Serializable]
|
|
private class ScoreHUD
|
|
{
|
|
// Token: 0x060008E2 RID: 2274 RVA: 0x00027320 File Offset: 0x00025520
|
|
public void DJCPNOHEFNJ(int FBJMPBENMCI, int BPNKMGLHGOD)
|
|
{
|
|
if (this.scoreText != null)
|
|
{
|
|
this.scoreText.text = FBJMPBENMCI.ToString();
|
|
}
|
|
if (this.scoreSlider != null)
|
|
{
|
|
float num = Mathf.Clamp01((float)FBJMPBENMCI / (float)BPNKMGLHGOD);
|
|
this.scoreSlider.value = num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008E3 RID: 2275 RVA: 0x00027380 File Offset: 0x00025580
|
|
public void NBDHNOIGHCA(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.scoreLabelText != null)
|
|
{
|
|
this.scoreLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.scoreImages != null)
|
|
{
|
|
for (int i = 1; i < this.scoreImages.Length; i += 0)
|
|
{
|
|
this.scoreImages[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008E4 RID: 2276 RVA: 0x000273DC File Offset: 0x000255DC
|
|
public void DOMPNOCHILP(int FBJMPBENMCI, int BPNKMGLHGOD)
|
|
{
|
|
if (this.scoreText != null)
|
|
{
|
|
this.scoreText.text = FBJMPBENMCI.ToString();
|
|
}
|
|
if (this.scoreSlider != null)
|
|
{
|
|
float num = Mathf.Clamp01((float)FBJMPBENMCI / (float)BPNKMGLHGOD);
|
|
this.scoreSlider.value = num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008E5 RID: 2277 RVA: 0x0002743C File Offset: 0x0002563C
|
|
public void ELCMJLBCBPE(int FBJMPBENMCI, int BPNKMGLHGOD)
|
|
{
|
|
if (this.scoreText != null)
|
|
{
|
|
this.scoreText.text = FBJMPBENMCI.ToString();
|
|
}
|
|
if (this.scoreSlider != null)
|
|
{
|
|
float num = Mathf.Clamp01((float)FBJMPBENMCI / (float)BPNKMGLHGOD);
|
|
this.scoreSlider.value = num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008E6 RID: 2278 RVA: 0x0002749C File Offset: 0x0002569C
|
|
public void KNEKOBDPKFG(int FBJMPBENMCI, int BPNKMGLHGOD)
|
|
{
|
|
if (this.scoreText != null)
|
|
{
|
|
this.scoreText.text = FBJMPBENMCI.ToString();
|
|
}
|
|
if (this.scoreSlider != null)
|
|
{
|
|
float num = Mathf.Clamp01((float)FBJMPBENMCI / (float)BPNKMGLHGOD);
|
|
this.scoreSlider.value = num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008E7 RID: 2279 RVA: 0x000274FC File Offset: 0x000256FC
|
|
public void KEJKANNJBGL(int FBJMPBENMCI, int BPNKMGLHGOD)
|
|
{
|
|
if (this.scoreText != null)
|
|
{
|
|
this.scoreText.text = FBJMPBENMCI.ToString();
|
|
}
|
|
if (this.scoreSlider != null)
|
|
{
|
|
float num = Mathf.Clamp01((float)FBJMPBENMCI / (float)BPNKMGLHGOD);
|
|
this.scoreSlider.value = num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008E8 RID: 2280 RVA: 0x0002755C File Offset: 0x0002575C
|
|
public void MDHLMGIAIBD(int FBJMPBENMCI, int BPNKMGLHGOD)
|
|
{
|
|
if (this.scoreText != null)
|
|
{
|
|
this.scoreText.text = FBJMPBENMCI.ToString();
|
|
}
|
|
if (this.scoreSlider != null)
|
|
{
|
|
float num = Mathf.Clamp01((float)FBJMPBENMCI / (float)BPNKMGLHGOD);
|
|
this.scoreSlider.value = num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008E9 RID: 2281 RVA: 0x000275BC File Offset: 0x000257BC
|
|
public void POEKDLEPHJM(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.scoreLabelText != null)
|
|
{
|
|
this.scoreLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.scoreImages != null)
|
|
{
|
|
for (int i = 1; i < this.scoreImages.Length; i += 0)
|
|
{
|
|
this.scoreImages[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008EA RID: 2282 RVA: 0x00027618 File Offset: 0x00025818
|
|
public void EJHKAEDMAIA(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.scoreLabelText != null)
|
|
{
|
|
this.scoreLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.scoreImages != null)
|
|
{
|
|
for (int i = 1; i < this.scoreImages.Length; i += 0)
|
|
{
|
|
this.scoreImages[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008EB RID: 2283 RVA: 0x00027674 File Offset: 0x00025874
|
|
public void KOLFECDBGIF(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.scoreLabelText != null)
|
|
{
|
|
this.scoreLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.scoreImages != null)
|
|
{
|
|
for (int i = 1; i < this.scoreImages.Length; i += 0)
|
|
{
|
|
this.scoreImages[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008EC RID: 2284 RVA: 0x000276D0 File Offset: 0x000258D0
|
|
public void DEBJEBAGANK(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.scoreLabelText != null)
|
|
{
|
|
this.scoreLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.scoreImages != null)
|
|
{
|
|
for (int i = 1; i < this.scoreImages.Length; i += 0)
|
|
{
|
|
this.scoreImages[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008ED RID: 2285 RVA: 0x0002772C File Offset: 0x0002592C
|
|
public void JAMLPHIDOHA(int FBJMPBENMCI, int BPNKMGLHGOD)
|
|
{
|
|
if (this.scoreText != null)
|
|
{
|
|
this.scoreText.text = FBJMPBENMCI.ToString();
|
|
}
|
|
if (this.scoreSlider != null)
|
|
{
|
|
float num = Mathf.Clamp01((float)FBJMPBENMCI / (float)BPNKMGLHGOD);
|
|
this.scoreSlider.value = num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008EE RID: 2286 RVA: 0x0002778C File Offset: 0x0002598C
|
|
public void EGIDCMNMKID(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.scoreLabelText != null)
|
|
{
|
|
this.scoreLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.scoreImages != null)
|
|
{
|
|
for (int i = 0; i < this.scoreImages.Length; i += 0)
|
|
{
|
|
this.scoreImages[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008EF RID: 2287 RVA: 0x000277E8 File Offset: 0x000259E8
|
|
public void MAFLEFNEEFM(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.scoreLabelText != null)
|
|
{
|
|
this.scoreLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.scoreImages != null)
|
|
{
|
|
for (int i = 0; i < this.scoreImages.Length; i += 0)
|
|
{
|
|
this.scoreImages[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008F0 RID: 2288 RVA: 0x00027844 File Offset: 0x00025A44
|
|
public void CCBFJFIAFOJ(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.scoreLabelText != null)
|
|
{
|
|
this.scoreLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.scoreImages != null)
|
|
{
|
|
for (int i = 0; i < this.scoreImages.Length; i += 0)
|
|
{
|
|
this.scoreImages[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008F1 RID: 2289 RVA: 0x000278A0 File Offset: 0x00025AA0
|
|
public void PHNLEMLPEKD(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.scoreLabelText != null)
|
|
{
|
|
this.scoreLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.scoreImages != null)
|
|
{
|
|
for (int i = 0; i < this.scoreImages.Length; i++)
|
|
{
|
|
this.scoreImages[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008F2 RID: 2290 RVA: 0x000278FC File Offset: 0x00025AFC
|
|
public void LKGOLIDMCFC(int FBJMPBENMCI, int BPNKMGLHGOD)
|
|
{
|
|
if (this.scoreText != null)
|
|
{
|
|
this.scoreText.text = FBJMPBENMCI.ToString();
|
|
}
|
|
if (this.scoreSlider != null)
|
|
{
|
|
float num = Mathf.Clamp01((float)FBJMPBENMCI / (float)BPNKMGLHGOD);
|
|
this.scoreSlider.value = num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008F3 RID: 2291 RVA: 0x0002795C File Offset: 0x00025B5C
|
|
public void GNMHCIBCNHM(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.scoreLabelText != null)
|
|
{
|
|
this.scoreLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.scoreImages != null)
|
|
{
|
|
for (int i = 0; i < this.scoreImages.Length; i += 0)
|
|
{
|
|
this.scoreImages[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008F4 RID: 2292 RVA: 0x000279B8 File Offset: 0x00025BB8
|
|
public void NKGOLMDPNOO(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.scoreLabelText != null)
|
|
{
|
|
this.scoreLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.scoreImages != null)
|
|
{
|
|
for (int i = 1; i < this.scoreImages.Length; i++)
|
|
{
|
|
this.scoreImages[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008F5 RID: 2293 RVA: 0x00027A14 File Offset: 0x00025C14
|
|
public void NCIABNCMLPL(int FBJMPBENMCI, int BPNKMGLHGOD)
|
|
{
|
|
if (this.scoreText != null)
|
|
{
|
|
this.scoreText.text = FBJMPBENMCI.ToString();
|
|
}
|
|
if (this.scoreSlider != null)
|
|
{
|
|
float num = Mathf.Clamp01((float)FBJMPBENMCI / (float)BPNKMGLHGOD);
|
|
this.scoreSlider.value = num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008F6 RID: 2294 RVA: 0x00027A74 File Offset: 0x00025C74
|
|
public void AAMCOKHOELL(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.scoreLabelText != null)
|
|
{
|
|
this.scoreLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.scoreImages != null)
|
|
{
|
|
for (int i = 0; i < this.scoreImages.Length; i++)
|
|
{
|
|
this.scoreImages[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008F7 RID: 2295 RVA: 0x00027AD0 File Offset: 0x00025CD0
|
|
public void PCPIPLDDKNA(int FBJMPBENMCI, int BPNKMGLHGOD)
|
|
{
|
|
if (this.scoreText != null)
|
|
{
|
|
this.scoreText.text = FBJMPBENMCI.ToString();
|
|
}
|
|
if (this.scoreSlider != null)
|
|
{
|
|
float num = Mathf.Clamp01((float)FBJMPBENMCI / (float)BPNKMGLHGOD);
|
|
this.scoreSlider.value = num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008F8 RID: 2296 RVA: 0x00027B30 File Offset: 0x00025D30
|
|
public void FJAKJNOAICK(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.scoreLabelText != null)
|
|
{
|
|
this.scoreLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.scoreImages != null)
|
|
{
|
|
for (int i = 1; i < this.scoreImages.Length; i += 0)
|
|
{
|
|
this.scoreImages[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008F9 RID: 2297 RVA: 0x00027B8C File Offset: 0x00025D8C
|
|
public void HKKBPCCJFAO(int FBJMPBENMCI, int BPNKMGLHGOD)
|
|
{
|
|
if (this.scoreText != null)
|
|
{
|
|
this.scoreText.text = FBJMPBENMCI.ToString();
|
|
}
|
|
if (this.scoreSlider != null)
|
|
{
|
|
float num = Mathf.Clamp01((float)FBJMPBENMCI / (float)BPNKMGLHGOD);
|
|
this.scoreSlider.value = num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008FA RID: 2298 RVA: 0x00027BEC File Offset: 0x00025DEC
|
|
public void LHHOJDKOJJE(int FBJMPBENMCI, int BPNKMGLHGOD)
|
|
{
|
|
if (this.scoreText != null)
|
|
{
|
|
this.scoreText.text = FBJMPBENMCI.ToString();
|
|
}
|
|
if (this.scoreSlider != null)
|
|
{
|
|
float num = Mathf.Clamp01((float)FBJMPBENMCI / (float)BPNKMGLHGOD);
|
|
this.scoreSlider.value = num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008FB RID: 2299 RVA: 0x00027C4C File Offset: 0x00025E4C
|
|
public void NOAOCLLDLEK(int FBJMPBENMCI, int BPNKMGLHGOD)
|
|
{
|
|
if (this.scoreText != null)
|
|
{
|
|
this.scoreText.text = FBJMPBENMCI.ToString();
|
|
}
|
|
if (this.scoreSlider != null)
|
|
{
|
|
float num = Mathf.Clamp01((float)FBJMPBENMCI / (float)BPNKMGLHGOD);
|
|
this.scoreSlider.value = num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008FC RID: 2300 RVA: 0x00027CAC File Offset: 0x00025EAC
|
|
public void OOGCLLNMOCB(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.scoreLabelText != null)
|
|
{
|
|
this.scoreLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.scoreImages != null)
|
|
{
|
|
for (int i = 0; i < this.scoreImages.Length; i++)
|
|
{
|
|
this.scoreImages[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008FD RID: 2301 RVA: 0x00027D08 File Offset: 0x00025F08
|
|
public void ACFEDGALIFA(int FBJMPBENMCI, int BPNKMGLHGOD)
|
|
{
|
|
if (this.scoreText != null)
|
|
{
|
|
this.scoreText.text = FBJMPBENMCI.ToString();
|
|
}
|
|
if (this.scoreSlider != null)
|
|
{
|
|
float num = Mathf.Clamp01((float)FBJMPBENMCI / (float)BPNKMGLHGOD);
|
|
this.scoreSlider.value = num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008FE RID: 2302 RVA: 0x00027D68 File Offset: 0x00025F68
|
|
public void HIFJKKLOFAI(int FBJMPBENMCI, int BPNKMGLHGOD)
|
|
{
|
|
if (this.scoreText != null)
|
|
{
|
|
this.scoreText.text = FBJMPBENMCI.ToString();
|
|
}
|
|
if (this.scoreSlider != null)
|
|
{
|
|
float num = Mathf.Clamp01((float)FBJMPBENMCI / (float)BPNKMGLHGOD);
|
|
this.scoreSlider.value = num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060008FF RID: 2303 RVA: 0x00027DC8 File Offset: 0x00025FC8
|
|
public void FANLFDKFPJJ(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.scoreLabelText != null)
|
|
{
|
|
this.scoreLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.scoreImages != null)
|
|
{
|
|
for (int i = 1; i < this.scoreImages.Length; i++)
|
|
{
|
|
this.scoreImages[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000900 RID: 2304 RVA: 0x00027E24 File Offset: 0x00026024
|
|
public void LLHAJKJOKGE(int FBJMPBENMCI, int BPNKMGLHGOD)
|
|
{
|
|
if (this.scoreText != null)
|
|
{
|
|
this.scoreText.text = FBJMPBENMCI.ToString();
|
|
}
|
|
if (this.scoreSlider != null)
|
|
{
|
|
float num = Mathf.Clamp01((float)FBJMPBENMCI / (float)BPNKMGLHGOD);
|
|
this.scoreSlider.value = num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000902 RID: 2306 RVA: 0x00027E8C File Offset: 0x0002608C
|
|
public void BICJGDFPIGA(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.scoreLabelText != null)
|
|
{
|
|
this.scoreLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.scoreImages != null)
|
|
{
|
|
for (int i = 1; i < this.scoreImages.Length; i += 0)
|
|
{
|
|
this.scoreImages[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000903 RID: 2307 RVA: 0x00027EE8 File Offset: 0x000260E8
|
|
public void PABOKCFCHGH(int FBJMPBENMCI, int BPNKMGLHGOD)
|
|
{
|
|
if (this.scoreText != null)
|
|
{
|
|
this.scoreText.text = FBJMPBENMCI.ToString();
|
|
}
|
|
if (this.scoreSlider != null)
|
|
{
|
|
float num = Mathf.Clamp01((float)FBJMPBENMCI / (float)BPNKMGLHGOD);
|
|
this.scoreSlider.value = num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000904 RID: 2308 RVA: 0x00027F48 File Offset: 0x00026148
|
|
public void ENJAIMIAEIJ(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.scoreLabelText != null)
|
|
{
|
|
this.scoreLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.scoreImages != null)
|
|
{
|
|
for (int i = 0; i < this.scoreImages.Length; i += 0)
|
|
{
|
|
this.scoreImages[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000905 RID: 2309 RVA: 0x00027FA4 File Offset: 0x000261A4
|
|
public void KAMAIHEGOEO(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.scoreLabelText != null)
|
|
{
|
|
this.scoreLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.scoreImages != null)
|
|
{
|
|
for (int i = 1; i < this.scoreImages.Length; i += 0)
|
|
{
|
|
this.scoreImages[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400014F RID: 335
|
|
[SerializeField]
|
|
private Text scoreText;
|
|
|
|
// Token: 0x04000150 RID: 336
|
|
[SerializeField]
|
|
private Text scoreLabelText;
|
|
|
|
// Token: 0x04000151 RID: 337
|
|
[SerializeField]
|
|
private Image[] scoreImages;
|
|
|
|
// Token: 0x04000152 RID: 338
|
|
[SerializeField]
|
|
private Slider scoreSlider;
|
|
}
|
|
|
|
// Token: 0x0200002B RID: 43
|
|
[Serializable]
|
|
private class AmmoHUD
|
|
{
|
|
// Token: 0x06000906 RID: 2310 RVA: 0x00028000 File Offset: 0x00026200
|
|
public void BICJGDFPIGA(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 1; i < this.images.Length; i++)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000907 RID: 2311 RVA: 0x0002805C File Offset: 0x0002625C
|
|
public void CCBFJFIAFOJ(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 0; i < this.images.Length; i++)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000908 RID: 2312 RVA: 0x000280B8 File Offset: 0x000262B8
|
|
public void JMFKHPIKEHD(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 1; i < this.images.Length; i += 0)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000909 RID: 2313 RVA: 0x00028114 File Offset: 0x00026314
|
|
public void NONLEOBGPAK(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 1; i < this.images.Length; i += 0)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600090A RID: 2314 RVA: 0x00028170 File Offset: 0x00026370
|
|
public void HPCKJIOIBGJ(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 0; i < this.images.Length; i++)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600090B RID: 2315 RVA: 0x000281CC File Offset: 0x000263CC
|
|
public void OCDJFLFFHCM(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 1; i < this.images.Length; i++)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600090C RID: 2316 RVA: 0x00028228 File Offset: 0x00026428
|
|
public void ENKPKNGDNCE(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(false);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600090D RID: 2317 RVA: 0x0002831C File Offset: 0x0002651C
|
|
public void MAFLEFNEEFM(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 1; i < this.images.Length; i++)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600090E RID: 2318 RVA: 0x00028378 File Offset: 0x00026578
|
|
public void ENJAIMIAEIJ(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 0; i < this.images.Length; i++)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600090F RID: 2319 RVA: 0x000283D4 File Offset: 0x000265D4
|
|
public void FLOOKGFFOID(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(false);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000910 RID: 2320 RVA: 0x000284C8 File Offset: 0x000266C8
|
|
public void ABGBJEGGHAH(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 1; i < this.images.Length; i++)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000911 RID: 2321 RVA: 0x00028524 File Offset: 0x00026724
|
|
public void KJGFEGAJMKC(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 1; i < this.images.Length; i++)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000912 RID: 2322 RVA: 0x00028580 File Offset: 0x00026780
|
|
public void AHILKPMDEFF(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 0; i < this.images.Length; i++)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000913 RID: 2323 RVA: 0x000285DC File Offset: 0x000267DC
|
|
public void DEBJEBAGANK(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 0; i < this.images.Length; i++)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000914 RID: 2324 RVA: 0x00028638 File Offset: 0x00026838
|
|
public void PCKJPNGAKGH(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(false);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000915 RID: 2325 RVA: 0x0002872C File Offset: 0x0002692C
|
|
public void FDEKEEOGFDH(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 1; i < this.images.Length; i += 0)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000916 RID: 2326 RVA: 0x00028788 File Offset: 0x00026988
|
|
public void LIHEADNOBJO(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(false);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000917 RID: 2327 RVA: 0x0002887C File Offset: 0x00026A7C
|
|
public void ECELPDEDIFH(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(false);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000918 RID: 2328 RVA: 0x00028970 File Offset: 0x00026B70
|
|
public void JMKEOEGEBCB(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(false);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600091A RID: 2330 RVA: 0x00028A6C File Offset: 0x00026C6C
|
|
public void FLCBBKNFGGJ(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(false);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600091B RID: 2331 RVA: 0x00028B60 File Offset: 0x00026D60
|
|
public void OOGCLLNMOCB(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 0; i < this.images.Length; i++)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600091C RID: 2332 RVA: 0x00028BBC File Offset: 0x00026DBC
|
|
public void AAOKBJMDIAI(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 0; i < this.images.Length; i++)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600091D RID: 2333 RVA: 0x00028C18 File Offset: 0x00026E18
|
|
public void IEHHGHMBPAM(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(true);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600091E RID: 2334 RVA: 0x00028D0C File Offset: 0x00026F0C
|
|
public void BOJINGMGBGN(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(false);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600091F RID: 2335 RVA: 0x00028E00 File Offset: 0x00027000
|
|
public void HPBBCAKPOFC(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(true);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000920 RID: 2336 RVA: 0x00028EF4 File Offset: 0x000270F4
|
|
public void KAMAIHEGOEO(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 1; i < this.images.Length; i++)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000921 RID: 2337 RVA: 0x00028F50 File Offset: 0x00027150
|
|
public void HLEMIBACFHI(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(true);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000922 RID: 2338 RVA: 0x00029044 File Offset: 0x00027244
|
|
public void EJHKAEDMAIA(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 0; i < this.images.Length; i++)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000923 RID: 2339 RVA: 0x000290A0 File Offset: 0x000272A0
|
|
public void NCHEKNNEBKK(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(true);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000924 RID: 2340 RVA: 0x00029194 File Offset: 0x00027394
|
|
public void PAONKGBFADI(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(true);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000925 RID: 2341 RVA: 0x00029288 File Offset: 0x00027488
|
|
public void BNNEAABKPIG(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(true);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000926 RID: 2342 RVA: 0x0002937C File Offset: 0x0002757C
|
|
public void DGELDPJEHKF(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 1; i < this.images.Length; i += 0)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000927 RID: 2343 RVA: 0x000293D8 File Offset: 0x000275D8
|
|
public void FLALABDEENP(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(false);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000928 RID: 2344 RVA: 0x000294CC File Offset: 0x000276CC
|
|
public void FGIGKLHHBHH(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 1; i < this.images.Length; i += 0)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000929 RID: 2345 RVA: 0x00029528 File Offset: 0x00027728
|
|
public void COIPCAPEKHM(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(false);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600092A RID: 2346 RVA: 0x0002961C File Offset: 0x0002781C
|
|
public void FCDGKJNDGCE(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(true);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600092B RID: 2347 RVA: 0x00029710 File Offset: 0x00027910
|
|
public void AKPFCGDBNCF(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(false);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600092C RID: 2348 RVA: 0x00029804 File Offset: 0x00027A04
|
|
public void KJHIFHOBJFC(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(false);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600092D RID: 2349 RVA: 0x000298F8 File Offset: 0x00027AF8
|
|
public void PHNLEMLPEKD(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
this.ammoLabelText.color = HNOPCLEFEIG;
|
|
}
|
|
if (this.images != null)
|
|
{
|
|
for (int i = 0; i < this.images.Length; i++)
|
|
{
|
|
this.images[i].color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600092E RID: 2350 RVA: 0x00029954 File Offset: 0x00027B54
|
|
public void HFJAPEGAAKN(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(true);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600092F RID: 2351 RVA: 0x00029A48 File Offset: 0x00027C48
|
|
public void FBLMBCBJKDC(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(false);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(true);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000930 RID: 2352 RVA: 0x00029B3C File Offset: 0x00027D3C
|
|
public void OGKJPMKAFBL(Weapon BLBPGNFCBEO)
|
|
{
|
|
if (this.ammoRoot == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!(BLBPGNFCBEO != null))
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
if (BLBPGNFCBEO.KFFJKPFFECO)
|
|
{
|
|
this.ammoRoot.SetActive(true);
|
|
return;
|
|
}
|
|
this.ammoRoot.SetActive(false);
|
|
if (this.ammoLabelText != null)
|
|
{
|
|
ActivityEquipmentObject component = BLBPGNFCBEO.GetComponent<ActivityEquipmentObject>();
|
|
if (component != null)
|
|
{
|
|
string text = KIJLHDGENIC.FGLGOKDKAFC(component.Type);
|
|
this.ammoLabelText.text = text.ToUpper();
|
|
}
|
|
}
|
|
if (this.ammoSlider != null)
|
|
{
|
|
float magazineAmmunitionNormalized = BLBPGNFCBEO.NKCLPPOABCK;
|
|
this.ammoSlider.value = magazineAmmunitionNormalized;
|
|
}
|
|
if (this.ammoText != null)
|
|
{
|
|
int magazineAmmunition = BLBPGNFCBEO.DNAHKKOMMDH;
|
|
this.ammoText.text = magazineAmmunition.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000153 RID: 339
|
|
[SerializeField]
|
|
private GameObject ammoRoot;
|
|
|
|
// Token: 0x04000154 RID: 340
|
|
[SerializeField]
|
|
private Slider ammoSlider;
|
|
|
|
// Token: 0x04000155 RID: 341
|
|
[SerializeField]
|
|
private Text ammoText;
|
|
|
|
// Token: 0x04000156 RID: 342
|
|
[SerializeField]
|
|
private Text ammoLabelText;
|
|
|
|
// Token: 0x04000157 RID: 343
|
|
[SerializeField]
|
|
private Image[] images;
|
|
}
|
|
}
|
|
}
|