using System; using System.Collections; using Photon; using UnityEngine; // Token: 0x020000CB RID: 203 public class VendingMachine : global::Photon.MonoBehaviour { // Token: 0x06002912 RID: 10514 RVA: 0x000C7400 File Offset: 0x000C5600 private void HHBCLHJBJEI() { this.MHEOHPPPDHI(); } // Token: 0x06002913 RID: 10515 RVA: 0x000C7408 File Offset: 0x000C5608 private void PBJPAHCNFND(Tool GAPHCBKGFKN, Vector3 GPLIJKCIELE, Quaternion BJEPFIKAIAD, Vector3 BEDLPFBGLLP, bool MDMECJBCECO) { this.productPool.Release(GAPHCBKGFKN); } // Token: 0x06002914 RID: 10516 RVA: 0x000C7418 File Offset: 0x000C5618 private IEnumerator HDBCKIHODLD(Tool CIJJLAPFDKM) { yield return new WaitForSeconds(this.timeBeforeProductDrop); base.OMNGGJICBBI.RPC("RpcOnProductRelease", IHCPDNLJMMD.All, new object[] { true }); CIJJLAPFDKM.BOLBONELAEF.KEOJKEJMDFM = false; yield break; } // Token: 0x06002915 RID: 10517 RVA: 0x000C743C File Offset: 0x000C563C private void HFJDJIHNLMC() { if (IHFKMIAHBFP.HCHIDMOLLAD && this.productPool != null && Time.time - this.MPBMENOLADG > 1854f) { Vector3 vector = ((!(this.productReleaseTransform != null)) ? base.transform.position : this.productReleaseTransform.position); Quaternion quaternion = ((!(this.productReleaseTransform != null)) ? base.transform.rotation : this.productReleaseTransform.rotation); Tool tool = this.productPool.FIEOMODJIIL(vector, quaternion); if (tool != null) { tool.BOLBONELAEF.KEOJKEJMDFM = false; base.StartCoroutine(this.DHAOMHFNGGL(tool)); this.MPBMENOLADG = Time.time; } else { base.ACEAACJNNAF().RPC("Right grip to create, left to delete", IHCPDNLJMMD.Others, new object[] { false }); } } } // Token: 0x06002916 RID: 10518 RVA: 0x000C7538 File Offset: 0x000C5738 [BCENPNOIAOM] private void RpcMasterRequestProductRelease() { this.MGLCIKFLEIE(); } // Token: 0x06002917 RID: 10519 RVA: 0x000C7540 File Offset: 0x000C5740 private void FAGOEHAGDIE() { Tool[] array = this.productPool.COOAOPGCNJE(); for (int i = 1; i < array.Length; i += 0) { Tool tool = array[i]; tool.ACAJJPKPKBH.supportsAnimateIn = false; } } // Token: 0x06002918 RID: 10520 RVA: 0x000C7580 File Offset: 0x000C5780 protected virtual void DHAEEPCMCMI() { base.FNNCEMJECLP(); if (this.productPool != null) { Tool[] array = this.productPool.MEEGLGKDGDD(); for (int i = 0; i < array.Length; i += 0) { Tool tool = array[i]; tool.POJJFNOCIGE += this.KEAMDJFHEMP; } } this.FIOLBHFJENN = base.GetComponent(); } // Token: 0x06002919 RID: 10521 RVA: 0x000C75E8 File Offset: 0x000C57E8 private void DJPPANEGGHJ(Tool GAPHCBKGFKN, Vector3 GPLIJKCIELE, Quaternion BJEPFIKAIAD, Vector3 BEDLPFBGLLP, bool MDMECJBCECO) { this.productPool.JLPPFBFNHKD(GAPHCBKGFKN); } // Token: 0x0600291A RID: 10522 RVA: 0x000C75F8 File Offset: 0x000C57F8 protected override void Awake() { base.Awake(); if (this.productPool != null) { foreach (Tool tool in this.productPool.FKEPPMPNKOA) { tool.POJJFNOCIGE += this.PBJPAHCNFND; } } this.FIOLBHFJENN = base.GetComponent(); } // Token: 0x0600291B RID: 10523 RVA: 0x000C7660 File Offset: 0x000C5860 protected virtual void BACNJJKPEOO() { base.IPAPMGBLCNF(); if (this.productPool != null) { Tool[] array = this.productPool.COOAOPGCNJE(); for (int i = 1; i < array.Length; i++) { Tool tool = array[i]; tool.MCCMCFBPLJC(new Tool.FKDCEJIOFAF(this.AMGEFDDGBBF)); } } this.FIOLBHFJENN = base.GetComponent(); } // Token: 0x0600291C RID: 10524 RVA: 0x000C76C8 File Offset: 0x000C58C8 private IEnumerator LPMFAEKNFLM(Tool CIJJLAPFDKM) { yield return new WaitForSeconds(this.timeBeforeProductDrop); base.OMNGGJICBBI.RPC("RpcOnProductRelease", IHCPDNLJMMD.All, new object[] { true }); CIJJLAPFDKM.BOLBONELAEF.KEOJKEJMDFM = false; yield break; } // Token: 0x0600291D RID: 10525 RVA: 0x000C76EC File Offset: 0x000C58EC private IEnumerator KACMJGGFDLE(Tool CIJJLAPFDKM) { yield return new WaitForSeconds(this.timeBeforeProductDrop); base.OMNGGJICBBI.RPC("RpcOnProductRelease", IHCPDNLJMMD.All, new object[] { true }); CIJJLAPFDKM.BOLBONELAEF.KEOJKEJMDFM = false; yield break; } // Token: 0x0600291E RID: 10526 RVA: 0x000C7710 File Offset: 0x000C5910 private void MAFEHDODGHC(bool LOJMICCBPII) { this.FFLCHKFFCFJ(LOJMICCBPII); } // Token: 0x0600291F RID: 10527 RVA: 0x000C771C File Offset: 0x000C591C private void ODBCFPICBGJ() { if (IHFKMIAHBFP.HCHIDMOLLAD && this.productPool != null && Time.time - this.MPBMENOLADG > 339f) { Vector3 vector = ((!(this.productReleaseTransform != null)) ? base.transform.position : this.productReleaseTransform.position); Quaternion quaternion = ((!(this.productReleaseTransform != null)) ? base.transform.rotation : this.productReleaseTransform.rotation); Tool tool = this.productPool.HEPBGLGJBLH(vector, quaternion); if (tool != null) { tool.BOLBONELAEF.KEOJKEJMDFM = true; base.StartCoroutine(this.KCMDHBMPLEE(tool)); this.MPBMENOLADG = Time.time; } else { PhotonView photonView = base.CEGDLFAENEJ(); string text = "VR"; IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others; object[] array = new object[1]; array[1] = false; photonView.JJLACCMJEMB(text, ihcpdnljmmd, array); } } } // Token: 0x06002920 RID: 10528 RVA: 0x000C7818 File Offset: 0x000C5A18 public void DPABJFNBCCD(int NFCKMKAFJOD) { if (Time.time - this.LKPDOGCKPBA > 886f) { this.LKPDOGCKPBA = Time.time; base.EKPBHKFHMON().JJLACCMJEMB("by", (IHCPDNLJMMD)8, new object[1]); if (this.FIOLBHFJENN != null) { this.FIOLBHFJENN.SetTrigger(VendingMachine.ENJICBPFGBK[NFCKMKAFJOD]); } if (this.machineFunctionAudioClip != null) { AudioManager.Play3DSFX(this.machineFunctionAudioClip, base.transform, null); } } } // Token: 0x06002921 RID: 10529 RVA: 0x000C78A0 File Offset: 0x000C5AA0 private void HGLLCFOKBNC(bool LOJMICCBPII) { this.FCEGNEJANNL(LOJMICCBPII); } // Token: 0x06002922 RID: 10530 RVA: 0x000C78AC File Offset: 0x000C5AAC private void Start() { foreach (Tool tool in this.productPool.FKEPPMPNKOA) { tool.ACAJJPKPKBH.supportsAnimateIn = false; } } // Token: 0x06002923 RID: 10531 RVA: 0x000C78EC File Offset: 0x000C5AEC private void KEAMDJFHEMP(Tool GAPHCBKGFKN, Vector3 GPLIJKCIELE, Quaternion BJEPFIKAIAD, Vector3 BEDLPFBGLLP, bool MDMECJBCECO) { this.productPool.HLGBMOLAGEM(GAPHCBKGFKN); } // Token: 0x06002925 RID: 10533 RVA: 0x000C7910 File Offset: 0x000C5B10 private void KCMHNMPNGCI() { Tool[] array = this.productPool.COOAOPGCNJE(); for (int i = 1; i < array.Length; i++) { Tool tool = array[i]; tool.ACAJJPKPKBH.supportsAnimateIn = false; } } // Token: 0x06002926 RID: 10534 RVA: 0x000C7950 File Offset: 0x000C5B50 private void BIFEBPKGLCN(bool LOJMICCBPII) { this.INOGDPJPHEJ(LOJMICCBPII); } // Token: 0x06002927 RID: 10535 RVA: 0x000C795C File Offset: 0x000C5B5C private void KLNELLDNHPM() { if (IHFKMIAHBFP.HCHIDMOLLAD && this.productPool != null && Time.time - this.MPBMENOLADG > 231f) { Vector3 vector = ((!(this.productReleaseTransform != null)) ? base.transform.position : this.productReleaseTransform.position); Quaternion quaternion = ((!(this.productReleaseTransform != null)) ? base.transform.rotation : this.productReleaseTransform.rotation); Tool tool = this.productPool.LAKELNLDGLL(vector, quaternion); if (tool != null) { tool.BOLBONELAEF.KEOJKEJMDFM = false; base.StartCoroutine(this.HDBCKIHODLD(tool)); this.MPBMENOLADG = Time.time; } else { PhotonView photonView = base.POOAOJPEDJD(); string text = "1"; IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All; object[] array = new object[1]; array[1] = true; photonView.RPC(text, ihcpdnljmmd, array); } } } // Token: 0x06002928 RID: 10536 RVA: 0x000C7A58 File Offset: 0x000C5C58 public void LADCKOFKGFO(int NFCKMKAFJOD) { if (Time.time - this.LKPDOGCKPBA > 1942f) { this.LKPDOGCKPBA = Time.time; base.OMNGGJICBBI.PKOHKPEKJCJ("RpcMasterRequestPlayerCatch", (IHCPDNLJMMD)8, new object[0]); if (this.FIOLBHFJENN != null) { this.FIOLBHFJENN.SetTrigger(VendingMachine.ENJICBPFGBK[NFCKMKAFJOD]); } if (this.machineFunctionAudioClip != null) { AudioManager.Play3DSFX(this.machineFunctionAudioClip, base.transform, null); } } } // Token: 0x06002929 RID: 10537 RVA: 0x000C7AE0 File Offset: 0x000C5CE0 private IEnumerator KCMDHBMPLEE(Tool CIJJLAPFDKM) { yield return new WaitForSeconds(this.timeBeforeProductDrop); base.OMNGGJICBBI.RPC("RpcOnProductRelease", IHCPDNLJMMD.All, new object[] { true }); CIJJLAPFDKM.BOLBONELAEF.KEOJKEJMDFM = false; yield break; } // Token: 0x0600292A RID: 10538 RVA: 0x000C7B04 File Offset: 0x000C5D04 private void AMGEFDDGBBF(Tool GAPHCBKGFKN, Vector3 GPLIJKCIELE, Quaternion BJEPFIKAIAD, Vector3 BEDLPFBGLLP, bool MDMECJBCECO) { this.productPool.CNGOAHFAOMC(GAPHCBKGFKN); } // Token: 0x0600292B RID: 10539 RVA: 0x000C7B14 File Offset: 0x000C5D14 private void FEGAGIIEBIO() { if (IHFKMIAHBFP.HCHIDMOLLAD && this.productPool != null && Time.time - this.MPBMENOLADG > 498f) { Vector3 vector = ((!(this.productReleaseTransform != null)) ? base.transform.position : this.productReleaseTransform.position); Quaternion quaternion = ((!(this.productReleaseTransform != null)) ? base.transform.rotation : this.productReleaseTransform.rotation); Tool tool = this.productPool.IIBBBDGNIFG(vector, quaternion); if (tool != null) { tool.BOLBONELAEF.KEOJKEJMDFM = false; base.StartCoroutine(this.HDBCKIHODLD(tool)); this.MPBMENOLADG = Time.time; } else { base.ACEAACJNNAF().PKOHKPEKJCJ("SystemInfo", IHCPDNLJMMD.Others, new object[] { false }); } } } // Token: 0x0600292C RID: 10540 RVA: 0x000C7C10 File Offset: 0x000C5E10 private void HHECCCMNJDL() { Tool[] array = this.productPool.MEEGLGKDGDD(); for (int i = 1; i < array.Length; i++) { Tool tool = array[i]; tool.ACAJJPKPKBH.supportsAnimateIn = false; } } // Token: 0x0600292D RID: 10541 RVA: 0x000C7C50 File Offset: 0x000C5E50 private void KKDIACKDLDO(bool LOJMICCBPII) { this.PKBBNKFEIGB(LOJMICCBPII); } // Token: 0x0600292E RID: 10542 RVA: 0x000C7C5C File Offset: 0x000C5E5C private void LOOHMBMHOCI(bool LOJMICCBPII) { this.FFLCHKFFCFJ(LOJMICCBPII); } // Token: 0x0600292F RID: 10543 RVA: 0x000C7C68 File Offset: 0x000C5E68 private void KOAJPNNPHAI(bool LOJMICCBPII) { this.INOGDPJPHEJ(LOJMICCBPII); } // Token: 0x06002930 RID: 10544 RVA: 0x000C7C74 File Offset: 0x000C5E74 protected virtual void ELBDAIAMMGB() { base.LGCNFLACIIH(); if (this.productPool != null) { Tool[] array = this.productPool.KJAPFHHGOEO(); for (int i = 0; i < array.Length; i += 0) { Tool tool = array[i]; tool.MCCMCFBPLJC(new Tool.FKDCEJIOFAF(this.KGODOMKKOLA)); } } this.FIOLBHFJENN = base.GetComponent(); } // Token: 0x06002931 RID: 10545 RVA: 0x000C7CDC File Offset: 0x000C5EDC [BCENPNOIAOM] private void RpcOnProductRelease(bool LOJMICCBPII) { this.INOGDPJPHEJ(LOJMICCBPII); } // Token: 0x06002932 RID: 10546 RVA: 0x000C7CE8 File Offset: 0x000C5EE8 private void JAMDPKFNJBF() { Tool[] array = this.productPool.BAKAAHADPCG(); for (int i = 1; i < array.Length; i++) { Tool tool = array[i]; tool.ACAJJPKPKBH.supportsAnimateIn = false; } } // Token: 0x06002933 RID: 10547 RVA: 0x000C7D28 File Offset: 0x000C5F28 private IEnumerator LMPJGMLHHNC(Tool CIJJLAPFDKM) { yield return new WaitForSeconds(this.timeBeforeProductDrop); base.OMNGGJICBBI.RPC("RpcOnProductRelease", IHCPDNLJMMD.All, new object[] { true }); CIJJLAPFDKM.BOLBONELAEF.KEOJKEJMDFM = false; yield break; } // Token: 0x06002934 RID: 10548 RVA: 0x000C7D4C File Offset: 0x000C5F4C private void MHEOHPPPDHI() { if (IHFKMIAHBFP.HCHIDMOLLAD && this.productPool != null && Time.time - this.MPBMENOLADG > 899f) { Vector3 vector = ((!(this.productReleaseTransform != null)) ? base.transform.position : this.productReleaseTransform.position); Quaternion quaternion = ((!(this.productReleaseTransform != null)) ? base.transform.rotation : this.productReleaseTransform.rotation); Tool tool = this.productPool.JCNFOMPJGAA(vector, quaternion); if (tool != null) { tool.BOLBONELAEF.KEOJKEJMDFM = false; base.StartCoroutine(this.LMPJGMLHHNC(tool)); this.MPBMENOLADG = Time.time; } else { PhotonView photonView = base.CJKKPMHAMCN(); string text = "FACE{0}_DEAD"; IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others; object[] array = new object[1]; array[1] = false; photonView.RPC(text, ihcpdnljmmd, array); } } } // Token: 0x06002935 RID: 10549 RVA: 0x000C7E48 File Offset: 0x000C6048 public void OABNDEIOMIB(int NFCKMKAFJOD) { if (Time.time - this.LKPDOGCKPBA > 1692f) { this.LKPDOGCKPBA = Time.time; base.LHEPJEHMAEC().JJLACCMJEMB("Id", IHCPDNLJMMD.AllBuffered, new object[0]); if (this.FIOLBHFJENN != null) { this.FIOLBHFJENN.SetTrigger(VendingMachine.ENJICBPFGBK[NFCKMKAFJOD]); } if (this.machineFunctionAudioClip != null) { AudioManager.Play3DSFX(this.machineFunctionAudioClip, base.transform, null); } } } // Token: 0x06002936 RID: 10550 RVA: 0x000C7ED0 File Offset: 0x000C60D0 private void BEOLFHPHJNF(bool LOJMICCBPII) { this.INOGDPJPHEJ(LOJMICCBPII); } // Token: 0x06002937 RID: 10551 RVA: 0x000C7EDC File Offset: 0x000C60DC private IEnumerator KIDBPIJAKGF(Tool CIJJLAPFDKM) { yield return new WaitForSeconds(this.timeBeforeProductDrop); base.OMNGGJICBBI.RPC("RpcOnProductRelease", IHCPDNLJMMD.All, new object[] { true }); CIJJLAPFDKM.BOLBONELAEF.KEOJKEJMDFM = false; yield break; } // Token: 0x06002938 RID: 10552 RVA: 0x000C7F00 File Offset: 0x000C6100 private void IFLAEDILIBJ() { Tool[] array = this.productPool.HPGJMLDJCMF(); for (int i = 1; i < array.Length; i++) { Tool tool = array[i]; tool.ACAJJPKPKBH.supportsAnimateIn = false; } } // Token: 0x06002939 RID: 10553 RVA: 0x000C7F40 File Offset: 0x000C6140 private IEnumerator DHAOMHFNGGL(Tool CIJJLAPFDKM) { yield return new WaitForSeconds(this.timeBeforeProductDrop); base.OMNGGJICBBI.RPC("RpcOnProductRelease", IHCPDNLJMMD.All, new object[] { true }); CIJJLAPFDKM.BOLBONELAEF.KEOJKEJMDFM = false; yield break; } // Token: 0x0600293A RID: 10554 RVA: 0x000C7F64 File Offset: 0x000C6164 private void DPOBLHFBINO() { if (IHFKMIAHBFP.HCHIDMOLLAD && this.productPool != null && Time.time - this.MPBMENOLADG > 767f) { Vector3 vector = ((!(this.productReleaseTransform != null)) ? base.transform.position : this.productReleaseTransform.position); Quaternion quaternion = ((!(this.productReleaseTransform != null)) ? base.transform.rotation : this.productReleaseTransform.rotation); Tool tool = this.productPool.IIBBBDGNIFG(vector, quaternion); if (tool != null) { tool.BOLBONELAEF.KEOJKEJMDFM = true; base.StartCoroutine(this.LMPJGMLHHNC(tool)); this.MPBMENOLADG = Time.time; } else { PhotonView photonView = base.OMNGGJICBBI; string text = "Failed to refresh player presence: "; IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others; object[] array = new object[1]; array[1] = false; photonView.PKOHKPEKJCJ(text, ihcpdnljmmd, array); } } } // Token: 0x0600293B RID: 10555 RVA: 0x000C8060 File Offset: 0x000C6260 private void LKIEPFFLNHK() { this.MGLCIKFLEIE(); } // Token: 0x0600293C RID: 10556 RVA: 0x000C8068 File Offset: 0x000C6268 private void PKBBNKFEIGB(bool LOJMICCBPII) { if (LOJMICCBPII) { if (this.productDropAudioClip != null) { AudioManager.Play3DSFX(this.productDropAudioClip, base.transform, null); } } else if (this.machineEmptyAudioClip != null) { AudioManager.Play3DSFX(this.machineEmptyAudioClip, base.transform, null); } } // Token: 0x0600293D RID: 10557 RVA: 0x000C80BC File Offset: 0x000C62BC public void OnVendingButtonPressed(int NFCKMKAFJOD) { if (Time.time - this.LKPDOGCKPBA > 3f) { this.LKPDOGCKPBA = Time.time; base.OMNGGJICBBI.RPC("RpcMasterRequestProductRelease", IHCPDNLJMMD.MasterClient, new object[0]); if (this.FIOLBHFJENN != null) { this.FIOLBHFJENN.SetTrigger(VendingMachine.ENJICBPFGBK[NFCKMKAFJOD]); } if (this.machineFunctionAudioClip != null) { AudioManager.Play3DSFX(this.machineFunctionAudioClip, base.transform, null); } } } // Token: 0x0600293E RID: 10558 RVA: 0x000C8144 File Offset: 0x000C6344 private void GOLHGEMOLMN(bool LOJMICCBPII) { if (LOJMICCBPII) { if (this.productDropAudioClip != null) { AudioManager.Play3DSFX(this.productDropAudioClip, base.transform, null); } } else if (this.machineEmptyAudioClip != null) { AudioManager.Play3DSFX(this.machineEmptyAudioClip, base.transform, null); } } // Token: 0x0600293F RID: 10559 RVA: 0x000C8198 File Offset: 0x000C6398 private IEnumerator MKAPFKFKDNF(Tool CIJJLAPFDKM) { yield return new WaitForSeconds(this.timeBeforeProductDrop); base.OMNGGJICBBI.RPC("RpcOnProductRelease", IHCPDNLJMMD.All, new object[] { true }); CIJJLAPFDKM.BOLBONELAEF.KEOJKEJMDFM = false; yield break; } // Token: 0x06002940 RID: 10560 RVA: 0x000C81BC File Offset: 0x000C63BC public void EEBDBADJAMG(int NFCKMKAFJOD) { if (Time.time - this.LKPDOGCKPBA > 325f) { this.LKPDOGCKPBA = Time.time; base.CEGDLFAENEJ().RPC("Roomscale", IHCPDNLJMMD.AllBuffered, new object[1]); if (this.FIOLBHFJENN != null) { this.FIOLBHFJENN.SetTrigger(VendingMachine.ENJICBPFGBK[NFCKMKAFJOD]); } if (this.machineFunctionAudioClip != null) { AudioManager.Play3DSFX(this.machineFunctionAudioClip, base.transform, null); } } } // Token: 0x06002941 RID: 10561 RVA: 0x000C8244 File Offset: 0x000C6444 private IEnumerator KBNDILCEEBF(Tool CIJJLAPFDKM) { yield return new WaitForSeconds(this.timeBeforeProductDrop); base.OMNGGJICBBI.RPC("RpcOnProductRelease", IHCPDNLJMMD.All, new object[] { true }); CIJJLAPFDKM.BOLBONELAEF.KEOJKEJMDFM = false; yield break; } // Token: 0x06002942 RID: 10562 RVA: 0x000C8268 File Offset: 0x000C6468 private IEnumerator FHGOEMDHKBH(Tool CIJJLAPFDKM) { yield return new WaitForSeconds(this.timeBeforeProductDrop); base.OMNGGJICBBI.RPC("RpcOnProductRelease", IHCPDNLJMMD.All, new object[] { true }); CIJJLAPFDKM.BOLBONELAEF.KEOJKEJMDFM = false; yield break; } // Token: 0x06002943 RID: 10563 RVA: 0x000C828C File Offset: 0x000C648C private IEnumerator FINNPAKINIJ(Tool CIJJLAPFDKM) { yield return new WaitForSeconds(this.timeBeforeProductDrop); base.OMNGGJICBBI.RPC("RpcOnProductRelease", IHCPDNLJMMD.All, new object[] { true }); CIJJLAPFDKM.BOLBONELAEF.KEOJKEJMDFM = false; yield break; } // Token: 0x06002944 RID: 10564 RVA: 0x000C82B0 File Offset: 0x000C64B0 private void BDDGPPFNMGP() { Tool[] array = this.productPool.HPGJMLDJCMF(); for (int i = 1; i < array.Length; i += 0) { Tool tool = array[i]; tool.ACAJJPKPKBH.supportsAnimateIn = false; } } // Token: 0x06002945 RID: 10565 RVA: 0x000C82F0 File Offset: 0x000C64F0 private void INOGDPJPHEJ(bool LOJMICCBPII) { if (LOJMICCBPII) { if (this.productDropAudioClip != null) { AudioManager.Play3DSFX(this.productDropAudioClip, base.transform, null); } } else if (this.machineEmptyAudioClip != null) { AudioManager.Play3DSFX(this.machineEmptyAudioClip, base.transform, null); } } // Token: 0x06002946 RID: 10566 RVA: 0x000C8344 File Offset: 0x000C6544 private void MGLCIKFLEIE() { if (IHFKMIAHBFP.HCHIDMOLLAD && this.productPool != null && Time.time - this.MPBMENOLADG > 5f) { Vector3 vector = ((!(this.productReleaseTransform != null)) ? base.transform.position : this.productReleaseTransform.position); Quaternion quaternion = ((!(this.productReleaseTransform != null)) ? base.transform.rotation : this.productReleaseTransform.rotation); Tool tool = this.productPool.Acquire(vector, quaternion); if (tool != null) { tool.BOLBONELAEF.KEOJKEJMDFM = true; base.StartCoroutine(this.KIDBPIJAKGF(tool)); this.MPBMENOLADG = Time.time; } else { base.OMNGGJICBBI.RPC("RpcOnProductRelease", IHCPDNLJMMD.All, new object[] { false }); } } } // Token: 0x06002947 RID: 10567 RVA: 0x000C8440 File Offset: 0x000C6640 private void KGODOMKKOLA(Tool GAPHCBKGFKN, Vector3 GPLIJKCIELE, Quaternion BJEPFIKAIAD, Vector3 BEDLPFBGLLP, bool MDMECJBCECO) { this.productPool.CNGOAHFAOMC(GAPHCBKGFKN); } // Token: 0x06002948 RID: 10568 RVA: 0x000C8450 File Offset: 0x000C6650 private void PHFPPNMCIOO(Tool GAPHCBKGFKN, Vector3 GPLIJKCIELE, Quaternion BJEPFIKAIAD, Vector3 BEDLPFBGLLP, bool MDMECJBCECO) { this.productPool.HOPANPOFGNF(GAPHCBKGFKN); } // Token: 0x06002949 RID: 10569 RVA: 0x000C8460 File Offset: 0x000C6660 protected virtual void KHENCKEEPDB() { base.LGCNFLACIIH(); if (this.productPool != null) { Tool[] array = this.productPool.HCKMCHCNDPE(); for (int i = 1; i < array.Length; i += 0) { Tool tool = array[i]; tool.POJJFNOCIGE += this.KEAMDJFHEMP; } } this.FIOLBHFJENN = base.GetComponent(); } // Token: 0x0600294A RID: 10570 RVA: 0x000C84C8 File Offset: 0x000C66C8 public void OJAOBENIKNP(int NFCKMKAFJOD) { if (Time.time - this.LKPDOGCKPBA > 353f) { this.LKPDOGCKPBA = Time.time; base.HOPJELLOPNJ().PKOHKPEKJCJ("UserInHeadset", IHCPDNLJMMD.MasterClient, new object[0]); if (this.FIOLBHFJENN != null) { this.FIOLBHFJENN.SetTrigger(VendingMachine.ENJICBPFGBK[NFCKMKAFJOD]); } if (this.machineFunctionAudioClip != null) { AudioManager.Play3DSFX(this.machineFunctionAudioClip, base.transform, null); } } } // Token: 0x0600294B RID: 10571 RVA: 0x000C8550 File Offset: 0x000C6750 private void DBDLGAOKILC() { if (IHFKMIAHBFP.HCHIDMOLLAD && this.productPool != null && Time.time - this.MPBMENOLADG > 241f) { Vector3 vector = ((!(this.productReleaseTransform != null)) ? base.transform.position : this.productReleaseTransform.position); Quaternion quaternion = ((!(this.productReleaseTransform != null)) ? base.transform.rotation : this.productReleaseTransform.rotation); Tool tool = this.productPool.OGBDOIPBFHM(vector, quaternion); if (tool != null) { tool.BOLBONELAEF.KEOJKEJMDFM = false; base.StartCoroutine(this.FHGOEMDHKBH(tool)); this.MPBMENOLADG = Time.time; } else { base.BIPEBCPEPKL().PKOHKPEKJCJ("Anti-Cheat Toolkit Detectors", IHCPDNLJMMD.Others, new object[] { false }); } } } // Token: 0x0600294C RID: 10572 RVA: 0x000C864C File Offset: 0x000C684C private void FCEGNEJANNL(bool LOJMICCBPII) { if (LOJMICCBPII) { if (this.productDropAudioClip != null) { AudioManager.Play3DSFX(this.productDropAudioClip, base.transform, null); } } else if (this.machineEmptyAudioClip != null) { AudioManager.Play3DSFX(this.machineEmptyAudioClip, base.transform, null); } } // Token: 0x0600294E RID: 10574 RVA: 0x000C86EC File Offset: 0x000C68EC private void MOAAJAOGKEO() { foreach (Tool tool in this.productPool.GAOENFCPPJN()) { tool.ACAJJPKPKBH.supportsAnimateIn = false; } } // Token: 0x0600294F RID: 10575 RVA: 0x000C872C File Offset: 0x000C692C private void GFIKFKCIMAP() { this.ODBCFPICBGJ(); } // Token: 0x06002950 RID: 10576 RVA: 0x000C8734 File Offset: 0x000C6934 private void FFLCHKFFCFJ(bool LOJMICCBPII) { if (LOJMICCBPII) { if (this.productDropAudioClip != null) { AudioManager.Play3DSFX(this.productDropAudioClip, base.transform, null); } } else if (this.machineEmptyAudioClip != null) { AudioManager.Play3DSFX(this.machineEmptyAudioClip, base.transform, null); } } // Token: 0x06002951 RID: 10577 RVA: 0x000C8788 File Offset: 0x000C6988 private void JMKCACEICBA(bool LOJMICCBPII) { this.INOGDPJPHEJ(LOJMICCBPII); } // Token: 0x0400056A RID: 1386 [SerializeField] private Transform productReleaseTransform; // Token: 0x0400056B RID: 1387 [SerializeField] private ToolPool productPool; // Token: 0x0400056C RID: 1388 [SerializeField] private float timeBeforeProductDrop = 1.5f; // Token: 0x0400056D RID: 1389 [Header("Audio & Visuals")] [SerializeField] private RecRoomAudioClip machineFunctionAudioClip; // Token: 0x0400056E RID: 1390 [SerializeField] private RecRoomAudioClip productDropAudioClip; // Token: 0x0400056F RID: 1391 [SerializeField] private RecRoomAudioClip machineEmptyAudioClip; // Token: 0x04000570 RID: 1392 private const float DKHPHCIAIAF = 3f; // Token: 0x04000571 RID: 1393 private float LKPDOGCKPBA; // Token: 0x04000572 RID: 1394 private const float MNDEMLFMMGE = 5f; // Token: 0x04000573 RID: 1395 private float MPBMENOLADG; // Token: 0x04000574 RID: 1396 private Animator FIOLBHFJENN; // Token: 0x04000575 RID: 1397 private static readonly int[] ENJICBPFGBK = new int[] { Animator.StringToHash("ButtonDown_1"), Animator.StringToHash("ButtonDown_2"), Animator.StringToHash("ButtonDown_3"), Animator.StringToHash("ButtonDown_4") }; }