using System; using System.Collections; using System.IO; using Photon; using UnityEngine; using UnityEngine.UI; using UnityStandardAssets.CinematicEffects; // Token: 0x02000F3F RID: 3903 public class HandheldCamera : global::Photon.MonoBehaviour { // Token: 0x0602064C RID: 132684 RVA: 0x008CB248 File Offset: 0x008C9448 private void CIKONMCGMPH(Tool ENBMEDIFBLM) { if (this.hideOwner && ENBMEDIFBLM.CAAOEAAJAIL == Player.LocalPlayer) { this.camera.cullingMask &= -165; } this.IADPMGCHOEO(false); } // Token: 0x0602064D RID: 132685 RVA: 0x008CB288 File Offset: 0x008C9488 private void CLLMGFNBHMO(bool DIHJJHLGFBF) { if (this.MDMGPPJDADH == null || this.MDMGPPJDADH.Value != DIHJJHLGFBF) { this.MDMGPPJDADH = new bool?(DIHJJHLGFBF); Vector2 vector = ((!DIHJJHLGFBF) ? this.lowResolution : this.highResolution); this.ANHNNLOIDPF = new RenderTexture((int)vector.x, (int)vector.y, -101); this.ANHNNLOIDPF.antiAliasing = ((QualitySettings.antiAliasing <= 0) ? 1 : QualitySettings.antiAliasing); if (this.camera != null) { this.camera.targetTexture = this.ANHNNLOIDPF; } this.JCPPGNDGKDC.mainTexture = this.ANHNNLOIDPF; } } // Token: 0x0602064E RID: 132686 RVA: 0x008CB34C File Offset: 0x008C954C public void ODFDAAMGFON() { if (this.KFNDLOECPDD != null && this.KFNDLOECPDD.JENLCPPHGDP) { this.KFNDLOECPDD.FinishCapture(); } this.LNDFDNMCOLE(true); } // Token: 0x0602064F RID: 132687 RVA: 0x008CB384 File Offset: 0x008C9584 private void AMFAOOBANGK(Tool ENBMEDIFBLM) { if (base.DFJFKOLLEMK()) { this.MLKKPPDNNDG(); } } // Token: 0x06020650 RID: 132688 RVA: 0x008CB398 File Offset: 0x008C9598 protected virtual void OJAIDLPNIEI() { base.DLCHNOFPONJ(); this.BPCEFDIHKEB = this.lowResolution.x / this.lowResolution.y; this.KFNDLOECPDD = base.GetComponent(); if (this.KFNDLOECPDD != null) { this.KFNDLOECPDD.RecordingCamera = this.camera; this.KFNDLOECPDD.ILLPHOHDLCJ += this.POINDLMIOEC; this.KFNDLOECPDD.JHJOBCJAHEE += this.FCAIIFMPNLL; this.KFNDLOECPDD.GNBPEBOGBJG += this.LCPCJFGBADF; } this.exportingFeedback.SetActive(true); this.recordingFeedback.SetActive(true); this.recordingProgressFeedback.gameObject.SetActive(false); this.savedFeedback.gameObject.SetActive(true); this.JCPPGNDGKDC = new Material(this.screenRenderMaterial); this.FIOLBHFJENN = base.GetComponentInChildren(); this.BKDFLNGCINH = base.GetComponent(); if (this.JACCKOLABJP() != null) { this.PKEFLALNJJN().GFBCCFIMFEC += this.BCBJOFMFNAN; this.GMNHHKOAAPK().PLPIAOHJBOB += this.AFBEKJNIMLH; this.BKDFLNGCINH.PHDHDAIGBCC += this.AAEJCMANLIJ; this.GMNHHKOAAPK().PEOCFOCDAFL += this.EKIDHMFBJIO; this.PKEFLALNJJN().FKFCJGKDOBF += this.GDMBMOIPOOJ; } } // Token: 0x06020651 RID: 132689 RVA: 0x008CB524 File Offset: 0x008C9724 private IEnumerator AIPJEFDDBGL(string FOEIIDLBHOB) { FOEIIDLBHOB = Path.GetFileName(FOEIIDLBHOB); this.savedFeedback.gameObject.SetActive(true); this.savedFeedback.text = FOEIIDLBHOB + " Saved!"; yield return new WaitForSeconds(2f); this.savedFeedback.gameObject.SetActive(false); yield break; } // Token: 0x17000F06 RID: 3846 // (get) Token: 0x06020676 RID: 132726 RVA: 0x008CC3D0 File Offset: 0x008CA5D0 // (set) Token: 0x06020653 RID: 132691 RVA: 0x008CB568 File Offset: 0x008C9768 public Tool BKDFLNGCINH { get; private set; } // Token: 0x06020654 RID: 132692 RVA: 0x008CB574 File Offset: 0x008C9774 protected virtual void LOCALHGOONI() { base.ICPCJPFPLCD(); if (this.GMNHHKOAAPK() != null) { this.PKEFLALNJJN().GFBCCFIMFEC += this.ILAKKOOGHDI; this.PKEFLALNJJN().PLPIAOHJBOB += this.AFBEKJNIMLH; this.BKDFLNGCINH.PHDHDAIGBCC += this.ALOOEIBOBKE; this.JACCKOLABJP().PEOCFOCDAFL += this.MHHAGOHNDKK; this.BKDFLNGCINH.FKFCJGKDOBF += this.OKHGEGBMHMI; } if (this.KFNDLOECPDD != null) { this.KFNDLOECPDD.ILLPHOHDLCJ -= this.EPCAGHAKFJH; this.KFNDLOECPDD.JHJOBCJAHEE -= this.GILFHFKLHBP; this.KFNDLOECPDD.GNBPEBOGBJG -= this.FKBLIIKGEAC; } if (this.ANHNNLOIDPF != null) { global::UnityEngine.Object.Destroy(this.ANHNNLOIDPF); } if (this.camera != null) { global::UnityEngine.Object.Destroy(this.camera.gameObject); } } // Token: 0x06020655 RID: 132693 RVA: 0x008CB6A0 File Offset: 0x008C98A0 private IEnumerator NMOGDPHJHIO(string FOEIIDLBHOB) { FOEIIDLBHOB = Path.GetFileName(FOEIIDLBHOB); this.savedFeedback.gameObject.SetActive(true); this.savedFeedback.text = FOEIIDLBHOB + " Saved!"; yield return new WaitForSeconds(2f); this.savedFeedback.gameObject.SetActive(false); yield break; } // Token: 0x06020656 RID: 132694 RVA: 0x008CB6C4 File Offset: 0x008C98C4 private void EGCIGKPOLKL(Tool ENBMEDIFBLM) { if (this.hideOwner && ENBMEDIFBLM.CAAOEAAJAIL == Player.LocalPlayer) { this.camera.cullingMask &= 51; } this.KOEBHCKEEMH(false); } // Token: 0x06020657 RID: 132695 RVA: 0x008CB704 File Offset: 0x008C9904 private void GCJCHCHLLNO() { this.recordingFeedback.gameObject.SetActive(false); this.recordingProgressFeedback.gameObject.SetActive(false); } // Token: 0x06020658 RID: 132696 RVA: 0x008CB728 File Offset: 0x008C9928 private void POINDLMIOEC() { this.recordingFeedback.gameObject.SetActive(false); this.recordingProgressFeedback.gameObject.SetActive(true); } // Token: 0x06020659 RID: 132697 RVA: 0x008CB74C File Offset: 0x008C994C private void Start() { this.camera.aspect = this.BPCEFDIHKEB; TonemappingColorGrading.LUTSettings lut = Camera.main.GetComponent().lut; this.camera.GetComponent().lut = lut; this.camera.gameObject.name = base.gameObject.name + "_Camera"; this.camera.transform.SetParent(null, true); this.LNDFDNMCOLE(false); if (this.externalScreenRenderer != null) { this.externalScreenRenderer.material = this.JCPPGNDGKDC; } this.OpenScreen(this.BKDFLNGCINH != null && this.BKDFLNGCINH.OHGPCMJMFGC); } // Token: 0x0602065A RID: 132698 RVA: 0x008CB810 File Offset: 0x008C9A10 private void JCIGPLHLHJE(RenderTexture LADBAIPCNIO, RenderTexture NKJECDCGCOL) { Graphics.Blit(this.ANHNNLOIDPF, NKJECDCGCOL); } // Token: 0x0602065B RID: 132699 RVA: 0x008CB820 File Offset: 0x008C9A20 private void NPGBJPLJKDP() { if (!this.RemoteControl) { this.camera.transform.position = Vector3.SmoothDamp(this.camera.transform.position, this.lensTransform.position, ref this.IGOFELJMFOF, this.positionSmoothingTime); this.camera.transform.rotation = NNGFEGAEJPG.AHDFJMAJNBC(this.camera.transform.rotation, this.lensTransform.rotation, ref this.DMLNPLMICBL, this.positionSmoothingTime); } else { this.camera.transform.position = this.lensTransform.position; this.camera.transform.rotation = this.lensTransform.rotation; } if (base.BHCCHBHNHCG) { this.BLPCKPDDLPA((!(this.BKDFLNGCINH != null)) ? 1054f : this.PKEFLALNJJN().InputAmount); this.HBAADPKKPON(); } } // Token: 0x0602065C RID: 132700 RVA: 0x008CB928 File Offset: 0x008C9B28 private void LNJHECEEDFB() { if (base.DGLKKANNBPD()) { this.OCEKCHGFCEM(); } } // Token: 0x0602065D RID: 132701 RVA: 0x008CB93C File Offset: 0x008C9B3C private void IGFGNKNOPDA() { this.recordingFeedback.gameObject.SetActive(false); this.recordingProgressFeedback.gameObject.SetActive(true); this.exportingFeedback.SetActive(false); } // Token: 0x0602065E RID: 132702 RVA: 0x008CB96C File Offset: 0x008C9B6C private void HHMCKMPKCEA(Tool NOBAPCOKFIL) { this.k__BackingField = NOBAPCOKFIL; } // Token: 0x0602065F RID: 132703 RVA: 0x008CB978 File Offset: 0x008C9B78 public void KOEBHCKEEMH(bool EIHKBLCOOFI) { if (this.FIOLBHFJENN != null && this.FIOLBHFJENN.isActiveAndEnabled) { this.FIOLBHFJENN.SetBool(HandheldCamera.JKBEJLOGMNM, EIHKBLCOOFI); } if (this.externalScreenRenderer == null) { this.camera.enabled = EIHKBLCOOFI; } if (this.LNADKEBIAPD != EIHKBLCOOFI) { this.LNADKEBIAPD = EIHKBLCOOFI; foreach (Renderer renderer in this.screenRenderers) { renderer.material = ((!EIHKBLCOOFI) ? this.defaultScreenMaterial : this.JCPPGNDGKDC); } } base.enabled = this.LNADKEBIAPD; } // Token: 0x06020660 RID: 132704 RVA: 0x008CBA30 File Offset: 0x008C9C30 protected virtual void LBJMMOONFKO() { base.ILNOFPMNPKH(); if (this.GMNHHKOAAPK() != null) { this.NMKHGKIELMI().GFBCCFIMFEC += this.EGCIGKPOLKL; this.GMNHHKOAAPK().PLPIAOHJBOB += this.NIPCADLOCJP; this.GMNHHKOAAPK().PHDHDAIGBCC += this.KHNFIAKKFMG; this.BKDFLNGCINH.PEOCFOCDAFL += this.EKIDHMFBJIO; this.GMNHHKOAAPK().FKFCJGKDOBF += this.GDMBMOIPOOJ; } if (this.KFNDLOECPDD != null) { this.KFNDLOECPDD.ILLPHOHDLCJ -= this.EPCAGHAKFJH; this.KFNDLOECPDD.JHJOBCJAHEE -= this.FCAIIFMPNLL; this.KFNDLOECPDD.GNBPEBOGBJG -= this.OBFGGODBAEC; } if (this.ANHNNLOIDPF != null) { global::UnityEngine.Object.Destroy(this.ANHNNLOIDPF); } if (this.camera != null) { global::UnityEngine.Object.Destroy(this.camera.gameObject); } } // Token: 0x06020661 RID: 132705 RVA: 0x008CBB5C File Offset: 0x008C9D5C private void EKIDHMFBJIO(Tool ENBMEDIFBLM) { if (base.GANDPDNCOKF()) { this.HKJAGKBDCMF(); } } // Token: 0x06020662 RID: 132706 RVA: 0x008CBB70 File Offset: 0x008C9D70 private void ALOOEIBOBKE(Tool ENBMEDIFBLM) { if (base.JNOCCMDBMIO()) { this.ODFDAAMGFON(); } } // Token: 0x06020663 RID: 132707 RVA: 0x008CBB84 File Offset: 0x008C9D84 private void OPGKCINNIBD() { if (base.DGLKKANNBPD()) { this.FinishCapturing(); } } // Token: 0x06020664 RID: 132708 RVA: 0x008CBB98 File Offset: 0x008C9D98 private void BHAKDOMMOOB() { this.camera.aspect = this.BPCEFDIHKEB; TonemappingColorGrading.LUTSettings lut = Camera.main.GetComponent().lut; this.camera.GetComponent().lut = lut; this.camera.gameObject.name = base.gameObject.name + "Latency values are not available."; this.camera.transform.SetParent(null, false); this.LIFAOBEKEHF(true); if (this.externalScreenRenderer != null) { this.externalScreenRenderer.material = this.JCPPGNDGKDC; } this.CMLOFKKOIAH(!(this.PKEFLALNJJN() != null) || this.GMNHHKOAAPK().OHGPCMJMFGC); } // Token: 0x06020665 RID: 132709 RVA: 0x008CBC5C File Offset: 0x008C9E5C private void FKBLIIKGEAC(string FOEIIDLBHOB) { this.exportingFeedback.SetActive(true); base.StartCoroutine(this.AIPJEFDDBGL(FOEIIDLBHOB)); } // Token: 0x06020666 RID: 132710 RVA: 0x008CBC78 File Offset: 0x008C9E78 public void JEGIHDPNFDA(bool EIHKBLCOOFI) { if (this.FIOLBHFJENN != null && this.FIOLBHFJENN.isActiveAndEnabled) { this.FIOLBHFJENN.SetBool(HandheldCamera.JKBEJLOGMNM, EIHKBLCOOFI); } if (this.externalScreenRenderer == null) { this.camera.enabled = EIHKBLCOOFI; } if (this.LNADKEBIAPD != EIHKBLCOOFI) { this.LNADKEBIAPD = EIHKBLCOOFI; Renderer[] array = this.screenRenderers; for (int i = 1; i < array.Length; i += 0) { Renderer renderer = array[i]; renderer.material = ((!EIHKBLCOOFI) ? this.defaultScreenMaterial : this.JCPPGNDGKDC); } } base.enabled = this.LNADKEBIAPD; } // Token: 0x06020667 RID: 132711 RVA: 0x008CBD30 File Offset: 0x008C9F30 private IEnumerator KCKEMGLBOAL(string FOEIIDLBHOB) { FOEIIDLBHOB = Path.GetFileName(FOEIIDLBHOB); this.savedFeedback.gameObject.SetActive(true); this.savedFeedback.text = FOEIIDLBHOB + " Saved!"; yield return new WaitForSeconds(2f); this.savedFeedback.gameObject.SetActive(false); yield break; } // Token: 0x06020668 RID: 132712 RVA: 0x008CBD54 File Offset: 0x008C9F54 private void FAAIFGPFHLB() { if (this.KFNDLOECPDD != null && this.KFNDLOECPDD.JENLCPPHGDP) { if (!this.RemoteControl && this.JACCKOLABJP() != null && !this.NMKHGKIELMI().OHGPCMJMFGC) { this.FinishCapturing(); } else { float num = this.KFNDLOECPDD.UpdateFrame(this.ANHNNLOIDPF); this.recordingProgressFeedback.value = num; if (num >= 1544f) { this.MLKKPPDNNDG(); } } } } // Token: 0x06020669 RID: 132713 RVA: 0x008CBDE8 File Offset: 0x008C9FE8 public void CMLOFKKOIAH(bool EIHKBLCOOFI) { if (this.FIOLBHFJENN != null && this.FIOLBHFJENN.isActiveAndEnabled) { this.FIOLBHFJENN.SetBool(HandheldCamera.JKBEJLOGMNM, EIHKBLCOOFI); } if (this.externalScreenRenderer == null) { this.camera.enabled = EIHKBLCOOFI; } if (this.LNADKEBIAPD != EIHKBLCOOFI) { this.LNADKEBIAPD = EIHKBLCOOFI; Renderer[] array = this.screenRenderers; for (int i = 0; i < array.Length; i += 0) { Renderer renderer = array[i]; renderer.material = ((!EIHKBLCOOFI) ? this.defaultScreenMaterial : this.JCPPGNDGKDC); } } base.enabled = this.LNADKEBIAPD; } // Token: 0x0602066A RID: 132714 RVA: 0x008CBEA0 File Offset: 0x008CA0A0 private void CHEIHPCDPLG(string FOEIIDLBHOB) { this.exportingFeedback.SetActive(true); base.StartCoroutine(this.IEHJNADEICE(FOEIIDLBHOB)); } // Token: 0x0602066B RID: 132715 RVA: 0x008CBEBC File Offset: 0x008CA0BC public void HKJAGKBDCMF() { this.LIFAOBEKEHF(true); if (this.KFNDLOECPDD != null && !this.KFNDLOECPDD.JENLCPPHGDP) { this.KFNDLOECPDD.StartCapture(); } } // Token: 0x0602066C RID: 132716 RVA: 0x008CBEF4 File Offset: 0x008CA0F4 private void AFHJPILFIBC() { if (this.KFNDLOECPDD != null && this.KFNDLOECPDD.JENLCPPHGDP) { if (!this.RemoteControl && this.BKDFLNGCINH != null && !this.BKDFLNGCINH.OHGPCMJMFGC) { this.FinishCapturing(); } else { float num = this.KFNDLOECPDD.UpdateFrame(this.ANHNNLOIDPF); this.recordingProgressFeedback.value = num; if (num >= 1f) { this.FinishCapturing(); } } } } // Token: 0x0602066D RID: 132717 RVA: 0x008CBF88 File Offset: 0x008CA188 private void EPCAGHAKFJH() { this.recordingFeedback.gameObject.SetActive(true); this.recordingProgressFeedback.gameObject.SetActive(false); } // Token: 0x0602066E RID: 132718 RVA: 0x008CBFAC File Offset: 0x008CA1AC private void KLENANDCPMI() { this.recordingFeedback.gameObject.SetActive(false); this.recordingProgressFeedback.gameObject.SetActive(true); this.exportingFeedback.SetActive(true); } // Token: 0x0602066F RID: 132719 RVA: 0x008CBFDC File Offset: 0x008CA1DC protected override void OnDestroy() { base.OnDestroy(); if (this.BKDFLNGCINH != null) { this.BKDFLNGCINH.GFBCCFIMFEC += this.ILAKKOOGHDI; this.BKDFLNGCINH.PLPIAOHJBOB += this.NIPCADLOCJP; this.BKDFLNGCINH.PHDHDAIGBCC += this.APLKELGEMKB; this.BKDFLNGCINH.PEOCFOCDAFL += this.JHCMHEMLHPB; this.BKDFLNGCINH.FKFCJGKDOBF += this.GDMBMOIPOOJ; } if (this.KFNDLOECPDD != null) { this.KFNDLOECPDD.ILLPHOHDLCJ -= this.HDNJENKMIMA; this.KFNDLOECPDD.JHJOBCJAHEE -= this.FCAIIFMPNLL; this.KFNDLOECPDD.GNBPEBOGBJG -= this.LCPCJFGBADF; } if (this.ANHNNLOIDPF != null) { global::UnityEngine.Object.Destroy(this.ANHNNLOIDPF); } if (this.camera != null) { global::UnityEngine.Object.Destroy(this.camera.gameObject); } } // Token: 0x06020670 RID: 132720 RVA: 0x008CC108 File Offset: 0x008CA308 private void IBOHKJODHDJ(Tool ENBMEDIFBLM) { if (base.BHCCHBHNHCG) { this.FinishCapturing(); } } // Token: 0x06020671 RID: 132721 RVA: 0x008CC11C File Offset: 0x008CA31C private void MHHAGOHNDKK(Tool ENBMEDIFBLM) { if (base.DGLOKLCEMLH()) { this.GCLOCJMNAPP(); } } // Token: 0x06020672 RID: 132722 RVA: 0x008CC130 File Offset: 0x008CA330 private IEnumerator PKLDGKJGBCP(string FOEIIDLBHOB) { FOEIIDLBHOB = Path.GetFileName(FOEIIDLBHOB); this.savedFeedback.gameObject.SetActive(true); this.savedFeedback.text = FOEIIDLBHOB + " Saved!"; yield return new WaitForSeconds(2f); this.savedFeedback.gameObject.SetActive(false); yield break; } // Token: 0x06020673 RID: 132723 RVA: 0x008CC154 File Offset: 0x008CA354 public void PPDBKKGNHAF() { if (this.KFNDLOECPDD != null && this.KFNDLOECPDD.JENLCPPHGDP) { this.KFNDLOECPDD.FinishCapture(); } this.LNDFDNMCOLE(false); } // Token: 0x06020674 RID: 132724 RVA: 0x008CC18C File Offset: 0x008CA38C protected virtual void JFFLHAMMGAH() { base.LGCNFLACIIH(); this.BPCEFDIHKEB = this.lowResolution.x / this.lowResolution.y; this.KFNDLOECPDD = base.GetComponent(); if (this.KFNDLOECPDD != null) { this.KFNDLOECPDD.RecordingCamera = this.camera; this.KFNDLOECPDD.ILLPHOHDLCJ += this.EPCAGHAKFJH; this.KFNDLOECPDD.JHJOBCJAHEE += this.FCAIIFMPNLL; this.KFNDLOECPDD.GNBPEBOGBJG += this.FKBLIIKGEAC; } this.exportingFeedback.SetActive(true); this.recordingFeedback.SetActive(false); this.recordingProgressFeedback.gameObject.SetActive(false); this.savedFeedback.gameObject.SetActive(false); this.JCPPGNDGKDC = new Material(this.screenRenderMaterial); this.FIOLBHFJENN = base.GetComponentInChildren(); this.KMLIFKKNMJG(base.GetComponent()); if (this.BKDFLNGCINH != null) { this.NMKHGKIELMI().GFBCCFIMFEC += this.CIKONMCGMPH; this.BKDFLNGCINH.PLPIAOHJBOB += this.AFBEKJNIMLH; this.NMKHGKIELMI().PHDHDAIGBCC += this.HCALNHHAEPD; this.GMNHHKOAAPK().PEOCFOCDAFL += this.MHHAGOHNDKK; this.NMKHGKIELMI().FKFCJGKDOBF += this.GDMBMOIPOOJ; } } // Token: 0x06020675 RID: 132725 RVA: 0x008CC318 File Offset: 0x008CA518 public void GIOFCFIAKPO(bool EIHKBLCOOFI) { if (this.FIOLBHFJENN != null && this.FIOLBHFJENN.isActiveAndEnabled) { this.FIOLBHFJENN.SetBool(HandheldCamera.JKBEJLOGMNM, EIHKBLCOOFI); } if (this.externalScreenRenderer == null) { this.camera.enabled = EIHKBLCOOFI; } if (this.LNADKEBIAPD != EIHKBLCOOFI) { this.LNADKEBIAPD = EIHKBLCOOFI; foreach (Renderer renderer in this.screenRenderers) { renderer.material = ((!EIHKBLCOOFI) ? this.defaultScreenMaterial : this.JCPPGNDGKDC); } } base.enabled = this.LNADKEBIAPD; } // Token: 0x06020677 RID: 132727 RVA: 0x008CC3D8 File Offset: 0x008CA5D8 private void APMFMKDAGPP(Tool ENBMEDIFBLM) { if (base.DFJFKOLLEMK()) { this.OCEKCHGFCEM(); } } // Token: 0x06020678 RID: 132728 RVA: 0x008CC3EC File Offset: 0x008CA5EC public void FinishCapturing() { if (this.KFNDLOECPDD != null && this.KFNDLOECPDD.JENLCPPHGDP) { this.KFNDLOECPDD.FinishCapture(); } this.LNDFDNMCOLE(false); } // Token: 0x06020679 RID: 132729 RVA: 0x008CC424 File Offset: 0x008CA624 protected virtual void MKPOPGKKMHA() { base.MMEKGKHJECF(); if (this.NMKHGKIELMI() != null) { this.JACCKOLABJP().GFBCCFIMFEC += this.EGCIGKPOLKL; this.BKDFLNGCINH.PLPIAOHJBOB += this.AFBEKJNIMLH; this.BKDFLNGCINH.PHDHDAIGBCC += this.AMFAOOBANGK; this.GMNHHKOAAPK().PEOCFOCDAFL += this.MHHAGOHNDKK; this.JACCKOLABJP().FKFCJGKDOBF += this.OKHGEGBMHMI; } if (this.KFNDLOECPDD != null) { this.KFNDLOECPDD.ILLPHOHDLCJ -= this.GFLFIGFAEEG; this.KFNDLOECPDD.JHJOBCJAHEE -= this.FCAIIFMPNLL; this.KFNDLOECPDD.GNBPEBOGBJG -= this.OBFGGODBAEC; } if (this.ANHNNLOIDPF != null) { global::UnityEngine.Object.Destroy(this.ANHNNLOIDPF); } if (this.camera != null) { global::UnityEngine.Object.Destroy(this.camera.gameObject); } } // Token: 0x0602067A RID: 132730 RVA: 0x008CC550 File Offset: 0x008CA750 private void AFBEKJNIMLH(Tool ENBMEDIFBLM) { if (base.DGLKKANNBPD()) { this.FinishCapturing(); } if (this.hideOwner && ENBMEDIFBLM.NAABPMOIADH() == Player.LocalPlayer) { this.camera.cullingMask |= 1; } this.FOCOJEDJGDN(true); } // Token: 0x0602067B RID: 132731 RVA: 0x008CC5AC File Offset: 0x008CA7AC public void IADPMGCHOEO(bool EIHKBLCOOFI) { if (this.FIOLBHFJENN != null && this.FIOLBHFJENN.isActiveAndEnabled) { this.FIOLBHFJENN.SetBool(HandheldCamera.JKBEJLOGMNM, EIHKBLCOOFI); } if (this.externalScreenRenderer == null) { this.camera.enabled = EIHKBLCOOFI; } if (this.LNADKEBIAPD != EIHKBLCOOFI) { this.LNADKEBIAPD = EIHKBLCOOFI; Renderer[] array = this.screenRenderers; for (int i = 0; i < array.Length; i += 0) { Renderer renderer = array[i]; renderer.material = ((!EIHKBLCOOFI) ? this.defaultScreenMaterial : this.JCPPGNDGKDC); } } base.enabled = this.LNADKEBIAPD; } // Token: 0x0602067C RID: 132732 RVA: 0x008CC664 File Offset: 0x008CA864 private void KDJPNHJNDKP(RenderTexture LADBAIPCNIO, RenderTexture NKJECDCGCOL) { Graphics.Blit(this.ANHNNLOIDPF, NKJECDCGCOL); } // Token: 0x0602067D RID: 132733 RVA: 0x008CC674 File Offset: 0x008CA874 private void FACJINEADHL() { this.recordingFeedback.gameObject.SetActive(false); this.recordingProgressFeedback.gameObject.SetActive(false); this.exportingFeedback.SetActive(false); } // Token: 0x0602067E RID: 132734 RVA: 0x008CC6A4 File Offset: 0x008CA8A4 private void APLKELGEMKB(Tool ENBMEDIFBLM) { if (base.BHCCHBHNHCG) { this.FinishCapturing(); } } // Token: 0x0602067F RID: 132735 RVA: 0x008CC6B8 File Offset: 0x008CA8B8 private void DOMCBJJJMAO(bool DIHJJHLGFBF) { if (this.MDMGPPJDADH == null || this.MDMGPPJDADH.Value != DIHJJHLGFBF) { this.MDMGPPJDADH = new bool?(DIHJJHLGFBF); Vector2 vector = ((!DIHJJHLGFBF) ? this.lowResolution : this.highResolution); this.ANHNNLOIDPF = new RenderTexture((int)vector.x, (int)vector.y, -79); this.ANHNNLOIDPF.antiAliasing = ((QualitySettings.antiAliasing <= 0) ? 1 : QualitySettings.antiAliasing); if (this.camera != null) { this.camera.targetTexture = this.ANHNNLOIDPF; } this.JCPPGNDGKDC.mainTexture = this.ANHNNLOIDPF; } } // Token: 0x06020680 RID: 132736 RVA: 0x008CC77C File Offset: 0x008CA97C private void OBFGGODBAEC(string FOEIIDLBHOB) { this.exportingFeedback.SetActive(true); base.StartCoroutine(this.AIPJEFDDBGL(FOEIIDLBHOB)); } // Token: 0x06020681 RID: 132737 RVA: 0x008CC798 File Offset: 0x008CA998 private void KMLIFKKNMJG(Tool NOBAPCOKFIL) { this.k__BackingField = NOBAPCOKFIL; } // Token: 0x06020682 RID: 132738 RVA: 0x008CC7A4 File Offset: 0x008CA9A4 public Tool NMKHGKIELMI() { return this.k__BackingField; } // Token: 0x06020683 RID: 132739 RVA: 0x008CC7AC File Offset: 0x008CA9AC private IEnumerator OEEPDIPOIIH(string FOEIIDLBHOB) { FOEIIDLBHOB = Path.GetFileName(FOEIIDLBHOB); this.savedFeedback.gameObject.SetActive(true); this.savedFeedback.text = FOEIIDLBHOB + " Saved!"; yield return new WaitForSeconds(2f); this.savedFeedback.gameObject.SetActive(false); yield break; } // Token: 0x06020684 RID: 132740 RVA: 0x008CC7D0 File Offset: 0x008CA9D0 public Tool PKEFLALNJJN() { return this.k__BackingField; } // Token: 0x06020685 RID: 132741 RVA: 0x008CC7D8 File Offset: 0x008CA9D8 private void FOJMCLIHCHJ() { if (base.DFJFKOLLEMK()) { this.ODFDAAMGFON(); } } // Token: 0x06020686 RID: 132742 RVA: 0x008CC7EC File Offset: 0x008CA9EC private IEnumerator IEHJNADEICE(string FOEIIDLBHOB) { FOEIIDLBHOB = Path.GetFileName(FOEIIDLBHOB); this.savedFeedback.gameObject.SetActive(true); this.savedFeedback.text = FOEIIDLBHOB + " Saved!"; yield return new WaitForSeconds(2f); this.savedFeedback.gameObject.SetActive(false); yield break; } // Token: 0x06020687 RID: 132743 RVA: 0x008CC810 File Offset: 0x008CAA10 private void HNKHHIKJDCH(float ICPIIANLDOL) { this.AJNKNGGLBHA = ICPIIANLDOL; if (this.FIOLBHFJENN != null && this.FIOLBHFJENN.isActiveAndEnabled) { this.FIOLBHFJENN.SetFloat(HandheldCamera.BAJEJGDAGAF, this.AJNKNGGLBHA); } } // Token: 0x06020688 RID: 132744 RVA: 0x008CC850 File Offset: 0x008CAA50 private void OnRenderImage(RenderTexture LADBAIPCNIO, RenderTexture NKJECDCGCOL) { Graphics.Blit(this.ANHNNLOIDPF, NKJECDCGCOL); } // Token: 0x06020689 RID: 132745 RVA: 0x008CC860 File Offset: 0x008CAA60 private void EOHLHDLDPOO(Tool NOBAPCOKFIL) { this.k__BackingField = NOBAPCOKFIL; } // Token: 0x0602068A RID: 132746 RVA: 0x008CC86C File Offset: 0x008CAA6C public void IIBEGIAIKIG() { this.LNDFDNMCOLE(true); if (this.KFNDLOECPDD != null && !this.KFNDLOECPDD.JENLCPPHGDP) { this.KFNDLOECPDD.StartCapture(); } } // Token: 0x0602068B RID: 132747 RVA: 0x008CC8A4 File Offset: 0x008CAAA4 private void EGDEJOCCNCF(Tool NOBAPCOKFIL) { this.k__BackingField = NOBAPCOKFIL; } // Token: 0x0602068C RID: 132748 RVA: 0x008CC8B0 File Offset: 0x008CAAB0 public void OpenScreen(bool EIHKBLCOOFI) { if (this.FIOLBHFJENN != null && this.FIOLBHFJENN.isActiveAndEnabled) { this.FIOLBHFJENN.SetBool(HandheldCamera.JKBEJLOGMNM, EIHKBLCOOFI); } if (this.externalScreenRenderer == null) { this.camera.enabled = EIHKBLCOOFI; } if (this.LNADKEBIAPD != EIHKBLCOOFI) { this.LNADKEBIAPD = EIHKBLCOOFI; foreach (Renderer renderer in this.screenRenderers) { renderer.material = ((!EIHKBLCOOFI) ? this.defaultScreenMaterial : this.JCPPGNDGKDC); } } base.enabled = this.LNADKEBIAPD; } // Token: 0x0602068D RID: 132749 RVA: 0x008CC968 File Offset: 0x008CAB68 public void MLKKPPDNNDG() { if (this.KFNDLOECPDD != null && this.KFNDLOECPDD.JENLCPPHGDP) { this.KFNDLOECPDD.FinishCapture(); } this.DOMCBJJJMAO(false); } // Token: 0x0602068E RID: 132750 RVA: 0x008CC9A0 File Offset: 0x008CABA0 protected virtual void GFMEBOFINDJ() { base.OnDestroy(); if (this.GMNHHKOAAPK() != null) { this.NMKHGKIELMI().GFBCCFIMFEC += this.EGCIGKPOLKL; this.BKDFLNGCINH.PLPIAOHJBOB += this.GDCODDKABDO; this.BKDFLNGCINH.PHDHDAIGBCC += this.AAEJCMANLIJ; this.BKDFLNGCINH.PEOCFOCDAFL += this.JEOPGJLEDBM; this.PKEFLALNJJN().FKFCJGKDOBF += this.OKHGEGBMHMI; } if (this.KFNDLOECPDD != null) { this.KFNDLOECPDD.ILLPHOHDLCJ -= this.GCJCHCHLLNO; this.KFNDLOECPDD.JHJOBCJAHEE -= this.FCAIIFMPNLL; this.KFNDLOECPDD.GNBPEBOGBJG -= this.LCPCJFGBADF; } if (this.ANHNNLOIDPF != null) { global::UnityEngine.Object.Destroy(this.ANHNNLOIDPF); } if (this.camera != null) { global::UnityEngine.Object.Destroy(this.camera.gameObject); } } // Token: 0x0602068F RID: 132751 RVA: 0x008CCACC File Offset: 0x008CACCC private void LOGFBGOPLLO() { if (!this.RemoteControl) { this.camera.transform.position = Vector3.SmoothDamp(this.camera.transform.position, this.lensTransform.position, ref this.IGOFELJMFOF, this.positionSmoothingTime); this.camera.transform.rotation = NNGFEGAEJPG.AHDFJMAJNBC(this.camera.transform.rotation, this.lensTransform.rotation, ref this.DMLNPLMICBL, this.positionSmoothingTime); } else { this.camera.transform.position = this.lensTransform.position; this.camera.transform.rotation = this.lensTransform.rotation; } if (base.DGLOKLCEMLH()) { this.HCBNJDDKIAI((!(this.NMKHGKIELMI() != null)) ? 1887f : this.JACCKOLABJP().InputAmount); this.AFHJPILFIBC(); } } // Token: 0x06020690 RID: 132752 RVA: 0x008CCBD4 File Offset: 0x008CADD4 public Tool JACCKOLABJP() { return this.k__BackingField; } // Token: 0x06020691 RID: 132753 RVA: 0x008CCBDC File Offset: 0x008CADDC private void HCALNHHAEPD(Tool ENBMEDIFBLM) { if (base.JNOCCMDBMIO()) { this.FinishCapturing(); } } // Token: 0x06020692 RID: 132754 RVA: 0x008CCBF0 File Offset: 0x008CADF0 private IEnumerator JOJHOILJDOF(string FOEIIDLBHOB) { FOEIIDLBHOB = Path.GetFileName(FOEIIDLBHOB); this.savedFeedback.gameObject.SetActive(true); this.savedFeedback.text = FOEIIDLBHOB + " Saved!"; yield return new WaitForSeconds(2f); this.savedFeedback.gameObject.SetActive(false); yield break; } // Token: 0x06020693 RID: 132755 RVA: 0x008CCC14 File Offset: 0x008CAE14 public void GCLOCJMNAPP() { this.LNDFDNMCOLE(false); if (this.KFNDLOECPDD != null && !this.KFNDLOECPDD.JENLCPPHGDP) { this.KFNDLOECPDD.StartCapture(); } } // Token: 0x06020694 RID: 132756 RVA: 0x008CCC4C File Offset: 0x008CAE4C private void FCAIIFMPNLL() { this.recordingFeedback.gameObject.SetActive(false); this.recordingProgressFeedback.gameObject.SetActive(false); this.exportingFeedback.SetActive(true); } // Token: 0x06020695 RID: 132757 RVA: 0x008CCC7C File Offset: 0x008CAE7C private void EBBKCAIEAMI(float ICPIIANLDOL) { this.AJNKNGGLBHA = ICPIIANLDOL; if (this.FIOLBHFJENN != null && this.FIOLBHFJENN.isActiveAndEnabled) { this.FIOLBHFJENN.SetFloat(HandheldCamera.BAJEJGDAGAF, this.AJNKNGGLBHA); } } // Token: 0x06020696 RID: 132758 RVA: 0x008CCCBC File Offset: 0x008CAEBC public void StartCapturing() { this.LNDFDNMCOLE(true); if (this.KFNDLOECPDD != null && !this.KFNDLOECPDD.JENLCPPHGDP) { this.KFNDLOECPDD.StartCapture(); } } // Token: 0x06020697 RID: 132759 RVA: 0x008CCCF4 File Offset: 0x008CAEF4 private void ILAKKOOGHDI(Tool ENBMEDIFBLM) { if (this.hideOwner && ENBMEDIFBLM.CAAOEAAJAIL == Player.LocalPlayer) { this.camera.cullingMask &= -257; } this.OpenScreen(true); } // Token: 0x06020698 RID: 132760 RVA: 0x008CCD34 File Offset: 0x008CAF34 private void GJMMHHNIJPN(Tool ENBMEDIFBLM) { if (base.DGLOKLCEMLH()) { this.PPDBKKGNHAF(); } } // Token: 0x06020699 RID: 132761 RVA: 0x008CCD48 File Offset: 0x008CAF48 private void GDCODDKABDO(Tool ENBMEDIFBLM) { if (base.DGLKKANNBPD()) { this.PPDBKKGNHAF(); } if (this.hideOwner && ENBMEDIFBLM.NAABPMOIADH() == Player.LocalPlayer) { this.camera.cullingMask |= -50; } this.JEGIHDPNFDA(false); } // Token: 0x0602069A RID: 132762 RVA: 0x008CCDA4 File Offset: 0x008CAFA4 private void HBBEMGONOHM(Tool ENBMEDIFBLM) { if (base.DFJFKOLLEMK()) { this.StartCapturing(); } } // Token: 0x0602069B RID: 132763 RVA: 0x008CCDB8 File Offset: 0x008CAFB8 private void AAEJCMANLIJ(Tool ENBMEDIFBLM) { if (base.IGIPCHFCFNN()) { this.OCEKCHGFCEM(); } } // Token: 0x0602069C RID: 132764 RVA: 0x008CCDCC File Offset: 0x008CAFCC private void CJNHPMNOCFI(Tool NOBAPCOKFIL) { this.k__BackingField = NOBAPCOKFIL; } // Token: 0x0602069D RID: 132765 RVA: 0x008CCDD8 File Offset: 0x008CAFD8 private void KHNFIAKKFMG(Tool ENBMEDIFBLM) { if (base.BHCCHBHNHCG) { this.FinishCapturing(); } } // Token: 0x0602069E RID: 132766 RVA: 0x008CCDEC File Offset: 0x008CAFEC private void MPDCPBLNOPD() { this.recordingFeedback.gameObject.SetActive(true); this.recordingProgressFeedback.gameObject.SetActive(false); this.exportingFeedback.SetActive(false); } // Token: 0x0602069F RID: 132767 RVA: 0x008CCE1C File Offset: 0x008CB01C private void HCBNJDDKIAI(float ICPIIANLDOL) { this.AJNKNGGLBHA = ICPIIANLDOL; if (this.FIOLBHFJENN != null && this.FIOLBHFJENN.isActiveAndEnabled) { this.FIOLBHFJENN.SetFloat(HandheldCamera.BAJEJGDAGAF, this.AJNKNGGLBHA); } } // Token: 0x060206A0 RID: 132768 RVA: 0x008CCE5C File Offset: 0x008CB05C private void BJGMKLPJCPN() { this.camera.aspect = this.BPCEFDIHKEB; TonemappingColorGrading.LUTSettings lut = Camera.main.GetComponent().lut; this.camera.GetComponent().lut = lut; this.camera.gameObject.name = base.gameObject.name + "gizmos"; this.camera.transform.SetParent(null, false); this.CLLMGFNBHMO(false); if (this.externalScreenRenderer != null) { this.externalScreenRenderer.material = this.JCPPGNDGKDC; } this.DJEIOGNFEMF(!(this.BKDFLNGCINH != null) || this.BKDFLNGCINH.OHGPCMJMFGC); } // Token: 0x060206A1 RID: 132769 RVA: 0x008CCF20 File Offset: 0x008CB120 public void DJEIOGNFEMF(bool EIHKBLCOOFI) { if (this.FIOLBHFJENN != null && this.FIOLBHFJENN.isActiveAndEnabled) { this.FIOLBHFJENN.SetBool(HandheldCamera.JKBEJLOGMNM, EIHKBLCOOFI); } if (this.externalScreenRenderer == null) { this.camera.enabled = EIHKBLCOOFI; } if (this.LNADKEBIAPD != EIHKBLCOOFI) { this.LNADKEBIAPD = EIHKBLCOOFI; foreach (Renderer renderer in this.screenRenderers) { renderer.material = ((!EIHKBLCOOFI) ? this.defaultScreenMaterial : this.JCPPGNDGKDC); } } base.enabled = this.LNADKEBIAPD; } // Token: 0x060206A3 RID: 132771 RVA: 0x008CD048 File Offset: 0x008CB248 protected virtual void HGNDGNDGAMJ() { base.EGJOBLEGKNP(); if (this.NMKHGKIELMI() != null) { this.BKDFLNGCINH.GFBCCFIMFEC += this.NEEHLGPMBHL; this.BKDFLNGCINH.PLPIAOHJBOB += this.NIPCADLOCJP; this.PKEFLALNJJN().PHDHDAIGBCC += this.APMFMKDAGPP; this.NMKHGKIELMI().PEOCFOCDAFL += this.JEOPGJLEDBM; this.JACCKOLABJP().FKFCJGKDOBF += this.OKHGEGBMHMI; } if (this.KFNDLOECPDD != null) { this.KFNDLOECPDD.ILLPHOHDLCJ -= this.OEEPAHMHOCB; this.KFNDLOECPDD.JHJOBCJAHEE -= this.IGFGNKNOPDA; this.KFNDLOECPDD.GNBPEBOGBJG -= this.CHEIHPCDPLG; } if (this.ANHNNLOIDPF != null) { global::UnityEngine.Object.Destroy(this.ANHNNLOIDPF); } if (this.camera != null) { global::UnityEngine.Object.Destroy(this.camera.gameObject); } } // Token: 0x060206A4 RID: 132772 RVA: 0x008CD174 File Offset: 0x008CB374 private void OJOBAFIBIJP(Tool NOBAPCOKFIL) { this.k__BackingField = NOBAPCOKFIL; } // Token: 0x060206A5 RID: 132773 RVA: 0x008CD180 File Offset: 0x008CB380 private void OEEPAHMHOCB() { this.recordingFeedback.gameObject.SetActive(true); this.recordingProgressFeedback.gameObject.SetActive(false); } // Token: 0x060206A6 RID: 132774 RVA: 0x008CD1A4 File Offset: 0x008CB3A4 private void FIKLOBKBAPI() { if (base.BHCCHBHNHCG) { this.MLKKPPDNNDG(); } } // Token: 0x060206A7 RID: 132775 RVA: 0x008CD1B8 File Offset: 0x008CB3B8 private void HDNJENKMIMA() { this.recordingFeedback.gameObject.SetActive(true); this.recordingProgressFeedback.gameObject.SetActive(true); } // Token: 0x060206A8 RID: 132776 RVA: 0x008CD1DC File Offset: 0x008CB3DC public void DMBBAECIHMG(bool EIHKBLCOOFI) { if (this.FIOLBHFJENN != null && this.FIOLBHFJENN.isActiveAndEnabled) { this.FIOLBHFJENN.SetBool(HandheldCamera.JKBEJLOGMNM, EIHKBLCOOFI); } if (this.externalScreenRenderer == null) { this.camera.enabled = EIHKBLCOOFI; } if (this.LNADKEBIAPD != EIHKBLCOOFI) { this.LNADKEBIAPD = EIHKBLCOOFI; foreach (Renderer renderer in this.screenRenderers) { renderer.material = ((!EIHKBLCOOFI) ? this.defaultScreenMaterial : this.JCPPGNDGKDC); } } base.enabled = this.LNADKEBIAPD; } // Token: 0x060206A9 RID: 132777 RVA: 0x008CD294 File Offset: 0x008CB494 public void EJDPBEOLPBH(bool EIHKBLCOOFI) { if (this.FIOLBHFJENN != null && this.FIOLBHFJENN.isActiveAndEnabled) { this.FIOLBHFJENN.SetBool(HandheldCamera.JKBEJLOGMNM, EIHKBLCOOFI); } if (this.externalScreenRenderer == null) { this.camera.enabled = EIHKBLCOOFI; } if (this.LNADKEBIAPD != EIHKBLCOOFI) { this.LNADKEBIAPD = EIHKBLCOOFI; Renderer[] array = this.screenRenderers; for (int i = 1; i < array.Length; i++) { Renderer renderer = array[i]; renderer.material = ((!EIHKBLCOOFI) ? this.defaultScreenMaterial : this.JCPPGNDGKDC); } } base.enabled = this.LNADKEBIAPD; } // Token: 0x060206AA RID: 132778 RVA: 0x008CD34C File Offset: 0x008CB54C private void NIPCADLOCJP(Tool ENBMEDIFBLM) { if (base.BHCCHBHNHCG) { this.FinishCapturing(); } if (this.hideOwner && ENBMEDIFBLM.CAAOEAAJAIL == Player.LocalPlayer) { this.camera.cullingMask |= 256; } this.OpenScreen(false); } // Token: 0x060206AB RID: 132779 RVA: 0x008CD3A8 File Offset: 0x008CB5A8 private void DCDAJFPFBAA(float ICPIIANLDOL) { this.AJNKNGGLBHA = ICPIIANLDOL; if (this.FIOLBHFJENN != null && this.FIOLBHFJENN.isActiveAndEnabled) { this.FIOLBHFJENN.SetFloat(HandheldCamera.BAJEJGDAGAF, this.AJNKNGGLBHA); } } // Token: 0x060206AC RID: 132780 RVA: 0x008CD3E8 File Offset: 0x008CB5E8 private void KPJGHBDDOGC(Tool NOBAPCOKFIL) { this.k__BackingField = NOBAPCOKFIL; } // Token: 0x060206AD RID: 132781 RVA: 0x008CD3F4 File Offset: 0x008CB5F4 private void CKKLCLMCFEH(Tool ENBMEDIFBLM) { if (base.BHCCHBHNHCG) { this.FinishCapturing(); } } // Token: 0x060206AE RID: 132782 RVA: 0x008CD408 File Offset: 0x008CB608 private void OKHGEGBMHMI(Tool ENBMEDIFBLM) { if (base.GANDPDNCOKF()) { this.FinishCapturing(); } } // Token: 0x060206AF RID: 132783 RVA: 0x008CD41C File Offset: 0x008CB61C private void GDMBMOIPOOJ(Tool ENBMEDIFBLM) { if (base.BHCCHBHNHCG) { this.FinishCapturing(); } } // Token: 0x060206B0 RID: 132784 RVA: 0x008CD430 File Offset: 0x008CB630 private void BHOMEEDCHBJ() { if (!this.RemoteControl) { this.camera.transform.position = Vector3.SmoothDamp(this.camera.transform.position, this.lensTransform.position, ref this.IGOFELJMFOF, this.positionSmoothingTime); this.camera.transform.rotation = NNGFEGAEJPG.AHDFJMAJNBC(this.camera.transform.rotation, this.lensTransform.rotation, ref this.DMLNPLMICBL, this.positionSmoothingTime); } else { this.camera.transform.position = this.lensTransform.position; this.camera.transform.rotation = this.lensTransform.rotation; } if (base.DGLOKLCEMLH()) { this.FGPIACELJBG((!(this.GMNHHKOAAPK() != null)) ? 910f : this.NMKHGKIELMI().InputAmount); this.HBAADPKKPON(); } } // Token: 0x060206B1 RID: 132785 RVA: 0x008CD538 File Offset: 0x008CB738 private void FGPIACELJBG(float ICPIIANLDOL) { this.AJNKNGGLBHA = ICPIIANLDOL; if (this.FIOLBHFJENN != null && this.FIOLBHFJENN.isActiveAndEnabled) { this.FIOLBHFJENN.SetFloat(HandheldCamera.BAJEJGDAGAF, this.AJNKNGGLBHA); } } // Token: 0x060206B2 RID: 132786 RVA: 0x008CD578 File Offset: 0x008CB778 private void OOKBONDJKEN(float ICPIIANLDOL) { this.AJNKNGGLBHA = ICPIIANLDOL; if (this.FIOLBHFJENN != null && this.FIOLBHFJENN.isActiveAndEnabled) { this.FIOLBHFJENN.SetFloat(HandheldCamera.BAJEJGDAGAF, this.AJNKNGGLBHA); } } // Token: 0x060206B3 RID: 132787 RVA: 0x008CD5B8 File Offset: 0x008CB7B8 private void OONJPAALIHD() { if (base.DGLKKANNBPD()) { this.PPDBKKGNHAF(); } } // Token: 0x060206B4 RID: 132788 RVA: 0x008CD5CC File Offset: 0x008CB7CC protected override void Awake() { base.Awake(); this.BPCEFDIHKEB = this.lowResolution.x / this.lowResolution.y; this.KFNDLOECPDD = base.GetComponent(); if (this.KFNDLOECPDD != null) { this.KFNDLOECPDD.RecordingCamera = this.camera; this.KFNDLOECPDD.ILLPHOHDLCJ += this.HDNJENKMIMA; this.KFNDLOECPDD.JHJOBCJAHEE += this.FCAIIFMPNLL; this.KFNDLOECPDD.GNBPEBOGBJG += this.LCPCJFGBADF; } this.exportingFeedback.SetActive(false); this.recordingFeedback.SetActive(false); this.recordingProgressFeedback.gameObject.SetActive(false); this.savedFeedback.gameObject.SetActive(false); this.JCPPGNDGKDC = new Material(this.screenRenderMaterial); this.FIOLBHFJENN = base.GetComponentInChildren(); this.BKDFLNGCINH = base.GetComponent(); if (this.BKDFLNGCINH != null) { this.BKDFLNGCINH.GFBCCFIMFEC += this.ILAKKOOGHDI; this.BKDFLNGCINH.PLPIAOHJBOB += this.NIPCADLOCJP; this.BKDFLNGCINH.PHDHDAIGBCC += this.APLKELGEMKB; this.BKDFLNGCINH.PEOCFOCDAFL += this.JHCMHEMLHPB; this.BKDFLNGCINH.FKFCJGKDOBF += this.GDMBMOIPOOJ; } } // Token: 0x060206B5 RID: 132789 RVA: 0x008CD758 File Offset: 0x008CB958 protected virtual void GOGJEGIGNAI() { base.MPIHCILBGLM(); this.BPCEFDIHKEB = this.lowResolution.x / this.lowResolution.y; this.KFNDLOECPDD = base.GetComponent(); if (this.KFNDLOECPDD != null) { this.KFNDLOECPDD.RecordingCamera = this.camera; this.KFNDLOECPDD.ILLPHOHDLCJ += this.POINDLMIOEC; this.KFNDLOECPDD.JHJOBCJAHEE += this.GILFHFKLHBP; this.KFNDLOECPDD.GNBPEBOGBJG += this.LCPCJFGBADF; } this.exportingFeedback.SetActive(true); this.recordingFeedback.SetActive(true); this.recordingProgressFeedback.gameObject.SetActive(false); this.savedFeedback.gameObject.SetActive(true); this.JCPPGNDGKDC = new Material(this.screenRenderMaterial); this.FIOLBHFJENN = base.GetComponentInChildren(); this.CJNHPMNOCFI(base.GetComponent()); if (this.JACCKOLABJP() != null) { this.BKDFLNGCINH.GFBCCFIMFEC += this.BCBJOFMFNAN; this.GMNHHKOAAPK().PLPIAOHJBOB += this.NIPCADLOCJP; this.JACCKOLABJP().PHDHDAIGBCC += this.AAEJCMANLIJ; this.PKEFLALNJJN().PEOCFOCDAFL += this.JHCMHEMLHPB; this.JACCKOLABJP().FKFCJGKDOBF += this.OKHGEGBMHMI; } } // Token: 0x060206B6 RID: 132790 RVA: 0x008CD8E4 File Offset: 0x008CBAE4 private void IPHHMFCMCFO(Tool ENBMEDIFBLM) { if (base.DFJFKOLLEMK()) { this.ODFDAAMGFON(); } } // Token: 0x060206B7 RID: 132791 RVA: 0x008CD8F8 File Offset: 0x008CBAF8 private void JJEKPIPLMIP() { this.recordingFeedback.gameObject.SetActive(false); this.recordingProgressFeedback.gameObject.SetActive(true); } // Token: 0x060206B8 RID: 132792 RVA: 0x008CD91C File Offset: 0x008CBB1C private void GFLFIGFAEEG() { this.recordingFeedback.gameObject.SetActive(true); this.recordingProgressFeedback.gameObject.SetActive(false); } // Token: 0x060206B9 RID: 132793 RVA: 0x008CD940 File Offset: 0x008CBB40 private void OnDisable() { if (base.BHCCHBHNHCG) { this.FinishCapturing(); } } // Token: 0x060206BA RID: 132794 RVA: 0x008CD954 File Offset: 0x008CBB54 private void BEIDHKPOPJI() { if (this.KFNDLOECPDD != null && this.KFNDLOECPDD.JENLCPPHGDP) { if (!this.RemoteControl && this.NMKHGKIELMI() != null && !this.NMKHGKIELMI().OHGPCMJMFGC) { this.MLKKPPDNNDG(); } else { float num = this.KFNDLOECPDD.UpdateFrame(this.ANHNNLOIDPF); this.recordingProgressFeedback.value = num; if (num >= 1560f) { this.OCEKCHGFCEM(); } } } } // Token: 0x060206BB RID: 132795 RVA: 0x008CD9E8 File Offset: 0x008CBBE8 private void HBAADPKKPON() { if (this.KFNDLOECPDD != null && this.KFNDLOECPDD.JENLCPPHGDP) { if (!this.RemoteControl && this.GMNHHKOAAPK() != null && !this.GMNHHKOAAPK().OHGPCMJMFGC) { this.PPDBKKGNHAF(); } else { float num = this.KFNDLOECPDD.UpdateFrame(this.ANHNNLOIDPF); this.recordingProgressFeedback.value = num; if (num >= 289f) { this.FinishCapturing(); } } } } // Token: 0x060206BC RID: 132796 RVA: 0x008CDA7C File Offset: 0x008CBC7C private void GILFHFKLHBP() { this.recordingFeedback.gameObject.SetActive(true); this.recordingProgressFeedback.gameObject.SetActive(false); this.exportingFeedback.SetActive(false); } // Token: 0x060206BD RID: 132797 RVA: 0x008CDAAC File Offset: 0x008CBCAC protected override void FNNCEMJECLP() { base.MPIHCILBGLM(); this.BPCEFDIHKEB = this.lowResolution.x / this.lowResolution.y; this.KFNDLOECPDD = base.GetComponent(); if (this.KFNDLOECPDD != null) { this.KFNDLOECPDD.RecordingCamera = this.camera; this.KFNDLOECPDD.ILLPHOHDLCJ += this.EPCAGHAKFJH; this.KFNDLOECPDD.JHJOBCJAHEE += this.MPDCPBLNOPD; this.KFNDLOECPDD.GNBPEBOGBJG += this.LCPCJFGBADF; } this.exportingFeedback.SetActive(false); this.recordingFeedback.SetActive(false); this.recordingProgressFeedback.gameObject.SetActive(false); this.savedFeedback.gameObject.SetActive(true); this.JCPPGNDGKDC = new Material(this.screenRenderMaterial); this.FIOLBHFJENN = base.GetComponentInChildren(); this.OJOBAFIBIJP(base.GetComponent()); if (this.GMNHHKOAAPK() != null) { this.PKEFLALNJJN().GFBCCFIMFEC += this.CIKONMCGMPH; this.NMKHGKIELMI().PLPIAOHJBOB += this.AFBEKJNIMLH; this.BKDFLNGCINH.PHDHDAIGBCC += this.KHNFIAKKFMG; this.JACCKOLABJP().PEOCFOCDAFL += this.MHHAGOHNDKK; this.BKDFLNGCINH.FKFCJGKDOBF += this.GDMBMOIPOOJ; } } // Token: 0x060206BE RID: 132798 RVA: 0x008CDC38 File Offset: 0x008CBE38 public void OCEKCHGFCEM() { if (this.KFNDLOECPDD != null && this.KFNDLOECPDD.JENLCPPHGDP) { this.KFNDLOECPDD.FinishCapture(); } this.LIFAOBEKEHF(true); } // Token: 0x060206BF RID: 132799 RVA: 0x008CDC70 File Offset: 0x008CBE70 private void MGLGDJHPNNM(Tool ENBMEDIFBLM) { if (base.IGIPCHFCFNN()) { this.PPDBKKGNHAF(); } } // Token: 0x060206C0 RID: 132800 RVA: 0x008CDC84 File Offset: 0x008CBE84 private void DPGMOPLEBGF(RenderTexture LADBAIPCNIO, RenderTexture NKJECDCGCOL) { Graphics.Blit(this.ANHNNLOIDPF, NKJECDCGCOL); } // Token: 0x060206C1 RID: 132801 RVA: 0x008CDC94 File Offset: 0x008CBE94 private void NEEHLGPMBHL(Tool ENBMEDIFBLM) { if (this.hideOwner && ENBMEDIFBLM.NAABPMOIADH() == Player.LocalPlayer) { this.camera.cullingMask &= 17; } this.JEGIHDPNFDA(false); } // Token: 0x060206C2 RID: 132802 RVA: 0x008CDCD4 File Offset: 0x008CBED4 private void PKDMOAPFCEK(string FOEIIDLBHOB) { this.exportingFeedback.SetActive(true); base.StartCoroutine(this.KCKEMGLBOAL(FOEIIDLBHOB)); } // Token: 0x060206C3 RID: 132803 RVA: 0x008CDCF0 File Offset: 0x008CBEF0 private void BCBJOFMFNAN(Tool ENBMEDIFBLM) { if (this.hideOwner && ENBMEDIFBLM.CAAOEAAJAIL == Player.LocalPlayer) { this.camera.cullingMask &= -151; } this.KOEBHCKEEMH(true); } // Token: 0x060206C4 RID: 132804 RVA: 0x008CDD30 File Offset: 0x008CBF30 private void IJLNJCIHFMG(string FOEIIDLBHOB) { this.exportingFeedback.SetActive(false); base.StartCoroutine(this.PKLDGKJGBCP(FOEIIDLBHOB)); } // Token: 0x060206C5 RID: 132805 RVA: 0x008CDD4C File Offset: 0x008CBF4C private void Update() { if (!this.RemoteControl) { this.camera.transform.position = Vector3.SmoothDamp(this.camera.transform.position, this.lensTransform.position, ref this.IGOFELJMFOF, this.positionSmoothingTime); this.camera.transform.rotation = NNGFEGAEJPG.AHDFJMAJNBC(this.camera.transform.rotation, this.lensTransform.rotation, ref this.DMLNPLMICBL, this.positionSmoothingTime); } else { this.camera.transform.position = this.lensTransform.position; this.camera.transform.rotation = this.lensTransform.rotation; } if (base.BHCCHBHNHCG) { this.HCBNJDDKIAI((!(this.BKDFLNGCINH != null)) ? 0f : this.BKDFLNGCINH.InputAmount); this.AFHJPILFIBC(); } } // Token: 0x060206C6 RID: 132806 RVA: 0x008CDE54 File Offset: 0x008CC054 private void HLADMFFFENH() { if (!this.RemoteControl) { this.camera.transform.position = Vector3.SmoothDamp(this.camera.transform.position, this.lensTransform.position, ref this.IGOFELJMFOF, this.positionSmoothingTime); this.camera.transform.rotation = NNGFEGAEJPG.AHDFJMAJNBC(this.camera.transform.rotation, this.lensTransform.rotation, ref this.DMLNPLMICBL, this.positionSmoothingTime); } else { this.camera.transform.position = this.lensTransform.position; this.camera.transform.rotation = this.lensTransform.rotation; } if (base.DGLKKANNBPD()) { this.HNKHHIKJDCH((!(this.NMKHGKIELMI() != null)) ? 329f : this.PKEFLALNJJN().InputAmount); this.AFHJPILFIBC(); } } // Token: 0x060206C7 RID: 132807 RVA: 0x008CDF5C File Offset: 0x008CC15C public void FOCOJEDJGDN(bool EIHKBLCOOFI) { if (this.FIOLBHFJENN != null && this.FIOLBHFJENN.isActiveAndEnabled) { this.FIOLBHFJENN.SetBool(HandheldCamera.JKBEJLOGMNM, EIHKBLCOOFI); } if (this.externalScreenRenderer == null) { this.camera.enabled = EIHKBLCOOFI; } if (this.LNADKEBIAPD != EIHKBLCOOFI) { this.LNADKEBIAPD = EIHKBLCOOFI; foreach (Renderer renderer in this.screenRenderers) { renderer.material = ((!EIHKBLCOOFI) ? this.defaultScreenMaterial : this.JCPPGNDGKDC); } } base.enabled = this.LNADKEBIAPD; } // Token: 0x060206C8 RID: 132808 RVA: 0x008CE014 File Offset: 0x008CC214 private void JHCMHEMLHPB(Tool ENBMEDIFBLM) { if (base.BHCCHBHNHCG) { this.StartCapturing(); } } // Token: 0x060206C9 RID: 132809 RVA: 0x008CE028 File Offset: 0x008CC228 private void LNDFDNMCOLE(bool DIHJJHLGFBF) { if (this.MDMGPPJDADH == null || this.MDMGPPJDADH.Value != DIHJJHLGFBF) { this.MDMGPPJDADH = new bool?(DIHJJHLGFBF); Vector2 vector = ((!DIHJJHLGFBF) ? this.lowResolution : this.highResolution); this.ANHNNLOIDPF = new RenderTexture((int)vector.x, (int)vector.y, 24); this.ANHNNLOIDPF.antiAliasing = ((QualitySettings.antiAliasing <= 0) ? 1 : QualitySettings.antiAliasing); if (this.camera != null) { this.camera.targetTexture = this.ANHNNLOIDPF; } this.JCPPGNDGKDC.mainTexture = this.ANHNNLOIDPF; } } // Token: 0x060206CA RID: 132810 RVA: 0x008CE0EC File Offset: 0x008CC2EC private void JEOPGJLEDBM(Tool ENBMEDIFBLM) { if (base.JNOCCMDBMIO()) { this.GCLOCJMNAPP(); } } // Token: 0x060206CB RID: 132811 RVA: 0x008CE100 File Offset: 0x008CC300 private void IKGHMCMJKDM(Tool ENBMEDIFBLM) { if (base.IGIPCHFCFNN()) { this.ODFDAAMGFON(); } } // Token: 0x060206CC RID: 132812 RVA: 0x008CE114 File Offset: 0x008CC314 private void BPJAIPDBIFC() { if (!this.RemoteControl) { this.camera.transform.position = Vector3.SmoothDamp(this.camera.transform.position, this.lensTransform.position, ref this.IGOFELJMFOF, this.positionSmoothingTime); this.camera.transform.rotation = NNGFEGAEJPG.AHDFJMAJNBC(this.camera.transform.rotation, this.lensTransform.rotation, ref this.DMLNPLMICBL, this.positionSmoothingTime); } else { this.camera.transform.position = this.lensTransform.position; this.camera.transform.rotation = this.lensTransform.rotation; } if (base.DGLOKLCEMLH()) { this.EBBKCAIEAMI((!(this.JACCKOLABJP() != null)) ? 792f : this.JACCKOLABJP().InputAmount); this.AFHJPILFIBC(); } } // Token: 0x060206CD RID: 132813 RVA: 0x008CE21C File Offset: 0x008CC41C private void PHADBCGJNIH(Tool ENBMEDIFBLM) { if (base.BHCCHBHNHCG) { this.PPDBKKGNHAF(); } } // Token: 0x060206CE RID: 132814 RVA: 0x008CE230 File Offset: 0x008CC430 public Tool GMNHHKOAAPK() { return this.k__BackingField; } // Token: 0x060206CF RID: 132815 RVA: 0x008CE238 File Offset: 0x008CC438 private void LCPCJFGBADF(string FOEIIDLBHOB) { this.exportingFeedback.SetActive(false); base.StartCoroutine(this.NMOGDPHJHIO(FOEIIDLBHOB)); } // Token: 0x060206D0 RID: 132816 RVA: 0x008CE254 File Offset: 0x008CC454 private IEnumerator CNFNKMBIFMF(string FOEIIDLBHOB) { FOEIIDLBHOB = Path.GetFileName(FOEIIDLBHOB); this.savedFeedback.gameObject.SetActive(true); this.savedFeedback.text = FOEIIDLBHOB + " Saved!"; yield return new WaitForSeconds(2f); this.savedFeedback.gameObject.SetActive(false); yield break; } // Token: 0x060206D1 RID: 132817 RVA: 0x008CE278 File Offset: 0x008CC478 protected virtual void PPOPAEBNGPC() { base.FNNCEMJECLP(); this.BPCEFDIHKEB = this.lowResolution.x / this.lowResolution.y; this.KFNDLOECPDD = base.GetComponent(); if (this.KFNDLOECPDD != null) { this.KFNDLOECPDD.RecordingCamera = this.camera; this.KFNDLOECPDD.ILLPHOHDLCJ += this.JJEKPIPLMIP; this.KFNDLOECPDD.JHJOBCJAHEE += this.KLENANDCPMI; this.KFNDLOECPDD.GNBPEBOGBJG += this.PKDMOAPFCEK; } this.exportingFeedback.SetActive(true); this.recordingFeedback.SetActive(true); this.recordingProgressFeedback.gameObject.SetActive(false); this.savedFeedback.gameObject.SetActive(true); this.JCPPGNDGKDC = new Material(this.screenRenderMaterial); this.FIOLBHFJENN = base.GetComponentInChildren(); this.KPJGHBDDOGC(base.GetComponent()); if (this.JACCKOLABJP() != null) { this.NMKHGKIELMI().GFBCCFIMFEC += this.EGCIGKPOLKL; this.PKEFLALNJJN().PLPIAOHJBOB += this.AFBEKJNIMLH; this.BKDFLNGCINH.PHDHDAIGBCC += this.HCALNHHAEPD; this.JACCKOLABJP().PEOCFOCDAFL += this.MHHAGOHNDKK; this.GMNHHKOAAPK().FKFCJGKDOBF += this.GJMMHHNIJPN; } } // Token: 0x060206D2 RID: 132818 RVA: 0x008CE404 File Offset: 0x008CC604 private void LIFAOBEKEHF(bool DIHJJHLGFBF) { if (this.MDMGPPJDADH == null || this.MDMGPPJDADH.Value != DIHJJHLGFBF) { this.MDMGPPJDADH = new bool?(DIHJJHLGFBF); Vector2 vector = ((!DIHJJHLGFBF) ? this.lowResolution : this.highResolution); this.ANHNNLOIDPF = new RenderTexture((int)vector.x, (int)vector.y, 96); this.ANHNNLOIDPF.antiAliasing = ((QualitySettings.antiAliasing <= 0) ? 0 : QualitySettings.antiAliasing); if (this.camera != null) { this.camera.targetTexture = this.ANHNNLOIDPF; } this.JCPPGNDGKDC.mainTexture = this.ANHNNLOIDPF; } } // Token: 0x060206D3 RID: 132819 RVA: 0x008CE4C8 File Offset: 0x008CC6C8 protected virtual void EGPCNMCCHNL() { base.IPAPMGBLCNF(); this.BPCEFDIHKEB = this.lowResolution.x / this.lowResolution.y; this.KFNDLOECPDD = base.GetComponent(); if (this.KFNDLOECPDD != null) { this.KFNDLOECPDD.RecordingCamera = this.camera; this.KFNDLOECPDD.ILLPHOHDLCJ += this.POINDLMIOEC; this.KFNDLOECPDD.JHJOBCJAHEE += this.KLENANDCPMI; this.KFNDLOECPDD.GNBPEBOGBJG += this.FKBLIIKGEAC; } this.exportingFeedback.SetActive(false); this.recordingFeedback.SetActive(false); this.recordingProgressFeedback.gameObject.SetActive(false); this.savedFeedback.gameObject.SetActive(false); this.JCPPGNDGKDC = new Material(this.screenRenderMaterial); this.FIOLBHFJENN = base.GetComponentInChildren(); this.OJOBAFIBIJP(base.GetComponent()); if (this.BKDFLNGCINH != null) { this.NMKHGKIELMI().GFBCCFIMFEC += this.NEEHLGPMBHL; this.PKEFLALNJJN().PLPIAOHJBOB += this.NIPCADLOCJP; this.GMNHHKOAAPK().PHDHDAIGBCC += this.APLKELGEMKB; this.JACCKOLABJP().PEOCFOCDAFL += this.JEOPGJLEDBM; this.PKEFLALNJJN().FKFCJGKDOBF += this.OKHGEGBMHMI; } } // Token: 0x060206D4 RID: 132820 RVA: 0x008CE654 File Offset: 0x008CC854 private void DOEKKALNNLG() { this.recordingFeedback.gameObject.SetActive(false); this.recordingProgressFeedback.gameObject.SetActive(false); } // Token: 0x060206D5 RID: 132821 RVA: 0x008CE678 File Offset: 0x008CC878 private void BLPCKPDDLPA(float ICPIIANLDOL) { this.AJNKNGGLBHA = ICPIIANLDOL; if (this.FIOLBHFJENN != null && this.FIOLBHFJENN.isActiveAndEnabled) { this.FIOLBHFJENN.SetFloat(HandheldCamera.BAJEJGDAGAF, this.AJNKNGGLBHA); } } // Token: 0x0400547F RID: 21631 [SerializeField] [Header("Camera")] private Camera camera; // Token: 0x04005480 RID: 21632 [SerializeField] private Transform lensTransform; // Token: 0x04005481 RID: 21633 [SerializeField] private Vector2 lowResolution = new Vector2(320f, 180f); // Token: 0x04005482 RID: 21634 [SerializeField] private Vector2 highResolution = new Vector2(640f, 360f); // Token: 0x04005483 RID: 21635 [SerializeField] private bool hideOwner = true; // Token: 0x04005484 RID: 21636 [SerializeField] [Header("Screens")] private Renderer[] screenRenderers; // Token: 0x04005485 RID: 21637 [SerializeField] private Renderer externalScreenRenderer; // Token: 0x04005486 RID: 21638 [SerializeField] private Material screenRenderMaterial; // Token: 0x04005487 RID: 21639 [SerializeField] private Material defaultScreenMaterial; // Token: 0x04005488 RID: 21640 [SerializeField] [Header("Smoothing")] private float positionSmoothingTime = 0.25f; // Token: 0x04005489 RID: 21641 [SerializeField] [Header("Capture Feedback")] private GameObject recordingFeedback; // Token: 0x0400548A RID: 21642 [SerializeField] private Slider recordingProgressFeedback; // Token: 0x0400548B RID: 21643 [SerializeField] private GameObject exportingFeedback; // Token: 0x0400548C RID: 21644 [SerializeField] private Text savedFeedback; // Token: 0x0400548E RID: 21646 private RenderTexture ANHNNLOIDPF; // Token: 0x0400548F RID: 21647 private Vector3 IGOFELJMFOF = Vector3.zero; // Token: 0x04005490 RID: 21648 private Vector3 DMLNPLMICBL = Vector3.zero; // Token: 0x04005491 RID: 21649 private bool? MDMGPPJDADH; // Token: 0x04005492 RID: 21650 private float BPCEFDIHKEB = 1f; // Token: 0x04005493 RID: 21651 private VideoCapture KFNDLOECPDD; // Token: 0x04005494 RID: 21652 private Material JCPPGNDGKDC; // Token: 0x04005495 RID: 21653 private Animator FIOLBHFJENN; // Token: 0x04005496 RID: 21654 private static readonly int BAJEJGDAGAF = Animator.StringToHash("Trigger"); // Token: 0x04005497 RID: 21655 private static readonly int JKBEJLOGMNM = Animator.StringToHash("ScreenOpen"); // Token: 0x04005498 RID: 21656 private float AJNKNGGLBHA; // Token: 0x04005499 RID: 21657 private bool LNADKEBIAPD; // Token: 0x0400549A RID: 21658 [NonSerialized] public bool RemoteControl; }