1265 lines
42 KiB
C#
1265 lines
42 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Diagnostics;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Threading;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace AGUI.StackedUI.Dialog
|
|
{
|
|
// Token: 0x02001064 RID: 4196
|
|
public class UISelfieDialog : ConfirmUIDialog
|
|
{
|
|
// Token: 0x06023630 RID: 144944 RVA: 0x009A53F0 File Offset: 0x009A35F0
|
|
private void HEGHBOMDCJA(string CBDEIDDMHKE)
|
|
{
|
|
if (string.IsNullOrEmpty(CBDEIDDMHKE))
|
|
{
|
|
this.uploadingDescriptionText.text = "Pedrien";
|
|
}
|
|
else
|
|
{
|
|
this.uploadingDescriptionText.text = CBDEIDDMHKE;
|
|
}
|
|
this.loadingRotate.LFAHCLPHNEP();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06023631 RID: 144945 RVA: 0x009A544C File Offset: 0x009A364C
|
|
public void HCHMOPFMADM()
|
|
{
|
|
this.selfieGroup.SetActive(false);
|
|
this.uploadingGroup.SetActive(false);
|
|
this.uploadingDescriptionText.text = "looktarget";
|
|
SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.StartCoroutine(SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.UploadSelfie(this.COGMPANMHIK, new Action(this.BDLEBPJMGFP), new Action<string>(this.FKADFEPKMNA)));
|
|
}
|
|
|
|
// Token: 0x06023632 RID: 144946 RVA: 0x009A54B4 File Offset: 0x009A36B4
|
|
private void OHKFJNCBPLJ()
|
|
{
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.takeSelfieButton.LAEOBJEDBNM = false;
|
|
}
|
|
|
|
// Token: 0x06023633 RID: 144947 RVA: 0x009A54D4 File Offset: 0x009A36D4
|
|
[CompilerGenerated]
|
|
private void DOJNMCBONAH(string CBDEIDDMHKE)
|
|
{
|
|
if (string.IsNullOrEmpty(CBDEIDDMHKE))
|
|
{
|
|
this.uploadingDescriptionText.text = "Error uploading selfie. Please try again.";
|
|
}
|
|
else
|
|
{
|
|
this.uploadingDescriptionText.text = CBDEIDDMHKE;
|
|
}
|
|
this.loadingRotate.Stop();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06023634 RID: 144948 RVA: 0x009A5530 File Offset: 0x009A3730
|
|
private void HBKMEFGACAM()
|
|
{
|
|
this.selfieImage.texture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06023635 RID: 144949 RVA: 0x009A5544 File Offset: 0x009A3744
|
|
private void AIDMKHHAPOB()
|
|
{
|
|
this.uploadingDescriptionText.text = "easetype";
|
|
this.loadingRotate.JKFGPGBMBKK();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06023636 RID: 144950 RVA: 0x009A5578 File Offset: 0x009A3778
|
|
private void IMMCMEODOCF()
|
|
{
|
|
this.selfieImage.texture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06023637 RID: 144951 RVA: 0x009A558C File Offset: 0x009A378C
|
|
private IEnumerator EHNNFFEMODD()
|
|
{
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.countdownText.text = "3";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "2";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "1";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.shutterAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(false);
|
|
this.COGMPANMHIK.PJBJHJGOOHK(this.selfieCamera, this.ANHNNLOIDPF);
|
|
this.selfieImage.texture = this.COGMPANMHIK.MainTexture;
|
|
this.takeSelfieButton.LAEOBJEDBNM = true;
|
|
this.takeSelfieButtonText.text = "Retake selfie";
|
|
this.acceptButton.LAEOBJEDBNM = true;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06023638 RID: 144952 RVA: 0x009A55A8 File Offset: 0x009A37A8
|
|
public virtual AALAIHCPNEB<HDPGPHCMBGP> FGCFJHOADIN()
|
|
{
|
|
this.NDPNGFMLKIJ();
|
|
return base.OLKGOIHGHBJ();
|
|
}
|
|
|
|
// Token: 0x06023639 RID: 144953 RVA: 0x009A55B8 File Offset: 0x009A37B8
|
|
public static void CNDDOAPMELE(Action<bool> NOBAPCOKFIL)
|
|
{
|
|
Action<bool> action = UISelfieDialog.IBANBNPBKKC;
|
|
Action<bool> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<bool>>(ref UISelfieDialog.IBANBNPBKKC, (Action<bool>)Delegate.Remove(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x0602363A RID: 144954 RVA: 0x009A55EC File Offset: 0x009A37EC
|
|
private void DCILLKCLNCI()
|
|
{
|
|
this.countdownText.gameObject.SetActive(false);
|
|
this.takeSelfieButton.LAEOBJEDBNM = false;
|
|
}
|
|
|
|
// Token: 0x0602363B RID: 144955 RVA: 0x009A560C File Offset: 0x009A380C
|
|
[CompilerGenerated]
|
|
private void FIHPEJMAAEG()
|
|
{
|
|
this.uploadingDescriptionText.text = "Successfully uploaded!";
|
|
this.loadingRotate.Stop();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602363C RID: 144956 RVA: 0x009A5640 File Offset: 0x009A3840
|
|
public void IBMAMCOBPJA()
|
|
{
|
|
this.selfieGroup.SetActive(true);
|
|
this.uploadingGroup.SetActive(false);
|
|
this.uploadingDescriptionText.text = "v1/logincached";
|
|
SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.StartCoroutine(SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.UploadSelfie(this.COGMPANMHIK, new Action(this.BDLEBPJMGFP), new Action<string>(this.ALHDCCPHBEO)));
|
|
}
|
|
|
|
// Token: 0x0602363D RID: 144957 RVA: 0x009A56A8 File Offset: 0x009A38A8
|
|
public virtual AALAIHCPNEB<HDPGPHCMBGP> OEOPJHBDFIH()
|
|
{
|
|
this.CLHLKDELCMM();
|
|
return base.OLKGOIHGHBJ();
|
|
}
|
|
|
|
// Token: 0x0602363E RID: 144958 RVA: 0x009A56B8 File Offset: 0x009A38B8
|
|
public static void IMPCNADEDMB(Action<bool> NOBAPCOKFIL)
|
|
{
|
|
Action<bool> action = UISelfieDialog.IBANBNPBKKC;
|
|
Action<bool> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<bool>>(ref UISelfieDialog.IBANBNPBKKC, (Action<bool>)Delegate.Combine(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x0602363F RID: 144959 RVA: 0x009A56EC File Offset: 0x009A38EC
|
|
public static void HFFAJPBCCJK(Action<bool> NOBAPCOKFIL)
|
|
{
|
|
Action<bool> action = UISelfieDialog.IBANBNPBKKC;
|
|
Action<bool> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<bool>>(ref UISelfieDialog.IBANBNPBKKC, (Action<bool>)Delegate.Remove(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x06023640 RID: 144960 RVA: 0x009A5720 File Offset: 0x009A3920
|
|
private IEnumerator LCIGMBCCOND()
|
|
{
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.countdownText.text = "3";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "2";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "1";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.shutterAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(false);
|
|
this.COGMPANMHIK.PJBJHJGOOHK(this.selfieCamera, this.ANHNNLOIDPF);
|
|
this.selfieImage.texture = this.COGMPANMHIK.MainTexture;
|
|
this.takeSelfieButton.LAEOBJEDBNM = true;
|
|
this.takeSelfieButtonText.text = "Retake selfie";
|
|
this.acceptButton.LAEOBJEDBNM = true;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06023641 RID: 144961 RVA: 0x009A573C File Offset: 0x009A393C
|
|
private void CNNNBDJADFP()
|
|
{
|
|
this.selfieImage.texture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06023642 RID: 144962 RVA: 0x009A5750 File Offset: 0x009A3950
|
|
public void OAKHAKEOABC()
|
|
{
|
|
this.selfieGroup.SetActive(false);
|
|
this.uploadingGroup.SetActive(true);
|
|
this.uploadingDescriptionText.text = "_MainTex";
|
|
SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.StartCoroutine(SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.UploadSelfie(this.COGMPANMHIK, new Action(this.MOOPGIIAIPA), new Action<string>(this.HEGHBOMDCJA)));
|
|
}
|
|
|
|
// Token: 0x06023643 RID: 144963 RVA: 0x009A57B8 File Offset: 0x009A39B8
|
|
private void IFHHIHIOBNF()
|
|
{
|
|
this.uploadingDescriptionText.text = "Caught Exception: ";
|
|
this.loadingRotate.HHGDHFNAALI();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06023644 RID: 144964 RVA: 0x009A57EC File Offset: 0x009A39EC
|
|
private void EHFDMPGNIAD()
|
|
{
|
|
this.selfieImage.texture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06023645 RID: 144965 RVA: 0x009A5800 File Offset: 0x009A3A00
|
|
public static void AKNBAGOBKBG(Action<bool> NOBAPCOKFIL)
|
|
{
|
|
Action<bool> action = UISelfieDialog.IBANBNPBKKC;
|
|
Action<bool> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<bool>>(ref UISelfieDialog.IBANBNPBKKC, (Action<bool>)Delegate.Remove(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x06023646 RID: 144966 RVA: 0x009A5834 File Offset: 0x009A3A34
|
|
public static void KCMJALPJFDA(Action<bool> NOBAPCOKFIL)
|
|
{
|
|
Action<bool> action = UISelfieDialog.IBANBNPBKKC;
|
|
Action<bool> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<bool>>(ref UISelfieDialog.IBANBNPBKKC, (Action<bool>)Delegate.Remove(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x06023647 RID: 144967 RVA: 0x009A5868 File Offset: 0x009A3A68
|
|
public static void JHHBGNBDDDL(Action<bool> NOBAPCOKFIL)
|
|
{
|
|
Action<bool> action = UISelfieDialog.IBANBNPBKKC;
|
|
Action<bool> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<bool>>(ref UISelfieDialog.IBANBNPBKKC, (Action<bool>)Delegate.Remove(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x06023648 RID: 144968 RVA: 0x009A589C File Offset: 0x009A3A9C
|
|
public void GJIHHFGFMLD()
|
|
{
|
|
this.selfieGroup.SetActive(true);
|
|
this.uploadingGroup.SetActive(true);
|
|
this.uploadingDescriptionText.text = "FaceShirt2";
|
|
SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.StartCoroutine(SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.UploadSelfie(this.COGMPANMHIK, new Action(this.FFDGLDJICLN), new Action<string>(this.MCDIIGICGPO)));
|
|
}
|
|
|
|
// Token: 0x06023649 RID: 144969 RVA: 0x009A5904 File Offset: 0x009A3B04
|
|
public virtual AALAIHCPNEB<HDPGPHCMBGP> FEKKJNJLAED()
|
|
{
|
|
this.PAJDCDEEKNB();
|
|
return base.OLKGOIHGHBJ();
|
|
}
|
|
|
|
// Token: 0x0602364A RID: 144970 RVA: 0x009A5914 File Offset: 0x009A3B14
|
|
public virtual void PDLFBBFGJEJ(StackedUIBase LMODDIOHMLJ)
|
|
{
|
|
base.Initialize(LMODDIOHMLJ);
|
|
this.selfieGroup.SetActive(true);
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.acceptButton.LAEOBJEDBNM = true;
|
|
this.ANHNNLOIDPF = new RenderTexture(-138, 174, 1);
|
|
this.selfieCamera.targetTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x0602364B RID: 144971 RVA: 0x009A5978 File Offset: 0x009A3B78
|
|
public void BOEONMHEFAD()
|
|
{
|
|
this.takeSelfieButton.LAEOBJEDBNM = false;
|
|
this.CLHLKDELCMM();
|
|
base.StartCoroutine(this.EMCEGJHHJMB());
|
|
}
|
|
|
|
// Token: 0x0602364C RID: 144972 RVA: 0x009A599C File Offset: 0x009A3B9C
|
|
public static void JOIDCLONFMJ(Action<bool> NOBAPCOKFIL)
|
|
{
|
|
Action<bool> action = UISelfieDialog.IBANBNPBKKC;
|
|
Action<bool> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<bool>>(ref UISelfieDialog.IBANBNPBKKC, (Action<bool>)Delegate.Combine(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x0602364D RID: 144973 RVA: 0x009A59D0 File Offset: 0x009A3BD0
|
|
private IEnumerator NJNNBGKGCHB()
|
|
{
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.countdownText.text = "3";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "2";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "1";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.shutterAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(false);
|
|
this.COGMPANMHIK.PJBJHJGOOHK(this.selfieCamera, this.ANHNNLOIDPF);
|
|
this.selfieImage.texture = this.COGMPANMHIK.MainTexture;
|
|
this.takeSelfieButton.LAEOBJEDBNM = true;
|
|
this.takeSelfieButtonText.text = "Retake selfie";
|
|
this.acceptButton.LAEOBJEDBNM = true;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0602364E RID: 144974 RVA: 0x009A59EC File Offset: 0x009A3BEC
|
|
public static void NINFLOKAGFH(Action<bool> NOBAPCOKFIL)
|
|
{
|
|
Action<bool> action = UISelfieDialog.IBANBNPBKKC;
|
|
Action<bool> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<bool>>(ref UISelfieDialog.IBANBNPBKKC, (Action<bool>)Delegate.Remove(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x0602364F RID: 144975 RVA: 0x009A5A20 File Offset: 0x009A3C20
|
|
private void CELDKDEGHOJ()
|
|
{
|
|
this.countdownText.gameObject.SetActive(false);
|
|
this.takeSelfieButton.LAEOBJEDBNM = true;
|
|
}
|
|
|
|
// Token: 0x06023650 RID: 144976 RVA: 0x009A5A40 File Offset: 0x009A3C40
|
|
private void FJIDJPEMFBL()
|
|
{
|
|
this.selfieImage.texture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06023651 RID: 144977 RVA: 0x009A5A54 File Offset: 0x009A3C54
|
|
private IEnumerator OKPEIJBFMGL()
|
|
{
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.countdownText.text = "3";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "2";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "1";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.shutterAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(false);
|
|
this.COGMPANMHIK.PJBJHJGOOHK(this.selfieCamera, this.ANHNNLOIDPF);
|
|
this.selfieImage.texture = this.COGMPANMHIK.MainTexture;
|
|
this.takeSelfieButton.LAEOBJEDBNM = true;
|
|
this.takeSelfieButtonText.text = "Retake selfie";
|
|
this.acceptButton.LAEOBJEDBNM = true;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06023652 RID: 144978 RVA: 0x009A5A70 File Offset: 0x009A3C70
|
|
private void NOCCMOPELHM(string CBDEIDDMHKE)
|
|
{
|
|
if (string.IsNullOrEmpty(CBDEIDDMHKE))
|
|
{
|
|
this.uploadingDescriptionText.text = "{0}.{1}";
|
|
}
|
|
else
|
|
{
|
|
this.uploadingDescriptionText.text = CBDEIDDMHKE;
|
|
}
|
|
this.loadingRotate.JKFGPGBMBKK();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06023654 RID: 144980 RVA: 0x009A5AE0 File Offset: 0x009A3CE0
|
|
public void IBAAPGEHKLN()
|
|
{
|
|
this.takeSelfieButton.LAEOBJEDBNM = true;
|
|
this.CNNNBDJADFP();
|
|
base.StartCoroutine(this.NLLJCFMDHHK());
|
|
}
|
|
|
|
// Token: 0x06023655 RID: 144981 RVA: 0x009A5B04 File Offset: 0x009A3D04
|
|
private void FFDGLDJICLN()
|
|
{
|
|
this.uploadingDescriptionText.text = "{0}.{1}: {2} -> {3}";
|
|
this.loadingRotate.AGCMBPLCPEB();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06023656 RID: 144982 RVA: 0x009A5B38 File Offset: 0x009A3D38
|
|
private void EDHJGABHJOL(string CBDEIDDMHKE)
|
|
{
|
|
if (string.IsNullOrEmpty(CBDEIDDMHKE))
|
|
{
|
|
this.uploadingDescriptionText.text = "No saved ObscuredPrefs!";
|
|
}
|
|
else
|
|
{
|
|
this.uploadingDescriptionText.text = CBDEIDDMHKE;
|
|
}
|
|
this.loadingRotate.AGCMBPLCPEB();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06023657 RID: 144983 RVA: 0x009A5B94 File Offset: 0x009A3D94
|
|
public virtual void PPBCFOAELAH(StackedUIBase LMODDIOHMLJ)
|
|
{
|
|
base.Initialize(LMODDIOHMLJ);
|
|
this.selfieGroup.SetActive(false);
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.acceptButton.LAEOBJEDBNM = false;
|
|
this.ANHNNLOIDPF = new RenderTexture(109, 59, 7);
|
|
this.selfieCamera.targetTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06023658 RID: 144984 RVA: 0x009A5BF8 File Offset: 0x009A3DF8
|
|
public virtual AALAIHCPNEB<HDPGPHCMBGP> LFPBPBAKIPG()
|
|
{
|
|
this.EAIGDGPPJFK();
|
|
return base.OLKGOIHGHBJ();
|
|
}
|
|
|
|
// Token: 0x06023659 RID: 144985 RVA: 0x009A5C08 File Offset: 0x009A3E08
|
|
public virtual void PEEDHBCBCOI(StackedUIBase LMODDIOHMLJ)
|
|
{
|
|
base.Initialize(LMODDIOHMLJ);
|
|
this.selfieGroup.SetActive(true);
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.acceptButton.LAEOBJEDBNM = true;
|
|
this.ANHNNLOIDPF = new RenderTexture(-79, -80, 1);
|
|
this.selfieCamera.targetTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x0602365A RID: 144986 RVA: 0x009A5C6C File Offset: 0x009A3E6C
|
|
private void JDIGJJHMFPB()
|
|
{
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.takeSelfieButton.LAEOBJEDBNM = true;
|
|
}
|
|
|
|
// Token: 0x0602365B RID: 144987 RVA: 0x009A5C8C File Offset: 0x009A3E8C
|
|
private IEnumerator KOCGOFEPGGM()
|
|
{
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.countdownText.text = "3";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "2";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "1";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.shutterAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(false);
|
|
this.COGMPANMHIK.PJBJHJGOOHK(this.selfieCamera, this.ANHNNLOIDPF);
|
|
this.selfieImage.texture = this.COGMPANMHIK.MainTexture;
|
|
this.takeSelfieButton.LAEOBJEDBNM = true;
|
|
this.takeSelfieButtonText.text = "Retake selfie";
|
|
this.acceptButton.LAEOBJEDBNM = true;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0602365C RID: 144988 RVA: 0x009A5CA8 File Offset: 0x009A3EA8
|
|
private IEnumerator EMCEGJHHJMB()
|
|
{
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.countdownText.text = "3";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "2";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "1";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.shutterAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(false);
|
|
this.COGMPANMHIK.PJBJHJGOOHK(this.selfieCamera, this.ANHNNLOIDPF);
|
|
this.selfieImage.texture = this.COGMPANMHIK.MainTexture;
|
|
this.takeSelfieButton.LAEOBJEDBNM = true;
|
|
this.takeSelfieButtonText.text = "Retake selfie";
|
|
this.acceptButton.LAEOBJEDBNM = true;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0602365D RID: 144989 RVA: 0x009A5CC4 File Offset: 0x009A3EC4
|
|
private void EPMPOENABFB(string CBDEIDDMHKE)
|
|
{
|
|
if (string.IsNullOrEmpty(CBDEIDDMHKE))
|
|
{
|
|
this.uploadingDescriptionText.text = "pb_Object: ";
|
|
}
|
|
else
|
|
{
|
|
this.uploadingDescriptionText.text = CBDEIDDMHKE;
|
|
}
|
|
this.loadingRotate.OPDFACEDKDJ();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602365E RID: 144990 RVA: 0x009A5D20 File Offset: 0x009A3F20
|
|
public static void HKHINCPOMIE(Action<bool> NOBAPCOKFIL)
|
|
{
|
|
Action<bool> action = UISelfieDialog.IBANBNPBKKC;
|
|
Action<bool> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<bool>>(ref UISelfieDialog.IBANBNPBKKC, (Action<bool>)Delegate.Remove(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x0602365F RID: 144991 RVA: 0x009A5D54 File Offset: 0x009A3F54
|
|
public static void GIBHLPJAJKO(Action<bool> NOBAPCOKFIL)
|
|
{
|
|
Action<bool> action = UISelfieDialog.IBANBNPBKKC;
|
|
Action<bool> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<bool>>(ref UISelfieDialog.IBANBNPBKKC, (Action<bool>)Delegate.Remove(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x06023660 RID: 144992 RVA: 0x009A5D88 File Offset: 0x009A3F88
|
|
private void OnEnable()
|
|
{
|
|
this.countdownText.gameObject.SetActive(false);
|
|
this.takeSelfieButton.LAEOBJEDBNM = true;
|
|
}
|
|
|
|
// Token: 0x06023661 RID: 144993 RVA: 0x009A5DA8 File Offset: 0x009A3FA8
|
|
public static void MCLPPHLDIFM(Action<bool> NOBAPCOKFIL)
|
|
{
|
|
Action<bool> action = UISelfieDialog.IBANBNPBKKC;
|
|
Action<bool> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<bool>>(ref UISelfieDialog.IBANBNPBKKC, (Action<bool>)Delegate.Remove(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x06023662 RID: 144994 RVA: 0x009A5DDC File Offset: 0x009A3FDC
|
|
private void MCDIIGICGPO(string CBDEIDDMHKE)
|
|
{
|
|
if (string.IsNullOrEmpty(CBDEIDDMHKE))
|
|
{
|
|
this.uploadingDescriptionText.text = "source";
|
|
}
|
|
else
|
|
{
|
|
this.uploadingDescriptionText.text = CBDEIDDMHKE;
|
|
}
|
|
this.loadingRotate.JKFGPGBMBKK();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06023663 RID: 144995 RVA: 0x009A5E38 File Offset: 0x009A4038
|
|
private void CLHLKDELCMM()
|
|
{
|
|
this.selfieImage.texture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06023664 RID: 144996 RVA: 0x009A5E4C File Offset: 0x009A404C
|
|
private IEnumerator AAEJFAHGPBH()
|
|
{
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.countdownText.text = "3";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "2";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "1";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.shutterAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(false);
|
|
this.COGMPANMHIK.PJBJHJGOOHK(this.selfieCamera, this.ANHNNLOIDPF);
|
|
this.selfieImage.texture = this.COGMPANMHIK.MainTexture;
|
|
this.takeSelfieButton.LAEOBJEDBNM = true;
|
|
this.takeSelfieButtonText.text = "Retake selfie";
|
|
this.acceptButton.LAEOBJEDBNM = true;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06023665 RID: 144997 RVA: 0x009A5E68 File Offset: 0x009A4068
|
|
private void DPEOPLPOEIL()
|
|
{
|
|
this.selfieImage.texture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06023666 RID: 144998 RVA: 0x009A5E7C File Offset: 0x009A407C
|
|
public virtual void FJKDFGHIIMH(StackedUIBase LMODDIOHMLJ)
|
|
{
|
|
base.Initialize(LMODDIOHMLJ);
|
|
this.selfieGroup.SetActive(true);
|
|
this.countdownText.gameObject.SetActive(false);
|
|
this.acceptButton.LAEOBJEDBNM = true;
|
|
this.ANHNNLOIDPF = new RenderTexture(-28, -174, 0);
|
|
this.selfieCamera.targetTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06023667 RID: 144999 RVA: 0x009A5EE0 File Offset: 0x009A40E0
|
|
public virtual void IPGMAIPDENK(StackedUIBase LMODDIOHMLJ)
|
|
{
|
|
base.Initialize(LMODDIOHMLJ);
|
|
this.selfieGroup.SetActive(false);
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.acceptButton.LAEOBJEDBNM = false;
|
|
this.ANHNNLOIDPF = new RenderTexture(-40, 57, 8);
|
|
this.selfieCamera.targetTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06023668 RID: 145000 RVA: 0x009A5F44 File Offset: 0x009A4144
|
|
public virtual void IEHMMKHEJMG(StackedUIBase LMODDIOHMLJ)
|
|
{
|
|
base.Initialize(LMODDIOHMLJ);
|
|
this.selfieGroup.SetActive(true);
|
|
this.countdownText.gameObject.SetActive(false);
|
|
this.acceptButton.LAEOBJEDBNM = false;
|
|
this.ANHNNLOIDPF = new RenderTexture(-13, 161, 6);
|
|
this.selfieCamera.targetTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06023669 RID: 145001 RVA: 0x009A5FA8 File Offset: 0x009A41A8
|
|
private void CCLHLLBHHAK()
|
|
{
|
|
this.selfieImage.texture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x0602366A RID: 145002 RVA: 0x009A5FBC File Offset: 0x009A41BC
|
|
public virtual void CNACDEFJLPK(StackedUIBase LMODDIOHMLJ)
|
|
{
|
|
base.Initialize(LMODDIOHMLJ);
|
|
this.selfieGroup.SetActive(true);
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.acceptButton.LAEOBJEDBNM = false;
|
|
this.ANHNNLOIDPF = new RenderTexture(107, -20, 5);
|
|
this.selfieCamera.targetTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x0602366B RID: 145003 RVA: 0x009A6020 File Offset: 0x009A4220
|
|
private void ENJFNLHCPPG(string CBDEIDDMHKE)
|
|
{
|
|
if (string.IsNullOrEmpty(CBDEIDDMHKE))
|
|
{
|
|
this.uploadingDescriptionText.text = "Disabled {0} renderers with material {1}";
|
|
}
|
|
else
|
|
{
|
|
this.uploadingDescriptionText.text = CBDEIDDMHKE;
|
|
}
|
|
this.loadingRotate.FHNMCBDMHGA();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602366C RID: 145004 RVA: 0x009A607C File Offset: 0x009A427C
|
|
public void CNOCBINEDEF()
|
|
{
|
|
this.selfieGroup.SetActive(true);
|
|
this.uploadingGroup.SetActive(true);
|
|
this.uploadingDescriptionText.text = " is Down!";
|
|
SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.StartCoroutine(SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.UploadSelfie(this.COGMPANMHIK, new Action(this.MOOPGIIAIPA), new Action<string>(this.MCDIIGICGPO)));
|
|
}
|
|
|
|
// Token: 0x0602366D RID: 145005 RVA: 0x009A60E4 File Offset: 0x009A42E4
|
|
private void EBPINIGIFGK()
|
|
{
|
|
this.selfieImage.texture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x0602366E RID: 145006 RVA: 0x009A60F8 File Offset: 0x009A42F8
|
|
public void Button_Accept()
|
|
{
|
|
this.selfieGroup.SetActive(false);
|
|
this.uploadingGroup.SetActive(true);
|
|
this.uploadingDescriptionText.text = "Uploading...";
|
|
SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.StartCoroutine(SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.UploadSelfie(this.COGMPANMHIK, new Action(this.FIHPEJMAAEG), new Action<string>(this.DOJNMCBONAH)));
|
|
}
|
|
|
|
// Token: 0x0602366F RID: 145007 RVA: 0x009A6160 File Offset: 0x009A4360
|
|
private void MAOGLGBFAIA(string CBDEIDDMHKE)
|
|
{
|
|
if (string.IsNullOrEmpty(CBDEIDDMHKE))
|
|
{
|
|
this.uploadingDescriptionText.text = "_Fade";
|
|
}
|
|
else
|
|
{
|
|
this.uploadingDescriptionText.text = CBDEIDDMHKE;
|
|
}
|
|
this.loadingRotate.IFNIABMHADJ();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06023670 RID: 145008 RVA: 0x009A61BC File Offset: 0x009A43BC
|
|
public void HMIABEAGAHO()
|
|
{
|
|
this.takeSelfieButton.LAEOBJEDBNM = true;
|
|
this.FJIDJPEMFBL();
|
|
base.StartCoroutine(this.LCAHMJIEDON());
|
|
}
|
|
|
|
// Token: 0x06023671 RID: 145009 RVA: 0x009A61E0 File Offset: 0x009A43E0
|
|
public void NPKFDCMFMIJ()
|
|
{
|
|
this.takeSelfieButton.LAEOBJEDBNM = true;
|
|
this.HBKMEFGACAM();
|
|
base.StartCoroutine(this.AAEJFAHGPBH());
|
|
}
|
|
|
|
// Token: 0x06023672 RID: 145010 RVA: 0x009A6204 File Offset: 0x009A4404
|
|
private void ACGIEHOOHFG()
|
|
{
|
|
this.uploadingDescriptionText.text = "bytes={0}-{1}";
|
|
this.loadingRotate.CBDDEPNKKDI();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06023673 RID: 145011 RVA: 0x009A6238 File Offset: 0x009A4438
|
|
private void EAIGDGPPJFK()
|
|
{
|
|
this.selfieImage.texture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x1400018D RID: 397
|
|
// (add) Token: 0x06023674 RID: 145012 RVA: 0x009A624C File Offset: 0x009A444C
|
|
// (remove) Token: 0x06023682 RID: 145026 RVA: 0x009A661C File Offset: 0x009A481C
|
|
[field: DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
public static event Action<bool> IBANBNPBKKC;
|
|
|
|
// Token: 0x06023675 RID: 145013 RVA: 0x009A6280 File Offset: 0x009A4480
|
|
private void PAJDCDEEKNB()
|
|
{
|
|
this.selfieImage.texture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06023676 RID: 145014 RVA: 0x009A6294 File Offset: 0x009A4494
|
|
private void BDLEBPJMGFP()
|
|
{
|
|
this.uploadingDescriptionText.text = "YesVotes";
|
|
this.loadingRotate.HHGDHFNAALI();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06023677 RID: 145015 RVA: 0x009A62C8 File Offset: 0x009A44C8
|
|
private void MOOPGIIAIPA()
|
|
{
|
|
this.uploadingDescriptionText.text = "TeamScores";
|
|
this.loadingRotate.CBDDEPNKKDI();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06023678 RID: 145016 RVA: 0x009A62FC File Offset: 0x009A44FC
|
|
private void IOGIDOAGOHG()
|
|
{
|
|
this.selfieImage.texture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06023679 RID: 145017 RVA: 0x009A6310 File Offset: 0x009A4510
|
|
public override void Initialize(StackedUIBase LMODDIOHMLJ)
|
|
{
|
|
base.Initialize(LMODDIOHMLJ);
|
|
this.selfieGroup.SetActive(true);
|
|
this.countdownText.gameObject.SetActive(false);
|
|
this.acceptButton.LAEOBJEDBNM = false;
|
|
this.ANHNNLOIDPF = new RenderTexture(256, 256, 4);
|
|
this.selfieCamera.targetTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x0602367A RID: 145018 RVA: 0x009A6374 File Offset: 0x009A4574
|
|
private void LKBAJMFADIM()
|
|
{
|
|
this.uploadingDescriptionText.text = "RpcOnEnemyKilledPlayer";
|
|
this.loadingRotate.CJGEBIGFAOJ();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602367B RID: 145019 RVA: 0x009A63A8 File Offset: 0x009A45A8
|
|
public void NABEFOOIHDC()
|
|
{
|
|
this.selfieGroup.SetActive(false);
|
|
this.uploadingGroup.SetActive(true);
|
|
this.uploadingDescriptionText.text = "y";
|
|
SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.StartCoroutine(SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.UploadSelfie(this.COGMPANMHIK, new Action(this.IFHHIHIOBNF), new Action<string>(this.ENJFNLHCPPG)));
|
|
}
|
|
|
|
// Token: 0x0602367C RID: 145020 RVA: 0x009A6410 File Offset: 0x009A4610
|
|
private void FKADFEPKMNA(string CBDEIDDMHKE)
|
|
{
|
|
if (string.IsNullOrEmpty(CBDEIDDMHKE))
|
|
{
|
|
this.uploadingDescriptionText.text = "MeshExtruder has no Shape Extruders. Please add some.";
|
|
}
|
|
else
|
|
{
|
|
this.uploadingDescriptionText.text = CBDEIDDMHKE;
|
|
}
|
|
this.loadingRotate.LFAHCLPHNEP();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602367D RID: 145021 RVA: 0x009A646C File Offset: 0x009A466C
|
|
public void MCJENDEFKMM()
|
|
{
|
|
this.selfieGroup.SetActive(true);
|
|
this.uploadingGroup.SetActive(false);
|
|
this.uploadingDescriptionText.text = "api/PlayerCheer/";
|
|
SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.StartCoroutine(SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.UploadSelfie(this.COGMPANMHIK, new Action(this.IFHHIHIOBNF), new Action<string>(this.ENJFNLHCPPG)));
|
|
}
|
|
|
|
// Token: 0x0602367E RID: 145022 RVA: 0x009A64D4 File Offset: 0x009A46D4
|
|
private IEnumerator JKNGKPAFPAM()
|
|
{
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.countdownText.text = "3";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "2";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "1";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.shutterAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(false);
|
|
this.COGMPANMHIK.PJBJHJGOOHK(this.selfieCamera, this.ANHNNLOIDPF);
|
|
this.selfieImage.texture = this.COGMPANMHIK.MainTexture;
|
|
this.takeSelfieButton.LAEOBJEDBNM = true;
|
|
this.takeSelfieButtonText.text = "Retake selfie";
|
|
this.acceptButton.LAEOBJEDBNM = true;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0602367F RID: 145023 RVA: 0x009A64F0 File Offset: 0x009A46F0
|
|
public void BHAADLBPNMP()
|
|
{
|
|
this.selfieGroup.SetActive(false);
|
|
this.uploadingGroup.SetActive(false);
|
|
this.uploadingDescriptionText.text = "Range";
|
|
SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.StartCoroutine(SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.UploadSelfie(this.COGMPANMHIK, new Action(this.FFDGLDJICLN), new Action<string>(this.FKADFEPKMNA)));
|
|
}
|
|
|
|
// Token: 0x06023680 RID: 145024 RVA: 0x009A6558 File Offset: 0x009A4758
|
|
private void NIADIGJFHAO(string CBDEIDDMHKE)
|
|
{
|
|
if (string.IsNullOrEmpty(CBDEIDDMHKE))
|
|
{
|
|
this.uploadingDescriptionText.text = "content-encoding";
|
|
}
|
|
else
|
|
{
|
|
this.uploadingDescriptionText.text = CBDEIDDMHKE;
|
|
}
|
|
this.loadingRotate.ONPGAJLLPNP();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06023681 RID: 145025 RVA: 0x009A65B4 File Offset: 0x009A47B4
|
|
public void LBEJBCIBFGC()
|
|
{
|
|
this.selfieGroup.SetActive(true);
|
|
this.uploadingGroup.SetActive(false);
|
|
this.uploadingDescriptionText.text = "Referer";
|
|
SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.StartCoroutine(SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.UploadSelfie(this.COGMPANMHIK, new Action(this.FFDGLDJICLN), new Action<string>(this.NIADIGJFHAO)));
|
|
}
|
|
|
|
// Token: 0x06023683 RID: 145027 RVA: 0x009A6650 File Offset: 0x009A4850
|
|
public static void JNDONAHGOFB(Action<bool> NOBAPCOKFIL)
|
|
{
|
|
Action<bool> action = UISelfieDialog.IBANBNPBKKC;
|
|
Action<bool> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<bool>>(ref UISelfieDialog.IBANBNPBKKC, (Action<bool>)Delegate.Combine(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x06023684 RID: 145028 RVA: 0x009A6684 File Offset: 0x009A4884
|
|
private void JAKIABPEPBK(string CBDEIDDMHKE)
|
|
{
|
|
if (string.IsNullOrEmpty(CBDEIDDMHKE))
|
|
{
|
|
this.uploadingDescriptionText.text = "Visitors: ";
|
|
}
|
|
else
|
|
{
|
|
this.uploadingDescriptionText.text = CBDEIDDMHKE;
|
|
}
|
|
this.loadingRotate.AGCMBPLCPEB();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06023685 RID: 145029 RVA: 0x009A66E0 File Offset: 0x009A48E0
|
|
public virtual void NHBJOMOGHCB(StackedUIBase LMODDIOHMLJ)
|
|
{
|
|
base.Initialize(LMODDIOHMLJ);
|
|
this.selfieGroup.SetActive(true);
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.acceptButton.LAEOBJEDBNM = false;
|
|
this.ANHNNLOIDPF = new RenderTexture(-56, -153, 7);
|
|
this.selfieCamera.targetTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x06023686 RID: 145030 RVA: 0x009A6744 File Offset: 0x009A4944
|
|
public void FEMIMKMJFMA()
|
|
{
|
|
this.selfieGroup.SetActive(false);
|
|
this.uploadingGroup.SetActive(true);
|
|
this.uploadingDescriptionText.text = "{0}modify";
|
|
SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.StartCoroutine(SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.UploadSelfie(this.COGMPANMHIK, new Action(this.AIDMKHHAPOB), new Action<string>(this.MCDIIGICGPO)));
|
|
}
|
|
|
|
// Token: 0x06023687 RID: 145031 RVA: 0x009A67AC File Offset: 0x009A49AC
|
|
public override AALAIHCPNEB<HDPGPHCMBGP> ShowDialog()
|
|
{
|
|
this.EBPINIGIFGK();
|
|
return base.OLKGOIHGHBJ();
|
|
}
|
|
|
|
// Token: 0x06023688 RID: 145032 RVA: 0x009A67BC File Offset: 0x009A49BC
|
|
private IEnumerator LCAHMJIEDON()
|
|
{
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.countdownText.text = "3";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "2";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "1";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.shutterAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(false);
|
|
this.COGMPANMHIK.PJBJHJGOOHK(this.selfieCamera, this.ANHNNLOIDPF);
|
|
this.selfieImage.texture = this.COGMPANMHIK.MainTexture;
|
|
this.takeSelfieButton.LAEOBJEDBNM = true;
|
|
this.takeSelfieButtonText.text = "Retake selfie";
|
|
this.acceptButton.LAEOBJEDBNM = true;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06023689 RID: 145033 RVA: 0x009A67D8 File Offset: 0x009A49D8
|
|
private void NDPNGFMLKIJ()
|
|
{
|
|
this.selfieImage.texture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x0602368A RID: 145034 RVA: 0x009A67EC File Offset: 0x009A49EC
|
|
public virtual AALAIHCPNEB<HDPGPHCMBGP> OLFCEMHMPNP()
|
|
{
|
|
this.EHFDMPGNIAD();
|
|
return base.OLKGOIHGHBJ();
|
|
}
|
|
|
|
// Token: 0x0602368B RID: 145035 RVA: 0x009A67FC File Offset: 0x009A49FC
|
|
private void FLKFFBLLJBL()
|
|
{
|
|
this.selfieImage.texture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x0602368C RID: 145036 RVA: 0x009A6810 File Offset: 0x009A4A10
|
|
public virtual void OCLBOGHDPMN(StackedUIBase LMODDIOHMLJ)
|
|
{
|
|
base.Initialize(LMODDIOHMLJ);
|
|
this.selfieGroup.SetActive(false);
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.acceptButton.LAEOBJEDBNM = true;
|
|
this.ANHNNLOIDPF = new RenderTexture(-101, -200, 0);
|
|
this.selfieCamera.targetTexture = this.ANHNNLOIDPF;
|
|
}
|
|
|
|
// Token: 0x0602368D RID: 145037 RVA: 0x009A6874 File Offset: 0x009A4A74
|
|
public static void CBPDNFGHIOA(Action<bool> NOBAPCOKFIL)
|
|
{
|
|
Action<bool> action = UISelfieDialog.IBANBNPBKKC;
|
|
Action<bool> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<bool>>(ref UISelfieDialog.IBANBNPBKKC, (Action<bool>)Delegate.Combine(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x0602368E RID: 145038 RVA: 0x009A68A8 File Offset: 0x009A4AA8
|
|
private IEnumerator NLLJCFMDHHK()
|
|
{
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.countdownText.text = "3";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "2";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "1";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.shutterAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(false);
|
|
this.COGMPANMHIK.PJBJHJGOOHK(this.selfieCamera, this.ANHNNLOIDPF);
|
|
this.selfieImage.texture = this.COGMPANMHIK.MainTexture;
|
|
this.takeSelfieButton.LAEOBJEDBNM = true;
|
|
this.takeSelfieButtonText.text = "Retake selfie";
|
|
this.acceptButton.LAEOBJEDBNM = true;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0602368F RID: 145039 RVA: 0x009A68C4 File Offset: 0x009A4AC4
|
|
public void Button_TakeSelfie()
|
|
{
|
|
this.takeSelfieButton.LAEOBJEDBNM = false;
|
|
this.EBPINIGIFGK();
|
|
base.StartCoroutine(this.KOCGOFEPGGM());
|
|
}
|
|
|
|
// Token: 0x06023690 RID: 145040 RVA: 0x009A68E8 File Offset: 0x009A4AE8
|
|
public virtual AALAIHCPNEB<HDPGPHCMBGP> NNCCIOAEEDK()
|
|
{
|
|
this.PAJDCDEEKNB();
|
|
return base.OLKGOIHGHBJ();
|
|
}
|
|
|
|
// Token: 0x06023691 RID: 145041 RVA: 0x009A68F8 File Offset: 0x009A4AF8
|
|
private void FCMCMEBNFMK()
|
|
{
|
|
this.countdownText.gameObject.SetActive(false);
|
|
this.takeSelfieButton.LAEOBJEDBNM = false;
|
|
}
|
|
|
|
// Token: 0x06023692 RID: 145042 RVA: 0x009A6918 File Offset: 0x009A4B18
|
|
public void GPJGGABPBPD()
|
|
{
|
|
this.selfieGroup.SetActive(false);
|
|
this.uploadingGroup.SetActive(false);
|
|
this.uploadingDescriptionText.text = "'";
|
|
SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.StartCoroutine(SingletonMonoBehaviour<SessionManager>.NCKMBFBMBFM.UploadSelfie(this.COGMPANMHIK, new Action(this.LKBAJMFADIM), new Action<string>(this.FKADFEPKMNA)));
|
|
}
|
|
|
|
// Token: 0x06023693 RID: 145043 RVA: 0x009A6980 File Offset: 0x009A4B80
|
|
public void GEHMEDFGOBO()
|
|
{
|
|
this.takeSelfieButton.LAEOBJEDBNM = false;
|
|
this.IMMCMEODOCF();
|
|
base.StartCoroutine(this.EHNNFFEMODD());
|
|
}
|
|
|
|
// Token: 0x06023694 RID: 145044 RVA: 0x009A69A4 File Offset: 0x009A4BA4
|
|
private IEnumerator NAKLAFGMBPG()
|
|
{
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(true);
|
|
this.countdownText.text = "3";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "2";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.countDownTickAudio, base.transform.position, null);
|
|
this.countdownText.text = "1";
|
|
yield return new WaitForSeconds(1f);
|
|
AudioManager.Play3DSFX(this.shutterAudio, base.transform.position, null);
|
|
this.countdownText.gameObject.SetActive(false);
|
|
this.COGMPANMHIK.PJBJHJGOOHK(this.selfieCamera, this.ANHNNLOIDPF);
|
|
this.selfieImage.texture = this.COGMPANMHIK.MainTexture;
|
|
this.takeSelfieButton.LAEOBJEDBNM = true;
|
|
this.takeSelfieButtonText.text = "Retake selfie";
|
|
this.acceptButton.LAEOBJEDBNM = true;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06023695 RID: 145045 RVA: 0x009A69C0 File Offset: 0x009A4BC0
|
|
private void ALHDCCPHBEO(string CBDEIDDMHKE)
|
|
{
|
|
if (string.IsNullOrEmpty(CBDEIDDMHKE))
|
|
{
|
|
this.uploadingDescriptionText.text = "method";
|
|
}
|
|
else
|
|
{
|
|
this.uploadingDescriptionText.text = CBDEIDDMHKE;
|
|
}
|
|
this.loadingRotate.ONPGAJLLPNP();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06023696 RID: 145046 RVA: 0x009A6A1C File Offset: 0x009A4C1C
|
|
private void GICPCBKDNIL(string CBDEIDDMHKE)
|
|
{
|
|
if (string.IsNullOrEmpty(CBDEIDDMHKE))
|
|
{
|
|
this.uploadingDescriptionText.text = "July";
|
|
}
|
|
else
|
|
{
|
|
this.uploadingDescriptionText.text = CBDEIDDMHKE;
|
|
}
|
|
this.loadingRotate.AOJGOBAABDA();
|
|
if (UISelfieDialog.IBANBNPBKKC != null)
|
|
{
|
|
UISelfieDialog.IBANBNPBKKC(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x04005B02 RID: 23298
|
|
[SerializeField]
|
|
[Header("Selfie")]
|
|
private GameObject selfieGroup;
|
|
|
|
// Token: 0x04005B03 RID: 23299
|
|
[SerializeField]
|
|
private Button3D takeSelfieButton;
|
|
|
|
// Token: 0x04005B04 RID: 23300
|
|
[SerializeField]
|
|
private Text takeSelfieButtonText;
|
|
|
|
// Token: 0x04005B05 RID: 23301
|
|
[SerializeField]
|
|
private Button3D acceptButton;
|
|
|
|
// Token: 0x04005B06 RID: 23302
|
|
[SerializeField]
|
|
private Camera selfieCamera;
|
|
|
|
// Token: 0x04005B07 RID: 23303
|
|
[SerializeField]
|
|
private RawImage selfieImage;
|
|
|
|
// Token: 0x04005B08 RID: 23304
|
|
[SerializeField]
|
|
private Text countdownText;
|
|
|
|
// Token: 0x04005B09 RID: 23305
|
|
[SerializeField]
|
|
[Header("Uploading")]
|
|
private GameObject uploadingGroup;
|
|
|
|
// Token: 0x04005B0A RID: 23306
|
|
[SerializeField]
|
|
private Text uploadingDescriptionText;
|
|
|
|
// Token: 0x04005B0B RID: 23307
|
|
[SerializeField]
|
|
private LoadingRotate loadingRotate;
|
|
|
|
// Token: 0x04005B0C RID: 23308
|
|
[Header("Audio")]
|
|
[SerializeField]
|
|
private RecRoomAudioClip countDownTickAudio;
|
|
|
|
// Token: 0x04005B0D RID: 23309
|
|
[SerializeField]
|
|
private RecRoomAudioClip shutterAudio;
|
|
|
|
// Token: 0x04005B0E RID: 23310
|
|
private RenderTexture ANHNNLOIDPF;
|
|
|
|
// Token: 0x04005B0F RID: 23311
|
|
private AltTextureSet COGMPANMHIK = new AltTextureSet();
|
|
}
|
|
}
|