2713 lines
100 KiB
C#
2713 lines
100 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using AGUI.StackedUI.Dialog;
|
|
using AmplitudeAnalytics;
|
|
using CodeStage.AntiCheat.ObscuredTypes;
|
|
using RecNet;
|
|
using RecRoom.Core.Gestures;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000DD RID: 221
|
|
public class PaddleballOOBE : OOBEFlowBase
|
|
{
|
|
// Token: 0x06002C21 RID: 11297 RVA: 0x000D0BD0 File Offset: 0x000CEDD0
|
|
private void NGILJPOLBBB()
|
|
{
|
|
bool flag = this.FHCNECIMJPP.CPIBGJLHLBL();
|
|
this.primaryGesturesDummy.SetActive(flag);
|
|
this.primaryTeleportRestriction.gameObject.SetActive(flag);
|
|
this.primaryTeleportRestriction.CKCJKODJCMH = !flag;
|
|
}
|
|
|
|
// Token: 0x06002C22 RID: 11298 RVA: 0x000D0C18 File Offset: 0x000CEE18
|
|
private void OPKAGGDCAIE()
|
|
{
|
|
NECCOFKHCAA.GMHCCJIENJO(Time.time - this.JJJGIDDAFHG);
|
|
if (this.INNCNAJIMNF != null)
|
|
{
|
|
base.StopCoroutine(this.INNCNAJIMNF);
|
|
this.INNCNAJIMNF = null;
|
|
this.pathMarkerNUX.gameObject.SetActive(false);
|
|
this.practiceDoorHighlightForNUX.ACFBEKKAFGA(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002C23 RID: 11299 RVA: 0x000D0C74 File Offset: 0x000CEE74
|
|
private IEnumerator NPPNJLELFJH(GestureTarget MMEBLCBANIL, KeyCode FDNAONOLIGM)
|
|
{
|
|
while (!Input.GetKeyDown(FDNAONOLIGM))
|
|
{
|
|
yield return null;
|
|
}
|
|
MMEBLCBANIL.SetIgnore(true);
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C24 RID: 11300 RVA: 0x000D0C98 File Offset: 0x000CEE98
|
|
private IEnumerator MJNPPIAHILO(GestureTarget MMEBLCBANIL, KeyCode FDNAONOLIGM)
|
|
{
|
|
while (!Input.GetKeyDown(FDNAONOLIGM))
|
|
{
|
|
yield return null;
|
|
}
|
|
MMEBLCBANIL.SetIgnore(true);
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C25 RID: 11301 RVA: 0x000D0CBC File Offset: 0x000CEEBC
|
|
private void CKAOCPMPFBE()
|
|
{
|
|
bool flag = this.FHCNECIMJPP.CPIBGJLHLBL();
|
|
this.primaryGesturesDummy.SetActive(flag);
|
|
this.primaryTeleportRestriction.gameObject.SetActive(flag);
|
|
this.primaryTeleportRestriction.ADFNFDIDEBF(!flag);
|
|
}
|
|
|
|
// Token: 0x06002C26 RID: 11302 RVA: 0x000D0D04 File Offset: 0x000CEF04
|
|
private void MODFPMECHPD()
|
|
{
|
|
if (Player.LocalPlayerExists && Player.LocalPlayer.LNKGAAEPMEO().MGKHEPFGLAE != null)
|
|
{
|
|
this.BDPODHKBOMF = Player.LocalPlayer.POJAICMNOFI.MGKHEPFGLAE;
|
|
}
|
|
else
|
|
{
|
|
base.StartCoroutine(this.KNIOKEGFMLM());
|
|
}
|
|
this.CIDGHNHPNPB = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GKONHHIIJLM(TutorialManager.PENKLGMAGGH.TapPeopleButton);
|
|
this.GHLPEJOAAHO = RecRoomSceneManager.LEILGOOHEOI().EBHBJAFODKA as PaddleballManager;
|
|
this.FHCNECIMJPP = new LHLLJPPCDKA<bool>(this.GHLPEJOAAHO, "Y3Rpdml0eUVxdWlwbWVudERhdGESEQoJcHJlZmFiX2lkGAEgASgMQhOqAhBS", false, (IKCAJLLAFML)7, new Action(this.AOFEHOMEDAF));
|
|
this.NMCPAOCGHNH = new LHLLJPPCDKA<bool>(this.GHLPEJOAAHO, "_DATE", true, IKCAJLLAFML.MASTER, new Action(this.IOENKDONIIP));
|
|
this.CKAOCPMPFBE();
|
|
this.IOENKDONIIP();
|
|
this.LLAOMANLLMG = true;
|
|
}
|
|
|
|
// Token: 0x06002C27 RID: 11303 RVA: 0x000D0DE0 File Offset: 0x000CEFE0
|
|
private IEnumerator NKLAKIFKPNF()
|
|
{
|
|
PaddleballOOBE.MLBOOLJOFJK.PIDOFBOFLGM pidofboflgm = new PaddleballOOBE.MLBOOLJOFJK.PIDOFBOFLGM();
|
|
pidofboflgm.AOHNJFNCJKD = this;
|
|
this.GHLPEJOAAHO.AMCOOFJJCJA = true;
|
|
bool flag = true;
|
|
GameObject gameObject = this.primaryDummyRightArm;
|
|
GameObject gameObject2 = this.primaryDummyLeftArm;
|
|
NonPlayerGestureTarget nonPlayerGestureTarget = this.primaryFistBumpTarget;
|
|
NonPlayerGestureTarget nonPlayerGestureTarget2 = this.primaryHandshakeTarget;
|
|
Transform transform = this.primaryDummyPopupTransform;
|
|
TeleportTarget teleportTarget = this.primaryTeleportTargetMannequin;
|
|
GestureTarget gestureTarget = this.primaryGesturesDummy.GetComponentInChildren<GestureTarget>();
|
|
DynamicTeleportRestriction dynamicTeleportRestriction = this.primaryTeleportRestriction;
|
|
if (this.GHLPEJOAAHO.INAPGOCICLO)
|
|
{
|
|
flag = false;
|
|
gameObject = this.alternateDummyRightArm;
|
|
gameObject2 = this.alternateDummyLeftArm;
|
|
nonPlayerGestureTarget = this.alternateFistBumpTarget;
|
|
nonPlayerGestureTarget2 = this.alternateHandshakeTarget;
|
|
transform = this.alternateDummyPopupTransform;
|
|
teleportTarget = this.alternateTeleportTargetMannequin;
|
|
gestureTarget = this.alternateGesturesDummy.GetComponentInChildren<GestureTarget>();
|
|
dynamicTeleportRestriction = this.alternateTeleportRestriction;
|
|
}
|
|
this.OFKJIKKCFIC = true;
|
|
while (!Player.LocalPlayerExists)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.GHLPEJOAAHO.LocalPlayerStartingTutorial();
|
|
yield return this.GHLPEJOAAHO.SetPlayerInitialized();
|
|
if (flag)
|
|
{
|
|
this.FHCNECIMJPP.MEAINJPIECA(true);
|
|
}
|
|
else
|
|
{
|
|
this.NMCPAOCGHNH.MEAINJPIECA(true);
|
|
}
|
|
gameObject.SetActive(false);
|
|
gameObject2.SetActive(false);
|
|
LNJFBGIBLHA photonPlayer = Player.LocalPlayer.LNJFBGIBLHA;
|
|
nonPlayerGestureTarget.gameObject.GetComponent<PhotonView>().TransferOwnership(photonPlayer);
|
|
nonPlayerGestureTarget2.gameObject.GetComponent<PhotonView>().TransferOwnership(photonPlayer);
|
|
dynamicTeleportRestriction.CKCJKODJCMH = true;
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.TeleportToMannequin;
|
|
base.EEEEPABGODM();
|
|
this.fullGymRestriction.gameObject.SetActive(true);
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = true;
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.PracticeSocialOnStandee);
|
|
RecRoomAudioClip recRoomAudioClip = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.TeleportToMannequin);
|
|
yield return this.LDGLJCKNFDO(teleportTarget, recRoomAudioClip, recRoomAudioClip, -1, false, flag);
|
|
if (this.BDPODHKBOMF.IGNILOGNHOO)
|
|
{
|
|
Player.LocalPlayer.POJAICMNOFI.MALKDBPJAID.CloseMenu();
|
|
}
|
|
yield return new WaitForSeconds(1f);
|
|
base.PKHLAJGPBND(OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.LearnHandshake;
|
|
base.EEEEPABGODM();
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = false;
|
|
gameObject.SetActive(true);
|
|
pidofboflgm.EFCKMJMBDAC = false;
|
|
nonPlayerGestureTarget2.PPDNDEIACDG += pidofboflgm.OJKNBNGGBEC;
|
|
HelpPopup helpPopup = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.ShowHelpPopup(TutorialManager.GAGGNMIIHEH.ShakeHands, new Vector3?(transform.position));
|
|
recRoomAudioClip = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.ShakeHands_v2);
|
|
RecRoomAudioClip recRoomAudioClip2 = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.GrabAndHoldToHandshake);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.JAFGLCBFOHM), recRoomAudioClip, recRoomAudioClip2, new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.FAOOMCFPGBH), 15f, 3, string.Empty);
|
|
helpPopup.HHEECLBGLCE = false;
|
|
yield return new WaitForSeconds(1f);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Excellent);
|
|
yield return new WaitForSeconds(1f);
|
|
gameObject.SetActive(false);
|
|
base.PKHLAJGPBND();
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.LearnPartyUp;
|
|
base.EEEEPABGODM();
|
|
gameObject2.SetActive(true);
|
|
pidofboflgm.JHCIGBBHCDC = false;
|
|
nonPlayerGestureTarget.PPDNDEIACDG += pidofboflgm.EGOHHBDCLII;
|
|
helpPopup = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.ShowHelpPopup(TutorialManager.GAGGNMIIHEH.FistBump, new Vector3?(transform.position));
|
|
recRoomAudioClip = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.FistBump_v2);
|
|
recRoomAudioClip2 = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.MakeAFistAndTapToFistBump);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.LKAFJIJNOJM), recRoomAudioClip, recRoomAudioClip2, new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.PINIBHKNJAB), 15f, 3, string.Empty);
|
|
helpPopup.HHEECLBGLCE = false;
|
|
yield return new WaitForSeconds(1f);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Perfect);
|
|
yield return new WaitForSeconds(1f);
|
|
gameObject2.SetActive(false);
|
|
base.PKHLAJGPBND();
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.LearnStop;
|
|
base.EEEEPABGODM();
|
|
if (gestureTarget == null)
|
|
{
|
|
Debug.LogError("Missing stop target!");
|
|
yield break;
|
|
}
|
|
pidofboflgm.CAIMKOFMDHJ = false;
|
|
gestureTarget.IgnoreEvent = new Action<bool>(pidofboflgm.EPIDMGCJJIK);
|
|
helpPopup = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.ShowHelpPopup(TutorialManager.GAGGNMIIHEH.Stop, new Vector3?(transform.position));
|
|
recRoomAudioClip = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.StopGesture_v2);
|
|
recRoomAudioClip2 = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.PointYourPalmToStop);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.FKHPJJNIGKG), recRoomAudioClip, recRoomAudioClip2, new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.PINPPNBCJCJ), 15f, 3, string.Empty);
|
|
helpPopup.HHEECLBGLCE = false;
|
|
pidofboflgm.HFLFNFIHDEG = false;
|
|
AALAIHCPNEB<HDPGPHCMBGP> aalaihcpneb = this.BDPODHKBOMF.ShowTemporaryDialog<HDPGPHCMBGP>(this.NUXReportDialogPrefab, ~WatchAttractor.PCKMINIOEIM.Text);
|
|
AALAIHCPNEB<HDPGPHCMBGP> aalaihcpneb2 = aalaihcpneb;
|
|
aalaihcpneb2.CAJJMPBHOJM = (Action<HDPGPHCMBGP>)Delegate.Combine(aalaihcpneb2.CAJJMPBHOJM, new Action<HDPGPHCMBGP>(pidofboflgm.CHKACLCJLDI));
|
|
if (PaddleballOOBE.MLBOOLJOFJK.DINNJGHCFHI == null)
|
|
{
|
|
PaddleballOOBE.MLBOOLJOFJK.DINNJGHCFHI = new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(PaddleballOOBE.MLBOOLJOFJK.OJKNBNGGBEC);
|
|
}
|
|
yield return this.NNLCMJJMPKK(PaddleballOOBE.MLBOOLJOFJK.DINNJGHCFHI);
|
|
recRoomAudioClip2 = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.ChooseReportReason);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.DDKFPKEDEFN), recRoomAudioClip2, recRoomAudioClip2, new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.BJFCDCHEKKH), 15f, 3, string.Empty);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Great);
|
|
yield return new WaitForSeconds(1f);
|
|
if (!FKJHLNJDEKK.LECFBEBMLIC.BCBJFKEFMMI())
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.SpeakWithMic);
|
|
}
|
|
base.PKHLAJGPBND();
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.Q2A_WelcomeToPaddleball;
|
|
if (flag)
|
|
{
|
|
this.FHCNECIMJPP.MEAINJPIECA(false);
|
|
}
|
|
else
|
|
{
|
|
this.NMCPAOCGHNH.MEAINJPIECA(false);
|
|
}
|
|
gameObject.SetActive(false);
|
|
gameObject2.SetActive(false);
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = true;
|
|
this.fullGymRestriction.gameObject.SetActive(false);
|
|
yield return new WaitForSeconds(1f);
|
|
this.GHLPEJOAAHO.AMCOOFJJCJA = false;
|
|
this.GHLPEJOAAHO.LocalPlayerLeavingTutorial();
|
|
this.OFKJIKKCFIC = false;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C28 RID: 11304 RVA: 0x000D0DFC File Offset: 0x000CEFFC
|
|
private IEnumerator OLEDIBEGLLN()
|
|
{
|
|
pidofboflgm = new PaddleballOOBE.MLBOOLJOFJK.PIDOFBOFLGM();
|
|
pidofboflgm.AOHNJFNCJKD = this;
|
|
this.GHLPEJOAAHO.AMCOOFJJCJA = true;
|
|
flag = true;
|
|
gameObject = this.primaryDummyRightArm;
|
|
gameObject2 = this.primaryDummyLeftArm;
|
|
nonPlayerGestureTarget = this.primaryFistBumpTarget;
|
|
nonPlayerGestureTarget2 = this.primaryHandshakeTarget;
|
|
transform = this.primaryDummyPopupTransform;
|
|
teleportTarget = this.primaryTeleportTargetMannequin;
|
|
gestureTarget = this.primaryGesturesDummy.GetComponentInChildren<GestureTarget>();
|
|
dynamicTeleportRestriction = this.primaryTeleportRestriction;
|
|
if (this.GHLPEJOAAHO.INAPGOCICLO)
|
|
{
|
|
flag = false;
|
|
gameObject = this.alternateDummyRightArm;
|
|
gameObject2 = this.alternateDummyLeftArm;
|
|
nonPlayerGestureTarget = this.alternateFistBumpTarget;
|
|
nonPlayerGestureTarget2 = this.alternateHandshakeTarget;
|
|
transform = this.alternateDummyPopupTransform;
|
|
teleportTarget = this.alternateTeleportTargetMannequin;
|
|
gestureTarget = this.alternateGesturesDummy.GetComponentInChildren<GestureTarget>();
|
|
dynamicTeleportRestriction = this.alternateTeleportRestriction;
|
|
}
|
|
this.OFKJIKKCFIC = true;
|
|
while (!Player.LocalPlayerExists)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.GHLPEJOAAHO.LocalPlayerStartingTutorial();
|
|
yield return this.GHLPEJOAAHO.SetPlayerInitialized();
|
|
if (flag)
|
|
{
|
|
this.FHCNECIMJPP.MEAINJPIECA(true);
|
|
}
|
|
else
|
|
{
|
|
this.NMCPAOCGHNH.MEAINJPIECA(true);
|
|
}
|
|
gameObject.SetActive(false);
|
|
gameObject2.SetActive(false);
|
|
photonPlayer = Player.LocalPlayer.LNJFBGIBLHA;
|
|
nonPlayerGestureTarget.gameObject.GetComponent<PhotonView>().TransferOwnership(photonPlayer);
|
|
nonPlayerGestureTarget2.gameObject.GetComponent<PhotonView>().TransferOwnership(photonPlayer);
|
|
dynamicTeleportRestriction.CKCJKODJCMH = true;
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.TeleportToMannequin;
|
|
base.EEEEPABGODM();
|
|
this.fullGymRestriction.gameObject.SetActive(true);
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = true;
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.PracticeSocialOnStandee);
|
|
recRoomAudioClip = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.TeleportToMannequin);
|
|
yield return this.LDGLJCKNFDO(teleportTarget, recRoomAudioClip, recRoomAudioClip, -1, false, flag);
|
|
if (this.BDPODHKBOMF.IGNILOGNHOO)
|
|
{
|
|
Player.LocalPlayer.POJAICMNOFI.MALKDBPJAID.CloseMenu();
|
|
}
|
|
yield return new WaitForSeconds(1f);
|
|
base.PKHLAJGPBND(OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.LearnHandshake;
|
|
base.EEEEPABGODM();
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = false;
|
|
gameObject.SetActive(true);
|
|
pidofboflgm.EFCKMJMBDAC = false;
|
|
nonPlayerGestureTarget2.PPDNDEIACDG += pidofboflgm.OJKNBNGGBEC;
|
|
helpPopup = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.ShowHelpPopup(TutorialManager.GAGGNMIIHEH.ShakeHands, new Vector3?(transform.position));
|
|
recRoomAudioClip = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.ShakeHands_v2);
|
|
recRoomAudioClip2 = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.GrabAndHoldToHandshake);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.JAFGLCBFOHM), recRoomAudioClip, recRoomAudioClip2, new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.FAOOMCFPGBH), 15f, 3, string.Empty);
|
|
helpPopup.HHEECLBGLCE = false;
|
|
yield return new WaitForSeconds(1f);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Excellent);
|
|
yield return new WaitForSeconds(1f);
|
|
gameObject.SetActive(false);
|
|
base.PKHLAJGPBND();
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.LearnPartyUp;
|
|
base.EEEEPABGODM();
|
|
gameObject2.SetActive(true);
|
|
pidofboflgm.JHCIGBBHCDC = false;
|
|
nonPlayerGestureTarget.PPDNDEIACDG += pidofboflgm.EGOHHBDCLII;
|
|
helpPopup = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.ShowHelpPopup(TutorialManager.GAGGNMIIHEH.FistBump, new Vector3?(transform.position));
|
|
recRoomAudioClip = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.FistBump_v2);
|
|
recRoomAudioClip2 = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.MakeAFistAndTapToFistBump);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.LKAFJIJNOJM), recRoomAudioClip, recRoomAudioClip2, new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.PINIBHKNJAB), 15f, 3, string.Empty);
|
|
helpPopup.HHEECLBGLCE = false;
|
|
yield return new WaitForSeconds(1f);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Perfect);
|
|
yield return new WaitForSeconds(1f);
|
|
gameObject2.SetActive(false);
|
|
base.PKHLAJGPBND();
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.LearnStop;
|
|
base.EEEEPABGODM();
|
|
if (gestureTarget == null)
|
|
{
|
|
Debug.LogError("Missing stop target!");
|
|
yield break;
|
|
}
|
|
pidofboflgm.CAIMKOFMDHJ = false;
|
|
gestureTarget.IgnoreEvent = new Action<bool>(pidofboflgm.EPIDMGCJJIK);
|
|
helpPopup = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.ShowHelpPopup(TutorialManager.GAGGNMIIHEH.Stop, new Vector3?(transform.position));
|
|
recRoomAudioClip = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.StopGesture_v2);
|
|
recRoomAudioClip2 = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.PointYourPalmToStop);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.FKHPJJNIGKG), recRoomAudioClip, recRoomAudioClip2, new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.PINPPNBCJCJ), 15f, 3, string.Empty);
|
|
helpPopup.HHEECLBGLCE = false;
|
|
pidofboflgm.HFLFNFIHDEG = false;
|
|
aalaihcpneb = this.BDPODHKBOMF.ShowTemporaryDialog<HDPGPHCMBGP>(this.NUXReportDialogPrefab, ~WatchAttractor.PCKMINIOEIM.Text);
|
|
AALAIHCPNEB<HDPGPHCMBGP> aalaihcpneb2 = aalaihcpneb;
|
|
aalaihcpneb2.CAJJMPBHOJM = (Action<HDPGPHCMBGP>)Delegate.Combine(aalaihcpneb2.CAJJMPBHOJM, new Action<HDPGPHCMBGP>(pidofboflgm.CHKACLCJLDI));
|
|
if (PaddleballOOBE.MLBOOLJOFJK.DINNJGHCFHI == null)
|
|
{
|
|
PaddleballOOBE.MLBOOLJOFJK.DINNJGHCFHI = new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(PaddleballOOBE.MLBOOLJOFJK.OJKNBNGGBEC);
|
|
}
|
|
yield return this.NNLCMJJMPKK(PaddleballOOBE.MLBOOLJOFJK.DINNJGHCFHI);
|
|
recRoomAudioClip2 = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.ChooseReportReason);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.DDKFPKEDEFN), recRoomAudioClip2, recRoomAudioClip2, new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.BJFCDCHEKKH), 15f, 3, string.Empty);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Great);
|
|
yield return new WaitForSeconds(1f);
|
|
if (!FKJHLNJDEKK.LECFBEBMLIC.BCBJFKEFMMI())
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.SpeakWithMic);
|
|
}
|
|
base.PKHLAJGPBND();
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.Q2A_WelcomeToPaddleball;
|
|
if (flag)
|
|
{
|
|
this.FHCNECIMJPP.MEAINJPIECA(false);
|
|
}
|
|
else
|
|
{
|
|
this.NMCPAOCGHNH.MEAINJPIECA(false);
|
|
}
|
|
gameObject.SetActive(false);
|
|
gameObject2.SetActive(false);
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = true;
|
|
this.fullGymRestriction.gameObject.SetActive(false);
|
|
yield return new WaitForSeconds(1f);
|
|
this.GHLPEJOAAHO.AMCOOFJJCJA = false;
|
|
this.GHLPEJOAAHO.LocalPlayerLeavingTutorial();
|
|
this.OFKJIKKCFIC = false;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C29 RID: 11305 RVA: 0x000D0E18 File Offset: 0x000CF018
|
|
private void DKLCFPFEOKJ()
|
|
{
|
|
bool flag = this.FHCNECIMJPP.CPIBGJLHLBL();
|
|
this.primaryGesturesDummy.SetActive(flag);
|
|
this.primaryTeleportRestriction.gameObject.SetActive(flag);
|
|
this.primaryTeleportRestriction.JMGGKBLDKLA(flag);
|
|
}
|
|
|
|
// Token: 0x06002C2A RID: 11306 RVA: 0x000D0E60 File Offset: 0x000CF060
|
|
private void KJFLJNCMEHG()
|
|
{
|
|
bool flag = this.NMCPAOCGHNH.CPIBGJLHLBL();
|
|
this.alternateGesturesDummy.SetActive(flag);
|
|
this.alternateTeleportRestriction.gameObject.SetActive(flag);
|
|
this.alternateTeleportRestriction.NLNEKCIJLNM(!flag);
|
|
}
|
|
|
|
// Token: 0x06002C2B RID: 11307 RVA: 0x000D0EA8 File Offset: 0x000CF0A8
|
|
private void AOFEHOMEDAF()
|
|
{
|
|
bool flag = this.FHCNECIMJPP.CPIBGJLHLBL();
|
|
this.primaryGesturesDummy.SetActive(flag);
|
|
this.primaryTeleportRestriction.gameObject.SetActive(flag);
|
|
this.primaryTeleportRestriction.ADFNFDIDEBF(!flag);
|
|
}
|
|
|
|
// Token: 0x06002C2C RID: 11308 RVA: 0x000D0EF0 File Offset: 0x000CF0F0
|
|
private IEnumerator BNAKHDPGHCD()
|
|
{
|
|
pidofboflgm = new PaddleballOOBE.MLBOOLJOFJK.PIDOFBOFLGM();
|
|
pidofboflgm.AOHNJFNCJKD = this;
|
|
this.GHLPEJOAAHO.AMCOOFJJCJA = true;
|
|
flag = true;
|
|
gameObject = this.primaryDummyRightArm;
|
|
gameObject2 = this.primaryDummyLeftArm;
|
|
nonPlayerGestureTarget = this.primaryFistBumpTarget;
|
|
nonPlayerGestureTarget2 = this.primaryHandshakeTarget;
|
|
transform = this.primaryDummyPopupTransform;
|
|
teleportTarget = this.primaryTeleportTargetMannequin;
|
|
gestureTarget = this.primaryGesturesDummy.GetComponentInChildren<GestureTarget>();
|
|
dynamicTeleportRestriction = this.primaryTeleportRestriction;
|
|
if (this.GHLPEJOAAHO.INAPGOCICLO)
|
|
{
|
|
flag = false;
|
|
gameObject = this.alternateDummyRightArm;
|
|
gameObject2 = this.alternateDummyLeftArm;
|
|
nonPlayerGestureTarget = this.alternateFistBumpTarget;
|
|
nonPlayerGestureTarget2 = this.alternateHandshakeTarget;
|
|
transform = this.alternateDummyPopupTransform;
|
|
teleportTarget = this.alternateTeleportTargetMannequin;
|
|
gestureTarget = this.alternateGesturesDummy.GetComponentInChildren<GestureTarget>();
|
|
dynamicTeleportRestriction = this.alternateTeleportRestriction;
|
|
}
|
|
this.OFKJIKKCFIC = true;
|
|
while (!Player.LocalPlayerExists)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.GHLPEJOAAHO.LocalPlayerStartingTutorial();
|
|
yield return this.GHLPEJOAAHO.SetPlayerInitialized();
|
|
if (flag)
|
|
{
|
|
this.FHCNECIMJPP.MEAINJPIECA(true);
|
|
}
|
|
else
|
|
{
|
|
this.NMCPAOCGHNH.MEAINJPIECA(true);
|
|
}
|
|
gameObject.SetActive(false);
|
|
gameObject2.SetActive(false);
|
|
photonPlayer = Player.LocalPlayer.LNJFBGIBLHA;
|
|
nonPlayerGestureTarget.gameObject.GetComponent<PhotonView>().TransferOwnership(photonPlayer);
|
|
nonPlayerGestureTarget2.gameObject.GetComponent<PhotonView>().TransferOwnership(photonPlayer);
|
|
dynamicTeleportRestriction.CKCJKODJCMH = true;
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.TeleportToMannequin;
|
|
base.EEEEPABGODM();
|
|
this.fullGymRestriction.gameObject.SetActive(true);
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = true;
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.PracticeSocialOnStandee);
|
|
recRoomAudioClip = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.TeleportToMannequin);
|
|
yield return this.LDGLJCKNFDO(teleportTarget, recRoomAudioClip, recRoomAudioClip, -1, false, flag);
|
|
if (this.BDPODHKBOMF.IGNILOGNHOO)
|
|
{
|
|
Player.LocalPlayer.POJAICMNOFI.MALKDBPJAID.CloseMenu();
|
|
}
|
|
yield return new WaitForSeconds(1f);
|
|
base.PKHLAJGPBND(OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.LearnHandshake;
|
|
base.EEEEPABGODM();
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = false;
|
|
gameObject.SetActive(true);
|
|
pidofboflgm.EFCKMJMBDAC = false;
|
|
nonPlayerGestureTarget2.PPDNDEIACDG += pidofboflgm.OJKNBNGGBEC;
|
|
helpPopup = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.ShowHelpPopup(TutorialManager.GAGGNMIIHEH.ShakeHands, new Vector3?(transform.position));
|
|
recRoomAudioClip = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.ShakeHands_v2);
|
|
recRoomAudioClip2 = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.GrabAndHoldToHandshake);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.JAFGLCBFOHM), recRoomAudioClip, recRoomAudioClip2, new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.FAOOMCFPGBH), 15f, 3, string.Empty);
|
|
helpPopup.HHEECLBGLCE = false;
|
|
yield return new WaitForSeconds(1f);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Excellent);
|
|
yield return new WaitForSeconds(1f);
|
|
gameObject.SetActive(false);
|
|
base.PKHLAJGPBND();
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.LearnPartyUp;
|
|
base.EEEEPABGODM();
|
|
gameObject2.SetActive(true);
|
|
pidofboflgm.JHCIGBBHCDC = false;
|
|
nonPlayerGestureTarget.PPDNDEIACDG += pidofboflgm.EGOHHBDCLII;
|
|
helpPopup = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.ShowHelpPopup(TutorialManager.GAGGNMIIHEH.FistBump, new Vector3?(transform.position));
|
|
recRoomAudioClip = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.FistBump_v2);
|
|
recRoomAudioClip2 = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.MakeAFistAndTapToFistBump);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.LKAFJIJNOJM), recRoomAudioClip, recRoomAudioClip2, new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.PINIBHKNJAB), 15f, 3, string.Empty);
|
|
helpPopup.HHEECLBGLCE = false;
|
|
yield return new WaitForSeconds(1f);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Perfect);
|
|
yield return new WaitForSeconds(1f);
|
|
gameObject2.SetActive(false);
|
|
base.PKHLAJGPBND();
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.LearnStop;
|
|
base.EEEEPABGODM();
|
|
if (gestureTarget == null)
|
|
{
|
|
Debug.LogError("Missing stop target!");
|
|
yield break;
|
|
}
|
|
pidofboflgm.CAIMKOFMDHJ = false;
|
|
gestureTarget.IgnoreEvent = new Action<bool>(pidofboflgm.EPIDMGCJJIK);
|
|
helpPopup = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.ShowHelpPopup(TutorialManager.GAGGNMIIHEH.Stop, new Vector3?(transform.position));
|
|
recRoomAudioClip = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.StopGesture_v2);
|
|
recRoomAudioClip2 = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.PointYourPalmToStop);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.FKHPJJNIGKG), recRoomAudioClip, recRoomAudioClip2, new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.PINPPNBCJCJ), 15f, 3, string.Empty);
|
|
helpPopup.HHEECLBGLCE = false;
|
|
pidofboflgm.HFLFNFIHDEG = false;
|
|
aalaihcpneb = this.BDPODHKBOMF.ShowTemporaryDialog<HDPGPHCMBGP>(this.NUXReportDialogPrefab, ~WatchAttractor.PCKMINIOEIM.Text);
|
|
AALAIHCPNEB<HDPGPHCMBGP> aalaihcpneb2 = aalaihcpneb;
|
|
aalaihcpneb2.CAJJMPBHOJM = (Action<HDPGPHCMBGP>)Delegate.Combine(aalaihcpneb2.CAJJMPBHOJM, new Action<HDPGPHCMBGP>(pidofboflgm.CHKACLCJLDI));
|
|
if (PaddleballOOBE.MLBOOLJOFJK.DINNJGHCFHI == null)
|
|
{
|
|
PaddleballOOBE.MLBOOLJOFJK.DINNJGHCFHI = new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(PaddleballOOBE.MLBOOLJOFJK.OJKNBNGGBEC);
|
|
}
|
|
yield return this.NNLCMJJMPKK(PaddleballOOBE.MLBOOLJOFJK.DINNJGHCFHI);
|
|
recRoomAudioClip2 = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.ChooseReportReason);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.DDKFPKEDEFN), recRoomAudioClip2, recRoomAudioClip2, new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.BJFCDCHEKKH), 15f, 3, string.Empty);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Great);
|
|
yield return new WaitForSeconds(1f);
|
|
if (!FKJHLNJDEKK.LECFBEBMLIC.BCBJFKEFMMI())
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.SpeakWithMic);
|
|
}
|
|
base.PKHLAJGPBND();
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.Q2A_WelcomeToPaddleball;
|
|
if (flag)
|
|
{
|
|
this.FHCNECIMJPP.MEAINJPIECA(false);
|
|
}
|
|
else
|
|
{
|
|
this.NMCPAOCGHNH.MEAINJPIECA(false);
|
|
}
|
|
gameObject.SetActive(false);
|
|
gameObject2.SetActive(false);
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = true;
|
|
this.fullGymRestriction.gameObject.SetActive(false);
|
|
yield return new WaitForSeconds(1f);
|
|
this.GHLPEJOAAHO.AMCOOFJJCJA = false;
|
|
this.GHLPEJOAAHO.LocalPlayerLeavingTutorial();
|
|
this.OFKJIKKCFIC = false;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C2D RID: 11309 RVA: 0x000D0F0C File Offset: 0x000CF10C
|
|
private IEnumerator LPFDLNKDALG(GestureTarget MMEBLCBANIL, KeyCode FDNAONOLIGM)
|
|
{
|
|
while (!Input.GetKeyDown(FDNAONOLIGM))
|
|
{
|
|
yield return null;
|
|
}
|
|
MMEBLCBANIL.SetIgnore(true);
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C2E RID: 11310 RVA: 0x000D0F30 File Offset: 0x000CF130
|
|
private void IFAPDHLBFII()
|
|
{
|
|
NECCOFKHCAA.GMHCCJIENJO(Time.time - this.JJJGIDDAFHG);
|
|
if (this.INNCNAJIMNF != null)
|
|
{
|
|
base.StopCoroutine(this.INNCNAJIMNF);
|
|
this.INNCNAJIMNF = null;
|
|
this.pathMarkerNUX.gameObject.SetActive(false);
|
|
this.practiceDoorHighlightForNUX.AHPMPAMKKFI = false;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002C2F RID: 11311 RVA: 0x000D0F8C File Offset: 0x000CF18C
|
|
public IEnumerator GBGOKHFCFOK()
|
|
{
|
|
this.MMOANKDEGJA = true;
|
|
yield return null;
|
|
if (!this.LLAOMANLLMG)
|
|
{
|
|
this.ANBCLPBMDFO();
|
|
}
|
|
this.GHLPEJOAAHO.OFOBCNCJFMP = true;
|
|
this.JJJGIDDAFHG = Time.time;
|
|
this.enterCourtTeleportationPortal.OLENGDNLNOM += this.IFAPDHLBFII;
|
|
float num = Time.time;
|
|
string text = typeof(SplitTesting.PaddleballSocialNUX_2017_12_14).ToString();
|
|
string text2 = SplitTesting.PaddleballSocialNUX_2017_12_14.RunSocialNUX.ToString();
|
|
string text3 = SplitTesting.PaddleballSocialNUX_2017_12_14.SkipSocialNUX.ToString();
|
|
bool flag = false;
|
|
if (SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.IsAssignedToExperiment(text))
|
|
{
|
|
flag = SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.GetExperimentSegment(text) == text2;
|
|
}
|
|
else if (this.GHLPEJOAAHO.IPEHKBKEHLN)
|
|
{
|
|
SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.ForceExperimentSegmentIfUnassigned(text, text2);
|
|
flag = true;
|
|
}
|
|
else if (this.GHLPEJOAAHO.FHEGMEGEGJJ)
|
|
{
|
|
SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.ForceExperimentSegmentIfUnassigned(text, text3);
|
|
flag = false;
|
|
}
|
|
else
|
|
{
|
|
flag = SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.GetExperimentSegment(text) == text2;
|
|
}
|
|
if (flag)
|
|
{
|
|
while (!Player.LocalPlayerExists)
|
|
{
|
|
yield return null;
|
|
}
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = false;
|
|
}
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_ThisIsPaddleball);
|
|
yield return new WaitForSeconds(1f);
|
|
if (flag)
|
|
{
|
|
yield return this.OLEDIBEGLLN();
|
|
}
|
|
else
|
|
{
|
|
this.GHLPEJOAAHO.LocalPlayerSkippingTutorial();
|
|
yield return this.GHLPEJOAAHO.SetPlayerInitialized();
|
|
}
|
|
if (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
this.FJFDHFAJAOO = Time.time;
|
|
this.FAKHIGEIJCM = true;
|
|
if (this.GHLPEJOAAHO.INAPGOCICLO)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.OtherPlayerInTutorial);
|
|
}
|
|
else
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YoullBeMatchedSoon);
|
|
}
|
|
float num2 = 0f;
|
|
float num3 = 30f;
|
|
float num4 = 40f;
|
|
this.INNCNAJIMNF = base.StartCoroutine(this.ABFCNJHJCIL());
|
|
while (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
yield return null;
|
|
num2 += Time.deltaTime;
|
|
if (num2 > num3)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_WereStillLooking);
|
|
num2 = 0f;
|
|
break;
|
|
}
|
|
}
|
|
while (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
yield return null;
|
|
num2 += Time.deltaTime;
|
|
if (num2 > num4)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_IfYouDontWantToWait);
|
|
num2 = 0f;
|
|
}
|
|
}
|
|
}
|
|
if (this.INNCNAJIMNF != null)
|
|
{
|
|
base.StopCoroutine(this.INNCNAJIMNF);
|
|
this.INNCNAJIMNF = null;
|
|
this.pathMarkerNUX.gameObject.SetActive(false);
|
|
this.practiceDoorHighlightForNUX.AHPMPAMKKFI = false;
|
|
}
|
|
yield return new WaitForSeconds(1f);
|
|
if (this.scoreboardProjectorForNUX != null)
|
|
{
|
|
this.scoreboardProjectorForNUX.HPHLFFNHBLI = true;
|
|
}
|
|
yield return new WaitForSeconds(0.5f);
|
|
List<Player> all = Player.All;
|
|
bool flag2 = false;
|
|
for (int i = 0; i < all.Count; i++)
|
|
{
|
|
if (!(all[i] == null))
|
|
{
|
|
EEBPLECPEGD eebplecpegd = FKJHLNJDEKK.CPIBGJLHLBL(all[i].NAJBCPFNBAB);
|
|
if (eebplecpegd != null && ObscuredBool.EDHNDLCFIOL(eebplecpegd.JMMJGMOBGJM))
|
|
{
|
|
flag2 = true;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
if (flag2)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YouveBeenMatchedJunior);
|
|
}
|
|
else
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YouveBeenMatched);
|
|
}
|
|
while (!this.GHLPEJOAAHO.DMLPFMKFOBB)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.FAKHIGEIJCM = false;
|
|
float num5 = Time.time;
|
|
NECCOFKHCAA.FHHIIOBGMHI(TutorialManager.EJKMNNFKLJA.Q2A_WelcomeToPaddleball, num5 - num, OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
num = Time.time;
|
|
this.GHLPEJOAAHO.HDNIEJJBLGI.CJFAFMNDNHG(HPNGPCDIPED.TAG_2);
|
|
while (this.GHLPEJOAAHO.DMLPFMKFOBB)
|
|
{
|
|
yield return null;
|
|
}
|
|
yield return new WaitForSeconds(1f);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_CongratulationsOnFirstGame);
|
|
yield return new WaitForSeconds(1f);
|
|
base.StartCoroutine(this.IMBMFJNLLBL());
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_GoToTheRecCenter);
|
|
num5 = Time.time;
|
|
NECCOFKHCAA.FHHIIOBGMHI(TutorialManager.EJKMNNFKLJA.Q2A_FinishedFirstGame, num5 - num, OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
this.GHLPEJOAAHO.OFOBCNCJFMP = this.GHLPEJOAAHO.INAPGOCICLO;
|
|
this.MMOANKDEGJA = false;
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.Complete;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C30 RID: 11312 RVA: 0x000D0FA8 File Offset: 0x000CF1A8
|
|
private void IGGMGOMLNIC()
|
|
{
|
|
if (Player.LocalPlayerExists && Player.LocalPlayer.POJAICMNOFI.MGKHEPFGLAE != null)
|
|
{
|
|
this.BDPODHKBOMF = Player.LocalPlayer.LNKGAAEPMEO().MGKHEPFGLAE;
|
|
}
|
|
else
|
|
{
|
|
base.StartCoroutine(this.KNIOKEGFMLM());
|
|
}
|
|
this.CIDGHNHPNPB = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.HMDALOBJCDJ(TutorialManager.PENKLGMAGGH.IfUnsureOfWhatToDo);
|
|
this.GHLPEJOAAHO = RecRoomSceneManager.LEILGOOHEOI().EBHBJAFODKA as PaddleballManager;
|
|
this.FHCNECIMJPP = new LHLLJPPCDKA<bool>(this.GHLPEJOAAHO, "user_party_created", true, (IKCAJLLAFML)8, new Action(this.CKAOCPMPFBE));
|
|
this.NMCPAOCGHNH = new LHLLJPPCDKA<bool>(this.GHLPEJOAAHO, "Not in any event", false, (IKCAJLLAFML)5, new Action(this.EPJKBJDBIFB));
|
|
this.OHKBEIPECEG();
|
|
this.KJFLJNCMEHG();
|
|
this.LLAOMANLLMG = true;
|
|
}
|
|
|
|
// Token: 0x06002C31 RID: 11313 RVA: 0x000D1084 File Offset: 0x000CF284
|
|
private void JLLPKECKBAO()
|
|
{
|
|
if (Player.LocalPlayerExists && Player.LocalPlayer.LNKGAAEPMEO().MGKHEPFGLAE != null)
|
|
{
|
|
this.BDPODHKBOMF = Player.LocalPlayer.LNKGAAEPMEO().MGKHEPFGLAE;
|
|
}
|
|
else
|
|
{
|
|
base.StartCoroutine(this.CIDBDGELMDC());
|
|
}
|
|
this.CIDGHNHPNPB = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.EONDIHMDMGE(TutorialManager.PENKLGMAGGH.ReadCodeOfConduct);
|
|
this.GHLPEJOAAHO = RecRoomSceneManager.LEILGOOHEOI().EBHBJAFODKA as PaddleballManager;
|
|
this.FHCNECIMJPP = new LHLLJPPCDKA<bool>(this.GHLPEJOAAHO, "vector2", false, (IKCAJLLAFML)4, new Action(this.NGILJPOLBBB));
|
|
this.NMCPAOCGHNH = new LHLLJPPCDKA<bool>(this.GHLPEJOAAHO, "Searching...", false, IKCAJLLAFML.MASTER, new Action(this.GDLAMFIDELL));
|
|
this.CKAOCPMPFBE();
|
|
this.GDLAMFIDELL();
|
|
this.LLAOMANLLMG = false;
|
|
}
|
|
|
|
// Token: 0x06002C32 RID: 11314 RVA: 0x000D1160 File Offset: 0x000CF360
|
|
private IEnumerator LOCEPCOKODB(Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG> OFAECEGEBGB)
|
|
{
|
|
RecRoomAudioClip tutorialAudio = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.OpenWatch);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(base.OJKNBNGGBEC), tutorialAudio, this.CIDGHNHPNPB, OFAECEGEBGB, 15f, 3, "WaitUntilPlayerOpensMenu");
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C33 RID: 11315 RVA: 0x000D1184 File Offset: 0x000CF384
|
|
private void IMOBJJOCFJN()
|
|
{
|
|
if (Player.LocalPlayerExists && Player.LocalPlayer.POJAICMNOFI.MGKHEPFGLAE != null)
|
|
{
|
|
this.BDPODHKBOMF = Player.LocalPlayer.LNKGAAEPMEO().MGKHEPFGLAE;
|
|
}
|
|
else
|
|
{
|
|
base.StartCoroutine(this.CIDBDGELMDC());
|
|
}
|
|
this.CIDGHNHPNPB = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.HMDALOBJCDJ((TutorialManager.PENKLGMAGGH)126);
|
|
this.GHLPEJOAAHO = RecRoomSceneManager.NCKMBFBMBFM.EBHBJAFODKA as PaddleballManager;
|
|
this.FHCNECIMJPP = new LHLLJPPCDKA<bool>(this.GHLPEJOAAHO, "bxokc2FuZGJveF9zcGF3bmVkX2VxdWlwbWVudF9kYXRhLnByb3RvGhFzdGlj", false, IKCAJLLAFML.AUTHORITY, new Action(this.CKAOCPMPFBE));
|
|
this.NMCPAOCGHNH = new LHLLJPPCDKA<bool>(this.GHLPEJOAAHO, "MessageOfTheDay", false, (IKCAJLLAFML)5, new Action(this.IOENKDONIIP));
|
|
this.AEODOLHBHNK();
|
|
this.IOENKDONIIP();
|
|
this.LLAOMANLLMG = true;
|
|
}
|
|
|
|
// Token: 0x06002C34 RID: 11316 RVA: 0x000D1260 File Offset: 0x000CF460
|
|
private IEnumerator DBGEIHIOJDN()
|
|
{
|
|
while (!Player.LocalPlayerExists || Player.LocalPlayer.POJAICMNOFI.MGKHEPFGLAE == null)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.BDPODHKBOMF = Player.LocalPlayer.POJAICMNOFI.MGKHEPFGLAE;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C35 RID: 11317 RVA: 0x000D127C File Offset: 0x000CF47C
|
|
private IEnumerator FNKHMEIGDDM()
|
|
{
|
|
pidofboflgm = new PaddleballOOBE.MLBOOLJOFJK.PIDOFBOFLGM();
|
|
pidofboflgm.AOHNJFNCJKD = this;
|
|
this.GHLPEJOAAHO.AMCOOFJJCJA = true;
|
|
flag = true;
|
|
gameObject = this.primaryDummyRightArm;
|
|
gameObject2 = this.primaryDummyLeftArm;
|
|
nonPlayerGestureTarget = this.primaryFistBumpTarget;
|
|
nonPlayerGestureTarget2 = this.primaryHandshakeTarget;
|
|
transform = this.primaryDummyPopupTransform;
|
|
teleportTarget = this.primaryTeleportTargetMannequin;
|
|
gestureTarget = this.primaryGesturesDummy.GetComponentInChildren<GestureTarget>();
|
|
dynamicTeleportRestriction = this.primaryTeleportRestriction;
|
|
if (this.GHLPEJOAAHO.INAPGOCICLO)
|
|
{
|
|
flag = false;
|
|
gameObject = this.alternateDummyRightArm;
|
|
gameObject2 = this.alternateDummyLeftArm;
|
|
nonPlayerGestureTarget = this.alternateFistBumpTarget;
|
|
nonPlayerGestureTarget2 = this.alternateHandshakeTarget;
|
|
transform = this.alternateDummyPopupTransform;
|
|
teleportTarget = this.alternateTeleportTargetMannequin;
|
|
gestureTarget = this.alternateGesturesDummy.GetComponentInChildren<GestureTarget>();
|
|
dynamicTeleportRestriction = this.alternateTeleportRestriction;
|
|
}
|
|
this.OFKJIKKCFIC = true;
|
|
while (!Player.LocalPlayerExists)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.GHLPEJOAAHO.LocalPlayerStartingTutorial();
|
|
yield return this.GHLPEJOAAHO.SetPlayerInitialized();
|
|
if (flag)
|
|
{
|
|
this.FHCNECIMJPP.MEAINJPIECA(true);
|
|
}
|
|
else
|
|
{
|
|
this.NMCPAOCGHNH.MEAINJPIECA(true);
|
|
}
|
|
gameObject.SetActive(false);
|
|
gameObject2.SetActive(false);
|
|
photonPlayer = Player.LocalPlayer.LNJFBGIBLHA;
|
|
nonPlayerGestureTarget.gameObject.GetComponent<PhotonView>().TransferOwnership(photonPlayer);
|
|
nonPlayerGestureTarget2.gameObject.GetComponent<PhotonView>().TransferOwnership(photonPlayer);
|
|
dynamicTeleportRestriction.CKCJKODJCMH = true;
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.TeleportToMannequin;
|
|
base.EEEEPABGODM();
|
|
this.fullGymRestriction.gameObject.SetActive(true);
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = true;
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.PracticeSocialOnStandee);
|
|
recRoomAudioClip = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.TeleportToMannequin);
|
|
yield return this.LDGLJCKNFDO(teleportTarget, recRoomAudioClip, recRoomAudioClip, -1, false, flag);
|
|
if (this.BDPODHKBOMF.IGNILOGNHOO)
|
|
{
|
|
Player.LocalPlayer.POJAICMNOFI.MALKDBPJAID.CloseMenu();
|
|
}
|
|
yield return new WaitForSeconds(1f);
|
|
base.PKHLAJGPBND(OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.LearnHandshake;
|
|
base.EEEEPABGODM();
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = false;
|
|
gameObject.SetActive(true);
|
|
pidofboflgm.EFCKMJMBDAC = false;
|
|
nonPlayerGestureTarget2.PPDNDEIACDG += pidofboflgm.OJKNBNGGBEC;
|
|
helpPopup = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.ShowHelpPopup(TutorialManager.GAGGNMIIHEH.ShakeHands, new Vector3?(transform.position));
|
|
recRoomAudioClip = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.ShakeHands_v2);
|
|
recRoomAudioClip2 = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.GrabAndHoldToHandshake);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.JAFGLCBFOHM), recRoomAudioClip, recRoomAudioClip2, new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.FAOOMCFPGBH), 15f, 3, string.Empty);
|
|
helpPopup.HHEECLBGLCE = false;
|
|
yield return new WaitForSeconds(1f);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Excellent);
|
|
yield return new WaitForSeconds(1f);
|
|
gameObject.SetActive(false);
|
|
base.PKHLAJGPBND();
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.LearnPartyUp;
|
|
base.EEEEPABGODM();
|
|
gameObject2.SetActive(true);
|
|
pidofboflgm.JHCIGBBHCDC = false;
|
|
nonPlayerGestureTarget.PPDNDEIACDG += pidofboflgm.EGOHHBDCLII;
|
|
helpPopup = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.ShowHelpPopup(TutorialManager.GAGGNMIIHEH.FistBump, new Vector3?(transform.position));
|
|
recRoomAudioClip = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.FistBump_v2);
|
|
recRoomAudioClip2 = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.MakeAFistAndTapToFistBump);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.LKAFJIJNOJM), recRoomAudioClip, recRoomAudioClip2, new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.PINIBHKNJAB), 15f, 3, string.Empty);
|
|
helpPopup.HHEECLBGLCE = false;
|
|
yield return new WaitForSeconds(1f);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Perfect);
|
|
yield return new WaitForSeconds(1f);
|
|
gameObject2.SetActive(false);
|
|
base.PKHLAJGPBND();
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.LearnStop;
|
|
base.EEEEPABGODM();
|
|
if (gestureTarget == null)
|
|
{
|
|
Debug.LogError("Missing stop target!");
|
|
yield break;
|
|
}
|
|
pidofboflgm.CAIMKOFMDHJ = false;
|
|
gestureTarget.IgnoreEvent = new Action<bool>(pidofboflgm.EPIDMGCJJIK);
|
|
helpPopup = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.ShowHelpPopup(TutorialManager.GAGGNMIIHEH.Stop, new Vector3?(transform.position));
|
|
recRoomAudioClip = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.StopGesture_v2);
|
|
recRoomAudioClip2 = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.PointYourPalmToStop);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.FKHPJJNIGKG), recRoomAudioClip, recRoomAudioClip2, new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.PINPPNBCJCJ), 15f, 3, string.Empty);
|
|
helpPopup.HHEECLBGLCE = false;
|
|
pidofboflgm.HFLFNFIHDEG = false;
|
|
aalaihcpneb = this.BDPODHKBOMF.ShowTemporaryDialog<HDPGPHCMBGP>(this.NUXReportDialogPrefab, ~WatchAttractor.PCKMINIOEIM.Text);
|
|
AALAIHCPNEB<HDPGPHCMBGP> aalaihcpneb2 = aalaihcpneb;
|
|
aalaihcpneb2.CAJJMPBHOJM = (Action<HDPGPHCMBGP>)Delegate.Combine(aalaihcpneb2.CAJJMPBHOJM, new Action<HDPGPHCMBGP>(pidofboflgm.CHKACLCJLDI));
|
|
if (PaddleballOOBE.MLBOOLJOFJK.DINNJGHCFHI == null)
|
|
{
|
|
PaddleballOOBE.MLBOOLJOFJK.DINNJGHCFHI = new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(PaddleballOOBE.MLBOOLJOFJK.OJKNBNGGBEC);
|
|
}
|
|
yield return this.NNLCMJJMPKK(PaddleballOOBE.MLBOOLJOFJK.DINNJGHCFHI);
|
|
recRoomAudioClip2 = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.ChooseReportReason);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.DDKFPKEDEFN), recRoomAudioClip2, recRoomAudioClip2, new Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(pidofboflgm.BJFCDCHEKKH), 15f, 3, string.Empty);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Great);
|
|
yield return new WaitForSeconds(1f);
|
|
if (!FKJHLNJDEKK.LECFBEBMLIC.BCBJFKEFMMI())
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.SpeakWithMic);
|
|
}
|
|
base.PKHLAJGPBND();
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.Q2A_WelcomeToPaddleball;
|
|
if (flag)
|
|
{
|
|
this.FHCNECIMJPP.MEAINJPIECA(false);
|
|
}
|
|
else
|
|
{
|
|
this.NMCPAOCGHNH.MEAINJPIECA(false);
|
|
}
|
|
gameObject.SetActive(false);
|
|
gameObject2.SetActive(false);
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = true;
|
|
this.fullGymRestriction.gameObject.SetActive(false);
|
|
yield return new WaitForSeconds(1f);
|
|
this.GHLPEJOAAHO.AMCOOFJJCJA = false;
|
|
this.GHLPEJOAAHO.LocalPlayerLeavingTutorial();
|
|
this.OFKJIKKCFIC = false;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C37 RID: 11319 RVA: 0x000D12AC File Offset: 0x000CF4AC
|
|
private void KCKPOOJHBNO()
|
|
{
|
|
if (!this.LLAOMANLLMG)
|
|
{
|
|
this.JJKPOJJGNMJ();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002C38 RID: 11320 RVA: 0x000D12C0 File Offset: 0x000CF4C0
|
|
public IEnumerator JLPCIOJBFCC()
|
|
{
|
|
this.MMOANKDEGJA = true;
|
|
yield return null;
|
|
if (!this.LLAOMANLLMG)
|
|
{
|
|
this.ANBCLPBMDFO();
|
|
}
|
|
this.GHLPEJOAAHO.OFOBCNCJFMP = true;
|
|
this.JJJGIDDAFHG = Time.time;
|
|
this.enterCourtTeleportationPortal.OLENGDNLNOM += this.IFAPDHLBFII;
|
|
num = Time.time;
|
|
text = typeof(SplitTesting.PaddleballSocialNUX_2017_12_14).ToString();
|
|
text2 = SplitTesting.PaddleballSocialNUX_2017_12_14.RunSocialNUX.ToString();
|
|
text3 = SplitTesting.PaddleballSocialNUX_2017_12_14.SkipSocialNUX.ToString();
|
|
flag = false;
|
|
if (SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.IsAssignedToExperiment(text))
|
|
{
|
|
flag = SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.GetExperimentSegment(text) == text2;
|
|
}
|
|
else if (this.GHLPEJOAAHO.IPEHKBKEHLN)
|
|
{
|
|
SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.ForceExperimentSegmentIfUnassigned(text, text2);
|
|
flag = true;
|
|
}
|
|
else if (this.GHLPEJOAAHO.FHEGMEGEGJJ)
|
|
{
|
|
SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.ForceExperimentSegmentIfUnassigned(text, text3);
|
|
flag = false;
|
|
}
|
|
else
|
|
{
|
|
flag = SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.GetExperimentSegment(text) == text2;
|
|
}
|
|
if (flag)
|
|
{
|
|
while (!Player.LocalPlayerExists)
|
|
{
|
|
yield return null;
|
|
}
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = false;
|
|
}
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_ThisIsPaddleball);
|
|
yield return new WaitForSeconds(1f);
|
|
if (flag)
|
|
{
|
|
yield return this.OLEDIBEGLLN();
|
|
}
|
|
else
|
|
{
|
|
this.GHLPEJOAAHO.LocalPlayerSkippingTutorial();
|
|
yield return this.GHLPEJOAAHO.SetPlayerInitialized();
|
|
}
|
|
if (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
this.FJFDHFAJAOO = Time.time;
|
|
this.FAKHIGEIJCM = true;
|
|
if (this.GHLPEJOAAHO.INAPGOCICLO)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.OtherPlayerInTutorial);
|
|
}
|
|
else
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YoullBeMatchedSoon);
|
|
}
|
|
num2 = 0f;
|
|
num3 = 30f;
|
|
num4 = 40f;
|
|
this.INNCNAJIMNF = base.StartCoroutine(this.ABFCNJHJCIL());
|
|
while (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
yield return null;
|
|
num2 += Time.deltaTime;
|
|
if (num2 > num3)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_WereStillLooking);
|
|
num2 = 0f;
|
|
break;
|
|
}
|
|
}
|
|
while (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
yield return null;
|
|
num2 += Time.deltaTime;
|
|
if (num2 > num4)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_IfYouDontWantToWait);
|
|
num2 = 0f;
|
|
}
|
|
}
|
|
}
|
|
if (this.INNCNAJIMNF != null)
|
|
{
|
|
base.StopCoroutine(this.INNCNAJIMNF);
|
|
this.INNCNAJIMNF = null;
|
|
this.pathMarkerNUX.gameObject.SetActive(false);
|
|
this.practiceDoorHighlightForNUX.AHPMPAMKKFI = false;
|
|
}
|
|
yield return new WaitForSeconds(1f);
|
|
if (this.scoreboardProjectorForNUX != null)
|
|
{
|
|
this.scoreboardProjectorForNUX.HPHLFFNHBLI = true;
|
|
}
|
|
yield return new WaitForSeconds(0.5f);
|
|
all = Player.All;
|
|
flag2 = false;
|
|
for (int i = 0; i < all.Count; i++)
|
|
{
|
|
if (!(all[i] == null))
|
|
{
|
|
EEBPLECPEGD eebplecpegd = FKJHLNJDEKK.CPIBGJLHLBL(all[i].NAJBCPFNBAB);
|
|
if (eebplecpegd != null && ObscuredBool.EDHNDLCFIOL(eebplecpegd.JMMJGMOBGJM))
|
|
{
|
|
flag2 = true;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
if (flag2)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YouveBeenMatchedJunior);
|
|
}
|
|
else
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YouveBeenMatched);
|
|
}
|
|
while (!this.GHLPEJOAAHO.DMLPFMKFOBB)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.FAKHIGEIJCM = false;
|
|
num5 = Time.time;
|
|
NECCOFKHCAA.FHHIIOBGMHI(TutorialManager.EJKMNNFKLJA.Q2A_WelcomeToPaddleball, num5 - num, OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
num = Time.time;
|
|
this.GHLPEJOAAHO.HDNIEJJBLGI.CJFAFMNDNHG(HPNGPCDIPED.TAG_2);
|
|
while (this.GHLPEJOAAHO.DMLPFMKFOBB)
|
|
{
|
|
yield return null;
|
|
}
|
|
yield return new WaitForSeconds(1f);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_CongratulationsOnFirstGame);
|
|
yield return new WaitForSeconds(1f);
|
|
base.StartCoroutine(this.IMBMFJNLLBL());
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_GoToTheRecCenter);
|
|
num5 = Time.time;
|
|
NECCOFKHCAA.FHHIIOBGMHI(TutorialManager.EJKMNNFKLJA.Q2A_FinishedFirstGame, num5 - num, OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
this.GHLPEJOAAHO.OFOBCNCJFMP = this.GHLPEJOAAHO.INAPGOCICLO;
|
|
this.MMOANKDEGJA = false;
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.Complete;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C39 RID: 11321 RVA: 0x000D12DC File Offset: 0x000CF4DC
|
|
protected virtual void PNILHEIMBHC()
|
|
{
|
|
if (this.OFKJIKKCFIC)
|
|
{
|
|
base.BHHDNKGLIFA(OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
this.GHLPEJOAAHO.LocalPlayerLeavingTutorial();
|
|
this.OFKJIKKCFIC = true;
|
|
}
|
|
else if (this.FAKHIGEIJCM && SingletonMonoBehaviour<AmplitudeAnalyticsClient>.NCKMBFBMBFM != null)
|
|
{
|
|
NECCOFKHCAA.FHHIIOBGMHI((TutorialManager.EJKMNNFKLJA)107, Time.time - this.FJFDHFAJAOO, OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Incomplete);
|
|
}
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.MHECIDCDCPN((TutorialManager.EJKMNNFKLJA)(-7));
|
|
this.enterCourtTeleportationPortal.NEMMGLIFHFE(new Action(this.OPKAGGDCAIE));
|
|
base.CAPBPGFLJPB();
|
|
}
|
|
|
|
// Token: 0x06002C3A RID: 11322 RVA: 0x000D136C File Offset: 0x000CF56C
|
|
private void IOENKDONIIP()
|
|
{
|
|
bool flag = this.NMCPAOCGHNH.CPIBGJLHLBL();
|
|
this.alternateGesturesDummy.SetActive(flag);
|
|
this.alternateTeleportRestriction.gameObject.SetActive(flag);
|
|
this.alternateTeleportRestriction.CKCJKODJCMH = !flag;
|
|
}
|
|
|
|
// Token: 0x06002C3B RID: 11323 RVA: 0x000D13B4 File Offset: 0x000CF5B4
|
|
private void OHKBEIPECEG()
|
|
{
|
|
bool flag = this.FHCNECIMJPP.CPIBGJLHLBL();
|
|
this.primaryGesturesDummy.SetActive(flag);
|
|
this.primaryTeleportRestriction.gameObject.SetActive(flag);
|
|
this.primaryTeleportRestriction.CKCJKODJCMH = flag;
|
|
}
|
|
|
|
// Token: 0x06002C3C RID: 11324 RVA: 0x000D13FC File Offset: 0x000CF5FC
|
|
private void PMHKNGCFJBO()
|
|
{
|
|
if (Player.LocalPlayerExists && Player.LocalPlayer.LNKGAAEPMEO().MGKHEPFGLAE != null)
|
|
{
|
|
this.BDPODHKBOMF = Player.LocalPlayer.POJAICMNOFI.MGKHEPFGLAE;
|
|
}
|
|
else
|
|
{
|
|
base.StartCoroutine(this.CIDBDGELMDC());
|
|
}
|
|
this.CIDGHNHPNPB = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.HMDALOBJCDJ((TutorialManager.PENKLGMAGGH)(-94));
|
|
this.GHLPEJOAAHO = RecRoomSceneManager.LEILGOOHEOI().EBHBJAFODKA as PaddleballManager;
|
|
this.FHCNECIMJPP = new LHLLJPPCDKA<bool>(this.GHLPEJOAAHO, "CHGADJKJGPL", true, (IKCAJLLAFML)4, new Action(this.CKAOCPMPFBE));
|
|
this.NMCPAOCGHNH = new LHLLJPPCDKA<bool>(this.GHLPEJOAAHO, "open", false, IKCAJLLAFML.MASTER, new Action(this.IOENKDONIIP));
|
|
this.AOFEHOMEDAF();
|
|
this.EPJKBJDBIFB();
|
|
this.LLAOMANLLMG = false;
|
|
}
|
|
|
|
// Token: 0x06002C3D RID: 11325 RVA: 0x000D14D8 File Offset: 0x000CF6D8
|
|
public IEnumerator DGOMCGFFFJM()
|
|
{
|
|
this.MMOANKDEGJA = true;
|
|
yield return null;
|
|
if (!this.LLAOMANLLMG)
|
|
{
|
|
this.ANBCLPBMDFO();
|
|
}
|
|
this.GHLPEJOAAHO.OFOBCNCJFMP = true;
|
|
this.JJJGIDDAFHG = Time.time;
|
|
this.enterCourtTeleportationPortal.OLENGDNLNOM += this.IFAPDHLBFII;
|
|
num = Time.time;
|
|
text = typeof(SplitTesting.PaddleballSocialNUX_2017_12_14).ToString();
|
|
text2 = SplitTesting.PaddleballSocialNUX_2017_12_14.RunSocialNUX.ToString();
|
|
text3 = SplitTesting.PaddleballSocialNUX_2017_12_14.SkipSocialNUX.ToString();
|
|
flag = false;
|
|
if (SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.IsAssignedToExperiment(text))
|
|
{
|
|
flag = SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.GetExperimentSegment(text) == text2;
|
|
}
|
|
else if (this.GHLPEJOAAHO.IPEHKBKEHLN)
|
|
{
|
|
SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.ForceExperimentSegmentIfUnassigned(text, text2);
|
|
flag = true;
|
|
}
|
|
else if (this.GHLPEJOAAHO.FHEGMEGEGJJ)
|
|
{
|
|
SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.ForceExperimentSegmentIfUnassigned(text, text3);
|
|
flag = false;
|
|
}
|
|
else
|
|
{
|
|
flag = SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.GetExperimentSegment(text) == text2;
|
|
}
|
|
if (flag)
|
|
{
|
|
while (!Player.LocalPlayerExists)
|
|
{
|
|
yield return null;
|
|
}
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = false;
|
|
}
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_ThisIsPaddleball);
|
|
yield return new WaitForSeconds(1f);
|
|
if (flag)
|
|
{
|
|
yield return this.OLEDIBEGLLN();
|
|
}
|
|
else
|
|
{
|
|
this.GHLPEJOAAHO.LocalPlayerSkippingTutorial();
|
|
yield return this.GHLPEJOAAHO.SetPlayerInitialized();
|
|
}
|
|
if (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
this.FJFDHFAJAOO = Time.time;
|
|
this.FAKHIGEIJCM = true;
|
|
if (this.GHLPEJOAAHO.INAPGOCICLO)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.OtherPlayerInTutorial);
|
|
}
|
|
else
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YoullBeMatchedSoon);
|
|
}
|
|
num2 = 0f;
|
|
num3 = 30f;
|
|
num4 = 40f;
|
|
this.INNCNAJIMNF = base.StartCoroutine(this.ABFCNJHJCIL());
|
|
while (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
yield return null;
|
|
num2 += Time.deltaTime;
|
|
if (num2 > num3)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_WereStillLooking);
|
|
num2 = 0f;
|
|
break;
|
|
}
|
|
}
|
|
while (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
yield return null;
|
|
num2 += Time.deltaTime;
|
|
if (num2 > num4)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_IfYouDontWantToWait);
|
|
num2 = 0f;
|
|
}
|
|
}
|
|
}
|
|
if (this.INNCNAJIMNF != null)
|
|
{
|
|
base.StopCoroutine(this.INNCNAJIMNF);
|
|
this.INNCNAJIMNF = null;
|
|
this.pathMarkerNUX.gameObject.SetActive(false);
|
|
this.practiceDoorHighlightForNUX.AHPMPAMKKFI = false;
|
|
}
|
|
yield return new WaitForSeconds(1f);
|
|
if (this.scoreboardProjectorForNUX != null)
|
|
{
|
|
this.scoreboardProjectorForNUX.HPHLFFNHBLI = true;
|
|
}
|
|
yield return new WaitForSeconds(0.5f);
|
|
all = Player.All;
|
|
flag2 = false;
|
|
for (int i = 0; i < all.Count; i++)
|
|
{
|
|
if (!(all[i] == null))
|
|
{
|
|
EEBPLECPEGD eebplecpegd = FKJHLNJDEKK.CPIBGJLHLBL(all[i].NAJBCPFNBAB);
|
|
if (eebplecpegd != null && ObscuredBool.EDHNDLCFIOL(eebplecpegd.JMMJGMOBGJM))
|
|
{
|
|
flag2 = true;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
if (flag2)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YouveBeenMatchedJunior);
|
|
}
|
|
else
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YouveBeenMatched);
|
|
}
|
|
while (!this.GHLPEJOAAHO.DMLPFMKFOBB)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.FAKHIGEIJCM = false;
|
|
num5 = Time.time;
|
|
NECCOFKHCAA.FHHIIOBGMHI(TutorialManager.EJKMNNFKLJA.Q2A_WelcomeToPaddleball, num5 - num, OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
num = Time.time;
|
|
this.GHLPEJOAAHO.HDNIEJJBLGI.CJFAFMNDNHG(HPNGPCDIPED.TAG_2);
|
|
while (this.GHLPEJOAAHO.DMLPFMKFOBB)
|
|
{
|
|
yield return null;
|
|
}
|
|
yield return new WaitForSeconds(1f);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_CongratulationsOnFirstGame);
|
|
yield return new WaitForSeconds(1f);
|
|
base.StartCoroutine(this.IMBMFJNLLBL());
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_GoToTheRecCenter);
|
|
num5 = Time.time;
|
|
NECCOFKHCAA.FHHIIOBGMHI(TutorialManager.EJKMNNFKLJA.Q2A_FinishedFirstGame, num5 - num, OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
this.GHLPEJOAAHO.OFOBCNCJFMP = this.GHLPEJOAAHO.INAPGOCICLO;
|
|
this.MMOANKDEGJA = false;
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.Complete;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C3E RID: 11326 RVA: 0x000D14F4 File Offset: 0x000CF6F4
|
|
private IEnumerator HNJJBBKBHAI()
|
|
{
|
|
while (!Player.LocalPlayerExists || Player.LocalPlayer.POJAICMNOFI.MGKHEPFGLAE == null)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.BDPODHKBOMF = Player.LocalPlayer.POJAICMNOFI.MGKHEPFGLAE;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C3F RID: 11327 RVA: 0x000D1510 File Offset: 0x000CF710
|
|
private void ECHJJKLIOIL()
|
|
{
|
|
NECCOFKHCAA.GMHCCJIENJO(Time.time - this.JJJGIDDAFHG);
|
|
if (this.INNCNAJIMNF != null)
|
|
{
|
|
base.StopCoroutine(this.INNCNAJIMNF);
|
|
this.INNCNAJIMNF = null;
|
|
this.pathMarkerNUX.gameObject.SetActive(false);
|
|
this.practiceDoorHighlightForNUX.JJHFLNAALAE(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002C40 RID: 11328 RVA: 0x000D156C File Offset: 0x000CF76C
|
|
private IEnumerator BCHOGGIHFNK()
|
|
{
|
|
float num = 0.25f;
|
|
float num2 = 0.75f;
|
|
int num3 = 3;
|
|
float num4 = 2f;
|
|
float num5 = 0f;
|
|
for (;;)
|
|
{
|
|
for (int i = 0; i < num3; i++)
|
|
{
|
|
num5 = 0f;
|
|
this.recCenterDoorHighlightForNUX.AHPMPAMKKFI = false;
|
|
while (num5 < num)
|
|
{
|
|
num5 += Time.deltaTime;
|
|
yield return null;
|
|
}
|
|
num5 = 0f;
|
|
while (num5 < num2)
|
|
{
|
|
num5 += Time.deltaTime;
|
|
this.recCenterDoorHighlightForNUX.AHPMPAMKKFI = true;
|
|
yield return null;
|
|
}
|
|
}
|
|
num5 = 0f;
|
|
while (num5 < num4)
|
|
{
|
|
this.recCenterDoorHighlightForNUX.AHPMPAMKKFI = true;
|
|
num5 += Time.deltaTime;
|
|
yield return null;
|
|
}
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C41 RID: 11329 RVA: 0x000D1588 File Offset: 0x000CF788
|
|
private void BABKFIKEOCG()
|
|
{
|
|
if (!this.LLAOMANLLMG)
|
|
{
|
|
this.IMOBJJOCFJN();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002C42 RID: 11330 RVA: 0x000D159C File Offset: 0x000CF79C
|
|
private void Start()
|
|
{
|
|
if (!this.LLAOMANLLMG)
|
|
{
|
|
this.ANBCLPBMDFO();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002C43 RID: 11331 RVA: 0x000D15B0 File Offset: 0x000CF7B0
|
|
private IEnumerator FBBCOEEIKJJ(GestureTarget MMEBLCBANIL, KeyCode FDNAONOLIGM)
|
|
{
|
|
while (!Input.GetKeyDown(FDNAONOLIGM))
|
|
{
|
|
yield return null;
|
|
}
|
|
MMEBLCBANIL.SetIgnore(true);
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C44 RID: 11332 RVA: 0x000D15D4 File Offset: 0x000CF7D4
|
|
private void FGCPHGJDALF()
|
|
{
|
|
if (!this.LLAOMANLLMG)
|
|
{
|
|
this.PMHKNGCFJBO();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002C45 RID: 11333 RVA: 0x000D15E8 File Offset: 0x000CF7E8
|
|
private void ANBCLPBMDFO()
|
|
{
|
|
if (Player.LocalPlayerExists && Player.LocalPlayer.POJAICMNOFI.MGKHEPFGLAE != null)
|
|
{
|
|
this.BDPODHKBOMF = Player.LocalPlayer.POJAICMNOFI.MGKHEPFGLAE;
|
|
}
|
|
else
|
|
{
|
|
base.StartCoroutine(this.BJGKOEEJLAO());
|
|
}
|
|
this.CIDGHNHPNPB = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.LookAtWristToViewWatch);
|
|
this.GHLPEJOAAHO = RecRoomSceneManager.NCKMBFBMBFM.EBHBJAFODKA as PaddleballManager;
|
|
this.FHCNECIMJPP = new LHLLJPPCDKA<bool>(this.GHLPEJOAAHO, "PGDE", false, IKCAJLLAFML.ANYONE, new Action(this.NGILJPOLBBB));
|
|
this.NMCPAOCGHNH = new LHLLJPPCDKA<bool>(this.GHLPEJOAAHO, "AGDE", false, IKCAJLLAFML.ANYONE, new Action(this.IOENKDONIIP));
|
|
this.NGILJPOLBBB();
|
|
this.IOENKDONIIP();
|
|
this.LLAOMANLLMG = true;
|
|
}
|
|
|
|
// Token: 0x06002C46 RID: 11334 RVA: 0x000D16C4 File Offset: 0x000CF8C4
|
|
private void IACEAALGDCN()
|
|
{
|
|
NECCOFKHCAA.GMHCCJIENJO(Time.time - this.JJJGIDDAFHG);
|
|
if (this.INNCNAJIMNF != null)
|
|
{
|
|
base.StopCoroutine(this.INNCNAJIMNF);
|
|
this.INNCNAJIMNF = null;
|
|
this.pathMarkerNUX.gameObject.SetActive(false);
|
|
this.practiceDoorHighlightForNUX.JJHFLNAALAE(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002C47 RID: 11335 RVA: 0x000D1720 File Offset: 0x000CF920
|
|
private IEnumerator ABFCNJHJCIL()
|
|
{
|
|
GPOIAIBLBEN gpoiaiblben = null;
|
|
if (this.pathToPracticeDoorNUX != null && this.pathToPracticeDoorNUX.Length >= 4)
|
|
{
|
|
gpoiaiblben = new GPOIAIBLBEN();
|
|
gpoiaiblben.OPGNBFLPGFL(this.pathToPracticeDoorNUX[0].position, this.pathToPracticeDoorNUX[1].position, this.pathToPracticeDoorNUX[2].position, this.pathToPracticeDoorNUX[3].position);
|
|
for (int i = 6; i < this.pathToPracticeDoorNUX.Length; i += 3)
|
|
{
|
|
gpoiaiblben.OPGNBFLPGFL(this.pathToPracticeDoorNUX[i - 2].position, this.pathToPracticeDoorNUX[i - 1].position, this.pathToPracticeDoorNUX[i].position);
|
|
}
|
|
}
|
|
for (;;)
|
|
{
|
|
float num = 0f;
|
|
this.pathMarkerNUX.gameObject.SetActive(true);
|
|
while (num < this.timeToTraversePathNUX)
|
|
{
|
|
num += Time.deltaTime;
|
|
if (this.pathMarkerNUX != null && gpoiaiblben != null)
|
|
{
|
|
float num2 = num / this.timeToTraversePathNUX;
|
|
Vector3 vector = gpoiaiblben.MANHFPNKDKL(num2);
|
|
this.pathMarkerNUX.transform.position = vector;
|
|
}
|
|
yield return null;
|
|
}
|
|
this.pathMarkerNUX.gameObject.SetActive(false);
|
|
int num3 = 3;
|
|
float num4 = 0.5f;
|
|
float num5 = 0.25f;
|
|
for (int j = 0; j < num3; j++)
|
|
{
|
|
num = 0f;
|
|
while (num < num4)
|
|
{
|
|
num += Time.deltaTime;
|
|
this.practiceDoorHighlightForNUX.AHPMPAMKKFI = true;
|
|
yield return null;
|
|
}
|
|
this.practiceDoorHighlightForNUX.AHPMPAMKKFI = false;
|
|
num = 0f;
|
|
while (num < num5)
|
|
{
|
|
num += Time.deltaTime;
|
|
yield return null;
|
|
}
|
|
}
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C48 RID: 11336 RVA: 0x000D173C File Offset: 0x000CF93C
|
|
private IEnumerator BJGKOEEJLAO()
|
|
{
|
|
while (!Player.LocalPlayerExists || Player.LocalPlayer.POJAICMNOFI.MGKHEPFGLAE == null)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.BDPODHKBOMF = Player.LocalPlayer.POJAICMNOFI.MGKHEPFGLAE;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C49 RID: 11337 RVA: 0x000D1758 File Offset: 0x000CF958
|
|
private IEnumerator BIPHAKKGKOF()
|
|
{
|
|
num = 0.25f;
|
|
num2 = 0.75f;
|
|
num3 = 3;
|
|
num4 = 2f;
|
|
num5 = 0f;
|
|
for (;;)
|
|
{
|
|
for (i = 0; i < num3; i++)
|
|
{
|
|
num5 = 0f;
|
|
this.recCenterDoorHighlightForNUX.AHPMPAMKKFI = false;
|
|
while (num5 < num)
|
|
{
|
|
num5 += Time.deltaTime;
|
|
yield return null;
|
|
}
|
|
num5 = 0f;
|
|
while (num5 < num2)
|
|
{
|
|
num5 += Time.deltaTime;
|
|
this.recCenterDoorHighlightForNUX.AHPMPAMKKFI = true;
|
|
yield return null;
|
|
}
|
|
}
|
|
num5 = 0f;
|
|
while (num5 < num4)
|
|
{
|
|
this.recCenterDoorHighlightForNUX.AHPMPAMKKFI = true;
|
|
num5 += Time.deltaTime;
|
|
yield return null;
|
|
}
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C4A RID: 11338 RVA: 0x000D1774 File Offset: 0x000CF974
|
|
private IEnumerator JCMKJLBICIL()
|
|
{
|
|
gpoiaiblben = null;
|
|
if (this.pathToPracticeDoorNUX != null && this.pathToPracticeDoorNUX.Length >= 4)
|
|
{
|
|
gpoiaiblben = new GPOIAIBLBEN();
|
|
gpoiaiblben.OPGNBFLPGFL(this.pathToPracticeDoorNUX[0].position, this.pathToPracticeDoorNUX[1].position, this.pathToPracticeDoorNUX[2].position, this.pathToPracticeDoorNUX[3].position);
|
|
for (int i = 6; i < this.pathToPracticeDoorNUX.Length; i += 3)
|
|
{
|
|
gpoiaiblben.OPGNBFLPGFL(this.pathToPracticeDoorNUX[i - 2].position, this.pathToPracticeDoorNUX[i - 1].position, this.pathToPracticeDoorNUX[i].position);
|
|
}
|
|
}
|
|
for (;;)
|
|
{
|
|
num = 0f;
|
|
this.pathMarkerNUX.gameObject.SetActive(true);
|
|
while (num < this.timeToTraversePathNUX)
|
|
{
|
|
num += Time.deltaTime;
|
|
if (this.pathMarkerNUX != null && gpoiaiblben != null)
|
|
{
|
|
float num6 = num / this.timeToTraversePathNUX;
|
|
Vector3 vector = gpoiaiblben.MANHFPNKDKL(num6);
|
|
this.pathMarkerNUX.transform.position = vector;
|
|
}
|
|
yield return null;
|
|
}
|
|
this.pathMarkerNUX.gameObject.SetActive(false);
|
|
num3 = 3;
|
|
num4 = 0.5f;
|
|
num5 = 0.25f;
|
|
for (j = 0; j < num3; j++)
|
|
{
|
|
num = 0f;
|
|
while (num < num4)
|
|
{
|
|
num += Time.deltaTime;
|
|
this.practiceDoorHighlightForNUX.AHPMPAMKKFI = true;
|
|
yield return null;
|
|
}
|
|
this.practiceDoorHighlightForNUX.AHPMPAMKKFI = false;
|
|
num = 0f;
|
|
while (num < num5)
|
|
{
|
|
num += Time.deltaTime;
|
|
yield return null;
|
|
}
|
|
}
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C4B RID: 11339 RVA: 0x000D1790 File Offset: 0x000CF990
|
|
public IEnumerator OIFNEIDBBNL()
|
|
{
|
|
this.MMOANKDEGJA = true;
|
|
yield return null;
|
|
if (!this.LLAOMANLLMG)
|
|
{
|
|
this.ANBCLPBMDFO();
|
|
}
|
|
this.GHLPEJOAAHO.OFOBCNCJFMP = true;
|
|
this.JJJGIDDAFHG = Time.time;
|
|
this.enterCourtTeleportationPortal.OLENGDNLNOM += this.IFAPDHLBFII;
|
|
num = Time.time;
|
|
text = typeof(SplitTesting.PaddleballSocialNUX_2017_12_14).ToString();
|
|
text2 = SplitTesting.PaddleballSocialNUX_2017_12_14.RunSocialNUX.ToString();
|
|
text3 = SplitTesting.PaddleballSocialNUX_2017_12_14.SkipSocialNUX.ToString();
|
|
flag = false;
|
|
if (SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.IsAssignedToExperiment(text))
|
|
{
|
|
flag = SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.GetExperimentSegment(text) == text2;
|
|
}
|
|
else if (this.GHLPEJOAAHO.IPEHKBKEHLN)
|
|
{
|
|
SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.ForceExperimentSegmentIfUnassigned(text, text2);
|
|
flag = true;
|
|
}
|
|
else if (this.GHLPEJOAAHO.FHEGMEGEGJJ)
|
|
{
|
|
SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.ForceExperimentSegmentIfUnassigned(text, text3);
|
|
flag = false;
|
|
}
|
|
else
|
|
{
|
|
flag = SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.GetExperimentSegment(text) == text2;
|
|
}
|
|
if (flag)
|
|
{
|
|
while (!Player.LocalPlayerExists)
|
|
{
|
|
yield return null;
|
|
}
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = false;
|
|
}
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_ThisIsPaddleball);
|
|
yield return new WaitForSeconds(1f);
|
|
if (flag)
|
|
{
|
|
yield return this.OLEDIBEGLLN();
|
|
}
|
|
else
|
|
{
|
|
this.GHLPEJOAAHO.LocalPlayerSkippingTutorial();
|
|
yield return this.GHLPEJOAAHO.SetPlayerInitialized();
|
|
}
|
|
if (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
this.FJFDHFAJAOO = Time.time;
|
|
this.FAKHIGEIJCM = true;
|
|
if (this.GHLPEJOAAHO.INAPGOCICLO)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.OtherPlayerInTutorial);
|
|
}
|
|
else
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YoullBeMatchedSoon);
|
|
}
|
|
num2 = 0f;
|
|
num3 = 30f;
|
|
num4 = 40f;
|
|
this.INNCNAJIMNF = base.StartCoroutine(this.ABFCNJHJCIL());
|
|
while (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
yield return null;
|
|
num2 += Time.deltaTime;
|
|
if (num2 > num3)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_WereStillLooking);
|
|
num2 = 0f;
|
|
break;
|
|
}
|
|
}
|
|
while (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
yield return null;
|
|
num2 += Time.deltaTime;
|
|
if (num2 > num4)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_IfYouDontWantToWait);
|
|
num2 = 0f;
|
|
}
|
|
}
|
|
}
|
|
if (this.INNCNAJIMNF != null)
|
|
{
|
|
base.StopCoroutine(this.INNCNAJIMNF);
|
|
this.INNCNAJIMNF = null;
|
|
this.pathMarkerNUX.gameObject.SetActive(false);
|
|
this.practiceDoorHighlightForNUX.AHPMPAMKKFI = false;
|
|
}
|
|
yield return new WaitForSeconds(1f);
|
|
if (this.scoreboardProjectorForNUX != null)
|
|
{
|
|
this.scoreboardProjectorForNUX.HPHLFFNHBLI = true;
|
|
}
|
|
yield return new WaitForSeconds(0.5f);
|
|
all = Player.All;
|
|
flag2 = false;
|
|
for (int i = 0; i < all.Count; i++)
|
|
{
|
|
if (!(all[i] == null))
|
|
{
|
|
EEBPLECPEGD eebplecpegd = FKJHLNJDEKK.CPIBGJLHLBL(all[i].NAJBCPFNBAB);
|
|
if (eebplecpegd != null && ObscuredBool.EDHNDLCFIOL(eebplecpegd.JMMJGMOBGJM))
|
|
{
|
|
flag2 = true;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
if (flag2)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YouveBeenMatchedJunior);
|
|
}
|
|
else
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YouveBeenMatched);
|
|
}
|
|
while (!this.GHLPEJOAAHO.DMLPFMKFOBB)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.FAKHIGEIJCM = false;
|
|
num5 = Time.time;
|
|
NECCOFKHCAA.FHHIIOBGMHI(TutorialManager.EJKMNNFKLJA.Q2A_WelcomeToPaddleball, num5 - num, OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
num = Time.time;
|
|
this.GHLPEJOAAHO.HDNIEJJBLGI.CJFAFMNDNHG(HPNGPCDIPED.TAG_2);
|
|
while (this.GHLPEJOAAHO.DMLPFMKFOBB)
|
|
{
|
|
yield return null;
|
|
}
|
|
yield return new WaitForSeconds(1f);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_CongratulationsOnFirstGame);
|
|
yield return new WaitForSeconds(1f);
|
|
base.StartCoroutine(this.IMBMFJNLLBL());
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_GoToTheRecCenter);
|
|
num5 = Time.time;
|
|
NECCOFKHCAA.FHHIIOBGMHI(TutorialManager.EJKMNNFKLJA.Q2A_FinishedFirstGame, num5 - num, OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
this.GHLPEJOAAHO.OFOBCNCJFMP = this.GHLPEJOAAHO.INAPGOCICLO;
|
|
this.MMOANKDEGJA = false;
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.Complete;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C4C RID: 11340 RVA: 0x000D17AC File Offset: 0x000CF9AC
|
|
private IEnumerator KNIOKEGFMLM()
|
|
{
|
|
while (!Player.LocalPlayerExists || Player.LocalPlayer.POJAICMNOFI.MGKHEPFGLAE == null)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.BDPODHKBOMF = Player.LocalPlayer.POJAICMNOFI.MGKHEPFGLAE;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C4D RID: 11341 RVA: 0x000D17C8 File Offset: 0x000CF9C8
|
|
private IEnumerator CIDBDGELMDC()
|
|
{
|
|
while (!Player.LocalPlayerExists || Player.LocalPlayer.POJAICMNOFI.MGKHEPFGLAE == null)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.BDPODHKBOMF = Player.LocalPlayer.POJAICMNOFI.MGKHEPFGLAE;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C4E RID: 11342 RVA: 0x000D17E4 File Offset: 0x000CF9E4
|
|
private IEnumerator BLAOEBHDGDD(Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG> OFAECEGEBGB)
|
|
{
|
|
tutorialAudio = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.OpenWatch);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(base.OJKNBNGGBEC), tutorialAudio, this.CIDGHNHPNPB, OFAECEGEBGB, 15f, 3, "WaitUntilPlayerOpensMenu");
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C4F RID: 11343 RVA: 0x000D1808 File Offset: 0x000CFA08
|
|
private void OCDJDIEGCFL()
|
|
{
|
|
NECCOFKHCAA.GMHCCJIENJO(Time.time - this.JJJGIDDAFHG);
|
|
if (this.INNCNAJIMNF != null)
|
|
{
|
|
base.StopCoroutine(this.INNCNAJIMNF);
|
|
this.INNCNAJIMNF = null;
|
|
this.pathMarkerNUX.gameObject.SetActive(false);
|
|
this.practiceDoorHighlightForNUX.JJHFLNAALAE(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002C50 RID: 11344 RVA: 0x000D1864 File Offset: 0x000CFA64
|
|
private IEnumerator EADCMMGJMOO(Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG> OFAECEGEBGB)
|
|
{
|
|
tutorialAudio = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.OpenWatch);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(base.OJKNBNGGBEC), tutorialAudio, this.CIDGHNHPNPB, OFAECEGEBGB, 15f, 3, "WaitUntilPlayerOpensMenu");
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C51 RID: 11345 RVA: 0x000D1888 File Offset: 0x000CFA88
|
|
public IEnumerator RunTutorial()
|
|
{
|
|
this.MMOANKDEGJA = true;
|
|
yield return null;
|
|
if (!this.LLAOMANLLMG)
|
|
{
|
|
this.ANBCLPBMDFO();
|
|
}
|
|
this.GHLPEJOAAHO.OFOBCNCJFMP = true;
|
|
this.JJJGIDDAFHG = Time.time;
|
|
this.enterCourtTeleportationPortal.OLENGDNLNOM += this.IFAPDHLBFII;
|
|
num = Time.time;
|
|
text = typeof(SplitTesting.PaddleballSocialNUX_2017_12_14).ToString();
|
|
text2 = SplitTesting.PaddleballSocialNUX_2017_12_14.RunSocialNUX.ToString();
|
|
text3 = SplitTesting.PaddleballSocialNUX_2017_12_14.SkipSocialNUX.ToString();
|
|
flag = false;
|
|
if (SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.IsAssignedToExperiment(text))
|
|
{
|
|
flag = SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.GetExperimentSegment(text) == text2;
|
|
}
|
|
else if (this.GHLPEJOAAHO.IPEHKBKEHLN)
|
|
{
|
|
SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.ForceExperimentSegmentIfUnassigned(text, text2);
|
|
flag = true;
|
|
}
|
|
else if (this.GHLPEJOAAHO.FHEGMEGEGJJ)
|
|
{
|
|
SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.ForceExperimentSegmentIfUnassigned(text, text3);
|
|
flag = false;
|
|
}
|
|
else
|
|
{
|
|
flag = SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.GetExperimentSegment(text) == text2;
|
|
}
|
|
if (flag)
|
|
{
|
|
while (!Player.LocalPlayerExists)
|
|
{
|
|
yield return null;
|
|
}
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = false;
|
|
}
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_ThisIsPaddleball);
|
|
yield return new WaitForSeconds(1f);
|
|
if (flag)
|
|
{
|
|
yield return this.OLEDIBEGLLN();
|
|
}
|
|
else
|
|
{
|
|
this.GHLPEJOAAHO.LocalPlayerSkippingTutorial();
|
|
yield return this.GHLPEJOAAHO.SetPlayerInitialized();
|
|
}
|
|
if (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
this.FJFDHFAJAOO = Time.time;
|
|
this.FAKHIGEIJCM = true;
|
|
if (this.GHLPEJOAAHO.INAPGOCICLO)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.OtherPlayerInTutorial);
|
|
}
|
|
else
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YoullBeMatchedSoon);
|
|
}
|
|
num2 = 0f;
|
|
num3 = 30f;
|
|
num4 = 40f;
|
|
this.INNCNAJIMNF = base.StartCoroutine(this.ABFCNJHJCIL());
|
|
while (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
yield return null;
|
|
num2 += Time.deltaTime;
|
|
if (num2 > num3)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_WereStillLooking);
|
|
num2 = 0f;
|
|
break;
|
|
}
|
|
}
|
|
while (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
yield return null;
|
|
num2 += Time.deltaTime;
|
|
if (num2 > num4)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_IfYouDontWantToWait);
|
|
num2 = 0f;
|
|
}
|
|
}
|
|
}
|
|
if (this.INNCNAJIMNF != null)
|
|
{
|
|
base.StopCoroutine(this.INNCNAJIMNF);
|
|
this.INNCNAJIMNF = null;
|
|
this.pathMarkerNUX.gameObject.SetActive(false);
|
|
this.practiceDoorHighlightForNUX.AHPMPAMKKFI = false;
|
|
}
|
|
yield return new WaitForSeconds(1f);
|
|
if (this.scoreboardProjectorForNUX != null)
|
|
{
|
|
this.scoreboardProjectorForNUX.HPHLFFNHBLI = true;
|
|
}
|
|
yield return new WaitForSeconds(0.5f);
|
|
all = Player.All;
|
|
flag2 = false;
|
|
for (int i = 0; i < all.Count; i++)
|
|
{
|
|
if (!(all[i] == null))
|
|
{
|
|
EEBPLECPEGD eebplecpegd = FKJHLNJDEKK.CPIBGJLHLBL(all[i].NAJBCPFNBAB);
|
|
if (eebplecpegd != null && ObscuredBool.EDHNDLCFIOL(eebplecpegd.JMMJGMOBGJM))
|
|
{
|
|
flag2 = true;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
if (flag2)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YouveBeenMatchedJunior);
|
|
}
|
|
else
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YouveBeenMatched);
|
|
}
|
|
while (!this.GHLPEJOAAHO.DMLPFMKFOBB)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.FAKHIGEIJCM = false;
|
|
num5 = Time.time;
|
|
NECCOFKHCAA.FHHIIOBGMHI(TutorialManager.EJKMNNFKLJA.Q2A_WelcomeToPaddleball, num5 - num, OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
num = Time.time;
|
|
this.GHLPEJOAAHO.HDNIEJJBLGI.CJFAFMNDNHG(HPNGPCDIPED.TAG_2);
|
|
while (this.GHLPEJOAAHO.DMLPFMKFOBB)
|
|
{
|
|
yield return null;
|
|
}
|
|
yield return new WaitForSeconds(1f);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_CongratulationsOnFirstGame);
|
|
yield return new WaitForSeconds(1f);
|
|
base.StartCoroutine(this.IMBMFJNLLBL());
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_GoToTheRecCenter);
|
|
num5 = Time.time;
|
|
NECCOFKHCAA.FHHIIOBGMHI(TutorialManager.EJKMNNFKLJA.Q2A_FinishedFirstGame, num5 - num, OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
this.GHLPEJOAAHO.OFOBCNCJFMP = this.GHLPEJOAAHO.INAPGOCICLO;
|
|
this.MMOANKDEGJA = false;
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.Complete;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C52 RID: 11346 RVA: 0x000D18A4 File Offset: 0x000CFAA4
|
|
private void GDLAMFIDELL()
|
|
{
|
|
bool flag = this.NMCPAOCGHNH.CPIBGJLHLBL();
|
|
this.alternateGesturesDummy.SetActive(flag);
|
|
this.alternateTeleportRestriction.gameObject.SetActive(flag);
|
|
this.alternateTeleportRestriction.LDFDBPLBMAO(flag);
|
|
}
|
|
|
|
// Token: 0x06002C53 RID: 11347 RVA: 0x000D18EC File Offset: 0x000CFAEC
|
|
private IEnumerator EODAJLBAGNA()
|
|
{
|
|
gpoiaiblben = null;
|
|
if (this.pathToPracticeDoorNUX != null && this.pathToPracticeDoorNUX.Length >= 4)
|
|
{
|
|
gpoiaiblben = new GPOIAIBLBEN();
|
|
gpoiaiblben.OPGNBFLPGFL(this.pathToPracticeDoorNUX[0].position, this.pathToPracticeDoorNUX[1].position, this.pathToPracticeDoorNUX[2].position, this.pathToPracticeDoorNUX[3].position);
|
|
for (int i = 6; i < this.pathToPracticeDoorNUX.Length; i += 3)
|
|
{
|
|
gpoiaiblben.OPGNBFLPGFL(this.pathToPracticeDoorNUX[i - 2].position, this.pathToPracticeDoorNUX[i - 1].position, this.pathToPracticeDoorNUX[i].position);
|
|
}
|
|
}
|
|
for (;;)
|
|
{
|
|
num = 0f;
|
|
this.pathMarkerNUX.gameObject.SetActive(true);
|
|
while (num < this.timeToTraversePathNUX)
|
|
{
|
|
num += Time.deltaTime;
|
|
if (this.pathMarkerNUX != null && gpoiaiblben != null)
|
|
{
|
|
float num6 = num / this.timeToTraversePathNUX;
|
|
Vector3 vector = gpoiaiblben.MANHFPNKDKL(num6);
|
|
this.pathMarkerNUX.transform.position = vector;
|
|
}
|
|
yield return null;
|
|
}
|
|
this.pathMarkerNUX.gameObject.SetActive(false);
|
|
num3 = 3;
|
|
num4 = 0.5f;
|
|
num5 = 0.25f;
|
|
for (j = 0; j < num3; j++)
|
|
{
|
|
num = 0f;
|
|
while (num < num4)
|
|
{
|
|
num += Time.deltaTime;
|
|
this.practiceDoorHighlightForNUX.AHPMPAMKKFI = true;
|
|
yield return null;
|
|
}
|
|
this.practiceDoorHighlightForNUX.AHPMPAMKKFI = false;
|
|
num = 0f;
|
|
while (num < num5)
|
|
{
|
|
num += Time.deltaTime;
|
|
yield return null;
|
|
}
|
|
}
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C54 RID: 11348 RVA: 0x000D1908 File Offset: 0x000CFB08
|
|
private IEnumerator IMBMFJNLLBL()
|
|
{
|
|
num = 0.25f;
|
|
num2 = 0.75f;
|
|
num3 = 3;
|
|
num4 = 2f;
|
|
num5 = 0f;
|
|
for (;;)
|
|
{
|
|
for (i = 0; i < num3; i++)
|
|
{
|
|
num5 = 0f;
|
|
this.recCenterDoorHighlightForNUX.AHPMPAMKKFI = false;
|
|
while (num5 < num)
|
|
{
|
|
num5 += Time.deltaTime;
|
|
yield return null;
|
|
}
|
|
num5 = 0f;
|
|
while (num5 < num2)
|
|
{
|
|
num5 += Time.deltaTime;
|
|
this.recCenterDoorHighlightForNUX.AHPMPAMKKFI = true;
|
|
yield return null;
|
|
}
|
|
}
|
|
num5 = 0f;
|
|
while (num5 < num4)
|
|
{
|
|
this.recCenterDoorHighlightForNUX.AHPMPAMKKFI = true;
|
|
num5 += Time.deltaTime;
|
|
yield return null;
|
|
}
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C55 RID: 11349 RVA: 0x000D1924 File Offset: 0x000CFB24
|
|
private IEnumerator ABNLKOMPOGJ(GestureTarget MMEBLCBANIL, KeyCode FDNAONOLIGM)
|
|
{
|
|
while (!Input.GetKeyDown(FDNAONOLIGM))
|
|
{
|
|
yield return null;
|
|
}
|
|
MMEBLCBANIL.SetIgnore(true);
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C56 RID: 11350 RVA: 0x000D1948 File Offset: 0x000CFB48
|
|
protected override void OnDestroy()
|
|
{
|
|
if (this.OFKJIKKCFIC)
|
|
{
|
|
base.PKHLAJGPBND(OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Incomplete);
|
|
this.GHLPEJOAAHO.LocalPlayerLeavingTutorial();
|
|
this.OFKJIKKCFIC = false;
|
|
}
|
|
else if (this.FAKHIGEIJCM && SingletonMonoBehaviour<AmplitudeAnalyticsClient>.NCKMBFBMBFM != null)
|
|
{
|
|
NECCOFKHCAA.FHHIIOBGMHI(TutorialManager.EJKMNNFKLJA.Q2A_WelcomeToPaddleball, Time.time - this.FJFDHFAJAOO, OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Incomplete);
|
|
}
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.Complete;
|
|
this.enterCourtTeleportationPortal.OLENGDNLNOM -= this.IFAPDHLBFII;
|
|
base.OnDestroy();
|
|
}
|
|
|
|
// Token: 0x06002C57 RID: 11351 RVA: 0x000D19D8 File Offset: 0x000CFBD8
|
|
private void JJKPOJJGNMJ()
|
|
{
|
|
if (Player.LocalPlayerExists && Player.LocalPlayer.POJAICMNOFI.MGKHEPFGLAE != null)
|
|
{
|
|
this.BDPODHKBOMF = Player.LocalPlayer.LNKGAAEPMEO().MGKHEPFGLAE;
|
|
}
|
|
else
|
|
{
|
|
base.StartCoroutine(this.HNJJBBKBHAI());
|
|
}
|
|
this.CIDGHNHPNPB = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.EONDIHMDMGE((TutorialManager.PENKLGMAGGH)89);
|
|
this.GHLPEJOAAHO = RecRoomSceneManager.NCKMBFBMBFM.EBHBJAFODKA as PaddleballManager;
|
|
this.FHCNECIMJPP = new LHLLJPPCDKA<bool>(this.GHLPEJOAAHO, "Token", false, (IKCAJLLAFML)4, new Action(this.AOFEHOMEDAF));
|
|
this.NMCPAOCGHNH = new LHLLJPPCDKA<bool>(this.GHLPEJOAAHO, "SB", true, (IKCAJLLAFML)7, new Action(this.GDLAMFIDELL));
|
|
this.NGILJPOLBBB();
|
|
this.IOENKDONIIP();
|
|
this.LLAOMANLLMG = false;
|
|
}
|
|
|
|
// Token: 0x06002C58 RID: 11352 RVA: 0x000D1AB4 File Offset: 0x000CFCB4
|
|
private void DGPLLAOGAJI()
|
|
{
|
|
NECCOFKHCAA.GMHCCJIENJO(Time.time - this.JJJGIDDAFHG);
|
|
if (this.INNCNAJIMNF != null)
|
|
{
|
|
base.StopCoroutine(this.INNCNAJIMNF);
|
|
this.INNCNAJIMNF = null;
|
|
this.pathMarkerNUX.gameObject.SetActive(false);
|
|
this.practiceDoorHighlightForNUX.AHPMPAMKKFI = false;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002C59 RID: 11353 RVA: 0x000D1B10 File Offset: 0x000CFD10
|
|
private void JJEHDEOKOBB()
|
|
{
|
|
if (!this.LLAOMANLLMG)
|
|
{
|
|
this.PMHKNGCFJBO();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002C5A RID: 11354 RVA: 0x000D1B24 File Offset: 0x000CFD24
|
|
public IEnumerator FCKILPCIHII()
|
|
{
|
|
this.MMOANKDEGJA = true;
|
|
yield return null;
|
|
if (!this.LLAOMANLLMG)
|
|
{
|
|
this.ANBCLPBMDFO();
|
|
}
|
|
this.GHLPEJOAAHO.OFOBCNCJFMP = true;
|
|
this.JJJGIDDAFHG = Time.time;
|
|
this.enterCourtTeleportationPortal.OLENGDNLNOM += this.IFAPDHLBFII;
|
|
num = Time.time;
|
|
text = typeof(SplitTesting.PaddleballSocialNUX_2017_12_14).ToString();
|
|
text2 = SplitTesting.PaddleballSocialNUX_2017_12_14.RunSocialNUX.ToString();
|
|
text3 = SplitTesting.PaddleballSocialNUX_2017_12_14.SkipSocialNUX.ToString();
|
|
flag = false;
|
|
if (SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.IsAssignedToExperiment(text))
|
|
{
|
|
flag = SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.GetExperimentSegment(text) == text2;
|
|
}
|
|
else if (this.GHLPEJOAAHO.IPEHKBKEHLN)
|
|
{
|
|
SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.ForceExperimentSegmentIfUnassigned(text, text2);
|
|
flag = true;
|
|
}
|
|
else if (this.GHLPEJOAAHO.FHEGMEGEGJJ)
|
|
{
|
|
SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.ForceExperimentSegmentIfUnassigned(text, text3);
|
|
flag = false;
|
|
}
|
|
else
|
|
{
|
|
flag = SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.GetExperimentSegment(text) == text2;
|
|
}
|
|
if (flag)
|
|
{
|
|
while (!Player.LocalPlayerExists)
|
|
{
|
|
yield return null;
|
|
}
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = false;
|
|
}
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_ThisIsPaddleball);
|
|
yield return new WaitForSeconds(1f);
|
|
if (flag)
|
|
{
|
|
yield return this.OLEDIBEGLLN();
|
|
}
|
|
else
|
|
{
|
|
this.GHLPEJOAAHO.LocalPlayerSkippingTutorial();
|
|
yield return this.GHLPEJOAAHO.SetPlayerInitialized();
|
|
}
|
|
if (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
this.FJFDHFAJAOO = Time.time;
|
|
this.FAKHIGEIJCM = true;
|
|
if (this.GHLPEJOAAHO.INAPGOCICLO)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.OtherPlayerInTutorial);
|
|
}
|
|
else
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YoullBeMatchedSoon);
|
|
}
|
|
num2 = 0f;
|
|
num3 = 30f;
|
|
num4 = 40f;
|
|
this.INNCNAJIMNF = base.StartCoroutine(this.ABFCNJHJCIL());
|
|
while (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
yield return null;
|
|
num2 += Time.deltaTime;
|
|
if (num2 > num3)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_WereStillLooking);
|
|
num2 = 0f;
|
|
break;
|
|
}
|
|
}
|
|
while (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
yield return null;
|
|
num2 += Time.deltaTime;
|
|
if (num2 > num4)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_IfYouDontWantToWait);
|
|
num2 = 0f;
|
|
}
|
|
}
|
|
}
|
|
if (this.INNCNAJIMNF != null)
|
|
{
|
|
base.StopCoroutine(this.INNCNAJIMNF);
|
|
this.INNCNAJIMNF = null;
|
|
this.pathMarkerNUX.gameObject.SetActive(false);
|
|
this.practiceDoorHighlightForNUX.AHPMPAMKKFI = false;
|
|
}
|
|
yield return new WaitForSeconds(1f);
|
|
if (this.scoreboardProjectorForNUX != null)
|
|
{
|
|
this.scoreboardProjectorForNUX.HPHLFFNHBLI = true;
|
|
}
|
|
yield return new WaitForSeconds(0.5f);
|
|
all = Player.All;
|
|
flag2 = false;
|
|
for (int i = 0; i < all.Count; i++)
|
|
{
|
|
if (!(all[i] == null))
|
|
{
|
|
EEBPLECPEGD eebplecpegd = FKJHLNJDEKK.CPIBGJLHLBL(all[i].NAJBCPFNBAB);
|
|
if (eebplecpegd != null && ObscuredBool.EDHNDLCFIOL(eebplecpegd.JMMJGMOBGJM))
|
|
{
|
|
flag2 = true;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
if (flag2)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YouveBeenMatchedJunior);
|
|
}
|
|
else
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YouveBeenMatched);
|
|
}
|
|
while (!this.GHLPEJOAAHO.DMLPFMKFOBB)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.FAKHIGEIJCM = false;
|
|
num5 = Time.time;
|
|
NECCOFKHCAA.FHHIIOBGMHI(TutorialManager.EJKMNNFKLJA.Q2A_WelcomeToPaddleball, num5 - num, OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
num = Time.time;
|
|
this.GHLPEJOAAHO.HDNIEJJBLGI.CJFAFMNDNHG(HPNGPCDIPED.TAG_2);
|
|
while (this.GHLPEJOAAHO.DMLPFMKFOBB)
|
|
{
|
|
yield return null;
|
|
}
|
|
yield return new WaitForSeconds(1f);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_CongratulationsOnFirstGame);
|
|
yield return new WaitForSeconds(1f);
|
|
base.StartCoroutine(this.IMBMFJNLLBL());
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_GoToTheRecCenter);
|
|
num5 = Time.time;
|
|
NECCOFKHCAA.FHHIIOBGMHI(TutorialManager.EJKMNNFKLJA.Q2A_FinishedFirstGame, num5 - num, OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
this.GHLPEJOAAHO.OFOBCNCJFMP = this.GHLPEJOAAHO.INAPGOCICLO;
|
|
this.MMOANKDEGJA = false;
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.Complete;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C5B RID: 11355 RVA: 0x000D1B40 File Offset: 0x000CFD40
|
|
private IEnumerator PBJNBNHGCOD(Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG> OFAECEGEBGB)
|
|
{
|
|
tutorialAudio = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.OpenWatch);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(base.OJKNBNGGBEC), tutorialAudio, this.CIDGHNHPNPB, OFAECEGEBGB, 15f, 3, "WaitUntilPlayerOpensMenu");
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C5C RID: 11356 RVA: 0x000D1B64 File Offset: 0x000CFD64
|
|
private void CJLMFNKCNKB()
|
|
{
|
|
NECCOFKHCAA.GMHCCJIENJO(Time.time - this.JJJGIDDAFHG);
|
|
if (this.INNCNAJIMNF != null)
|
|
{
|
|
base.StopCoroutine(this.INNCNAJIMNF);
|
|
this.INNCNAJIMNF = null;
|
|
this.pathMarkerNUX.gameObject.SetActive(true);
|
|
this.practiceDoorHighlightForNUX.JJHFLNAALAE(true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002C5D RID: 11357 RVA: 0x000D1BC0 File Offset: 0x000CFDC0
|
|
private void AEODOLHBHNK()
|
|
{
|
|
bool flag = this.FHCNECIMJPP.CPIBGJLHLBL();
|
|
this.primaryGesturesDummy.SetActive(flag);
|
|
this.primaryTeleportRestriction.gameObject.SetActive(flag);
|
|
this.primaryTeleportRestriction.BPGBBEOBACO(!flag);
|
|
}
|
|
|
|
// Token: 0x06002C5E RID: 11358 RVA: 0x000D1C08 File Offset: 0x000CFE08
|
|
public IEnumerator NGCHEBLICOK()
|
|
{
|
|
this.MMOANKDEGJA = true;
|
|
yield return null;
|
|
if (!this.LLAOMANLLMG)
|
|
{
|
|
this.ANBCLPBMDFO();
|
|
}
|
|
this.GHLPEJOAAHO.OFOBCNCJFMP = true;
|
|
this.JJJGIDDAFHG = Time.time;
|
|
this.enterCourtTeleportationPortal.OLENGDNLNOM += this.IFAPDHLBFII;
|
|
num = Time.time;
|
|
text = typeof(SplitTesting.PaddleballSocialNUX_2017_12_14).ToString();
|
|
text2 = SplitTesting.PaddleballSocialNUX_2017_12_14.RunSocialNUX.ToString();
|
|
text3 = SplitTesting.PaddleballSocialNUX_2017_12_14.SkipSocialNUX.ToString();
|
|
flag = false;
|
|
if (SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.IsAssignedToExperiment(text))
|
|
{
|
|
flag = SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.GetExperimentSegment(text) == text2;
|
|
}
|
|
else if (this.GHLPEJOAAHO.IPEHKBKEHLN)
|
|
{
|
|
SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.ForceExperimentSegmentIfUnassigned(text, text2);
|
|
flag = true;
|
|
}
|
|
else if (this.GHLPEJOAAHO.FHEGMEGEGJJ)
|
|
{
|
|
SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.ForceExperimentSegmentIfUnassigned(text, text3);
|
|
flag = false;
|
|
}
|
|
else
|
|
{
|
|
flag = SingletonMonoBehaviour<SplitTesting>.NCKMBFBMBFM.GetExperimentSegment(text) == text2;
|
|
}
|
|
if (flag)
|
|
{
|
|
while (!Player.LocalPlayerExists)
|
|
{
|
|
yield return null;
|
|
}
|
|
Player.LocalPlayer.GADNKIIKPPD.TeleportEnabled = false;
|
|
}
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_ThisIsPaddleball);
|
|
yield return new WaitForSeconds(1f);
|
|
if (flag)
|
|
{
|
|
yield return this.OLEDIBEGLLN();
|
|
}
|
|
else
|
|
{
|
|
this.GHLPEJOAAHO.LocalPlayerSkippingTutorial();
|
|
yield return this.GHLPEJOAAHO.SetPlayerInitialized();
|
|
}
|
|
if (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
this.FJFDHFAJAOO = Time.time;
|
|
this.FAKHIGEIJCM = true;
|
|
if (this.GHLPEJOAAHO.INAPGOCICLO)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.OtherPlayerInTutorial);
|
|
}
|
|
else
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YoullBeMatchedSoon);
|
|
}
|
|
num2 = 0f;
|
|
num3 = 30f;
|
|
num4 = 40f;
|
|
this.INNCNAJIMNF = base.StartCoroutine(this.ABFCNJHJCIL());
|
|
while (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
yield return null;
|
|
num2 += Time.deltaTime;
|
|
if (num2 > num3)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_WereStillLooking);
|
|
num2 = 0f;
|
|
break;
|
|
}
|
|
}
|
|
while (!this.GHLPEJOAAHO.EJBPFPPGJNF)
|
|
{
|
|
yield return null;
|
|
num2 += Time.deltaTime;
|
|
if (num2 > num4)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_IfYouDontWantToWait);
|
|
num2 = 0f;
|
|
}
|
|
}
|
|
}
|
|
if (this.INNCNAJIMNF != null)
|
|
{
|
|
base.StopCoroutine(this.INNCNAJIMNF);
|
|
this.INNCNAJIMNF = null;
|
|
this.pathMarkerNUX.gameObject.SetActive(false);
|
|
this.practiceDoorHighlightForNUX.AHPMPAMKKFI = false;
|
|
}
|
|
yield return new WaitForSeconds(1f);
|
|
if (this.scoreboardProjectorForNUX != null)
|
|
{
|
|
this.scoreboardProjectorForNUX.HPHLFFNHBLI = true;
|
|
}
|
|
yield return new WaitForSeconds(0.5f);
|
|
all = Player.All;
|
|
flag2 = false;
|
|
for (int i = 0; i < all.Count; i++)
|
|
{
|
|
if (!(all[i] == null))
|
|
{
|
|
EEBPLECPEGD eebplecpegd = FKJHLNJDEKK.CPIBGJLHLBL(all[i].NAJBCPFNBAB);
|
|
if (eebplecpegd != null && ObscuredBool.EDHNDLCFIOL(eebplecpegd.JMMJGMOBGJM))
|
|
{
|
|
flag2 = true;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
if (flag2)
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YouveBeenMatchedJunior);
|
|
}
|
|
else
|
|
{
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_YouveBeenMatched);
|
|
}
|
|
while (!this.GHLPEJOAAHO.DMLPFMKFOBB)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.FAKHIGEIJCM = false;
|
|
num5 = Time.time;
|
|
NECCOFKHCAA.FHHIIOBGMHI(TutorialManager.EJKMNNFKLJA.Q2A_WelcomeToPaddleball, num5 - num, OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
num = Time.time;
|
|
this.GHLPEJOAAHO.HDNIEJJBLGI.CJFAFMNDNHG(HPNGPCDIPED.TAG_2);
|
|
while (this.GHLPEJOAAHO.DMLPFMKFOBB)
|
|
{
|
|
yield return null;
|
|
}
|
|
yield return new WaitForSeconds(1f);
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_CongratulationsOnFirstGame);
|
|
yield return new WaitForSeconds(1f);
|
|
base.StartCoroutine(this.IMBMFJNLLBL());
|
|
yield return SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.RunPlayVOClip(TutorialManager.PENKLGMAGGH.Q2A_GoToTheRecCenter);
|
|
num5 = Time.time;
|
|
NECCOFKHCAA.FHHIIOBGMHI(TutorialManager.EJKMNNFKLJA.Q2A_FinishedFirstGame, num5 - num, OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG.Complete);
|
|
this.GHLPEJOAAHO.OFOBCNCJFMP = this.GHLPEJOAAHO.INAPGOCICLO;
|
|
this.MMOANKDEGJA = false;
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.DAKOICIFBBJ = TutorialManager.EJKMNNFKLJA.Complete;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C5F RID: 11359 RVA: 0x000D1C24 File Offset: 0x000CFE24
|
|
private IEnumerator KJAOHBJMHHO(Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG> OFAECEGEBGB)
|
|
{
|
|
tutorialAudio = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.OpenWatch);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(base.OJKNBNGGBEC), tutorialAudio, this.CIDGHNHPNPB, OFAECEGEBGB, 15f, 3, "WaitUntilPlayerOpensMenu");
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C60 RID: 11360 RVA: 0x000D1C48 File Offset: 0x000CFE48
|
|
private IEnumerator BAPNCDDKNHJ(GestureTarget MMEBLCBANIL, KeyCode FDNAONOLIGM)
|
|
{
|
|
while (!Input.GetKeyDown(FDNAONOLIGM))
|
|
{
|
|
yield return null;
|
|
}
|
|
MMEBLCBANIL.SetIgnore(true);
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C61 RID: 11361 RVA: 0x000D1C6C File Offset: 0x000CFE6C
|
|
private void NMDGLIINNNM()
|
|
{
|
|
if (Player.LocalPlayerExists && Player.LocalPlayer.POJAICMNOFI.MGKHEPFGLAE != null)
|
|
{
|
|
this.BDPODHKBOMF = Player.LocalPlayer.LNKGAAEPMEO().MGKHEPFGLAE;
|
|
}
|
|
else
|
|
{
|
|
base.StartCoroutine(this.KNIOKEGFMLM());
|
|
}
|
|
this.CIDGHNHPNPB = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio((TutorialManager.PENKLGMAGGH)(-115));
|
|
this.GHLPEJOAAHO = RecRoomSceneManager.LEILGOOHEOI().EBHBJAFODKA as PaddleballManager;
|
|
this.FHCNECIMJPP = new LHLLJPPCDKA<bool>(this.GHLPEJOAAHO, "api/PlayerCheer/", false, IKCAJLLAFML.ANYONE, new Action(this.OHKBEIPECEG));
|
|
this.NMCPAOCGHNH = new LHLLJPPCDKA<bool>(this.GHLPEJOAAHO, "That month doesn't make sense!", false, IKCAJLLAFML.AUTHORITY, new Action(this.GDLAMFIDELL));
|
|
this.DKLCFPFEOKJ();
|
|
this.IOENKDONIIP();
|
|
this.LLAOMANLLMG = false;
|
|
}
|
|
|
|
// Token: 0x06002C62 RID: 11362 RVA: 0x000D1D48 File Offset: 0x000CFF48
|
|
private IEnumerator NNLCMJJMPKK(Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG> OFAECEGEBGB)
|
|
{
|
|
tutorialAudio = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.OpenWatch);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(base.OJKNBNGGBEC), tutorialAudio, this.CIDGHNHPNPB, OFAECEGEBGB, 15f, 3, "WaitUntilPlayerOpensMenu");
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C63 RID: 11363 RVA: 0x000D1D6C File Offset: 0x000CFF6C
|
|
private IEnumerator IBFNKCFJLPA(Action<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG> OFAECEGEBGB)
|
|
{
|
|
tutorialAudio = SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.GetTutorialAudio(TutorialManager.PENKLGMAGGH.OpenWatch);
|
|
yield return base.MEBLLOPPOBO(new Func<OOBEFlowBase.HHOONEIEDCM.DEKHHINLLFG>(base.OJKNBNGGBEC), tutorialAudio, this.CIDGHNHPNPB, OFAECEGEBGB, 15f, 3, "WaitUntilPlayerOpensMenu");
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C64 RID: 11364 RVA: 0x000D1D90 File Offset: 0x000CFF90
|
|
private IEnumerator MNFBFAGMJKO()
|
|
{
|
|
num = 0.25f;
|
|
num2 = 0.75f;
|
|
num3 = 3;
|
|
num4 = 2f;
|
|
num5 = 0f;
|
|
for (;;)
|
|
{
|
|
for (i = 0; i < num3; i++)
|
|
{
|
|
num5 = 0f;
|
|
this.recCenterDoorHighlightForNUX.AHPMPAMKKFI = false;
|
|
while (num5 < num)
|
|
{
|
|
num5 += Time.deltaTime;
|
|
yield return null;
|
|
}
|
|
num5 = 0f;
|
|
while (num5 < num2)
|
|
{
|
|
num5 += Time.deltaTime;
|
|
this.recCenterDoorHighlightForNUX.AHPMPAMKKFI = true;
|
|
yield return null;
|
|
}
|
|
}
|
|
num5 = 0f;
|
|
while (num5 < num4)
|
|
{
|
|
this.recCenterDoorHighlightForNUX.AHPMPAMKKFI = true;
|
|
num5 += Time.deltaTime;
|
|
yield return null;
|
|
}
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06002C65 RID: 11365 RVA: 0x000D1DAC File Offset: 0x000CFFAC
|
|
private void EPJKBJDBIFB()
|
|
{
|
|
bool flag = this.NMCPAOCGHNH.CPIBGJLHLBL();
|
|
this.alternateGesturesDummy.SetActive(flag);
|
|
this.alternateTeleportRestriction.gameObject.SetActive(flag);
|
|
this.alternateTeleportRestriction.HLFHKHKKLAL(flag);
|
|
}
|
|
|
|
// Token: 0x040005BE RID: 1470
|
|
[SerializeField]
|
|
private UIProjector scoreboardProjectorForNUX;
|
|
|
|
// Token: 0x040005BF RID: 1471
|
|
[SerializeField]
|
|
private TeleportationPortal practiceDoorHighlightForNUX;
|
|
|
|
// Token: 0x040005C0 RID: 1472
|
|
[SerializeField]
|
|
private Transform[] pathToPracticeDoorNUX;
|
|
|
|
// Token: 0x040005C1 RID: 1473
|
|
[SerializeField]
|
|
private GameObject pathMarkerNUX;
|
|
|
|
// Token: 0x040005C2 RID: 1474
|
|
[SerializeField]
|
|
private float timeToTraversePathNUX = 3f;
|
|
|
|
// Token: 0x040005C3 RID: 1475
|
|
[SerializeField]
|
|
private TeleportationPortal recCenterDoorHighlightForNUX;
|
|
|
|
// Token: 0x040005C4 RID: 1476
|
|
[SerializeField]
|
|
private TeleportationPortal enterCourtTeleportationPortal;
|
|
|
|
// Token: 0x040005C5 RID: 1477
|
|
[SerializeField]
|
|
[Header("General teleport restrictions")]
|
|
private TeleportRestriction fullGymRestriction;
|
|
|
|
// Token: 0x040005C6 RID: 1478
|
|
[SerializeField]
|
|
[Header("Primary Gestures Props")]
|
|
private GameObject primaryGesturesDummy;
|
|
|
|
// Token: 0x040005C7 RID: 1479
|
|
[SerializeField]
|
|
private GameObject primaryDummyRightArm;
|
|
|
|
// Token: 0x040005C8 RID: 1480
|
|
[SerializeField]
|
|
private GameObject primaryDummyLeftArm;
|
|
|
|
// Token: 0x040005C9 RID: 1481
|
|
[SerializeField]
|
|
private NonPlayerGestureTarget primaryFistBumpTarget;
|
|
|
|
// Token: 0x040005CA RID: 1482
|
|
[SerializeField]
|
|
private NonPlayerGestureTarget primaryHandshakeTarget;
|
|
|
|
// Token: 0x040005CB RID: 1483
|
|
[SerializeField]
|
|
private Transform primaryDummyPopupTransform;
|
|
|
|
// Token: 0x040005CC RID: 1484
|
|
[SerializeField]
|
|
private TeleportTarget primaryTeleportTargetMannequin;
|
|
|
|
// Token: 0x040005CD RID: 1485
|
|
[SerializeField]
|
|
private DynamicTeleportRestriction primaryTeleportRestriction;
|
|
|
|
// Token: 0x040005CE RID: 1486
|
|
[SerializeField]
|
|
private UINUXReportDialog NUXReportDialogPrefab;
|
|
|
|
// Token: 0x040005CF RID: 1487
|
|
[Header("Alternate Gestures Props")]
|
|
[SerializeField]
|
|
private GameObject alternateGesturesDummy;
|
|
|
|
// Token: 0x040005D0 RID: 1488
|
|
[SerializeField]
|
|
private GameObject alternateDummyRightArm;
|
|
|
|
// Token: 0x040005D1 RID: 1489
|
|
[SerializeField]
|
|
private GameObject alternateDummyLeftArm;
|
|
|
|
// Token: 0x040005D2 RID: 1490
|
|
[SerializeField]
|
|
private NonPlayerGestureTarget alternateFistBumpTarget;
|
|
|
|
// Token: 0x040005D3 RID: 1491
|
|
[SerializeField]
|
|
private NonPlayerGestureTarget alternateHandshakeTarget;
|
|
|
|
// Token: 0x040005D4 RID: 1492
|
|
[SerializeField]
|
|
private Transform alternateDummyPopupTransform;
|
|
|
|
// Token: 0x040005D5 RID: 1493
|
|
[SerializeField]
|
|
private TeleportTarget alternateTeleportTargetMannequin;
|
|
|
|
// Token: 0x040005D6 RID: 1494
|
|
[SerializeField]
|
|
private DynamicTeleportRestriction alternateTeleportRestriction;
|
|
|
|
// Token: 0x040005D7 RID: 1495
|
|
private bool FAKHIGEIJCM;
|
|
|
|
// Token: 0x040005D8 RID: 1496
|
|
private float FJFDHFAJAOO;
|
|
|
|
// Token: 0x040005D9 RID: 1497
|
|
private Coroutine INNCNAJIMNF;
|
|
|
|
// Token: 0x040005DA RID: 1498
|
|
private PaddleballManager GHLPEJOAAHO;
|
|
|
|
// Token: 0x040005DB RID: 1499
|
|
private WatchUI BDPODHKBOMF;
|
|
|
|
// Token: 0x040005DC RID: 1500
|
|
private RecRoomAudioClip CIDGHNHPNPB;
|
|
|
|
// Token: 0x040005DD RID: 1501
|
|
private const float NKLGCAAHBNO = 1f;
|
|
|
|
// Token: 0x040005DE RID: 1502
|
|
private bool MMOANKDEGJA;
|
|
|
|
// Token: 0x040005DF RID: 1503
|
|
private bool LLAOMANLLMG;
|
|
|
|
// Token: 0x040005E0 RID: 1504
|
|
private LHLLJPPCDKA<bool> FHCNECIMJPP;
|
|
|
|
// Token: 0x040005E1 RID: 1505
|
|
private LHLLJPPCDKA<bool> NMCPAOCGHNH;
|
|
|
|
// Token: 0x040005E2 RID: 1506
|
|
private bool OFKJIKKCFIC;
|
|
|
|
// Token: 0x040005E3 RID: 1507
|
|
private float JJJGIDDAFHG;
|
|
}
|