1501 lines
48 KiB
C#
1501 lines
48 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Activities.Arena
|
|
{
|
|
// Token: 0x02000024 RID: 36
|
|
public class ArenaVendingMachineEquipmentSlot : ArenaVendingMachineSlot
|
|
{
|
|
// Token: 0x060006B0 RID: 1712 RVA: 0x0001B148 File Offset: 0x00019348
|
|
private Tool KFHDOMCLILP()
|
|
{
|
|
return this.HKHODBJODNL;
|
|
}
|
|
|
|
// Token: 0x060006B1 RID: 1713 RVA: 0x0001B150 File Offset: 0x00019350
|
|
protected virtual void PGIAPNBIIJG()
|
|
{
|
|
base.MMEKGKHJECF();
|
|
Tool.ANBMJHAOKDO -= this.GIFMNJOAJED;
|
|
}
|
|
|
|
// Token: 0x060006B2 RID: 1714 RVA: 0x0001B16C File Offset: 0x0001936C
|
|
private void MGHFEHDPMJK(Tool NOBAPCOKFIL)
|
|
{
|
|
int num = ((!(NOBAPCOKFIL != null) || !(NOBAPCOKFIL.HOPJELLOPNJ() != null)) ? (-1) : NOBAPCOKFIL.BIPEBCPEPKL().GCPHMBPAAOM());
|
|
this.GHKONEDDDMI.MEAINJPIECA(num);
|
|
}
|
|
|
|
// Token: 0x060006B3 RID: 1715 RVA: 0x0001B1B4 File Offset: 0x000193B4
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
this.GHKONEDDDMI = new LHLLJPPCDKA<int>(this, "EVS", -1, IKCAJLLAFML.MASTER, false, new Action(this.CJBDAEMDANJ));
|
|
Tool.ANBMJHAOKDO += this.FDBDPMALFHH;
|
|
}
|
|
|
|
// Token: 0x060006B4 RID: 1716 RVA: 0x0001B1F0 File Offset: 0x000193F0
|
|
protected virtual void LOCALHGOONI()
|
|
{
|
|
base.HABFGMOIDCO();
|
|
Tool.ANBMJHAOKDO -= this.LEFAEIGBIKI;
|
|
}
|
|
|
|
// Token: 0x060006B5 RID: 1717 RVA: 0x0001B20C File Offset: 0x0001940C
|
|
private bool HLEENILFCLJ(Tool COMHEONOMBA, Player OAKJPHFELHD, bool AABHBODJBNP)
|
|
{
|
|
return OAKJPHFELHD.LNJFBGIBLHA.IPFPJCPGENH && this.AKKHKFMMLHF;
|
|
}
|
|
|
|
// Token: 0x060006B6 RID: 1718 RVA: 0x0001B228 File Offset: 0x00019428
|
|
protected override void Update()
|
|
{
|
|
base.Update();
|
|
if (this.ACOAPAHCFGM == null || this.ACOAPAHCFGM.JAKGDGHLODH == null)
|
|
{
|
|
return;
|
|
}
|
|
if (Time.time - this.MLALPPLDPNL < 0.5f)
|
|
{
|
|
return;
|
|
}
|
|
this.MLALPPLDPNL = Time.time;
|
|
if (!IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
return;
|
|
}
|
|
if (this.NLMBLKJFFIB == null)
|
|
{
|
|
this.NLMBLKJFFIB = this.ACOAPAHCFGM.JAKGDGHLODH.HDNIEJJBLGI.KPPIBGOLDND(this.equipmentType, this.MCJGAGNFNFE, this.JFDJNKJCMMK);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006B7 RID: 1719 RVA: 0x0001B2D0 File Offset: 0x000194D0
|
|
private void JCNKICAEEGF(Tool ENBMEDIFBLM)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD && ENBMEDIFBLM == this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = null;
|
|
}
|
|
ENBMEDIFBLM.BAOFLKGGJPJ(new Tool.FCJCFBDGJIM(this.AKACMPLNODA));
|
|
ENBMEDIFBLM.RemoveCustomPickupCondition(new Tool.CFIAHKNGIKI(this.PKIKLBGIHIA));
|
|
ToolPlayerAttractor component = ENBMEDIFBLM.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.EILHJHPKIDI(true);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.FPHJMGNLJCN(ENBMEDIFBLM, false);
|
|
}
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
base.LEJJHNOADKP(ENBMEDIFBLM.CAAOEAAJAIL.LNJFBGIBLHA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006B8 RID: 1720 RVA: 0x0001B378 File Offset: 0x00019578
|
|
protected virtual void EKCMKGMLBDG()
|
|
{
|
|
base.AECBOJELNAI();
|
|
Tool.ANBMJHAOKDO -= this.FDBDPMALFHH;
|
|
}
|
|
|
|
// Token: 0x060006B9 RID: 1721 RVA: 0x0001B394 File Offset: 0x00019594
|
|
protected virtual void HLBHPDENNBH()
|
|
{
|
|
base.LJFJILFBKHF();
|
|
if (this.ACOAPAHCFGM == null || this.ACOAPAHCFGM.BEINDKDJGHL() == null)
|
|
{
|
|
return;
|
|
}
|
|
if (Time.time - this.MLALPPLDPNL < 1010f)
|
|
{
|
|
return;
|
|
}
|
|
this.MLALPPLDPNL = Time.time;
|
|
if (!IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
return;
|
|
}
|
|
if (this.KFHDOMCLILP() == null)
|
|
{
|
|
this.OIABCABAIKC(this.ACOAPAHCFGM.CNIJILNDEBN().HDNIEJJBLGI.KPPIBGOLDND(this.equipmentType, this.JNFMHMNGOAP(), this.NJGLMMMIJHO()));
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006BA RID: 1722 RVA: 0x0001B43C File Offset: 0x0001963C
|
|
protected virtual void MCNEKPDJDFO()
|
|
{
|
|
base.Start();
|
|
this.OBCPPFOALIO();
|
|
}
|
|
|
|
// Token: 0x060006BB RID: 1723 RVA: 0x0001B44C File Offset: 0x0001964C
|
|
private bool IMGHLMCPFOK(Tool COMHEONOMBA, Player OAKJPHFELHD, bool AABHBODJBNP)
|
|
{
|
|
return !OAKJPHFELHD.LNJFBGIBLHA.IPFPJCPGENH || this.AKKHKFMMLHF;
|
|
}
|
|
|
|
// Token: 0x060006BC RID: 1724 RVA: 0x0001B468 File Offset: 0x00019668
|
|
private Quaternion FJJMHIPCEFA()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Quaternion.identity : this.equipmentSpawnTransform.rotation;
|
|
}
|
|
|
|
// Token: 0x060006BD RID: 1725 RVA: 0x0001B490 File Offset: 0x00019690
|
|
private bool KFFBLAKLBKP(Tool COMHEONOMBA, Player OAKJPHFELHD, bool AABHBODJBNP)
|
|
{
|
|
return !OAKJPHFELHD.LNJFBGIBLHA.IPFPJCPGENH || this.AKKHKFMMLHF;
|
|
}
|
|
|
|
// Token: 0x060006BE RID: 1726 RVA: 0x0001B4AC File Offset: 0x000196AC
|
|
private void LEFAEIGBIKI(Tool COMHEONOMBA)
|
|
{
|
|
if (COMHEONOMBA != null && COMHEONOMBA.CEGDLFAENEJ().HNPFGGAKNPI() == this.GHKONEDDDMI.CPIBGJLHLBL())
|
|
{
|
|
this.AGBDONGOOFL();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006BF RID: 1727 RVA: 0x0001B4DC File Offset: 0x000196DC
|
|
private void AGBDONGOOFL()
|
|
{
|
|
int num = this.GHKONEDDDMI.CPIBGJLHLBL();
|
|
PhotonView photonView = PhotonView.NMBFNIJMFOO(num);
|
|
Tool tool = ((!(photonView != null)) ? null : photonView.GetComponent<Tool>());
|
|
if (tool != this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = tool;
|
|
if (this.HKHODBJODNL != null)
|
|
{
|
|
this.HKHODBJODNL.KinematicOnReset = false;
|
|
this.HKHODBJODNL.AddCustomPickupCondition(new Tool.CFIAHKNGIKI(this.HMLBFNBMPHM));
|
|
this.HKHODBJODNL.NIIJCJLOFLI += this.GMCKGFLJLCP;
|
|
ToolPlayerAttractor component = this.HKHODBJODNL.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.OLIPDGFGAFC(true);
|
|
}
|
|
WeaponFlashlightController componentInChildren = this.HKHODBJODNL.GetComponentInChildren<WeaponFlashlightController>(true);
|
|
if (componentInChildren != null)
|
|
{
|
|
componentInChildren.PBGDFFILFAL(true);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.BDCNCCKFPDN(this.HKHODBJODNL);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006C0 RID: 1728 RVA: 0x0001B5DC File Offset: 0x000197DC
|
|
private Vector3 DIBIPJDNHCB()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Vector3.zero : this.equipmentSpawnTransform.position;
|
|
}
|
|
|
|
// Token: 0x060006C1 RID: 1729 RVA: 0x0001B604 File Offset: 0x00019804
|
|
private void EPFFAIIAKBB(Tool ENBMEDIFBLM)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD && ENBMEDIFBLM == this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = null;
|
|
}
|
|
ENBMEDIFBLM.NIIJCJLOFLI -= this.IPBDDDLBMCI;
|
|
ENBMEDIFBLM.RemoveCustomPickupCondition(new Tool.CFIAHKNGIKI(this.DEHJDJHKJFJ));
|
|
ToolPlayerAttractor component = ENBMEDIFBLM.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.JCEKECLPBNA(true);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.EIDCDMLALIN(ENBMEDIFBLM, true);
|
|
}
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
base.JEDFDHBDEHC(ENBMEDIFBLM.NAABPMOIADH().LNJFBGIBLHA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006C2 RID: 1730 RVA: 0x0001B6AC File Offset: 0x000198AC
|
|
private void OBCPPFOALIO()
|
|
{
|
|
int num = this.GHKONEDDDMI.CPIBGJLHLBL();
|
|
PhotonView photonView = PhotonView.Find(num);
|
|
Tool tool = ((!(photonView != null)) ? null : photonView.GetComponent<Tool>());
|
|
if (tool != this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = tool;
|
|
if (this.HKHODBJODNL != null)
|
|
{
|
|
this.HKHODBJODNL.KinematicOnReset = false;
|
|
this.HKHODBJODNL.AddCustomPickupCondition(new Tool.CFIAHKNGIKI(this.NHDECGPNNGG));
|
|
this.HKHODBJODNL.NIIJCJLOFLI += this.JCNKICAEEGF;
|
|
ToolPlayerAttractor component = this.HKHODBJODNL.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.HFICMLDMAKE = false;
|
|
}
|
|
WeaponFlashlightController componentInChildren = this.HKHODBJODNL.GetComponentInChildren<WeaponFlashlightController>(true);
|
|
if (componentInChildren != null)
|
|
{
|
|
componentInChildren.AOGFOCFJBGG(true);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.JCMBOJLEKOD(this.HKHODBJODNL);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006C3 RID: 1731 RVA: 0x0001B7AC File Offset: 0x000199AC
|
|
private void GIFMNJOAJED(Tool COMHEONOMBA)
|
|
{
|
|
if (COMHEONOMBA != null && COMHEONOMBA.ACEAACJNNAF().NBAIABPNLNK() == this.GHKONEDDDMI.CPIBGJLHLBL())
|
|
{
|
|
this.GNFMCEDIHPL();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006C4 RID: 1732 RVA: 0x0001B7DC File Offset: 0x000199DC
|
|
protected virtual void GMBFJHIHJFB()
|
|
{
|
|
base.KFAOLMFIFMH();
|
|
this.ONANHNKHGJF();
|
|
}
|
|
|
|
// Token: 0x060006C5 RID: 1733 RVA: 0x0001B7EC File Offset: 0x000199EC
|
|
private void FIFDNGMDBBF(Tool ENBMEDIFBLM)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD && ENBMEDIFBLM == this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = null;
|
|
}
|
|
ENBMEDIFBLM.NIIJCJLOFLI -= this.BGAPLFFNFJF;
|
|
ENBMEDIFBLM.RemoveCustomPickupCondition(new Tool.CFIAHKNGIKI(this.IMGHLMCPFOK));
|
|
ToolPlayerAttractor component = ENBMEDIFBLM.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.NMIAPBBENFC(true);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.DNJNJPDDELC(ENBMEDIFBLM, true);
|
|
}
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
base.KBEKNANLBOD(ENBMEDIFBLM.CAAOEAAJAIL.LNJFBGIBLHA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006C6 RID: 1734 RVA: 0x0001B894 File Offset: 0x00019A94
|
|
protected virtual void IOKIFHGPMKI()
|
|
{
|
|
base.LGCNFLACIIH();
|
|
this.GHKONEDDDMI = new LHLLJPPCDKA<int>(this, "Unmuted", -1, IKCAJLLAFML.AUTHORITY, true, new Action(this.NMEJOOCAGMI));
|
|
Tool.ANBMJHAOKDO += this.LLOFCIECDPP;
|
|
}
|
|
|
|
// Token: 0x060006C7 RID: 1735 RVA: 0x0001B8D0 File Offset: 0x00019AD0
|
|
private Vector3 NOFPIDMDNGF()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Vector3.zero : this.equipmentSpawnTransform.position;
|
|
}
|
|
|
|
// Token: 0x060006C8 RID: 1736 RVA: 0x0001B8F8 File Offset: 0x00019AF8
|
|
private Tool NGADDDJLDAJ()
|
|
{
|
|
return this.HKHODBJODNL;
|
|
}
|
|
|
|
// Token: 0x060006C9 RID: 1737 RVA: 0x0001B900 File Offset: 0x00019B00
|
|
protected virtual void CHHOKIFAEDF()
|
|
{
|
|
base.JDBELFHCDHB();
|
|
Tool.ANBMJHAOKDO -= this.LLOFCIECDPP;
|
|
}
|
|
|
|
// Token: 0x060006CA RID: 1738 RVA: 0x0001B91C File Offset: 0x00019B1C
|
|
private bool NHDECGPNNGG(Tool COMHEONOMBA, Player OAKJPHFELHD, bool AABHBODJBNP)
|
|
{
|
|
return !OAKJPHFELHD.LNJFBGIBLHA.IPFPJCPGENH || this.AKKHKFMMLHF;
|
|
}
|
|
|
|
// Token: 0x060006CB RID: 1739 RVA: 0x0001B938 File Offset: 0x00019B38
|
|
private bool HMLBFNBMPHM(Tool COMHEONOMBA, Player OAKJPHFELHD, bool AABHBODJBNP)
|
|
{
|
|
return !OAKJPHFELHD.LNJFBGIBLHA.IPFPJCPGENH || this.AKKHKFMMLHF;
|
|
}
|
|
|
|
// Token: 0x060006CC RID: 1740 RVA: 0x0001B954 File Offset: 0x00019B54
|
|
protected virtual void KPDHBCGEENI()
|
|
{
|
|
base.AMCANMJHAEH();
|
|
this.GNFMCEDIHPL();
|
|
}
|
|
|
|
// Token: 0x060006CD RID: 1741 RVA: 0x0001B964 File Offset: 0x00019B64
|
|
private bool KEKJILJLFMH(Tool COMHEONOMBA, Player OAKJPHFELHD, bool AABHBODJBNP)
|
|
{
|
|
return OAKJPHFELHD.LNJFBGIBLHA.IPFPJCPGENH && this.AKKHKFMMLHF;
|
|
}
|
|
|
|
// Token: 0x060006CE RID: 1742 RVA: 0x0001B980 File Offset: 0x00019B80
|
|
private void GIEPKOIPELB()
|
|
{
|
|
int num = this.GHKONEDDDMI.CPIBGJLHLBL();
|
|
PhotonView photonView = PhotonView.Find(num);
|
|
Tool tool = ((!(photonView != null)) ? null : photonView.GetComponent<Tool>());
|
|
if (tool != this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = tool;
|
|
if (this.HKHODBJODNL != null)
|
|
{
|
|
this.HKHODBJODNL.KinematicOnReset = true;
|
|
this.HKHODBJODNL.AddCustomPickupCondition(new Tool.CFIAHKNGIKI(this.KFFBLAKLBKP));
|
|
this.HKHODBJODNL.NIIJCJLOFLI += this.EMKMMBLBLOI;
|
|
ToolPlayerAttractor component = this.HKHODBJODNL.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.EILHJHPKIDI(false);
|
|
}
|
|
WeaponFlashlightController componentInChildren = this.HKHODBJODNL.GetComponentInChildren<WeaponFlashlightController>(true);
|
|
if (componentInChildren != null)
|
|
{
|
|
componentInChildren.OHKANKOLGFL(false);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.ICLPHBKAJLE(this.HKHODBJODNL);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006CF RID: 1743 RVA: 0x0001BA80 File Offset: 0x00019C80
|
|
private Quaternion OPMAOEFIALE()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Quaternion.identity : this.equipmentSpawnTransform.rotation;
|
|
}
|
|
|
|
// Token: 0x060006D0 RID: 1744 RVA: 0x0001BAA8 File Offset: 0x00019CA8
|
|
protected virtual void KCFCFLNJNHK()
|
|
{
|
|
base.GKDEONGKDLH();
|
|
if (this.ACOAPAHCFGM == null || this.ACOAPAHCFGM.MBEHHKLFCDB() == null)
|
|
{
|
|
return;
|
|
}
|
|
if (Time.time - this.MLALPPLDPNL < 1574f)
|
|
{
|
|
return;
|
|
}
|
|
this.MLALPPLDPNL = Time.time;
|
|
if (!IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
return;
|
|
}
|
|
if (this.PKOHABBGMOG() == null)
|
|
{
|
|
this.MGHFEHDPMJK(this.ACOAPAHCFGM.EAIOKCKIBKI().HDNIEJJBLGI.KPPIBGOLDND(this.equipmentType, this.KOCNAJOJMKO(), this.GGDBNCLEDOH()));
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006D1 RID: 1745 RVA: 0x0001BB50 File Offset: 0x00019D50
|
|
protected virtual void LOPGGBEPNAI()
|
|
{
|
|
base.Update();
|
|
if (this.ACOAPAHCFGM == null || this.ACOAPAHCFGM.NBKJCLCEGAP() == null)
|
|
{
|
|
return;
|
|
}
|
|
if (Time.time - this.MLALPPLDPNL < 948f)
|
|
{
|
|
return;
|
|
}
|
|
this.MLALPPLDPNL = Time.time;
|
|
if (!IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
return;
|
|
}
|
|
if (this.KFHDOMCLILP() == null)
|
|
{
|
|
this.OCAEPINKLNI(this.ACOAPAHCFGM.NBKJCLCEGAP().HDNIEJJBLGI.KPPIBGOLDND(this.equipmentType, this.NOFPIDMDNGF(), this.GKACMPCFBHB()));
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006D2 RID: 1746 RVA: 0x0001BBF8 File Offset: 0x00019DF8
|
|
private void EMKMMBLBLOI(Tool ENBMEDIFBLM)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD && ENBMEDIFBLM == this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = null;
|
|
}
|
|
ENBMEDIFBLM.BAOFLKGGJPJ(new Tool.FCJCFBDGJIM(this.JCNKICAEEGF));
|
|
ENBMEDIFBLM.RemoveCustomPickupCondition(new Tool.CFIAHKNGIKI(this.KEKJILJLFMH));
|
|
ToolPlayerAttractor component = ENBMEDIFBLM.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.HNMGIPBGJKB(false);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.MBLCJJMJELB(ENBMEDIFBLM, true);
|
|
}
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
base.MCCGAFPCLAB(ENBMEDIFBLM.CAAOEAAJAIL.LNJFBGIBLHA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006D3 RID: 1747 RVA: 0x0001BCA0 File Offset: 0x00019EA0
|
|
private void HKDBJJLCNMP(Tool NOBAPCOKFIL)
|
|
{
|
|
int num = ((!(NOBAPCOKFIL != null) || !(NOBAPCOKFIL.EKPBHKFHMON() != null)) ? (-1) : NOBAPCOKFIL.LJILHDMCKME().ADMBCINHJOG);
|
|
this.GHKONEDDDMI.MEAINJPIECA(num);
|
|
}
|
|
|
|
// Token: 0x060006D4 RID: 1748 RVA: 0x0001BCE8 File Offset: 0x00019EE8
|
|
private Vector3 IHOFKHLKHLM()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Vector3.zero : this.equipmentSpawnTransform.position;
|
|
}
|
|
|
|
// Token: 0x060006D5 RID: 1749 RVA: 0x0001BD10 File Offset: 0x00019F10
|
|
private bool CHJNFNOFAOG(Tool COMHEONOMBA, Player OAKJPHFELHD, bool AABHBODJBNP)
|
|
{
|
|
return OAKJPHFELHD.LNJFBGIBLHA.IPFPJCPGENH && this.AKKHKFMMLHF;
|
|
}
|
|
|
|
// Token: 0x060006D6 RID: 1750 RVA: 0x0001BD2C File Offset: 0x00019F2C
|
|
private void AKEKPKNPCCL(Tool ENBMEDIFBLM)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD && ENBMEDIFBLM == this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = null;
|
|
}
|
|
ENBMEDIFBLM.BAOFLKGGJPJ(new Tool.FCJCFBDGJIM(this.EPFFAIIAKBB));
|
|
ENBMEDIFBLM.RemoveCustomPickupCondition(new Tool.CFIAHKNGIKI(this.HLEENILFCLJ));
|
|
ToolPlayerAttractor component = ENBMEDIFBLM.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.NMIAPBBENFC(true);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.MBLCJJMJELB(ENBMEDIFBLM, false);
|
|
}
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
base.JEDFDHBDEHC(ENBMEDIFBLM.CAAOEAAJAIL.LNJFBGIBLHA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006D7 RID: 1751 RVA: 0x0001BDD4 File Offset: 0x00019FD4
|
|
private void FDBDPMALFHH(Tool COMHEONOMBA)
|
|
{
|
|
if (COMHEONOMBA != null && COMHEONOMBA.OMNGGJICBBI.ADMBCINHJOG == this.GHKONEDDDMI.CPIBGJLHLBL())
|
|
{
|
|
this.CJBDAEMDANJ();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006D8 RID: 1752 RVA: 0x0001BE04 File Offset: 0x0001A004
|
|
private void EIOIHAJOMNO(Tool NOBAPCOKFIL)
|
|
{
|
|
int num = ((!(NOBAPCOKFIL != null) || !(NOBAPCOKFIL.CJKKPMHAMCN() != null)) ? (-1) : NOBAPCOKFIL.HOPJELLOPNJ().HNPFGGAKNPI());
|
|
this.GHKONEDDDMI.MEAINJPIECA(num);
|
|
}
|
|
|
|
// Token: 0x060006D9 RID: 1753 RVA: 0x0001BE4C File Offset: 0x0001A04C
|
|
private bool GNKBEBGIBOF(Tool COMHEONOMBA, Player OAKJPHFELHD, bool AABHBODJBNP)
|
|
{
|
|
return OAKJPHFELHD.LNJFBGIBLHA.IPFPJCPGENH && this.AKKHKFMMLHF;
|
|
}
|
|
|
|
// Token: 0x060006DA RID: 1754 RVA: 0x0001BE68 File Offset: 0x0001A068
|
|
private void GMCKGFLJLCP(Tool ENBMEDIFBLM)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD && ENBMEDIFBLM == this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = null;
|
|
}
|
|
ENBMEDIFBLM.BAOFLKGGJPJ(new Tool.FCJCFBDGJIM(this.FIFDNGMDBBF));
|
|
ENBMEDIFBLM.RemoveCustomPickupCondition(new Tool.CFIAHKNGIKI(this.PKIKLBGIHIA));
|
|
ToolPlayerAttractor component = ENBMEDIFBLM.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.HFICMLDMAKE = false;
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.BHOBBBDFMMH(ENBMEDIFBLM, false);
|
|
}
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
base.GBDBIHMIBBK(ENBMEDIFBLM.NAABPMOIADH().LNJFBGIBLHA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006DB RID: 1755 RVA: 0x0001BF10 File Offset: 0x0001A110
|
|
protected override void Start()
|
|
{
|
|
base.Start();
|
|
this.CJBDAEMDANJ();
|
|
}
|
|
|
|
// Token: 0x060006DD RID: 1757 RVA: 0x0001BF30 File Offset: 0x0001A130
|
|
private void ONANHNKHGJF()
|
|
{
|
|
int num = this.GHKONEDDDMI.CPIBGJLHLBL();
|
|
PhotonView photonView = PhotonView.NMBFNIJMFOO(num);
|
|
Tool tool = ((!(photonView != null)) ? null : photonView.GetComponent<Tool>());
|
|
if (tool != this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = tool;
|
|
if (this.HKHODBJODNL != null)
|
|
{
|
|
this.HKHODBJODNL.KinematicOnReset = false;
|
|
this.HKHODBJODNL.AddCustomPickupCondition(new Tool.CFIAHKNGIKI(this.HMLBFNBMPHM));
|
|
this.HKHODBJODNL.NIIJCJLOFLI += this.BGAPLFFNFJF;
|
|
ToolPlayerAttractor component = this.HKHODBJODNL.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.CGEABHMFODL(true);
|
|
}
|
|
WeaponFlashlightController componentInChildren = this.HKHODBJODNL.GetComponentInChildren<WeaponFlashlightController>(false);
|
|
if (componentInChildren != null)
|
|
{
|
|
componentInChildren.AOGFOCFJBGG(false);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.DOEFBDDOMOP(this.HKHODBJODNL);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006DE RID: 1758 RVA: 0x0001C030 File Offset: 0x0001A230
|
|
private void CJBDAEMDANJ()
|
|
{
|
|
int num = this.GHKONEDDDMI.CPIBGJLHLBL();
|
|
PhotonView photonView = PhotonView.Find(num);
|
|
Tool tool = ((!(photonView != null)) ? null : photonView.GetComponent<Tool>());
|
|
if (tool != this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = tool;
|
|
if (this.HKHODBJODNL != null)
|
|
{
|
|
this.HKHODBJODNL.KinematicOnReset = true;
|
|
this.HKHODBJODNL.AddCustomPickupCondition(new Tool.CFIAHKNGIKI(this.GNKBEBGIBOF));
|
|
this.HKHODBJODNL.NIIJCJLOFLI += this.PINCBCMKKNN;
|
|
ToolPlayerAttractor component = this.HKHODBJODNL.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.HFICMLDMAKE = true;
|
|
}
|
|
WeaponFlashlightController componentInChildren = this.HKHODBJODNL.GetComponentInChildren<WeaponFlashlightController>(true);
|
|
if (componentInChildren != null)
|
|
{
|
|
componentInChildren.BLKINAKDDBC = true;
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.ExcludeTool(this.HKHODBJODNL);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006DF RID: 1759 RVA: 0x0001C130 File Offset: 0x0001A330
|
|
private void HOIHHHFNFJN(Tool COMHEONOMBA)
|
|
{
|
|
if (COMHEONOMBA != null && COMHEONOMBA.CJKKPMHAMCN().NBAIABPNLNK() == this.GHKONEDDDMI.CPIBGJLHLBL())
|
|
{
|
|
this.NMEJOOCAGMI();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006E0 RID: 1760 RVA: 0x0001C160 File Offset: 0x0001A360
|
|
protected override void OnDestroy()
|
|
{
|
|
base.OnDestroy();
|
|
Tool.ANBMJHAOKDO -= this.FDBDPMALFHH;
|
|
}
|
|
|
|
// Token: 0x060006E1 RID: 1761 RVA: 0x0001C17C File Offset: 0x0001A37C
|
|
private Vector3 PONJOKLBDNN()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Vector3.zero : this.equipmentSpawnTransform.position;
|
|
}
|
|
|
|
// Token: 0x060006E2 RID: 1762 RVA: 0x0001C1A4 File Offset: 0x0001A3A4
|
|
private void AKACMPLNODA(Tool ENBMEDIFBLM)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD && ENBMEDIFBLM == this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = null;
|
|
}
|
|
ENBMEDIFBLM.BAOFLKGGJPJ(new Tool.FCJCFBDGJIM(this.GDFGPANJDPF));
|
|
ENBMEDIFBLM.RemoveCustomPickupCondition(new Tool.CFIAHKNGIKI(this.DEHJDJHKJFJ));
|
|
ToolPlayerAttractor component = ENBMEDIFBLM.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.IJHOEGAPIFD(true);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.ANDAJBLAFAI(ENBMEDIFBLM, true);
|
|
}
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
base.KBEKNANLBOD(ENBMEDIFBLM.CAAOEAAJAIL.LNJFBGIBLHA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006E3 RID: 1763 RVA: 0x0001C24C File Offset: 0x0001A44C
|
|
private bool HJPBHHCJCPP(Tool COMHEONOMBA, Player OAKJPHFELHD, bool AABHBODJBNP)
|
|
{
|
|
return OAKJPHFELHD.LNJFBGIBLHA.IPFPJCPGENH && this.AKKHKFMMLHF;
|
|
}
|
|
|
|
// Token: 0x060006E4 RID: 1764 RVA: 0x0001C268 File Offset: 0x0001A468
|
|
private Tool KBEGPHJFGPK()
|
|
{
|
|
return this.HKHODBJODNL;
|
|
}
|
|
|
|
// Token: 0x060006E5 RID: 1765 RVA: 0x0001C270 File Offset: 0x0001A470
|
|
protected virtual void IABDGAJLFNK()
|
|
{
|
|
base.Awake();
|
|
this.GHKONEDDDMI = new LHLLJPPCDKA<int>(this, "Room does not exist", -1, IKCAJLLAFML.AUTHORITY, true, new Action(this.CJBDAEMDANJ));
|
|
Tool.ANBMJHAOKDO += this.LEFAEIGBIKI;
|
|
}
|
|
|
|
// Token: 0x060006E6 RID: 1766 RVA: 0x0001C2AC File Offset: 0x0001A4AC
|
|
private Quaternion NJGLMMMIJHO()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Quaternion.identity : this.equipmentSpawnTransform.rotation;
|
|
}
|
|
|
|
// Token: 0x060006E7 RID: 1767 RVA: 0x0001C2D4 File Offset: 0x0001A4D4
|
|
private void MPPLFOKDLKC(Tool COMHEONOMBA)
|
|
{
|
|
if (COMHEONOMBA != null && COMHEONOMBA.LHEPJEHMAEC().JLIJDKOGAEB() == this.GHKONEDDDMI.CPIBGJLHLBL())
|
|
{
|
|
this.OBCPPFOALIO();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006E8 RID: 1768 RVA: 0x0001C304 File Offset: 0x0001A504
|
|
protected virtual void LGLJMEBFLDH()
|
|
{
|
|
base.Start();
|
|
this.GNFMCEDIHPL();
|
|
}
|
|
|
|
// Token: 0x060006E9 RID: 1769 RVA: 0x0001C314 File Offset: 0x0001A514
|
|
protected override void LJFJILFBKHF()
|
|
{
|
|
base.DKDGOJGKHDM();
|
|
if (this.ACOAPAHCFGM == null || this.ACOAPAHCFGM.EAIOKCKIBKI() == null)
|
|
{
|
|
return;
|
|
}
|
|
if (Time.time - this.MLALPPLDPNL < 1516f)
|
|
{
|
|
return;
|
|
}
|
|
this.MLALPPLDPNL = Time.time;
|
|
if (!IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
return;
|
|
}
|
|
if (this.KBEGPHJFGPK() == null)
|
|
{
|
|
this.HKDBJJLCNMP(this.ACOAPAHCFGM.MBEHHKLFCDB().HDNIEJJBLGI.KPPIBGOLDND(this.equipmentType, this.JHGALOJLKPC(), this.DKAALGIIBJC()));
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006EA RID: 1770 RVA: 0x0001C3BC File Offset: 0x0001A5BC
|
|
private void DBCOIBPICNM(Tool NOBAPCOKFIL)
|
|
{
|
|
int num = ((!(NOBAPCOKFIL != null) || !(NOBAPCOKFIL.POOAOJPEDJD() != null)) ? (-1) : NOBAPCOKFIL.CJKKPMHAMCN().GCPHMBPAAOM());
|
|
this.GHKONEDDDMI.MEAINJPIECA(num);
|
|
}
|
|
|
|
// Token: 0x060006EB RID: 1771 RVA: 0x0001C404 File Offset: 0x0001A604
|
|
private Tool PKOHABBGMOG()
|
|
{
|
|
return this.HKHODBJODNL;
|
|
}
|
|
|
|
// Token: 0x060006EC RID: 1772 RVA: 0x0001C40C File Offset: 0x0001A60C
|
|
private void DJCMJLDNDKP(Tool NOBAPCOKFIL)
|
|
{
|
|
int num = ((!(NOBAPCOKFIL != null) || !(NOBAPCOKFIL.CJKKPMHAMCN() != null)) ? (-1) : NOBAPCOKFIL.BIPEBCPEPKL().NBAIABPNLNK());
|
|
this.GHKONEDDDMI.MEAINJPIECA(num);
|
|
}
|
|
|
|
// Token: 0x060006ED RID: 1773 RVA: 0x0001C454 File Offset: 0x0001A654
|
|
private Tool BCLFCINKILA()
|
|
{
|
|
return this.HKHODBJODNL;
|
|
}
|
|
|
|
// Token: 0x060006EE RID: 1774 RVA: 0x0001C45C File Offset: 0x0001A65C
|
|
protected virtual void KMCJNIPIKBA()
|
|
{
|
|
base.Awake();
|
|
this.GHKONEDDDMI = new LHLLJPPCDKA<int>(this, "FPS: {0}", -1, IKCAJLLAFML.MASTER, true, new Action(this.CJBDAEMDANJ));
|
|
Tool.HPNBJMJBPDG(new Tool.DJEMJNNFFAH(this.HOIHHHFNFJN));
|
|
}
|
|
|
|
// Token: 0x060006EF RID: 1775 RVA: 0x0001C498 File Offset: 0x0001A698
|
|
private void NIODFGOJKNI(Tool NOBAPCOKFIL)
|
|
{
|
|
int num = ((!(NOBAPCOKFIL != null) || !(NOBAPCOKFIL.ACEAACJNNAF() != null)) ? (-1) : NOBAPCOKFIL.POOAOJPEDJD().NBAIABPNLNK());
|
|
this.GHKONEDDDMI.MEAINJPIECA(num);
|
|
}
|
|
|
|
// Token: 0x060006F0 RID: 1776 RVA: 0x0001C4E0 File Offset: 0x0001A6E0
|
|
private bool KMCLANBMILL(Tool COMHEONOMBA, Player OAKJPHFELHD, bool AABHBODJBNP)
|
|
{
|
|
return OAKJPHFELHD.LNJFBGIBLHA.IPFPJCPGENH && this.AKKHKFMMLHF;
|
|
}
|
|
|
|
// Token: 0x060006F1 RID: 1777 RVA: 0x0001C4FC File Offset: 0x0001A6FC
|
|
protected virtual void NJBNCAPPAOH()
|
|
{
|
|
base.NEFFCEJLOCD();
|
|
if (this.ACOAPAHCFGM == null || this.ACOAPAHCFGM.CNIJILNDEBN() == null)
|
|
{
|
|
return;
|
|
}
|
|
if (Time.time - this.MLALPPLDPNL < 1412f)
|
|
{
|
|
return;
|
|
}
|
|
this.MLALPPLDPNL = Time.time;
|
|
if (!IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
return;
|
|
}
|
|
if (this.BCLFCINKILA() == null)
|
|
{
|
|
this.OCAEPINKLNI(this.ACOAPAHCFGM.EAIOKCKIBKI().HDNIEJJBLGI.KPPIBGOLDND(this.equipmentType, this.NOFPIDMDNGF(), this.OPMAOEFIALE()));
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006F2 RID: 1778 RVA: 0x0001C5A4 File Offset: 0x0001A7A4
|
|
private void PINCBCMKKNN(Tool ENBMEDIFBLM)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD && ENBMEDIFBLM == this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = null;
|
|
}
|
|
ENBMEDIFBLM.NIIJCJLOFLI -= this.PINCBCMKKNN;
|
|
ENBMEDIFBLM.RemoveCustomPickupCondition(new Tool.CFIAHKNGIKI(this.GNKBEBGIBOF));
|
|
ToolPlayerAttractor component = ENBMEDIFBLM.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.HFICMLDMAKE = false;
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.AddTool(ENBMEDIFBLM, true);
|
|
}
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
base.MCCGAFPCLAB(ENBMEDIFBLM.CAAOEAAJAIL.LNJFBGIBLHA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006F3 RID: 1779 RVA: 0x0001C64C File Offset: 0x0001A84C
|
|
private Quaternion GKACMPCFBHB()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Quaternion.identity : this.equipmentSpawnTransform.rotation;
|
|
}
|
|
|
|
// Token: 0x060006F4 RID: 1780 RVA: 0x0001C674 File Offset: 0x0001A874
|
|
private bool PKIKLBGIHIA(Tool COMHEONOMBA, Player OAKJPHFELHD, bool AABHBODJBNP)
|
|
{
|
|
return !OAKJPHFELHD.LNJFBGIBLHA.IPFPJCPGENH || this.AKKHKFMMLHF;
|
|
}
|
|
|
|
// Token: 0x060006F5 RID: 1781 RVA: 0x0001C690 File Offset: 0x0001A890
|
|
private void LABEBCHJPKE(Tool ENBMEDIFBLM)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD && ENBMEDIFBLM == this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = null;
|
|
}
|
|
ENBMEDIFBLM.NIIJCJLOFLI -= this.EPFFAIIAKBB;
|
|
ENBMEDIFBLM.RemoveCustomPickupCondition(new Tool.CFIAHKNGIKI(this.NHDECGPNNGG));
|
|
ToolPlayerAttractor component = ENBMEDIFBLM.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.MALHCFLBAJA(false);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.FPHJMGNLJCN(ENBMEDIFBLM, true);
|
|
}
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
base.GBDBIHMIBBK(ENBMEDIFBLM.NAABPMOIADH().LNJFBGIBLHA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006F6 RID: 1782 RVA: 0x0001C738 File Offset: 0x0001A938
|
|
protected virtual void NCFMMDBDMEF()
|
|
{
|
|
base.EBMACIPLEOE();
|
|
this.CJBDAEMDANJ();
|
|
}
|
|
|
|
// Token: 0x060006F7 RID: 1783 RVA: 0x0001C748 File Offset: 0x0001A948
|
|
private void OIABCABAIKC(Tool NOBAPCOKFIL)
|
|
{
|
|
int num = ((!(NOBAPCOKFIL != null) || !(NOBAPCOKFIL.ONAOMJAKKMA() != null)) ? (-1) : NOBAPCOKFIL.EKPBHKFHMON().NBAIABPNLNK());
|
|
this.GHKONEDDDMI.MEAINJPIECA(num);
|
|
}
|
|
|
|
// Token: 0x060006F8 RID: 1784 RVA: 0x0001C790 File Offset: 0x0001A990
|
|
private Tool BIGBIOLKLDM()
|
|
{
|
|
return this.HKHODBJODNL;
|
|
}
|
|
|
|
// Token: 0x060006F9 RID: 1785 RVA: 0x0001C798 File Offset: 0x0001A998
|
|
private Tool GIAOPHAOMPM()
|
|
{
|
|
return this.HKHODBJODNL;
|
|
}
|
|
|
|
// Token: 0x17000022 RID: 34
|
|
// (get) Token: 0x060006FA RID: 1786 RVA: 0x0001C7A0 File Offset: 0x0001A9A0
|
|
private Vector3 MCJGAGNFNFE
|
|
{
|
|
get
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Vector3.zero : this.equipmentSpawnTransform.position;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006FB RID: 1787 RVA: 0x0001C7C8 File Offset: 0x0001A9C8
|
|
private void IPBDDDLBMCI(Tool ENBMEDIFBLM)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD && ENBMEDIFBLM == this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = null;
|
|
}
|
|
ENBMEDIFBLM.BAOFLKGGJPJ(new Tool.FCJCFBDGJIM(this.HOPPMNHBPGH));
|
|
ENBMEDIFBLM.RemoveCustomPickupCondition(new Tool.CFIAHKNGIKI(this.NHDECGPNNGG));
|
|
ToolPlayerAttractor component = ENBMEDIFBLM.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.MALHCFLBAJA(true);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.EJBAHPGJHHN(ENBMEDIFBLM, false);
|
|
}
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
base.JEDFDHBDEHC(ENBMEDIFBLM.NAABPMOIADH().LNJFBGIBLHA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060006FC RID: 1788 RVA: 0x0001C870 File Offset: 0x0001AA70
|
|
protected virtual void EAKGKEKHPOI()
|
|
{
|
|
base.NICOCLOFMEF();
|
|
this.ONANHNKHGJF();
|
|
}
|
|
|
|
// Token: 0x060006FD RID: 1789 RVA: 0x0001C880 File Offset: 0x0001AA80
|
|
private Vector3 JKHGBPLEAJO()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Vector3.zero : this.equipmentSpawnTransform.position;
|
|
}
|
|
|
|
// Token: 0x060006FE RID: 1790 RVA: 0x0001C8A8 File Offset: 0x0001AAA8
|
|
private void DIIIIOCALIH(Tool NOBAPCOKFIL)
|
|
{
|
|
int num = ((!(NOBAPCOKFIL != null) || !(NOBAPCOKFIL.LHEPJEHMAEC() != null)) ? (-1) : NOBAPCOKFIL.POOAOJPEDJD().OMNKKJNHJHD());
|
|
this.GHKONEDDDMI.MEAINJPIECA(num);
|
|
}
|
|
|
|
// Token: 0x060006FF RID: 1791 RVA: 0x0001C8F0 File Offset: 0x0001AAF0
|
|
protected virtual void GCHFDKPMNEE()
|
|
{
|
|
base.PINHMNLCHGK();
|
|
this.ONANHNKHGJF();
|
|
}
|
|
|
|
// Token: 0x06000700 RID: 1792 RVA: 0x0001C900 File Offset: 0x0001AB00
|
|
private Quaternion FEIKFLFDFAO()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Quaternion.identity : this.equipmentSpawnTransform.rotation;
|
|
}
|
|
|
|
// Token: 0x06000701 RID: 1793 RVA: 0x0001C928 File Offset: 0x0001AB28
|
|
private void HOPPMNHBPGH(Tool ENBMEDIFBLM)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD && ENBMEDIFBLM == this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = null;
|
|
}
|
|
ENBMEDIFBLM.BAOFLKGGJPJ(new Tool.FCJCFBDGJIM(this.GMCKGFLJLCP));
|
|
ENBMEDIFBLM.RemoveCustomPickupCondition(new Tool.CFIAHKNGIKI(this.GNKBEBGIBOF));
|
|
ToolPlayerAttractor component = ENBMEDIFBLM.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.JCEKECLPBNA(true);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.DGNMMLBCDPD(ENBMEDIFBLM, false);
|
|
}
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
base.PPBOBKLOGNO(ENBMEDIFBLM.CAAOEAAJAIL.LNJFBGIBLHA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000702 RID: 1794 RVA: 0x0001C9D0 File Offset: 0x0001ABD0
|
|
private void GDFGPANJDPF(Tool ENBMEDIFBLM)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD && ENBMEDIFBLM == this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = null;
|
|
}
|
|
ENBMEDIFBLM.BAOFLKGGJPJ(new Tool.FCJCFBDGJIM(this.GMCKGFLJLCP));
|
|
ENBMEDIFBLM.RemoveCustomPickupCondition(new Tool.CFIAHKNGIKI(this.GNKBEBGIBOF));
|
|
ToolPlayerAttractor component = ENBMEDIFBLM.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.HFICMLDMAKE = false;
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.AJGKJFFIIPG(ENBMEDIFBLM, false);
|
|
}
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
base.MEOMAFMKPBO(ENBMEDIFBLM.CAAOEAAJAIL.LNJFBGIBLHA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000703 RID: 1795 RVA: 0x0001CA78 File Offset: 0x0001AC78
|
|
private Quaternion DKAALGIIBJC()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Quaternion.identity : this.equipmentSpawnTransform.rotation;
|
|
}
|
|
|
|
// Token: 0x06000704 RID: 1796 RVA: 0x0001CAA0 File Offset: 0x0001ACA0
|
|
private Vector3 JHGALOJLKPC()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Vector3.zero : this.equipmentSpawnTransform.position;
|
|
}
|
|
|
|
// Token: 0x06000705 RID: 1797 RVA: 0x0001CAC8 File Offset: 0x0001ACC8
|
|
private Quaternion GGDBNCLEDOH()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Quaternion.identity : this.equipmentSpawnTransform.rotation;
|
|
}
|
|
|
|
// Token: 0x06000706 RID: 1798 RVA: 0x0001CAF0 File Offset: 0x0001ACF0
|
|
private void HGGFHOKMDHO(Tool NOBAPCOKFIL)
|
|
{
|
|
int num = ((!(NOBAPCOKFIL != null) || !(NOBAPCOKFIL.HOPJELLOPNJ() != null)) ? (-1) : NOBAPCOKFIL.ACEAACJNNAF().JLIJDKOGAEB());
|
|
this.GHKONEDDDMI.MEAINJPIECA(num);
|
|
}
|
|
|
|
// Token: 0x06000707 RID: 1799 RVA: 0x0001CB38 File Offset: 0x0001AD38
|
|
protected virtual void PHJFLMBNKOP()
|
|
{
|
|
base.IJGOKHIFMNI();
|
|
Tool.ANBMJHAOKDO -= this.GIFMNJOAJED;
|
|
}
|
|
|
|
// Token: 0x17000023 RID: 35
|
|
// (get) Token: 0x06000708 RID: 1800 RVA: 0x0001CB54 File Offset: 0x0001AD54
|
|
private Quaternion JFDJNKJCMMK
|
|
{
|
|
get
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Quaternion.identity : this.equipmentSpawnTransform.rotation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000709 RID: 1801 RVA: 0x0001CB7C File Offset: 0x0001AD7C
|
|
private void IKAMMMAODMG()
|
|
{
|
|
int num = this.GHKONEDDDMI.CPIBGJLHLBL();
|
|
PhotonView photonView = PhotonView.KAKDEOHCKBM(num);
|
|
Tool tool = ((!(photonView != null)) ? null : photonView.GetComponent<Tool>());
|
|
if (tool != this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = tool;
|
|
if (this.HKHODBJODNL != null)
|
|
{
|
|
this.HKHODBJODNL.KinematicOnReset = false;
|
|
this.HKHODBJODNL.AddCustomPickupCondition(new Tool.CFIAHKNGIKI(this.CHJNFNOFAOG));
|
|
this.HKHODBJODNL.NIIJCJLOFLI += this.AKEKPKNPCCL;
|
|
ToolPlayerAttractor component = this.HKHODBJODNL.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.CGEABHMFODL(false);
|
|
}
|
|
WeaponFlashlightController componentInChildren = this.HKHODBJODNL.GetComponentInChildren<WeaponFlashlightController>(true);
|
|
if (componentInChildren != null)
|
|
{
|
|
componentInChildren.BLKINAKDDBC = true;
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.PGNNHINMIKJ(this.HKHODBJODNL);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600070A RID: 1802 RVA: 0x0001CC7C File Offset: 0x0001AE7C
|
|
private void CFEENOMJGLA(Tool COMHEONOMBA)
|
|
{
|
|
if (COMHEONOMBA != null && COMHEONOMBA.LJILHDMCKME().OMNKKJNHJHD() == this.GHKONEDDDMI.CPIBGJLHLBL())
|
|
{
|
|
this.AGBDONGOOFL();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600070B RID: 1803 RVA: 0x0001CCAC File Offset: 0x0001AEAC
|
|
private void OCAEPINKLNI(Tool NOBAPCOKFIL)
|
|
{
|
|
int num = ((!(NOBAPCOKFIL != null) || !(NOBAPCOKFIL.EKPBHKFHMON() != null)) ? (-1) : NOBAPCOKFIL.LHEPJEHMAEC().HNPFGGAKNPI());
|
|
this.GHKONEDDDMI.MEAINJPIECA(num);
|
|
}
|
|
|
|
// Token: 0x0600070C RID: 1804 RVA: 0x0001CCF4 File Offset: 0x0001AEF4
|
|
private void JBOPFDJMEHD(Tool ENBMEDIFBLM)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD && ENBMEDIFBLM == this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = null;
|
|
}
|
|
ENBMEDIFBLM.NIIJCJLOFLI -= this.JBOPFDJMEHD;
|
|
ENBMEDIFBLM.RemoveCustomPickupCondition(new Tool.CFIAHKNGIKI(this.LKELBIMPFGK));
|
|
ToolPlayerAttractor component = ENBMEDIFBLM.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.IJHOEGAPIFD(true);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.MONFBBKGHFI(ENBMEDIFBLM, false);
|
|
}
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
base.MCCGAFPCLAB(ENBMEDIFBLM.CAAOEAAJAIL.LNJFBGIBLHA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600070D RID: 1805 RVA: 0x0001CD9C File Offset: 0x0001AF9C
|
|
protected virtual void LGIOGECFBJB()
|
|
{
|
|
base.PINHMNLCHGK();
|
|
this.OBCPPFOALIO();
|
|
}
|
|
|
|
// Token: 0x0600070E RID: 1806 RVA: 0x0001CDAC File Offset: 0x0001AFAC
|
|
private Vector3 JNFMHMNGOAP()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Vector3.zero : this.equipmentSpawnTransform.position;
|
|
}
|
|
|
|
// Token: 0x0600070F RID: 1807 RVA: 0x0001CDD4 File Offset: 0x0001AFD4
|
|
protected virtual void PONDPPDHJOM()
|
|
{
|
|
base.IGDMCDLELON();
|
|
if (this.ACOAPAHCFGM == null || this.ACOAPAHCFGM.EAIOKCKIBKI() == null)
|
|
{
|
|
return;
|
|
}
|
|
if (Time.time - this.MLALPPLDPNL < 847f)
|
|
{
|
|
return;
|
|
}
|
|
this.MLALPPLDPNL = Time.time;
|
|
if (!IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
return;
|
|
}
|
|
if (this.KBEGPHJFGPK() == null)
|
|
{
|
|
this.DJCMJLDNDKP(this.ACOAPAHCFGM.LDHLPCHOKIK().HDNIEJJBLGI.KPPIBGOLDND(this.equipmentType, this.MCJGAGNFNFE, this.OPMAOEFIALE()));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000710 RID: 1808 RVA: 0x0001CE7C File Offset: 0x0001B07C
|
|
private bool LKELBIMPFGK(Tool COMHEONOMBA, Player OAKJPHFELHD, bool AABHBODJBNP)
|
|
{
|
|
return !OAKJPHFELHD.LNJFBGIBLHA.IPFPJCPGENH || this.AKKHKFMMLHF;
|
|
}
|
|
|
|
// Token: 0x17000024 RID: 36
|
|
// (get) Token: 0x06000725 RID: 1829 RVA: 0x0001D54C File Offset: 0x0001B74C
|
|
// (set) Token: 0x06000711 RID: 1809 RVA: 0x0001CE98 File Offset: 0x0001B098
|
|
private Tool NLMBLKJFFIB
|
|
{
|
|
get
|
|
{
|
|
return this.HKHODBJODNL;
|
|
}
|
|
set
|
|
{
|
|
int num = ((!(value != null) || !(value.OMNGGJICBBI != null)) ? (-1) : value.OMNGGJICBBI.ADMBCINHJOG);
|
|
this.GHKONEDDDMI.MEAINJPIECA(num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000712 RID: 1810 RVA: 0x0001CEE0 File Offset: 0x0001B0E0
|
|
private void LLOFCIECDPP(Tool COMHEONOMBA)
|
|
{
|
|
if (COMHEONOMBA != null && COMHEONOMBA.HOPJELLOPNJ().NBAIABPNLNK() == this.GHKONEDDDMI.CPIBGJLHLBL())
|
|
{
|
|
this.CHNGEJBPACH();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000713 RID: 1811 RVA: 0x0001CF10 File Offset: 0x0001B110
|
|
private void EJMFBGLLDJI(Tool ENBMEDIFBLM)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD && ENBMEDIFBLM == this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = null;
|
|
}
|
|
ENBMEDIFBLM.BAOFLKGGJPJ(new Tool.FCJCFBDGJIM(this.GMCKGFLJLCP));
|
|
ENBMEDIFBLM.RemoveCustomPickupCondition(new Tool.CFIAHKNGIKI(this.NHDECGPNNGG));
|
|
ToolPlayerAttractor component = ENBMEDIFBLM.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.CGEABHMFODL(true);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.BMHNNABAOJB(ENBMEDIFBLM, true);
|
|
}
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
base.LEJJHNOADKP(ENBMEDIFBLM.CAAOEAAJAIL.LNJFBGIBLHA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000714 RID: 1812 RVA: 0x0001CFB8 File Offset: 0x0001B1B8
|
|
private void CHNGEJBPACH()
|
|
{
|
|
int num = this.GHKONEDDDMI.CPIBGJLHLBL();
|
|
PhotonView photonView = PhotonView.KAKDEOHCKBM(num);
|
|
Tool tool = ((!(photonView != null)) ? null : photonView.GetComponent<Tool>());
|
|
if (tool != this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = tool;
|
|
if (this.HKHODBJODNL != null)
|
|
{
|
|
this.HKHODBJODNL.KinematicOnReset = true;
|
|
this.HKHODBJODNL.AddCustomPickupCondition(new Tool.CFIAHKNGIKI(this.GNKBEBGIBOF));
|
|
this.HKHODBJODNL.NIIJCJLOFLI += this.LABEBCHJPKE;
|
|
ToolPlayerAttractor component = this.HKHODBJODNL.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.EILHJHPKIDI(true);
|
|
}
|
|
WeaponFlashlightController componentInChildren = this.HKHODBJODNL.GetComponentInChildren<WeaponFlashlightController>(false);
|
|
if (componentInChildren != null)
|
|
{
|
|
componentInChildren.POFFPCECDBL(false);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.PGNNHINMIKJ(this.HKHODBJODNL);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000715 RID: 1813 RVA: 0x0001D0B8 File Offset: 0x0001B2B8
|
|
private void GNFMCEDIHPL()
|
|
{
|
|
int num = this.GHKONEDDDMI.CPIBGJLHLBL();
|
|
PhotonView photonView = PhotonView.KAKDEOHCKBM(num);
|
|
Tool tool = ((!(photonView != null)) ? null : photonView.GetComponent<Tool>());
|
|
if (tool != this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = tool;
|
|
if (this.HKHODBJODNL != null)
|
|
{
|
|
this.HKHODBJODNL.KinematicOnReset = false;
|
|
this.HKHODBJODNL.AddCustomPickupCondition(new Tool.CFIAHKNGIKI(this.LKELBIMPFGK));
|
|
this.HKHODBJODNL.NIIJCJLOFLI += this.GKPGHLCDKEJ;
|
|
ToolPlayerAttractor component = this.HKHODBJODNL.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.JCEKECLPBNA(true);
|
|
}
|
|
WeaponFlashlightController componentInChildren = this.HKHODBJODNL.GetComponentInChildren<WeaponFlashlightController>(false);
|
|
if (componentInChildren != null)
|
|
{
|
|
componentInChildren.FPICGGEHMKO(true);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.DBOGOMMMNDD(this.HKHODBJODNL);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000716 RID: 1814 RVA: 0x0001D1B8 File Offset: 0x0001B3B8
|
|
private Vector3 DAGHLKHAGHC()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Vector3.zero : this.equipmentSpawnTransform.position;
|
|
}
|
|
|
|
// Token: 0x06000717 RID: 1815 RVA: 0x0001D1E0 File Offset: 0x0001B3E0
|
|
private void KDDEKGOLFBD(Tool NOBAPCOKFIL)
|
|
{
|
|
int num = ((!(NOBAPCOKFIL != null) || !(NOBAPCOKFIL.BIPEBCPEPKL() != null)) ? (-1) : NOBAPCOKFIL.CJKKPMHAMCN().OMNKKJNHJHD());
|
|
this.GHKONEDDDMI.MEAINJPIECA(num);
|
|
}
|
|
|
|
// Token: 0x06000718 RID: 1816 RVA: 0x0001D228 File Offset: 0x0001B428
|
|
protected virtual void MPFILNDGMBF()
|
|
{
|
|
base.NDHBFLHIAHM();
|
|
Tool.ANBMJHAOKDO -= this.HLNCIJPKKDM;
|
|
}
|
|
|
|
// Token: 0x06000719 RID: 1817 RVA: 0x0001D244 File Offset: 0x0001B444
|
|
private Tool JHHHEDBGHFK()
|
|
{
|
|
return this.HKHODBJODNL;
|
|
}
|
|
|
|
// Token: 0x0600071A RID: 1818 RVA: 0x0001D24C File Offset: 0x0001B44C
|
|
private Vector3 KOCNAJOJMKO()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Vector3.zero : this.equipmentSpawnTransform.position;
|
|
}
|
|
|
|
// Token: 0x0600071B RID: 1819 RVA: 0x0001D274 File Offset: 0x0001B474
|
|
private Vector3 AJGNIIKJOPL()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Vector3.zero : this.equipmentSpawnTransform.position;
|
|
}
|
|
|
|
// Token: 0x0600071C RID: 1820 RVA: 0x0001D29C File Offset: 0x0001B49C
|
|
private Quaternion KKDICGMPGHF()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Quaternion.identity : this.equipmentSpawnTransform.rotation;
|
|
}
|
|
|
|
// Token: 0x0600071D RID: 1821 RVA: 0x0001D2C4 File Offset: 0x0001B4C4
|
|
private void DNAKDJNDNAE(Tool NOBAPCOKFIL)
|
|
{
|
|
int num = ((!(NOBAPCOKFIL != null) || !(NOBAPCOKFIL.MLNMONBHHBO() != null)) ? (-1) : NOBAPCOKFIL.ACEAACJNNAF().NBAIABPNLNK());
|
|
this.GHKONEDDDMI.MEAINJPIECA(num);
|
|
}
|
|
|
|
// Token: 0x0600071E RID: 1822 RVA: 0x0001D30C File Offset: 0x0001B50C
|
|
private void NJPLKMMOOFA(Tool NOBAPCOKFIL)
|
|
{
|
|
int num = ((!(NOBAPCOKFIL != null) || !(NOBAPCOKFIL.ONAOMJAKKMA() != null)) ? (-1) : NOBAPCOKFIL.ACEAACJNNAF().JLIJDKOGAEB());
|
|
this.GHKONEDDDMI.MEAINJPIECA(num);
|
|
}
|
|
|
|
// Token: 0x0600071F RID: 1823 RVA: 0x0001D354 File Offset: 0x0001B554
|
|
private Vector3 JJHKIPBFJMP()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Vector3.zero : this.equipmentSpawnTransform.position;
|
|
}
|
|
|
|
// Token: 0x06000720 RID: 1824 RVA: 0x0001D37C File Offset: 0x0001B57C
|
|
private void GKPGHLCDKEJ(Tool ENBMEDIFBLM)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD && ENBMEDIFBLM == this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = null;
|
|
}
|
|
ENBMEDIFBLM.NIIJCJLOFLI -= this.GDFGPANJDPF;
|
|
ENBMEDIFBLM.RemoveCustomPickupCondition(new Tool.CFIAHKNGIKI(this.LKELBIMPFGK));
|
|
ToolPlayerAttractor component = ENBMEDIFBLM.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.JCEKECLPBNA(true);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.LLGNGJHOCPF(ENBMEDIFBLM, true);
|
|
}
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
base.EHIBNDNCCFI(ENBMEDIFBLM.CAAOEAAJAIL.LNJFBGIBLHA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000721 RID: 1825 RVA: 0x0001D424 File Offset: 0x0001B624
|
|
private void EEPDPBBJHDH(Tool NOBAPCOKFIL)
|
|
{
|
|
int num = ((!(NOBAPCOKFIL != null) || !(NOBAPCOKFIL.CEGDLFAENEJ() != null)) ? (-1) : NOBAPCOKFIL.LHEPJEHMAEC().OMNKKJNHJHD());
|
|
this.GHKONEDDDMI.MEAINJPIECA(num);
|
|
}
|
|
|
|
// Token: 0x06000722 RID: 1826 RVA: 0x0001D46C File Offset: 0x0001B66C
|
|
private bool DEHJDJHKJFJ(Tool COMHEONOMBA, Player OAKJPHFELHD, bool AABHBODJBNP)
|
|
{
|
|
return OAKJPHFELHD.LNJFBGIBLHA.IPFPJCPGENH && this.AKKHKFMMLHF;
|
|
}
|
|
|
|
// Token: 0x06000723 RID: 1827 RVA: 0x0001D488 File Offset: 0x0001B688
|
|
private bool IPEAEMMHLMD(Tool COMHEONOMBA, Player OAKJPHFELHD, bool AABHBODJBNP)
|
|
{
|
|
return !OAKJPHFELHD.LNJFBGIBLHA.IPFPJCPGENH || this.AKKHKFMMLHF;
|
|
}
|
|
|
|
// Token: 0x06000724 RID: 1828 RVA: 0x0001D4A4 File Offset: 0x0001B6A4
|
|
private void BGAPLFFNFJF(Tool ENBMEDIFBLM)
|
|
{
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD && ENBMEDIFBLM == this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = null;
|
|
}
|
|
ENBMEDIFBLM.BAOFLKGGJPJ(new Tool.FCJCFBDGJIM(this.EJMFBGLLDJI));
|
|
ENBMEDIFBLM.RemoveCustomPickupCondition(new Tool.CFIAHKNGIKI(this.HLEENILFCLJ));
|
|
ToolPlayerAttractor component = ENBMEDIFBLM.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.IJHOEGAPIFD(false);
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.HCGHPFAEACB(ENBMEDIFBLM, false);
|
|
}
|
|
if (IHFKMIAHBFP.HCHIDMOLLAD)
|
|
{
|
|
base.KBEKNANLBOD(ENBMEDIFBLM.NAABPMOIADH().LNJFBGIBLHA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000726 RID: 1830 RVA: 0x0001D554 File Offset: 0x0001B754
|
|
private void HLNCIJPKKDM(Tool COMHEONOMBA)
|
|
{
|
|
if (COMHEONOMBA != null && COMHEONOMBA.ACEAACJNNAF().ADMBCINHJOG == this.GHKONEDDDMI.CPIBGJLHLBL())
|
|
{
|
|
this.NMEJOOCAGMI();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000727 RID: 1831 RVA: 0x0001D584 File Offset: 0x0001B784
|
|
protected virtual void NEJLPPFGJPF()
|
|
{
|
|
base.AECBOJELNAI();
|
|
Tool.ANBMJHAOKDO -= this.LLOFCIECDPP;
|
|
}
|
|
|
|
// Token: 0x06000728 RID: 1832 RVA: 0x0001D5A0 File Offset: 0x0001B7A0
|
|
private bool ABJAGIFBEEB(Tool COMHEONOMBA, Player OAKJPHFELHD, bool AABHBODJBNP)
|
|
{
|
|
return !OAKJPHFELHD.LNJFBGIBLHA.IPFPJCPGENH || this.AKKHKFMMLHF;
|
|
}
|
|
|
|
// Token: 0x06000729 RID: 1833 RVA: 0x0001D5BC File Offset: 0x0001B7BC
|
|
private Quaternion EKBFPDKHLOE()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Quaternion.identity : this.equipmentSpawnTransform.rotation;
|
|
}
|
|
|
|
// Token: 0x0600072A RID: 1834 RVA: 0x0001D5E4 File Offset: 0x0001B7E4
|
|
private void NMEJOOCAGMI()
|
|
{
|
|
int num = this.GHKONEDDDMI.CPIBGJLHLBL();
|
|
PhotonView photonView = PhotonView.KAKDEOHCKBM(num);
|
|
Tool tool = ((!(photonView != null)) ? null : photonView.GetComponent<Tool>());
|
|
if (tool != this.HKHODBJODNL)
|
|
{
|
|
this.HKHODBJODNL = tool;
|
|
if (this.HKHODBJODNL != null)
|
|
{
|
|
this.HKHODBJODNL.KinematicOnReset = true;
|
|
this.HKHODBJODNL.AddCustomPickupCondition(new Tool.CFIAHKNGIKI(this.NHDECGPNNGG));
|
|
this.HKHODBJODNL.NIIJCJLOFLI += this.EJMFBGLLDJI;
|
|
ToolPlayerAttractor component = this.HKHODBJODNL.GetComponent<ToolPlayerAttractor>();
|
|
if (component != null)
|
|
{
|
|
component.JCEKECLPBNA(true);
|
|
}
|
|
WeaponFlashlightController componentInChildren = this.HKHODBJODNL.GetComponentInChildren<WeaponFlashlightController>(true);
|
|
if (componentInChildren != null)
|
|
{
|
|
componentInChildren.BLKINAKDDBC = false;
|
|
}
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.ICLPHBKAJLE(this.HKHODBJODNL);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600072B RID: 1835 RVA: 0x0001D6E4 File Offset: 0x0001B8E4
|
|
protected virtual void JAMDPKFNJBF()
|
|
{
|
|
base.OCEJENEOCJK();
|
|
this.GIEPKOIPELB();
|
|
}
|
|
|
|
// Token: 0x0600072C RID: 1836 RVA: 0x0001D6F4 File Offset: 0x0001B8F4
|
|
private Vector3 GJAEMCEEJAN()
|
|
{
|
|
return (!(this.equipmentSpawnTransform != null)) ? Vector3.zero : this.equipmentSpawnTransform.position;
|
|
}
|
|
|
|
// Token: 0x0600072D RID: 1837 RVA: 0x0001D71C File Offset: 0x0001B91C
|
|
protected override void DCGCFFFPABH()
|
|
{
|
|
base.EGJOBLEGKNP();
|
|
Tool.ANBMJHAOKDO -= this.HOIHHHFNFJN;
|
|
}
|
|
|
|
// Token: 0x0400011A RID: 282
|
|
[SerializeField]
|
|
private EEOOHEGOBKD equipmentType = EEOOHEGOBKD.ROTJ_PISTOL;
|
|
|
|
// Token: 0x0400011B RID: 283
|
|
[SerializeField]
|
|
private Transform equipmentSpawnTransform;
|
|
|
|
// Token: 0x0400011C RID: 284
|
|
private LHLLJPPCDKA<int> GHKONEDDDMI;
|
|
|
|
// Token: 0x0400011D RID: 285
|
|
private float MLALPPLDPNL;
|
|
|
|
// Token: 0x0400011E RID: 286
|
|
private const float JKEOCMMMPGK = 2f;
|
|
|
|
// Token: 0x0400011F RID: 287
|
|
private const float HBGGCGBAOND = 0.5f;
|
|
|
|
// Token: 0x04000120 RID: 288
|
|
private Tool HKHODBJODNL;
|
|
}
|
|
}
|