1562 lines
52 KiB
C#
1562 lines
52 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using AGUI.StackedUI.Dialog;
|
|
using CodeStage.AntiCheat.ObscuredTypes;
|
|
using RecNet;
|
|
using RecRoom;
|
|
using RecRoom.Core.Cinematics;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000103 RID: 259
|
|
public class ProfileSelectionManager : SingletonMonoBehaviour<ProfileSelectionManager>
|
|
{
|
|
// Token: 0x060034CF RID: 13519 RVA: 0x00108158 File Offset: 0x00106358
|
|
private IEnumerator ODKKLPOCNEN(float JGJNJBMLHPC)
|
|
{
|
|
if (this.musicSource != null)
|
|
{
|
|
yield return new WaitForSeconds(JGJNJBMLHPC);
|
|
this.musicSource.Play();
|
|
float volume = this.musicSource.volume;
|
|
for (float num = 0f; num < 1f; num += Time.deltaTime / this.musicFadeInTime)
|
|
{
|
|
this.musicSource.volume = Mathf.Lerp(volume, this.JLAFEBKADJP, num);
|
|
yield return null;
|
|
}
|
|
this.musicSource.volume = this.JLAFEBKADJP;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x170000F1 RID: 241
|
|
// (get) Token: 0x0600350B RID: 13579 RVA: 0x00108B48 File Offset: 0x00106D48
|
|
// (set) Token: 0x060034D0 RID: 13520 RVA: 0x0010817C File Offset: 0x0010637C
|
|
public ProfileSelectionMenu KNKBBBDFJCK { get; private set; }
|
|
|
|
// Token: 0x060034D1 RID: 13521 RVA: 0x00108188 File Offset: 0x00106388
|
|
private IEnumerator DBHOCLCKGJD()
|
|
{
|
|
yield return new WaitForSeconds(0.5f);
|
|
this.KNKBBBDFJCK.CloseMenu();
|
|
yield return new WaitForSeconds(0.5f);
|
|
this.recRoomLogo.SetActive(false);
|
|
yield return new WaitForSeconds(0.5f);
|
|
this.projector.SetActive(true);
|
|
this.HIEKMHDKCPM(0f);
|
|
this.videoPlayer.PlayVideo();
|
|
yield return new WaitForSeconds(0.5f);
|
|
while (this.videoPlayer.AGDIGGCMPGJ)
|
|
{
|
|
yield return null;
|
|
}
|
|
yield return new WaitForSeconds(0.25f);
|
|
if (this.posters != null)
|
|
{
|
|
for (int i = 0; i < this.posters.Length; i++)
|
|
{
|
|
if (i > 0)
|
|
{
|
|
yield return new WaitForSeconds(this.waitTimeBetweenPosters);
|
|
}
|
|
GameObject objectToShow = this.posters[i].ObjectToShow;
|
|
AudioClip audioToPlay = this.posters[i].AudioToPlay;
|
|
Vector3 vector = Vector3.zero;
|
|
if (objectToShow != null)
|
|
{
|
|
objectToShow.SetActive(true);
|
|
vector = objectToShow.transform.position;
|
|
}
|
|
if (audioToPlay != null)
|
|
{
|
|
AudioManager.Play2DSFX(audioToPlay, vector, 1f, 0f, 0f);
|
|
}
|
|
}
|
|
}
|
|
this.AFOOAFNNMKG(3f);
|
|
this.KNKBBBDFJCK.OpenMenu(true);
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060034D2 RID: 13522 RVA: 0x001081A4 File Offset: 0x001063A4
|
|
protected override void OnDestroy()
|
|
{
|
|
if (this.GEBOKPFFJII != null)
|
|
{
|
|
AutoReposition gebokpffjii = this.GEBOKPFFJII;
|
|
gebokpffjii.CustomShouldRunLogic = (AutoReposition.AJMKKKLFJEE)Delegate.Remove(gebokpffjii.CustomShouldRunLogic, new AutoReposition.AJMKKKLFJEE(this.AJLEMEFOEKM));
|
|
this.GEBOKPFFJII.OnResetRequired = null;
|
|
}
|
|
base.OnDestroy();
|
|
}
|
|
|
|
// Token: 0x060034D3 RID: 13523 RVA: 0x001081FC File Offset: 0x001063FC
|
|
private bool EGAFCIMHIGM()
|
|
{
|
|
return this.JKGGDJBKGDE().MCGJOOFDCMF();
|
|
}
|
|
|
|
// Token: 0x060034D4 RID: 13524 RVA: 0x0010820C File Offset: 0x0010640C
|
|
private void OOHADCBNKIF(ProfileSelectionStackedUI NOBAPCOKFIL)
|
|
{
|
|
this.<FFPLPMAMOIF>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060034D5 RID: 13525 RVA: 0x00108218 File Offset: 0x00106418
|
|
private void IKKDPDOCFDH(ProfileSelectionMenu NOBAPCOKFIL)
|
|
{
|
|
this.<BBIMFPIOMHF>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060034D6 RID: 13526 RVA: 0x00108224 File Offset: 0x00106424
|
|
private IEnumerator EKMEGPCIGJK()
|
|
{
|
|
this.KNKBBBDFJCK.CloseMenu();
|
|
this.codeOfConductPoster.SetActive(true);
|
|
this.codeOfConductButton.SetActive(false);
|
|
this.OIOMFHKKEOO(TutorialManager.PENKLGMAGGH.ReadCodeOfConduct);
|
|
yield return new WaitForSeconds(10f);
|
|
ChargePhysicalButton componentInChildren = this.codeOfConductButton.GetComponentInChildren<ChargePhysicalButton>();
|
|
componentInChildren.PFPBAKHLIAB += base.OJKNBNGGBEC;
|
|
this.codeOfConductButton.SetActive(true);
|
|
this.OIOMFHKKEOO(TutorialManager.PENKLGMAGGH.AgreeToCodeOfConduct);
|
|
while (!this.EPOGPOANPIM)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.codeOfConductPoster.SetActive(false);
|
|
this.codeOfConductButton.SetActive(false);
|
|
this.SetPositionRotationToDefault();
|
|
this.KNKBBBDFJCK.OpenMenu(false);
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060034D7 RID: 13527 RVA: 0x00108240 File Offset: 0x00106440
|
|
public ProfileSelectionMenu KJMPAFBECOF()
|
|
{
|
|
return this.<BBIMFPIOMHF>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060034D8 RID: 13528 RVA: 0x00108248 File Offset: 0x00106448
|
|
private void OIOMFHKKEOO(TutorialManager.PENKLGMAGGH LGAMBCICIID)
|
|
{
|
|
RecRoomAudioClip recRoomAudioClip = this.tutorialAudioConfigs.BAMMLMKDGKM(LGAMBCICIID);
|
|
if (this.VOSource.isPlaying)
|
|
{
|
|
this.VOSource.Stop();
|
|
}
|
|
this.VOSource.clip = recRoomAudioClip.audioClip;
|
|
this.VOSource.volume = recRoomAudioClip.volume;
|
|
if (recRoomAudioClip.pitchVariation > 0f)
|
|
{
|
|
this.VOSource.pitch = 1f + global::UnityEngine.Random.Range(-recRoomAudioClip.pitchVariation, recRoomAudioClip.pitchVariation);
|
|
}
|
|
else
|
|
{
|
|
this.VOSource.pitch = 1f;
|
|
}
|
|
this.VOSource.Play();
|
|
}
|
|
|
|
// Token: 0x060034D9 RID: 13529 RVA: 0x001082F4 File Offset: 0x001064F4
|
|
private void DCLIELHLBAD(string CCBPJJCOPCA, string CEKPEIMOKIH, bool LLEMGMDOHOH)
|
|
{
|
|
UILoginDialog.OnLoginSubmitted = (Action<string, string, bool>)Delegate.Remove(UILoginDialog.OnLoginSubmitted, new Action<string, string, bool>(this.NHMNDOLLLKH));
|
|
this.CCBPJJCOPCA = CCBPJJCOPCA;
|
|
this.CEKPEIMOKIH = CEKPEIMOKIH;
|
|
this.LLEMGMDOHOH = LLEMGMDOHOH;
|
|
this.NFBDHNOOELF = true;
|
|
}
|
|
|
|
// Token: 0x170000F2 RID: 242
|
|
// (get) Token: 0x060034DE RID: 13534 RVA: 0x001083E0 File Offset: 0x001065E0
|
|
// (set) Token: 0x060034DA RID: 13530 RVA: 0x00108334 File Offset: 0x00106534
|
|
public ProfileSelectionStackedUI PKPJIPMCLKJ { get; private set; }
|
|
|
|
// Token: 0x060034DB RID: 13531 RVA: 0x00108340 File Offset: 0x00106540
|
|
protected virtual void KDHBBCGHDMC()
|
|
{
|
|
if (this.GEBOKPFFJII != null)
|
|
{
|
|
AutoReposition gebokpffjii = this.GEBOKPFFJII;
|
|
gebokpffjii.CustomShouldRunLogic = (AutoReposition.AJMKKKLFJEE)Delegate.Remove(gebokpffjii.CustomShouldRunLogic, new AutoReposition.AJMKKKLFJEE(this.NNJEMGBAKAC));
|
|
this.GEBOKPFFJII.OnResetRequired = null;
|
|
}
|
|
base.OnDestroy();
|
|
}
|
|
|
|
// Token: 0x060034DC RID: 13532 RVA: 0x00108398 File Offset: 0x00106598
|
|
private void GNPIEFHPLAG(string CCBPJJCOPCA, string CEKPEIMOKIH, bool LLEMGMDOHOH)
|
|
{
|
|
UILoginDialog.OnLoginSubmitted = (Action<string, string, bool>)Delegate.Remove(UILoginDialog.OnLoginSubmitted, new Action<string, string, bool>(this.LNCDEFDPHBI));
|
|
this.CCBPJJCOPCA = CCBPJJCOPCA;
|
|
this.CEKPEIMOKIH = CEKPEIMOKIH;
|
|
this.LLEMGMDOHOH = LLEMGMDOHOH;
|
|
this.NFBDHNOOELF = true;
|
|
}
|
|
|
|
// Token: 0x060034DD RID: 13533 RVA: 0x001083D8 File Offset: 0x001065D8
|
|
public ProfileSelectionStackedUI GOLEAMMCIEC()
|
|
{
|
|
return this.<FFPLPMAMOIF>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060034DF RID: 13535 RVA: 0x001083E8 File Offset: 0x001065E8
|
|
private void CLGENEPJHAJ(TutorialManager.PENKLGMAGGH LGAMBCICIID)
|
|
{
|
|
RecRoomAudioClip recRoomAudioClip = this.tutorialAudioConfigs.MMLOAPNHDCI(LGAMBCICIID);
|
|
if (this.VOSource.isPlaying)
|
|
{
|
|
this.VOSource.Stop();
|
|
}
|
|
this.VOSource.clip = recRoomAudioClip.audioClip;
|
|
this.VOSource.volume = recRoomAudioClip.volume;
|
|
if (recRoomAudioClip.pitchVariation > 17f)
|
|
{
|
|
this.VOSource.pitch = 552f + global::UnityEngine.Random.Range(-recRoomAudioClip.pitchVariation, recRoomAudioClip.pitchVariation);
|
|
}
|
|
else
|
|
{
|
|
this.VOSource.pitch = 913f;
|
|
}
|
|
this.VOSource.Play();
|
|
}
|
|
|
|
// Token: 0x060034E0 RID: 13536 RVA: 0x00108494 File Offset: 0x00106694
|
|
private IEnumerator LIANOKPHGAL()
|
|
{
|
|
this.NFBDHNOOELF = true;
|
|
this.autoReposition.ResetMenu();
|
|
this.PKPJIPMCLKJ.ShowLoginDialog();
|
|
this.KNKBBBDFJCK.ShowKeyboard();
|
|
while (this.NFBDHNOOELF)
|
|
{
|
|
UILoginDialog.OnLoginSubmitted = (Action<string, string, bool>)Delegate.Combine(UILoginDialog.OnLoginSubmitted, new Action<string, string, bool>(this.LNCDEFDPHBI));
|
|
while (this.NFBDHNOOELF)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.PKPJIPMCLKJ.LoginDialog.SetInfoText("Logging in...", false);
|
|
yield return HELBDLFLEJG.PLGPIDPGGMA(this.CCBPJJCOPCA, this.CEKPEIMOKIH, this.LLEMGMDOHOH, new HEMCJJJMLKI.CBJHDCMGOCN(base.OJKNBNGGBEC));
|
|
}
|
|
yield return this.FKPLHONOMPH();
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060034E1 RID: 13537 RVA: 0x001084B0 File Offset: 0x001066B0
|
|
private IEnumerator CHACAOLOHGJ(UIJuniorNotificationDialog.EMABBOFHCEP GLEEPDCHHMM)
|
|
{
|
|
ProfileSelectionManager.IHAPGGCBCFC.MJLGHBGFKFO mjlghbgfkfo = new ProfileSelectionManager.IHAPGGCBCFC.MJLGHBGFKFO();
|
|
mjlghbgfkfo.KCBDIJPPCNF = this;
|
|
this.KNKBBBDFJCK.HideKeyboard();
|
|
mjlghbgfkfo.CBHHBFAPHOF = this.PKPJIPMCLKJ.ShowJuniorNotificationDialog(GLEEPDCHHMM);
|
|
yield return new WaitUntil(new Func<bool>(mjlghbgfkfo.OJKNBNGGBEC));
|
|
this.KNKBBBDFJCK.ShowKeyboard();
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060034E2 RID: 13538 RVA: 0x001084D4 File Offset: 0x001066D4
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
this.KNKBBBDFJCK = base.GetComponent<ProfileSelectionMenu>();
|
|
this.HJOPHDNHIBC = SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.KPGFMCHFLBM;
|
|
this.GEBOKPFFJII = base.GetComponent<AutoReposition>();
|
|
AutoReposition gebokpffjii = this.GEBOKPFFJII;
|
|
gebokpffjii.CustomShouldRunLogic = (AutoReposition.AJMKKKLFJEE)Delegate.Combine(gebokpffjii.CustomShouldRunLogic, new AutoReposition.AJMKKKLFJEE(this.AJLEMEFOEKM));
|
|
this.GEBOKPFFJII.OnResetRequired = this.PBHDIKNLMEJ();
|
|
}
|
|
|
|
// Token: 0x060034E3 RID: 13539 RVA: 0x00108548 File Offset: 0x00106748
|
|
private IEnumerator OCNKGHDNEIN()
|
|
{
|
|
this.DHEEALEJPLO = !ObscuredBool.EDHNDLCFIOL(FKJHLNJDEKK.LECFBEBMLIC.AOJHMPBIABL);
|
|
this.APNNBKCHBIL = FKJHLNJDEKK.LECFBEBMLIC.LAGLGAJMOIH == LAGLGAJMOIH.Unregistered;
|
|
if (!this.DHEEALEJPLO && ObscuredBool.EDHNDLCFIOL(FKJHLNJDEKK.LECFBEBMLIC.KIDLLMDFEEI))
|
|
{
|
|
yield return this.CHACAOLOHGJ(UIJuniorNotificationDialog.EMABBOFHCEP.Pending);
|
|
}
|
|
if (!this.DHEEALEJPLO && !this.APNNBKCHBIL)
|
|
{
|
|
this.GFDCLJBBJII = true;
|
|
yield break;
|
|
}
|
|
if (this.DHEEALEJPLO)
|
|
{
|
|
yield return this.ANGEMJOEJHO();
|
|
if (this.LAKHJGKMOAK)
|
|
{
|
|
yield return this.CHACAOLOHGJ(UIJuniorNotificationDialog.EMABBOFHCEP.Updated);
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LAKHJGKMOAK = ObscuredBool.EDHNDLCFIOL(FKJHLNJDEKK.LECFBEBMLIC.JMMJGMOBGJM);
|
|
}
|
|
if (this.APNNBKCHBIL)
|
|
{
|
|
yield return this.NMAMDMGOOBH();
|
|
}
|
|
this.GFDCLJBBJII = true;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060034E4 RID: 13540 RVA: 0x00108564 File Offset: 0x00106764
|
|
protected virtual void LFEBHHFENDK()
|
|
{
|
|
if (this.GEBOKPFFJII != null)
|
|
{
|
|
AutoReposition gebokpffjii = this.GEBOKPFFJII;
|
|
gebokpffjii.CustomShouldRunLogic = (AutoReposition.AJMKKKLFJEE)Delegate.Remove(gebokpffjii.CustomShouldRunLogic, new AutoReposition.AJMKKKLFJEE(this.NNJEMGBAKAC));
|
|
this.GEBOKPFFJII.OnResetRequired = null;
|
|
}
|
|
base.OnDestroy();
|
|
}
|
|
|
|
// Token: 0x060034E5 RID: 13541 RVA: 0x001085BC File Offset: 0x001067BC
|
|
private void HMKHDILABJM(float JGJNJBMLHPC = 0f)
|
|
{
|
|
if (this.LKBIMBHDLMF != null)
|
|
{
|
|
base.StopCoroutine(this.LKBIMBHDLMF);
|
|
}
|
|
this.LKBIMBHDLMF = base.StartCoroutine(this.HHGFFNIKHEJ(JGJNJBMLHPC));
|
|
}
|
|
|
|
// Token: 0x060034E6 RID: 13542 RVA: 0x001085E8 File Offset: 0x001067E8
|
|
public IEnumerator GPODCPPNGGH(Action<string> JOINLHEALDL)
|
|
{
|
|
yield return HELBDLFLEJG.JMMKEELFJHL(new HEMCJJJMLKI.JMICPMCJMJF<List<EEBPLECPEGD>>(base.OJKNBNGGBEC));
|
|
if (!string.IsNullOrEmpty(this.DAKCKPMBKFF))
|
|
{
|
|
JOINLHEALDL(this.DAKCKPMBKFF);
|
|
yield break;
|
|
}
|
|
this.PKPJIPMCLKJ = global::UnityEngine.Object.Instantiate<ProfileSelectionStackedUI>(this.stackedUIPrefab, this.stackedUIVisualRoot);
|
|
this.SetPositionRotationToDefault();
|
|
this.KNKBBBDFJCK.OpenMenu(false);
|
|
while (!this.GFDCLJBBJII)
|
|
{
|
|
yield return null;
|
|
}
|
|
JOINLHEALDL(this.DAKCKPMBKFF);
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060034E7 RID: 13543 RVA: 0x0010860C File Offset: 0x0010680C
|
|
private IEnumerator ANGEMJOEJHO()
|
|
{
|
|
this.PKPJIPMCLKJ.ShowBirthdayDialog();
|
|
this.KNKBBBDFJCK.ShowKeyboard();
|
|
this.OIOMFHKKEOO(TutorialManager.PENKLGMAGGH.PleaseEnterYourBirthday);
|
|
while (this.DHEEALEJPLO)
|
|
{
|
|
ProfileSelectionManager.GLLOKKMFLPH.LMGEEAKMKLP lmgeeakmklp = new ProfileSelectionManager.GLLOKKMFLPH.LMGEEAKMKLP();
|
|
lmgeeakmklp.APIAKIDJNOK = this;
|
|
UIBirthdayDialog.OnValidBirthdayEntered = (Action<DateTime>)Delegate.Combine(UIBirthdayDialog.OnValidBirthdayEntered, new Action<DateTime>(this.IJGBMDGJFCD));
|
|
while (this.DHEEALEJPLO)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.PKPJIPMCLKJ.BirthdayDialog.SetInfoText("Updating...", false);
|
|
lmgeeakmklp.GMILNJIBMCC = false;
|
|
yield return FKJHLNJDEKK.LBBDJFFFAMJ(this.CHLOBFOIPLO, new HEMCJJJMLKI.JMICPMCJMJF<FKJHLNJDEKK.BirthdayUpdateDTO>(lmgeeakmklp.OJKNBNGGBEC));
|
|
while (lmgeeakmklp.GMILNJIBMCC)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060034E8 RID: 13544 RVA: 0x00108628 File Offset: 0x00106828
|
|
public ProfileSelectionMenu CMIEGCGFIGO()
|
|
{
|
|
return this.<BBIMFPIOMHF>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060034E9 RID: 13545 RVA: 0x00108630 File Offset: 0x00106830
|
|
private IEnumerator FKPLHONOMPH()
|
|
{
|
|
this.DHEEALEJPLO = !ObscuredBool.EDHNDLCFIOL(FKJHLNJDEKK.LECFBEBMLIC.AOJHMPBIABL);
|
|
this.APNNBKCHBIL = FKJHLNJDEKK.LECFBEBMLIC.LAGLGAJMOIH == LAGLGAJMOIH.Unregistered;
|
|
if (!this.DHEEALEJPLO && ObscuredBool.EDHNDLCFIOL(FKJHLNJDEKK.LECFBEBMLIC.KIDLLMDFEEI))
|
|
{
|
|
yield return this.CHACAOLOHGJ(UIJuniorNotificationDialog.EMABBOFHCEP.Pending);
|
|
}
|
|
if (!this.DHEEALEJPLO && !this.APNNBKCHBIL)
|
|
{
|
|
this.GFDCLJBBJII = true;
|
|
yield break;
|
|
}
|
|
if (this.DHEEALEJPLO)
|
|
{
|
|
yield return this.ANGEMJOEJHO();
|
|
if (this.LAKHJGKMOAK)
|
|
{
|
|
yield return this.CHACAOLOHGJ(UIJuniorNotificationDialog.EMABBOFHCEP.Updated);
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LAKHJGKMOAK = ObscuredBool.EDHNDLCFIOL(FKJHLNJDEKK.LECFBEBMLIC.JMMJGMOBGJM);
|
|
}
|
|
if (this.APNNBKCHBIL)
|
|
{
|
|
yield return this.NMAMDMGOOBH();
|
|
}
|
|
this.GFDCLJBBJII = true;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060034EA RID: 13546 RVA: 0x0010864C File Offset: 0x0010684C
|
|
private IEnumerator BNIICMOFKAE(float JGJNJBMLHPC)
|
|
{
|
|
if (this.musicSource != null)
|
|
{
|
|
yield return new WaitForSeconds(JGJNJBMLHPC);
|
|
float volume = this.musicSource.volume;
|
|
for (float num = 0f; num < 1f; num += Time.deltaTime / this.musicFadeOutTime)
|
|
{
|
|
this.musicSource.volume = Mathf.Lerp(volume, 0f, num);
|
|
yield return null;
|
|
}
|
|
this.musicSource.volume = 0f;
|
|
this.musicSource.Stop();
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060034EB RID: 13547 RVA: 0x00108670 File Offset: 0x00106870
|
|
private IEnumerator PBHDIKNLMEJ()
|
|
{
|
|
bool isKeyboardOpen = this.KNKBBBDFJCK.GNPBHCEPOGO;
|
|
this.KNKBBBDFJCK.CloseMenu();
|
|
yield return new WaitForSeconds(0.3f);
|
|
this.SetPositionRotationToDefault();
|
|
this.KNKBBBDFJCK.OpenMenu(isKeyboardOpen);
|
|
this.GEBOKPFFJII.OnResetRequired = this.PBHDIKNLMEJ();
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060034EC RID: 13548 RVA: 0x0010868C File Offset: 0x0010688C
|
|
private IEnumerator BLLKDGHIEFK()
|
|
{
|
|
this.PKPJIPMCLKJ.ShowRegistrationDialog(false, this.LAKHJGKMOAK);
|
|
this.KNKBBBDFJCK.ShowKeyboard();
|
|
this.OIOMFHKKEOO((!this.LAKHJGKMOAK) ? TutorialManager.PENKLGMAGGH.RegisterNonJunior : TutorialManager.PENKLGMAGGH.RegisterJunior);
|
|
while (this.APNNBKCHBIL)
|
|
{
|
|
UIRegistrationDialog.OnValidEmailEntered = (Action<string>)Delegate.Combine(UIRegistrationDialog.OnValidEmailEntered, new Action<string>(this.EPMDJILDEKM));
|
|
while (this.APNNBKCHBIL)
|
|
{
|
|
yield return null;
|
|
}
|
|
if (!string.IsNullOrEmpty(this.CCBDPEIAHMM))
|
|
{
|
|
this.PKPJIPMCLKJ.RegistrationDialog.SetInfoText("Setting email...", false);
|
|
yield return HELBDLFLEJG.EPIBKCMJMCP(this.CCBDPEIAHMM, new HEMCJJJMLKI.JMICPMCJMJF<EFDOILDKBFK>(base.OJKNBNGGBEC));
|
|
}
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060034ED RID: 13549 RVA: 0x001086A8 File Offset: 0x001068A8
|
|
private IEnumerator CDLLMBHGMHN()
|
|
{
|
|
yield return new WaitForSeconds(0.5f);
|
|
this.KNKBBBDFJCK.CloseMenu();
|
|
yield return new WaitForSeconds(0.5f);
|
|
this.recRoomLogo.SetActive(false);
|
|
yield return new WaitForSeconds(0.5f);
|
|
this.projector.SetActive(true);
|
|
this.HIEKMHDKCPM(0f);
|
|
this.videoPlayer.PlayVideo();
|
|
yield return new WaitForSeconds(0.5f);
|
|
while (this.videoPlayer.AGDIGGCMPGJ)
|
|
{
|
|
yield return null;
|
|
}
|
|
yield return new WaitForSeconds(0.25f);
|
|
if (this.posters != null)
|
|
{
|
|
for (i = 0; i < this.posters.Length; i++)
|
|
{
|
|
if (i > 0)
|
|
{
|
|
yield return new WaitForSeconds(this.waitTimeBetweenPosters);
|
|
}
|
|
objectToShow = this.posters[i].ObjectToShow;
|
|
audioToPlay = this.posters[i].AudioToPlay;
|
|
vector = Vector3.zero;
|
|
if (objectToShow != null)
|
|
{
|
|
objectToShow.SetActive(true);
|
|
vector = objectToShow.transform.position;
|
|
}
|
|
if (audioToPlay != null)
|
|
{
|
|
AudioManager.Play2DSFX(audioToPlay, vector, 1f, 0f, 0f);
|
|
}
|
|
}
|
|
}
|
|
this.AFOOAFNNMKG(3f);
|
|
this.KNKBBBDFJCK.OpenMenu(true);
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060034EE RID: 13550 RVA: 0x001086C4 File Offset: 0x001068C4
|
|
private void PKEMNDBCDKM(ProfileSelectionMenu NOBAPCOKFIL)
|
|
{
|
|
this.<BBIMFPIOMHF>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060034EF RID: 13551 RVA: 0x001086D0 File Offset: 0x001068D0
|
|
public void GLIHJLOOLHK()
|
|
{
|
|
this.GOLEAMMCIEC().GetFlowByType<ProfileSelectionUIFlow>().SetInfoText(string.Empty, true);
|
|
base.StartCoroutine(this.LIANOKPHGAL());
|
|
}
|
|
|
|
// Token: 0x060034F0 RID: 13552 RVA: 0x001086F8 File Offset: 0x001068F8
|
|
private void EPMDJILDEKM(string CCBDPEIAHMM)
|
|
{
|
|
UIRegistrationDialog.OnValidEmailEntered = (Action<string>)Delegate.Remove(UIRegistrationDialog.OnValidEmailEntered, new Action<string>(this.EPMDJILDEKM));
|
|
this.CCBDPEIAHMM = CCBDPEIAHMM;
|
|
this.APNNBKCHBIL = false;
|
|
}
|
|
|
|
// Token: 0x060034F1 RID: 13553 RVA: 0x00108728 File Offset: 0x00106928
|
|
private IEnumerator JBELLAJAIMK()
|
|
{
|
|
this.KNKBBBDFJCK.CloseMenu();
|
|
this.codeOfConductPoster.SetActive(true);
|
|
this.codeOfConductButton.SetActive(false);
|
|
this.OIOMFHKKEOO(TutorialManager.PENKLGMAGGH.ReadCodeOfConduct);
|
|
yield return new WaitForSeconds(10f);
|
|
componentInChildren = this.codeOfConductButton.GetComponentInChildren<ChargePhysicalButton>();
|
|
componentInChildren.PFPBAKHLIAB += base.OJKNBNGGBEC;
|
|
this.codeOfConductButton.SetActive(true);
|
|
this.OIOMFHKKEOO(TutorialManager.PENKLGMAGGH.AgreeToCodeOfConduct);
|
|
while (!this.EPOGPOANPIM)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.codeOfConductPoster.SetActive(false);
|
|
this.codeOfConductButton.SetActive(false);
|
|
this.SetPositionRotationToDefault();
|
|
this.KNKBBBDFJCK.OpenMenu(false);
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060034F2 RID: 13554 RVA: 0x00108744 File Offset: 0x00106944
|
|
private IEnumerator NMKKOLHJGOC(float LGHELCHFCKE, int JGLMJKGINIM)
|
|
{
|
|
ProfileSelectionManager.KDEDOBKIKBN.DLLBAHOMHJB dllbahomhjb = new ProfileSelectionManager.KDEDOBKIKBN.DLLBAHOMHJB();
|
|
dllbahomhjb.LPKHEOPCJLN = this;
|
|
float num = 0f;
|
|
dllbahomhjb.EDDOGOPMGCM = 0;
|
|
Punchkeyboard keyboard = this.KNKBBBDFJCK.AKLILOCPPAD;
|
|
keyboard.OnAnyKeyPressed = (Action)Delegate.Combine(keyboard.OnAnyKeyPressed, new Action(dllbahomhjb.OJKNBNGGBEC));
|
|
while (num < LGHELCHFCKE && dllbahomhjb.EDDOGOPMGCM < JGLMJKGINIM)
|
|
{
|
|
num += Time.deltaTime;
|
|
yield return null;
|
|
}
|
|
if (dllbahomhjb.EDDOGOPMGCM < JGLMJKGINIM)
|
|
{
|
|
this.typingHint.parent = this.KNKBBBDFJCK.AKLILOCPPAD.transform;
|
|
this.typingHint.localPosition = this.typingHintOffsetFromKeyboard;
|
|
this.typingHint.localRotation = Quaternion.identity;
|
|
this.typingHint.gameObject.SetActive(true);
|
|
this.OIOMFHKKEOO(TutorialManager.PENKLGMAGGH.UseYourFingersToPushButtons);
|
|
while (dllbahomhjb.EDDOGOPMGCM < JGLMJKGINIM)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.typingHint.gameObject.SetActive(false);
|
|
}
|
|
this.KNKBBBDFJCK.AKLILOCPPAD.OnAnyKeyPressed = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060034F3 RID: 13555 RVA: 0x00108770 File Offset: 0x00106970
|
|
private IEnumerator DNCNBLFFHBD(float JGJNJBMLHPC)
|
|
{
|
|
if (this.musicSource != null)
|
|
{
|
|
yield return new WaitForSeconds(JGJNJBMLHPC);
|
|
this.musicSource.Play();
|
|
volume = this.musicSource.volume;
|
|
for (num = 0f; num < 1f; num += Time.deltaTime / this.musicFadeInTime)
|
|
{
|
|
this.musicSource.volume = Mathf.Lerp(volume, this.JLAFEBKADJP, num);
|
|
yield return null;
|
|
}
|
|
this.musicSource.volume = this.JLAFEBKADJP;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060034F4 RID: 13556 RVA: 0x00108794 File Offset: 0x00106994
|
|
public ProfileSelectionStackedUI LOEJGGAEOIB()
|
|
{
|
|
return this.<FFPLPMAMOIF>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060034F5 RID: 13557 RVA: 0x0010879C File Offset: 0x0010699C
|
|
private void LLBCKKJAHMI(string CCBPJJCOPCA, string CEKPEIMOKIH, bool LLEMGMDOHOH)
|
|
{
|
|
UILoginDialog.OnLoginSubmitted = (Action<string, string, bool>)Delegate.Remove(UILoginDialog.OnLoginSubmitted, new Action<string, string, bool>(this.DCLIELHLBAD));
|
|
this.CCBPJJCOPCA = CCBPJJCOPCA;
|
|
this.CEKPEIMOKIH = CEKPEIMOKIH;
|
|
this.LLEMGMDOHOH = LLEMGMDOHOH;
|
|
this.NFBDHNOOELF = false;
|
|
}
|
|
|
|
// Token: 0x060034F6 RID: 13558 RVA: 0x001087DC File Offset: 0x001069DC
|
|
protected virtual void IFJJPPICNGC()
|
|
{
|
|
if (this.GEBOKPFFJII != null)
|
|
{
|
|
AutoReposition gebokpffjii = this.GEBOKPFFJII;
|
|
gebokpffjii.CustomShouldRunLogic = (AutoReposition.AJMKKKLFJEE)Delegate.Remove(gebokpffjii.CustomShouldRunLogic, new AutoReposition.AJMKKKLFJEE(this.EGAFCIMHIGM));
|
|
this.GEBOKPFFJII.OnResetRequired = null;
|
|
}
|
|
base.OnDestroy();
|
|
}
|
|
|
|
// Token: 0x060034F7 RID: 13559 RVA: 0x00108834 File Offset: 0x00106A34
|
|
private IEnumerator INHOHJNCMBI()
|
|
{
|
|
yield return new WaitForSeconds(0.5f);
|
|
this.KNKBBBDFJCK.CloseMenu();
|
|
yield return new WaitForSeconds(0.5f);
|
|
this.recRoomLogo.SetActive(false);
|
|
yield return new WaitForSeconds(0.5f);
|
|
this.projector.SetActive(true);
|
|
this.HIEKMHDKCPM(0f);
|
|
this.videoPlayer.PlayVideo();
|
|
yield return new WaitForSeconds(0.5f);
|
|
while (this.videoPlayer.AGDIGGCMPGJ)
|
|
{
|
|
yield return null;
|
|
}
|
|
yield return new WaitForSeconds(0.25f);
|
|
if (this.posters != null)
|
|
{
|
|
for (i = 0; i < this.posters.Length; i++)
|
|
{
|
|
if (i > 0)
|
|
{
|
|
yield return new WaitForSeconds(this.waitTimeBetweenPosters);
|
|
}
|
|
objectToShow = this.posters[i].ObjectToShow;
|
|
audioToPlay = this.posters[i].AudioToPlay;
|
|
vector = Vector3.zero;
|
|
if (objectToShow != null)
|
|
{
|
|
objectToShow.SetActive(true);
|
|
vector = objectToShow.transform.position;
|
|
}
|
|
if (audioToPlay != null)
|
|
{
|
|
AudioManager.Play2DSFX(audioToPlay, vector, 1f, 0f, 0f);
|
|
}
|
|
}
|
|
}
|
|
this.AFOOAFNNMKG(3f);
|
|
this.KNKBBBDFJCK.OpenMenu(true);
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060034F8 RID: 13560 RVA: 0x00108850 File Offset: 0x00106A50
|
|
private void GPKEIFLHCIE(string CCBDPEIAHMM)
|
|
{
|
|
UIRegistrationDialog.OnValidEmailEntered = (Action<string>)Delegate.Remove(UIRegistrationDialog.OnValidEmailEntered, new Action<string>(this.GPKEIFLHCIE));
|
|
this.CCBDPEIAHMM = CCBDPEIAHMM;
|
|
this.APNNBKCHBIL = true;
|
|
}
|
|
|
|
// Token: 0x060034F9 RID: 13561 RVA: 0x00108880 File Offset: 0x00106A80
|
|
protected virtual void EBIHIJKFLDM()
|
|
{
|
|
if (this.GEBOKPFFJII != null)
|
|
{
|
|
AutoReposition gebokpffjii = this.GEBOKPFFJII;
|
|
gebokpffjii.CustomShouldRunLogic = (AutoReposition.AJMKKKLFJEE)Delegate.Remove(gebokpffjii.CustomShouldRunLogic, new AutoReposition.AJMKKKLFJEE(this.BFAMCLHJOIH));
|
|
this.GEBOKPFFJII.OnResetRequired = null;
|
|
}
|
|
base.OnDestroy();
|
|
}
|
|
|
|
// Token: 0x060034FA RID: 13562 RVA: 0x001088D8 File Offset: 0x00106AD8
|
|
private void ELLDPKLBNFM(string CCBPJJCOPCA, string CEKPEIMOKIH, bool LLEMGMDOHOH)
|
|
{
|
|
UILoginDialog.OnLoginSubmitted = (Action<string, string, bool>)Delegate.Remove(UILoginDialog.OnLoginSubmitted, new Action<string, string, bool>(this.DCLIELHLBAD));
|
|
this.CCBPJJCOPCA = CCBPJJCOPCA;
|
|
this.CEKPEIMOKIH = CEKPEIMOKIH;
|
|
this.LLEMGMDOHOH = LLEMGMDOHOH;
|
|
this.NFBDHNOOELF = true;
|
|
}
|
|
|
|
// Token: 0x060034FB RID: 13563 RVA: 0x00108918 File Offset: 0x00106B18
|
|
protected virtual void GCOFOGPIJJA()
|
|
{
|
|
base.Awake();
|
|
this.PKEMNDBCDKM(base.GetComponent<ProfileSelectionMenu>());
|
|
this.HJOPHDNHIBC = SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.KPGFMCHFLBM;
|
|
this.GEBOKPFFJII = base.GetComponent<AutoReposition>();
|
|
AutoReposition gebokpffjii = this.GEBOKPFFJII;
|
|
gebokpffjii.CustomShouldRunLogic = (AutoReposition.AJMKKKLFJEE)Delegate.Combine(gebokpffjii.CustomShouldRunLogic, new AutoReposition.AJMKKKLFJEE(this.BFAMCLHJOIH));
|
|
this.GEBOKPFFJII.OnResetRequired = this.PBHDIKNLMEJ();
|
|
}
|
|
|
|
// Token: 0x060034FC RID: 13564 RVA: 0x0010898C File Offset: 0x00106B8C
|
|
private bool AJLEMEFOEKM()
|
|
{
|
|
return this.KNKBBBDFJCK.AJLEMEFOEKM;
|
|
}
|
|
|
|
// Token: 0x060034FD RID: 13565 RVA: 0x0010899C File Offset: 0x00106B9C
|
|
public ProfileSelectionMenu JKGGDJBKGDE()
|
|
{
|
|
return this.<BBIMFPIOMHF>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060034FE RID: 13566 RVA: 0x001089A4 File Offset: 0x00106BA4
|
|
public void Login()
|
|
{
|
|
this.PKPJIPMCLKJ.GetFlowByType<ProfileSelectionUIFlow>().SetInfoText(string.Empty, false);
|
|
base.StartCoroutine(this.LIANOKPHGAL());
|
|
}
|
|
|
|
// Token: 0x060034FF RID: 13567 RVA: 0x001089CC File Offset: 0x00106BCC
|
|
private void AJLIPFELIAH(ProfileSelectionStackedUI NOBAPCOKFIL)
|
|
{
|
|
this.<FFPLPMAMOIF>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06003500 RID: 13568 RVA: 0x001089D8 File Offset: 0x00106BD8
|
|
private IEnumerator NOMEIKACPAE()
|
|
{
|
|
this.PKPJIPMCLKJ.ShowBirthdayDialog();
|
|
this.KNKBBBDFJCK.ShowKeyboard();
|
|
this.OIOMFHKKEOO(TutorialManager.PENKLGMAGGH.PleaseEnterYourBirthday);
|
|
while (this.DHEEALEJPLO)
|
|
{
|
|
lmgeeakmklp = new ProfileSelectionManager.GLLOKKMFLPH.LMGEEAKMKLP();
|
|
lmgeeakmklp.APIAKIDJNOK = this;
|
|
UIBirthdayDialog.OnValidBirthdayEntered = (Action<DateTime>)Delegate.Combine(UIBirthdayDialog.OnValidBirthdayEntered, new Action<DateTime>(this.IJGBMDGJFCD));
|
|
while (this.DHEEALEJPLO)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.PKPJIPMCLKJ.BirthdayDialog.SetInfoText("Updating...", false);
|
|
lmgeeakmklp.GMILNJIBMCC = false;
|
|
yield return FKJHLNJDEKK.LBBDJFFFAMJ(this.CHLOBFOIPLO, new HEMCJJJMLKI.JMICPMCJMJF<FKJHLNJDEKK.BirthdayUpdateDTO>(lmgeeakmklp.OJKNBNGGBEC));
|
|
while (lmgeeakmklp.GMILNJIBMCC)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06003501 RID: 13569 RVA: 0x001089F4 File Offset: 0x00106BF4
|
|
public void AKIIKEPOIEI()
|
|
{
|
|
this.PKPJIPMCLKJ.GetFlowByType<ProfileSelectionUIFlow>().BOCCLBHJDLM(string.Empty, true);
|
|
base.StartCoroutine(this.LIANOKPHGAL());
|
|
}
|
|
|
|
// Token: 0x06003502 RID: 13570 RVA: 0x00108A1C File Offset: 0x00106C1C
|
|
private IEnumerator HMKNLGFKPDH(float LGHELCHFCKE, int JGLMJKGINIM)
|
|
{
|
|
dllbahomhjb = new ProfileSelectionManager.KDEDOBKIKBN.DLLBAHOMHJB();
|
|
dllbahomhjb.LPKHEOPCJLN = this;
|
|
num = 0f;
|
|
dllbahomhjb.EDDOGOPMGCM = 0;
|
|
Punchkeyboard keyboard = this.KNKBBBDFJCK.AKLILOCPPAD;
|
|
keyboard.OnAnyKeyPressed = (Action)Delegate.Combine(keyboard.OnAnyKeyPressed, new Action(dllbahomhjb.OJKNBNGGBEC));
|
|
while (num < LGHELCHFCKE && dllbahomhjb.EDDOGOPMGCM < JGLMJKGINIM)
|
|
{
|
|
num += Time.deltaTime;
|
|
yield return null;
|
|
}
|
|
if (dllbahomhjb.EDDOGOPMGCM < JGLMJKGINIM)
|
|
{
|
|
this.typingHint.parent = this.KNKBBBDFJCK.AKLILOCPPAD.transform;
|
|
this.typingHint.localPosition = this.typingHintOffsetFromKeyboard;
|
|
this.typingHint.localRotation = Quaternion.identity;
|
|
this.typingHint.gameObject.SetActive(true);
|
|
this.OIOMFHKKEOO(TutorialManager.PENKLGMAGGH.UseYourFingersToPushButtons);
|
|
while (dllbahomhjb.EDDOGOPMGCM < JGLMJKGINIM)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.typingHint.gameObject.SetActive(false);
|
|
}
|
|
this.KNKBBBDFJCK.AKLILOCPPAD.OnAnyKeyPressed = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06003503 RID: 13571 RVA: 0x00108A48 File Offset: 0x00106C48
|
|
private IEnumerator FMFHMOOKGFD(EEBPLECPEGD HPMPJMIOMCK)
|
|
{
|
|
ProfileSelectionManager.PEJACAPLJGK.LAHMECGGNEE lahmecggnee = new ProfileSelectionManager.PEJACAPLJGK.LAHMECGGNEE();
|
|
lahmecggnee.JMDBCBACLEI = this;
|
|
lahmecggnee.DAKCKPMBKFF = null;
|
|
yield return HELBDLFLEJG.FCDDGFKCHAI(ObscuredLong.EDHNDLCFIOL(HPMPJMIOMCK.PKJFPDJKJAH), new HEMCJJJMLKI.CBJHDCMGOCN(lahmecggnee.OJKNBNGGBEC));
|
|
if (string.IsNullOrEmpty(lahmecggnee.DAKCKPMBKFF))
|
|
{
|
|
SingletonMonoBehaviour<ScreenSpaceNotificationManager>.NCKMBFBMBFM.Play(ScreenSpaceNotificationManager.DBNGPDFKLEK.Medium, "Account selected", string.Format("{0}", HPMPJMIOMCK.ENMNBBMDOHC), 3f, null, false);
|
|
yield return this.FKPLHONOMPH();
|
|
}
|
|
else
|
|
{
|
|
this.PKPJIPMCLKJ.GetFlowByType<ProfileSelectionUIFlow>().SetInfoText(lahmecggnee.DAKCKPMBKFF, true);
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06003504 RID: 13572 RVA: 0x00108A6C File Offset: 0x00106C6C
|
|
public void LoginToCachedProfile(EEBPLECPEGD HPMPJMIOMCK)
|
|
{
|
|
this.PKPJIPMCLKJ.GetFlowByType<ProfileSelectionUIFlow>().SetInfoText("Logging in...", false);
|
|
base.StartCoroutine(this.FMFHMOOKGFD(HPMPJMIOMCK));
|
|
}
|
|
|
|
// Token: 0x06003505 RID: 13573 RVA: 0x00108A94 File Offset: 0x00106C94
|
|
private bool BFAMCLHJOIH()
|
|
{
|
|
return this.KNKBBBDFJCK.BKPKIBJGNNJ();
|
|
}
|
|
|
|
// Token: 0x06003506 RID: 13574 RVA: 0x00108AA4 File Offset: 0x00106CA4
|
|
private IEnumerator APOKHJHDCKC(UIJuniorNotificationDialog.EMABBOFHCEP GLEEPDCHHMM)
|
|
{
|
|
mjlghbgfkfo = new ProfileSelectionManager.IHAPGGCBCFC.MJLGHBGFKFO();
|
|
mjlghbgfkfo.KCBDIJPPCNF = this;
|
|
this.KNKBBBDFJCK.HideKeyboard();
|
|
mjlghbgfkfo.CBHHBFAPHOF = this.PKPJIPMCLKJ.ShowJuniorNotificationDialog(GLEEPDCHHMM);
|
|
yield return new WaitUntil(new Func<bool>(mjlghbgfkfo.OJKNBNGGBEC));
|
|
this.KNKBBBDFJCK.ShowKeyboard();
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06003507 RID: 13575 RVA: 0x00108AC8 File Offset: 0x00106CC8
|
|
private IEnumerator FJNNAEKOJIG(float JGJNJBMLHPC)
|
|
{
|
|
if (this.musicSource != null)
|
|
{
|
|
yield return new WaitForSeconds(JGJNJBMLHPC);
|
|
volume = this.musicSource.volume;
|
|
for (num = 0f; num < 1f; num += Time.deltaTime / this.musicFadeOutTime)
|
|
{
|
|
this.musicSource.volume = Mathf.Lerp(volume, 0f, num);
|
|
yield return null;
|
|
}
|
|
this.musicSource.volume = 0f;
|
|
this.musicSource.Stop();
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06003508 RID: 13576 RVA: 0x00108AEC File Offset: 0x00106CEC
|
|
private void HIEKMHDKCPM(float JGJNJBMLHPC = 0f)
|
|
{
|
|
if (this.LKBIMBHDLMF != null)
|
|
{
|
|
base.StopCoroutine(this.LKBIMBHDLMF);
|
|
}
|
|
this.LKBIMBHDLMF = base.StartCoroutine(this.FJNNAEKOJIG(JGJNJBMLHPC));
|
|
}
|
|
|
|
// Token: 0x06003509 RID: 13577 RVA: 0x00108B18 File Offset: 0x00106D18
|
|
private IEnumerator PKOPABEEBHK(float JGJNJBMLHPC)
|
|
{
|
|
if (this.musicSource != null)
|
|
{
|
|
yield return new WaitForSeconds(JGJNJBMLHPC);
|
|
volume = this.musicSource.volume;
|
|
for (num = 0f; num < 1f; num += Time.deltaTime / this.musicFadeOutTime)
|
|
{
|
|
this.musicSource.volume = Mathf.Lerp(volume, 0f, num);
|
|
yield return null;
|
|
}
|
|
this.musicSource.volume = 0f;
|
|
this.musicSource.Stop();
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600350A RID: 13578 RVA: 0x00108B3C File Offset: 0x00106D3C
|
|
private void OBPOBDMCJAJ(ProfileSelectionStackedUI NOBAPCOKFIL)
|
|
{
|
|
this.<FFPLPMAMOIF>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600350C RID: 13580 RVA: 0x00108B50 File Offset: 0x00106D50
|
|
private IEnumerator ALEGDILFMPC()
|
|
{
|
|
this.KNKBBBDFJCK.CloseMenu();
|
|
this.codeOfConductPoster.SetActive(true);
|
|
this.codeOfConductButton.SetActive(false);
|
|
this.OIOMFHKKEOO(TutorialManager.PENKLGMAGGH.ReadCodeOfConduct);
|
|
yield return new WaitForSeconds(10f);
|
|
componentInChildren = this.codeOfConductButton.GetComponentInChildren<ChargePhysicalButton>();
|
|
componentInChildren.PFPBAKHLIAB += base.OJKNBNGGBEC;
|
|
this.codeOfConductButton.SetActive(true);
|
|
this.OIOMFHKKEOO(TutorialManager.PENKLGMAGGH.AgreeToCodeOfConduct);
|
|
while (!this.EPOGPOANPIM)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.codeOfConductPoster.SetActive(false);
|
|
this.codeOfConductButton.SetActive(false);
|
|
this.SetPositionRotationToDefault();
|
|
this.KNKBBBDFJCK.OpenMenu(false);
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600350D RID: 13581 RVA: 0x00108B6C File Offset: 0x00106D6C
|
|
private void AFOOAFNNMKG(float JGJNJBMLHPC = 0f)
|
|
{
|
|
if (this.LKBIMBHDLMF != null)
|
|
{
|
|
base.StopCoroutine(this.LKBIMBHDLMF);
|
|
}
|
|
this.LKBIMBHDLMF = base.StartCoroutine(this.ODKKLPOCNEN(JGJNJBMLHPC));
|
|
}
|
|
|
|
// Token: 0x0600350E RID: 13582 RVA: 0x00108B98 File Offset: 0x00106D98
|
|
private void ADDGPPDCLKB(TutorialManager.PENKLGMAGGH LGAMBCICIID)
|
|
{
|
|
RecRoomAudioClip recRoomAudioClip = this.tutorialAudioConfigs.GCKBLKKBNBF(LGAMBCICIID);
|
|
if (this.VOSource.isPlaying)
|
|
{
|
|
this.VOSource.Stop();
|
|
}
|
|
this.VOSource.clip = recRoomAudioClip.audioClip;
|
|
this.VOSource.volume = recRoomAudioClip.volume;
|
|
if (recRoomAudioClip.pitchVariation > 517f)
|
|
{
|
|
this.VOSource.pitch = 905f + global::UnityEngine.Random.Range(-recRoomAudioClip.pitchVariation, recRoomAudioClip.pitchVariation);
|
|
}
|
|
else
|
|
{
|
|
this.VOSource.pitch = 994f;
|
|
}
|
|
this.VOSource.Play();
|
|
}
|
|
|
|
// Token: 0x0600350F RID: 13583 RVA: 0x00108C44 File Offset: 0x00106E44
|
|
private void EJOHMIBJMKC(float JGJNJBMLHPC = 0f)
|
|
{
|
|
if (this.LKBIMBHDLMF != null)
|
|
{
|
|
base.StopCoroutine(this.LKBIMBHDLMF);
|
|
}
|
|
this.LKBIMBHDLMF = base.StartCoroutine(this.BNIICMOFKAE(JGJNJBMLHPC));
|
|
}
|
|
|
|
// Token: 0x06003510 RID: 13584 RVA: 0x00108C70 File Offset: 0x00106E70
|
|
protected virtual void ONKCFGIOGCF()
|
|
{
|
|
base.Awake();
|
|
this.IKKDPDOCFDH(base.GetComponent<ProfileSelectionMenu>());
|
|
this.HJOPHDNHIBC = SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.KPGFMCHFLBM;
|
|
this.GEBOKPFFJII = base.GetComponent<AutoReposition>();
|
|
AutoReposition gebokpffjii = this.GEBOKPFFJII;
|
|
gebokpffjii.CustomShouldRunLogic = (AutoReposition.AJMKKKLFJEE)Delegate.Combine(gebokpffjii.CustomShouldRunLogic, new AutoReposition.AJMKKKLFJEE(this.BFAMCLHJOIH));
|
|
this.GEBOKPFFJII.OnResetRequired = this.PBHDIKNLMEJ();
|
|
}
|
|
|
|
// Token: 0x06003511 RID: 13585 RVA: 0x00108CE4 File Offset: 0x00106EE4
|
|
private void IJGBMDGJFCD(DateTime CHLOBFOIPLO)
|
|
{
|
|
UIBirthdayDialog.OnValidBirthdayEntered = (Action<DateTime>)Delegate.Remove(UIBirthdayDialog.OnValidBirthdayEntered, new Action<DateTime>(this.IJGBMDGJFCD));
|
|
this.CHLOBFOIPLO = CHLOBFOIPLO;
|
|
this.LAKHJGKMOAK = CHLOBFOIPLO.ToUniversalTime().AddYears(13) > DateTime.UtcNow;
|
|
this.DHEEALEJPLO = false;
|
|
}
|
|
|
|
// Token: 0x06003512 RID: 13586 RVA: 0x00108D40 File Offset: 0x00106F40
|
|
public void OAAJGEFELEA()
|
|
{
|
|
Vector3 forward = this.HJOPHDNHIBC.transform.forward;
|
|
forward.y = 1650f;
|
|
forward.Normalize();
|
|
Vector3 vector = this.HJOPHDNHIBC.transform.position + forward * 1755f;
|
|
vector.y = Mathf.Clamp(this.HJOPHDNHIBC.transform.position.y - 213f, 27f, 1431f);
|
|
base.transform.position = vector;
|
|
base.transform.rotation = Quaternion.LookRotation(forward);
|
|
}
|
|
|
|
// Token: 0x06003513 RID: 13587 RVA: 0x00108DE4 File Offset: 0x00106FE4
|
|
public IEnumerator WaitForLogIn(Action<string> JOINLHEALDL)
|
|
{
|
|
yield return HELBDLFLEJG.JMMKEELFJHL(new HEMCJJJMLKI.JMICPMCJMJF<List<EEBPLECPEGD>>(base.OJKNBNGGBEC));
|
|
if (!string.IsNullOrEmpty(this.DAKCKPMBKFF))
|
|
{
|
|
JOINLHEALDL(this.DAKCKPMBKFF);
|
|
yield break;
|
|
}
|
|
this.PKPJIPMCLKJ = global::UnityEngine.Object.Instantiate<ProfileSelectionStackedUI>(this.stackedUIPrefab, this.stackedUIVisualRoot);
|
|
this.SetPositionRotationToDefault();
|
|
this.KNKBBBDFJCK.OpenMenu(false);
|
|
while (!this.GFDCLJBBJII)
|
|
{
|
|
yield return null;
|
|
}
|
|
JOINLHEALDL(this.DAKCKPMBKFF);
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06003514 RID: 13588 RVA: 0x00108E08 File Offset: 0x00107008
|
|
private IEnumerator MCNIDEOLAKN()
|
|
{
|
|
this.PKPJIPMCLKJ.ShowRegistrationDialog(false, this.LAKHJGKMOAK);
|
|
this.KNKBBBDFJCK.ShowKeyboard();
|
|
this.OIOMFHKKEOO((!this.LAKHJGKMOAK) ? TutorialManager.PENKLGMAGGH.RegisterNonJunior : TutorialManager.PENKLGMAGGH.RegisterJunior);
|
|
while (this.APNNBKCHBIL)
|
|
{
|
|
UIRegistrationDialog.OnValidEmailEntered = (Action<string>)Delegate.Combine(UIRegistrationDialog.OnValidEmailEntered, new Action<string>(this.EPMDJILDEKM));
|
|
while (this.APNNBKCHBIL)
|
|
{
|
|
yield return null;
|
|
}
|
|
if (!string.IsNullOrEmpty(this.CCBDPEIAHMM))
|
|
{
|
|
this.PKPJIPMCLKJ.RegistrationDialog.SetInfoText("Setting email...", false);
|
|
yield return HELBDLFLEJG.EPIBKCMJMCP(this.CCBDPEIAHMM, new HEMCJJJMLKI.JMICPMCJMJF<EFDOILDKBFK>(base.OJKNBNGGBEC));
|
|
}
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06003515 RID: 13589 RVA: 0x00108E24 File Offset: 0x00107024
|
|
private void IBOPDKNAALG(DateTime CHLOBFOIPLO)
|
|
{
|
|
UIBirthdayDialog.OnValidBirthdayEntered = (Action<DateTime>)Delegate.Remove(UIBirthdayDialog.OnValidBirthdayEntered, new Action<DateTime>(this.IBOPDKNAALG));
|
|
this.CHLOBFOIPLO = CHLOBFOIPLO;
|
|
this.LAKHJGKMOAK = CHLOBFOIPLO.ToUniversalTime().AddYears(-29) > DateTime.UtcNow;
|
|
this.DHEEALEJPLO = true;
|
|
}
|
|
|
|
// Token: 0x06003516 RID: 13590 RVA: 0x00108E80 File Offset: 0x00107080
|
|
private IEnumerator NMAMDMGOOBH()
|
|
{
|
|
this.PKPJIPMCLKJ.ShowRegistrationDialog(false, this.LAKHJGKMOAK);
|
|
this.KNKBBBDFJCK.ShowKeyboard();
|
|
this.OIOMFHKKEOO((!this.LAKHJGKMOAK) ? TutorialManager.PENKLGMAGGH.RegisterNonJunior : TutorialManager.PENKLGMAGGH.RegisterJunior);
|
|
while (this.APNNBKCHBIL)
|
|
{
|
|
UIRegistrationDialog.OnValidEmailEntered = (Action<string>)Delegate.Combine(UIRegistrationDialog.OnValidEmailEntered, new Action<string>(this.EPMDJILDEKM));
|
|
while (this.APNNBKCHBIL)
|
|
{
|
|
yield return null;
|
|
}
|
|
if (!string.IsNullOrEmpty(this.CCBDPEIAHMM))
|
|
{
|
|
this.PKPJIPMCLKJ.RegistrationDialog.SetInfoText("Setting email...", false);
|
|
yield return HELBDLFLEJG.EPIBKCMJMCP(this.CCBDPEIAHMM, new HEMCJJJMLKI.JMICPMCJMJF<EFDOILDKBFK>(base.OJKNBNGGBEC));
|
|
}
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06003517 RID: 13591 RVA: 0x00108E9C File Offset: 0x0010709C
|
|
private IEnumerator OJCNKDEEEIB(float LGHELCHFCKE, int JGLMJKGINIM)
|
|
{
|
|
dllbahomhjb = new ProfileSelectionManager.KDEDOBKIKBN.DLLBAHOMHJB();
|
|
dllbahomhjb.LPKHEOPCJLN = this;
|
|
num = 0f;
|
|
dllbahomhjb.EDDOGOPMGCM = 0;
|
|
Punchkeyboard keyboard = this.KNKBBBDFJCK.AKLILOCPPAD;
|
|
keyboard.OnAnyKeyPressed = (Action)Delegate.Combine(keyboard.OnAnyKeyPressed, new Action(dllbahomhjb.OJKNBNGGBEC));
|
|
while (num < LGHELCHFCKE && dllbahomhjb.EDDOGOPMGCM < JGLMJKGINIM)
|
|
{
|
|
num += Time.deltaTime;
|
|
yield return null;
|
|
}
|
|
if (dllbahomhjb.EDDOGOPMGCM < JGLMJKGINIM)
|
|
{
|
|
this.typingHint.parent = this.KNKBBBDFJCK.AKLILOCPPAD.transform;
|
|
this.typingHint.localPosition = this.typingHintOffsetFromKeyboard;
|
|
this.typingHint.localRotation = Quaternion.identity;
|
|
this.typingHint.gameObject.SetActive(true);
|
|
this.OIOMFHKKEOO(TutorialManager.PENKLGMAGGH.UseYourFingersToPushButtons);
|
|
while (dllbahomhjb.EDDOGOPMGCM < JGLMJKGINIM)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.typingHint.gameObject.SetActive(false);
|
|
}
|
|
this.KNKBBBDFJCK.AKLILOCPPAD.OnAnyKeyPressed = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06003518 RID: 13592 RVA: 0x00108EC8 File Offset: 0x001070C8
|
|
private IEnumerator MNGAIMKPKBD(float JGJNJBMLHPC)
|
|
{
|
|
if (this.musicSource != null)
|
|
{
|
|
yield return new WaitForSeconds(JGJNJBMLHPC);
|
|
volume = this.musicSource.volume;
|
|
for (num = 0f; num < 1f; num += Time.deltaTime / this.musicFadeOutTime)
|
|
{
|
|
this.musicSource.volume = Mathf.Lerp(volume, 0f, num);
|
|
yield return null;
|
|
}
|
|
this.musicSource.volume = 0f;
|
|
this.musicSource.Stop();
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06003519 RID: 13593 RVA: 0x00108EEC File Offset: 0x001070EC
|
|
public void CreateNewAccount()
|
|
{
|
|
this.PKPJIPMCLKJ.GetFlowByType<ProfileSelectionUIFlow>().SetInfoText(string.Empty, false);
|
|
base.StartCoroutine(this.LLMMHIIFACN());
|
|
}
|
|
|
|
// Token: 0x0600351A RID: 13594 RVA: 0x00108F14 File Offset: 0x00107114
|
|
private void EMOPBLLJAJA(ProfileSelectionStackedUI NOBAPCOKFIL)
|
|
{
|
|
this.<FFPLPMAMOIF>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600351B RID: 13595 RVA: 0x00108F20 File Offset: 0x00107120
|
|
private IEnumerator OMHDICDHCIG(float JGJNJBMLHPC)
|
|
{
|
|
if (this.musicSource != null)
|
|
{
|
|
yield return new WaitForSeconds(JGJNJBMLHPC);
|
|
this.musicSource.Play();
|
|
volume = this.musicSource.volume;
|
|
for (num = 0f; num < 1f; num += Time.deltaTime / this.musicFadeInTime)
|
|
{
|
|
this.musicSource.volume = Mathf.Lerp(volume, this.JLAFEBKADJP, num);
|
|
yield return null;
|
|
}
|
|
this.musicSource.volume = this.JLAFEBKADJP;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600351C RID: 13596 RVA: 0x00108F44 File Offset: 0x00107144
|
|
private IEnumerator HHGFFNIKHEJ(float JGJNJBMLHPC)
|
|
{
|
|
if (this.musicSource != null)
|
|
{
|
|
yield return new WaitForSeconds(JGJNJBMLHPC);
|
|
volume = this.musicSource.volume;
|
|
for (num = 0f; num < 1f; num += Time.deltaTime / this.musicFadeOutTime)
|
|
{
|
|
this.musicSource.volume = Mathf.Lerp(volume, 0f, num);
|
|
yield return null;
|
|
}
|
|
this.musicSource.volume = 0f;
|
|
this.musicSource.Stop();
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0600351D RID: 13597 RVA: 0x00108F68 File Offset: 0x00107168
|
|
private void LNCDEFDPHBI(string CCBPJJCOPCA, string CEKPEIMOKIH, bool LLEMGMDOHOH)
|
|
{
|
|
UILoginDialog.OnLoginSubmitted = (Action<string, string, bool>)Delegate.Remove(UILoginDialog.OnLoginSubmitted, new Action<string, string, bool>(this.LNCDEFDPHBI));
|
|
this.CCBPJJCOPCA = CCBPJJCOPCA;
|
|
this.CEKPEIMOKIH = CEKPEIMOKIH;
|
|
this.LLEMGMDOHOH = LLEMGMDOHOH;
|
|
this.NFBDHNOOELF = false;
|
|
}
|
|
|
|
// Token: 0x0600351E RID: 13598 RVA: 0x00108FA8 File Offset: 0x001071A8
|
|
private IEnumerator EKFKIPIIICC(float LGHELCHFCKE, int JGLMJKGINIM)
|
|
{
|
|
dllbahomhjb = new ProfileSelectionManager.KDEDOBKIKBN.DLLBAHOMHJB();
|
|
dllbahomhjb.LPKHEOPCJLN = this;
|
|
num = 0f;
|
|
dllbahomhjb.EDDOGOPMGCM = 0;
|
|
Punchkeyboard keyboard = this.KNKBBBDFJCK.AKLILOCPPAD;
|
|
keyboard.OnAnyKeyPressed = (Action)Delegate.Combine(keyboard.OnAnyKeyPressed, new Action(dllbahomhjb.OJKNBNGGBEC));
|
|
while (num < LGHELCHFCKE && dllbahomhjb.EDDOGOPMGCM < JGLMJKGINIM)
|
|
{
|
|
num += Time.deltaTime;
|
|
yield return null;
|
|
}
|
|
if (dllbahomhjb.EDDOGOPMGCM < JGLMJKGINIM)
|
|
{
|
|
this.typingHint.parent = this.KNKBBBDFJCK.AKLILOCPPAD.transform;
|
|
this.typingHint.localPosition = this.typingHintOffsetFromKeyboard;
|
|
this.typingHint.localRotation = Quaternion.identity;
|
|
this.typingHint.gameObject.SetActive(true);
|
|
this.OIOMFHKKEOO(TutorialManager.PENKLGMAGGH.UseYourFingersToPushButtons);
|
|
while (dllbahomhjb.EDDOGOPMGCM < JGLMJKGINIM)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.typingHint.gameObject.SetActive(false);
|
|
}
|
|
this.KNKBBBDFJCK.AKLILOCPPAD.OnAnyKeyPressed = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06003520 RID: 13600 RVA: 0x00109014 File Offset: 0x00107214
|
|
private void KEAPBBLBANJ(float JGJNJBMLHPC = 0f)
|
|
{
|
|
if (this.LKBIMBHDLMF != null)
|
|
{
|
|
base.StopCoroutine(this.LKBIMBHDLMF);
|
|
}
|
|
this.LKBIMBHDLMF = base.StartCoroutine(this.PKOPABEEBHK(JGJNJBMLHPC));
|
|
}
|
|
|
|
// Token: 0x06003521 RID: 13601 RVA: 0x00109040 File Offset: 0x00107240
|
|
private bool NNJEMGBAKAC()
|
|
{
|
|
return this.KJMPAFBECOF().OPNCCAIPMAF();
|
|
}
|
|
|
|
// Token: 0x06003522 RID: 13602 RVA: 0x00109050 File Offset: 0x00107250
|
|
public ProfileSelectionMenu CJFKGCIMOBM()
|
|
{
|
|
return this.<BBIMFPIOMHF>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06003523 RID: 13603 RVA: 0x00109058 File Offset: 0x00107258
|
|
private bool GCGCLLINKGB()
|
|
{
|
|
return this.KJMPAFBECOF().MCGJOOFDCMF();
|
|
}
|
|
|
|
// Token: 0x06003524 RID: 13604 RVA: 0x00109068 File Offset: 0x00107268
|
|
private IEnumerator LLMMHIIFACN()
|
|
{
|
|
yield return this.CDLLMBHGMHN();
|
|
this.DHEEALEJPLO = true;
|
|
this.APNNBKCHBIL = true;
|
|
this.autoReposition.ResetMenu();
|
|
this.PKPJIPMCLKJ.ShowBirthdayDialog();
|
|
this.KNKBBBDFJCK.ShowKeyboard();
|
|
UIBirthdayDialog.OnValidBirthdayEntered = (Action<DateTime>)Delegate.Combine(UIBirthdayDialog.OnValidBirthdayEntered, new Action<DateTime>(this.IJGBMDGJFCD));
|
|
this.OIOMFHKKEOO(TutorialManager.PENKLGMAGGH.FirstEnterYourBirthday);
|
|
base.StartCoroutine(this.NMKKOLHJGOC(7f, 2));
|
|
while (this.DHEEALEJPLO)
|
|
{
|
|
yield return null;
|
|
}
|
|
if (this.LAKHJGKMOAK)
|
|
{
|
|
yield return this.CHACAOLOHGJ(UIJuniorNotificationDialog.EMABBOFHCEP.Creating);
|
|
}
|
|
this.PKPJIPMCLKJ.ShowRegistrationDialog(false, this.LAKHJGKMOAK);
|
|
this.OIOMFHKKEOO((!this.LAKHJGKMOAK) ? TutorialManager.PENKLGMAGGH.NextWeNeedEmail : TutorialManager.PENKLGMAGGH.RegisterJunior);
|
|
while (this.APNNBKCHBIL)
|
|
{
|
|
ProfileSelectionManager.GAPALLGBGFL.DBPGCGBHLGL dbpgcgbhlgl = new ProfileSelectionManager.GAPALLGBGFL.DBPGCGBHLGL();
|
|
dbpgcgbhlgl.PNDHCMIJLFP = this;
|
|
UIRegistrationDialog.OnValidEmailEntered = (Action<string>)Delegate.Combine(UIRegistrationDialog.OnValidEmailEntered, new Action<string>(this.EPMDJILDEKM));
|
|
while (this.APNNBKCHBIL)
|
|
{
|
|
yield return null;
|
|
}
|
|
if (!this.EPOGPOANPIM)
|
|
{
|
|
yield return this.EKMEGPCIGJK();
|
|
}
|
|
dbpgcgbhlgl.CBHHBFAPHOF = this.PKPJIPMCLKJ.ShowCreatingProfileDialog();
|
|
dbpgcgbhlgl.IPJHNLBODLI = null;
|
|
yield return HELBDLFLEJG.GLPNJLICJGP(this.CHLOBFOIPLO, this.CCBDPEIAHMM, new HEMCJJJMLKI.CBJHDCMGOCN(dbpgcgbhlgl.OJKNBNGGBEC));
|
|
yield return new WaitUntil(new Func<bool>(dbpgcgbhlgl.JAFGLCBFOHM));
|
|
if (dbpgcgbhlgl.IPJHNLBODLI.GetValueOrDefault() && dbpgcgbhlgl.IPJHNLBODLI != null)
|
|
{
|
|
this.KNKBBBDFJCK.CloseMenu();
|
|
}
|
|
else if (!dbpgcgbhlgl.IPJHNLBODLI.GetValueOrDefault() && dbpgcgbhlgl.IPJHNLBODLI != null)
|
|
{
|
|
this.PKPJIPMCLKJ.PopFlow();
|
|
this.APNNBKCHBIL = true;
|
|
this.KNKBBBDFJCK.ShowKeyboard();
|
|
}
|
|
}
|
|
this.GFDCLJBBJII = true;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06003525 RID: 13605 RVA: 0x00109084 File Offset: 0x00107284
|
|
private IEnumerator BJKMGLKMKOM()
|
|
{
|
|
this.PKPJIPMCLKJ.ShowRegistrationDialog(false, this.LAKHJGKMOAK);
|
|
this.KNKBBBDFJCK.ShowKeyboard();
|
|
this.OIOMFHKKEOO((!this.LAKHJGKMOAK) ? TutorialManager.PENKLGMAGGH.RegisterNonJunior : TutorialManager.PENKLGMAGGH.RegisterJunior);
|
|
while (this.APNNBKCHBIL)
|
|
{
|
|
UIRegistrationDialog.OnValidEmailEntered = (Action<string>)Delegate.Combine(UIRegistrationDialog.OnValidEmailEntered, new Action<string>(this.EPMDJILDEKM));
|
|
while (this.APNNBKCHBIL)
|
|
{
|
|
yield return null;
|
|
}
|
|
if (!string.IsNullOrEmpty(this.CCBDPEIAHMM))
|
|
{
|
|
this.PKPJIPMCLKJ.RegistrationDialog.SetInfoText("Setting email...", false);
|
|
yield return HELBDLFLEJG.EPIBKCMJMCP(this.CCBDPEIAHMM, new HEMCJJJMLKI.JMICPMCJMJF<EFDOILDKBFK>(base.OJKNBNGGBEC));
|
|
}
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06003526 RID: 13606 RVA: 0x001090A0 File Offset: 0x001072A0
|
|
private void Start()
|
|
{
|
|
if (this.musicSource != null)
|
|
{
|
|
this.JLAFEBKADJP = this.musicSource.volume;
|
|
this.AFOOAFNNMKG(0f);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003527 RID: 13607 RVA: 0x001090D0 File Offset: 0x001072D0
|
|
private IEnumerator EJFEOLOJEFE()
|
|
{
|
|
yield return this.CDLLMBHGMHN();
|
|
this.DHEEALEJPLO = true;
|
|
this.APNNBKCHBIL = true;
|
|
this.autoReposition.ResetMenu();
|
|
this.PKPJIPMCLKJ.ShowBirthdayDialog();
|
|
this.KNKBBBDFJCK.ShowKeyboard();
|
|
UIBirthdayDialog.OnValidBirthdayEntered = (Action<DateTime>)Delegate.Combine(UIBirthdayDialog.OnValidBirthdayEntered, new Action<DateTime>(this.IJGBMDGJFCD));
|
|
this.OIOMFHKKEOO(TutorialManager.PENKLGMAGGH.FirstEnterYourBirthday);
|
|
base.StartCoroutine(this.NMKKOLHJGOC(7f, 2));
|
|
while (this.DHEEALEJPLO)
|
|
{
|
|
yield return null;
|
|
}
|
|
if (this.LAKHJGKMOAK)
|
|
{
|
|
yield return this.CHACAOLOHGJ(UIJuniorNotificationDialog.EMABBOFHCEP.Creating);
|
|
}
|
|
this.PKPJIPMCLKJ.ShowRegistrationDialog(false, this.LAKHJGKMOAK);
|
|
this.OIOMFHKKEOO((!this.LAKHJGKMOAK) ? TutorialManager.PENKLGMAGGH.NextWeNeedEmail : TutorialManager.PENKLGMAGGH.RegisterJunior);
|
|
while (this.APNNBKCHBIL)
|
|
{
|
|
dbpgcgbhlgl = new ProfileSelectionManager.GAPALLGBGFL.DBPGCGBHLGL();
|
|
dbpgcgbhlgl.PNDHCMIJLFP = this;
|
|
UIRegistrationDialog.OnValidEmailEntered = (Action<string>)Delegate.Combine(UIRegistrationDialog.OnValidEmailEntered, new Action<string>(this.EPMDJILDEKM));
|
|
while (this.APNNBKCHBIL)
|
|
{
|
|
yield return null;
|
|
}
|
|
if (!this.EPOGPOANPIM)
|
|
{
|
|
yield return this.EKMEGPCIGJK();
|
|
}
|
|
dbpgcgbhlgl.CBHHBFAPHOF = this.PKPJIPMCLKJ.ShowCreatingProfileDialog();
|
|
dbpgcgbhlgl.IPJHNLBODLI = null;
|
|
yield return HELBDLFLEJG.GLPNJLICJGP(this.CHLOBFOIPLO, this.CCBDPEIAHMM, new HEMCJJJMLKI.CBJHDCMGOCN(dbpgcgbhlgl.OJKNBNGGBEC));
|
|
yield return new WaitUntil(new Func<bool>(dbpgcgbhlgl.JAFGLCBFOHM));
|
|
if (dbpgcgbhlgl.IPJHNLBODLI.GetValueOrDefault() && dbpgcgbhlgl.IPJHNLBODLI != null)
|
|
{
|
|
this.KNKBBBDFJCK.CloseMenu();
|
|
}
|
|
else if (!dbpgcgbhlgl.IPJHNLBODLI.GetValueOrDefault() && dbpgcgbhlgl.IPJHNLBODLI != null)
|
|
{
|
|
this.PKPJIPMCLKJ.PopFlow();
|
|
this.APNNBKCHBIL = true;
|
|
this.KNKBBBDFJCK.ShowKeyboard();
|
|
}
|
|
}
|
|
this.GFDCLJBBJII = true;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06003528 RID: 13608 RVA: 0x001090EC File Offset: 0x001072EC
|
|
public void SetPositionRotationToDefault()
|
|
{
|
|
Vector3 forward = this.HJOPHDNHIBC.transform.forward;
|
|
forward.y = 0f;
|
|
forward.Normalize();
|
|
Vector3 vector = this.HJOPHDNHIBC.transform.position + forward * 0.75f;
|
|
vector.y = Mathf.Clamp(this.HJOPHDNHIBC.transform.position.y - 0.1f, 1f, 3f);
|
|
base.transform.position = vector;
|
|
base.transform.rotation = Quaternion.LookRotation(forward);
|
|
}
|
|
|
|
// Token: 0x06003529 RID: 13609 RVA: 0x00109190 File Offset: 0x00107390
|
|
public void LIOBAPJDIDJ()
|
|
{
|
|
Vector3 forward = this.HJOPHDNHIBC.transform.forward;
|
|
forward.y = 98f;
|
|
forward.Normalize();
|
|
Vector3 vector = this.HJOPHDNHIBC.transform.position + forward * 817f;
|
|
vector.y = Mathf.Clamp(this.HJOPHDNHIBC.transform.position.y - 411f, 1050f, 866f);
|
|
base.transform.position = vector;
|
|
base.transform.rotation = Quaternion.LookRotation(forward);
|
|
}
|
|
|
|
// Token: 0x0600352A RID: 13610 RVA: 0x00109234 File Offset: 0x00107434
|
|
private void NHMNDOLLLKH(string CCBPJJCOPCA, string CEKPEIMOKIH, bool LLEMGMDOHOH)
|
|
{
|
|
UILoginDialog.OnLoginSubmitted = (Action<string, string, bool>)Delegate.Remove(UILoginDialog.OnLoginSubmitted, new Action<string, string, bool>(this.GNPIEFHPLAG));
|
|
this.CCBPJJCOPCA = CCBPJJCOPCA;
|
|
this.CEKPEIMOKIH = CEKPEIMOKIH;
|
|
this.LLEMGMDOHOH = LLEMGMDOHOH;
|
|
this.NFBDHNOOELF = true;
|
|
}
|
|
|
|
// Token: 0x040006CA RID: 1738
|
|
[SerializeField]
|
|
[Header("Menu")]
|
|
private ProfileSelectionStackedUI stackedUIPrefab;
|
|
|
|
// Token: 0x040006CB RID: 1739
|
|
[SerializeField]
|
|
private AutoReposition autoReposition;
|
|
|
|
// Token: 0x040006CC RID: 1740
|
|
[SerializeField]
|
|
private Transform stackedUIVisualRoot;
|
|
|
|
// Token: 0x040006CD RID: 1741
|
|
[SerializeField]
|
|
[Header("Audio")]
|
|
private TutorialAudioConfigs tutorialAudioConfigs;
|
|
|
|
// Token: 0x040006CE RID: 1742
|
|
[SerializeField]
|
|
private AudioSource VOSource;
|
|
|
|
// Token: 0x040006CF RID: 1743
|
|
[SerializeField]
|
|
private AudioSource musicSource;
|
|
|
|
// Token: 0x040006D0 RID: 1744
|
|
[SerializeField]
|
|
private float musicFadeInTime = 2f;
|
|
|
|
// Token: 0x040006D1 RID: 1745
|
|
[SerializeField]
|
|
private float musicFadeOutTime = 0.5f;
|
|
|
|
// Token: 0x040006D2 RID: 1746
|
|
[Header("Video and Posters")]
|
|
[SerializeField]
|
|
private CinematicVideoPlayer videoPlayer;
|
|
|
|
// Token: 0x040006D3 RID: 1747
|
|
[SerializeField]
|
|
private ProfileSelectionManager.Posters[] posters;
|
|
|
|
// Token: 0x040006D4 RID: 1748
|
|
[SerializeField]
|
|
private float waitTimeBetweenPosters = 1f;
|
|
|
|
// Token: 0x040006D5 RID: 1749
|
|
[SerializeField]
|
|
[Header("Objects to hide")]
|
|
private GameObject recRoomLogo;
|
|
|
|
// Token: 0x040006D6 RID: 1750
|
|
[SerializeField]
|
|
private GameObject projector;
|
|
|
|
// Token: 0x040006D7 RID: 1751
|
|
[Header("Code of Conduct")]
|
|
[SerializeField]
|
|
private GameObject codeOfConductPoster;
|
|
|
|
// Token: 0x040006D8 RID: 1752
|
|
[SerializeField]
|
|
private GameObject codeOfConductButton;
|
|
|
|
// Token: 0x040006D9 RID: 1753
|
|
[SerializeField]
|
|
[Header("UI Hints")]
|
|
private Transform typingHint;
|
|
|
|
// Token: 0x040006DA RID: 1754
|
|
[SerializeField]
|
|
private Vector3 typingHintOffsetFromKeyboard;
|
|
|
|
// Token: 0x040006DD RID: 1757
|
|
public List<EEBPLECPEGD> cachedProfiles;
|
|
|
|
// Token: 0x040006DE RID: 1758
|
|
private Camera HJOPHDNHIBC;
|
|
|
|
// Token: 0x040006DF RID: 1759
|
|
private string DAKCKPMBKFF;
|
|
|
|
// Token: 0x040006E0 RID: 1760
|
|
private bool DHEEALEJPLO = true;
|
|
|
|
// Token: 0x040006E1 RID: 1761
|
|
private bool APNNBKCHBIL = true;
|
|
|
|
// Token: 0x040006E2 RID: 1762
|
|
private bool NFBDHNOOELF = true;
|
|
|
|
// Token: 0x040006E3 RID: 1763
|
|
private bool EPOGPOANPIM;
|
|
|
|
// Token: 0x040006E4 RID: 1764
|
|
private DateTime CHLOBFOIPLO;
|
|
|
|
// Token: 0x040006E5 RID: 1765
|
|
private bool LAKHJGKMOAK;
|
|
|
|
// Token: 0x040006E6 RID: 1766
|
|
private string CCBDPEIAHMM;
|
|
|
|
// Token: 0x040006E7 RID: 1767
|
|
private string CCBPJJCOPCA;
|
|
|
|
// Token: 0x040006E8 RID: 1768
|
|
private string CEKPEIMOKIH;
|
|
|
|
// Token: 0x040006E9 RID: 1769
|
|
private bool LLEMGMDOHOH;
|
|
|
|
// Token: 0x040006EA RID: 1770
|
|
private float JLAFEBKADJP;
|
|
|
|
// Token: 0x040006EB RID: 1771
|
|
private Coroutine LKBIMBHDLMF;
|
|
|
|
// Token: 0x040006EC RID: 1772
|
|
private bool GFDCLJBBJII;
|
|
|
|
// Token: 0x040006ED RID: 1773
|
|
private AutoReposition GEBOKPFFJII;
|
|
|
|
// Token: 0x02000104 RID: 260
|
|
public enum NFCBDCFLBOC
|
|
{
|
|
// Token: 0x040006EF RID: 1775
|
|
invalid = -1,
|
|
// Token: 0x040006F0 RID: 1776
|
|
video,
|
|
// Token: 0x040006F1 RID: 1777
|
|
birthday,
|
|
// Token: 0x040006F2 RID: 1778
|
|
email,
|
|
// Token: 0x040006F3 RID: 1779
|
|
complete = 10
|
|
}
|
|
|
|
// Token: 0x02000105 RID: 261
|
|
[Serializable]
|
|
private struct Posters
|
|
{
|
|
// Token: 0x040006F4 RID: 1780
|
|
public GameObject ObjectToShow;
|
|
|
|
// Token: 0x040006F5 RID: 1781
|
|
public AudioClip AudioToPlay;
|
|
}
|
|
}
|