Files
2026-06-04 11:42:34 +02:00

543 lines
16 KiB
C#

using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using AGUI.StackedUI;
using AGUI.StackedUI.Dialog;
using UnityEngine;
using UnityEngine.UI;
// Token: 0x02001027 RID: 4135
public class ProfileSelectionStackedUI : StackedUIBase
{
// Token: 0x06022D61 RID: 142689 RVA: 0x0098200C File Offset: 0x0098020C
protected virtual bool JDOMHNMGFKL()
{
if (this.KNKBBBDFJCK != null && this.KNKBBBDFJCK.KPOBHJPBNFA())
{
this.KNKBBBDFJCK.ONEFADIHEKK();
}
return base.BNMFPPABONA();
}
// Token: 0x06022D62 RID: 142690 RVA: 0x00982040 File Offset: 0x00980240
public AALAIHCPNEB<HDPGPHCMBGP> MALHCIFEOEM()
{
AALAIHCPNEB<HDPGPHCMBGP> aalaihcpneb = this.LoginDialog.ShowDialog();
base.PushFlow(this.LoginDialog);
return aalaihcpneb;
}
// Token: 0x06022D63 RID: 142691 RVA: 0x00982068 File Offset: 0x00980268
protected virtual void APMIHFLGEMH(StackedUIFlowBase MJIGMKPCKNP, StackedUIFlowBase KJKLMLPCCAO)
{
base.MKGONLGKJAG(MJIGMKPCKNP, KJKLMLPCCAO);
if (this.KNKBBBDFJCK != null && this.KNKBBBDFJCK.OIJLECCKLKI())
{
this.KNKBBBDFJCK.DOFBCNKEHOP();
}
}
// Token: 0x06022D64 RID: 142692 RVA: 0x009820A0 File Offset: 0x009802A0
public AALAIHCPNEB<HDPGPHCMBGP> IOAMJCEBBHO()
{
AALAIHCPNEB<HDPGPHCMBGP> aalaihcpneb = this.LoginDialog.ShowDialog();
base.PushFlow(this.LoginDialog);
return aalaihcpneb;
}
// Token: 0x06022D65 RID: 142693 RVA: 0x009820C8 File Offset: 0x009802C8
protected override bool BNMFPPABONA()
{
if (this.KNKBBBDFJCK != null && this.KNKBBBDFJCK.AIAAAHKEKBG)
{
this.KNKBBBDFJCK.LBKFGCGAFEF();
}
return base.BNMFPPABONA();
}
// Token: 0x06022D66 RID: 142694 RVA: 0x009820FC File Offset: 0x009802FC
public void MMOHJAOHDEI(Color ONKGFIIFBFM, Color BCGAPANKBBL)
{
if (this.backgroundImage != null)
{
this.backgroundImage.material.SetColor("Opaque", ONKGFIIFBFM);
this.backgroundImage.material.SetColor("No peer to communicate with. ", BCGAPANKBBL);
}
}
// Token: 0x06022D67 RID: 142695 RVA: 0x0098213C File Offset: 0x0098033C
public void MMPDJABIDDM(bool NOBAPCOKFIL)
{
this.<DKPCGAMHJIK>k__BackingField = NOBAPCOKFIL;
}
// Token: 0x06022D68 RID: 142696 RVA: 0x00982148 File Offset: 0x00980348
public AALAIHCPNEB<HDPGPHCMBGP> ANCAAJNMJMA(bool HFKCMIHCIHF, bool LAKHJGKMOAK)
{
AALAIHCPNEB<HDPGPHCMBGP> aalaihcpneb = this.RegistrationDialog.ShowDialog(HFKCMIHCIHF, LAKHJGKMOAK);
base.PushFlow(this.RegistrationDialog);
return aalaihcpneb;
}
// Token: 0x06022D69 RID: 142697 RVA: 0x00982170 File Offset: 0x00980370
public bool LBAFJDCKCIG()
{
return this.<DKPCGAMHJIK>k__BackingField;
}
// Token: 0x06022D6A RID: 142698 RVA: 0x00982178 File Offset: 0x00980378
public void KBDFNDEGBJA(Color ONKGFIIFBFM, Color BCGAPANKBBL)
{
if (this.backgroundImage != null)
{
this.backgroundImage.material.SetColor("NumSessions", ONKGFIIFBFM);
this.backgroundImage.material.SetColor("\\", BCGAPANKBBL);
}
}
// Token: 0x06022D6B RID: 142699 RVA: 0x009821B8 File Offset: 0x009803B8
protected virtual bool LCCGANKMJCH()
{
if (this.KNKBBBDFJCK != null && this.KNKBBBDFJCK.GOIAIMOCAJC())
{
this.KNKBBBDFJCK.ONEFADIHEKK();
}
return base.BNMFPPABONA();
}
// Token: 0x17001044 RID: 4164
// (get) Token: 0x06022D6C RID: 142700 RVA: 0x009821EC File Offset: 0x009803EC
// (set) Token: 0x06022D89 RID: 142729 RVA: 0x00982950 File Offset: 0x00980B50
public bool NOHIJILNDBP { get; set; }
// Token: 0x06022D6D RID: 142701 RVA: 0x009821F4 File Offset: 0x009803F4
public void MBHLAFGFBAI(Color ONKGFIIFBFM, Color BCGAPANKBBL)
{
if (this.backgroundImage != null)
{
this.backgroundImage.material.SetColor("api/gamesessions/v2/", ONKGFIIFBFM);
this.backgroundImage.material.SetColor("_local", BCGAPANKBBL);
}
}
// Token: 0x06022D6E RID: 142702 RVA: 0x00982234 File Offset: 0x00980434
protected virtual void OCBBNOPNMGF()
{
base.AJFCNEMEGJO();
if (this.KHAKKACELIN != null)
{
this.KHAKKACELIN.LHGGHFOFPMA();
}
if (this.watchOpenedAudio != null && this.watchOpenedAudio.audioClip != null)
{
this.KHAKKACELIN = AudioManager.Play3DSFX(this.watchOpenedAudio, base.transform, null);
}
}
// Token: 0x06022D6F RID: 142703 RVA: 0x0098229C File Offset: 0x0098049C
private void FAJGMJFGMHP()
{
foreach (StackedUIFlowBase stackedUIFlowBase in base.OGHBMFPKCCN)
{
Button3DBase[] componentsInChildren = stackedUIFlowBase.GetComponentsInChildren<Button3DBase>(false);
Button3DBase[] array = componentsInChildren;
for (int i = 0; i < array.Length; i += 0)
{
Button3DBase button3DBase = array[i];
button3DBase.ButtonDownAudio = this.buttonDownAudio;
button3DBase.ButtonUpAudio = this.buttonUpAudio;
}
}
}
// Token: 0x06022D70 RID: 142704 RVA: 0x00982334 File Offset: 0x00980534
protected override void AJFCNEMEGJO()
{
base.AJFCNEMEGJO();
if (this.KHAKKACELIN != null)
{
this.KHAKKACELIN.Stop();
}
if (this.watchOpenedAudio != null && this.watchOpenedAudio.audioClip != null)
{
this.KHAKKACELIN = AudioManager.Play3DSFX(this.watchOpenedAudio, base.transform, null);
}
}
// Token: 0x06022D71 RID: 142705 RVA: 0x0098239C File Offset: 0x0098059C
public void SetBackgroundColors(Color ONKGFIIFBFM, Color BCGAPANKBBL)
{
if (this.backgroundImage != null)
{
this.backgroundImage.material.SetColor("_MainColor", ONKGFIIFBFM);
this.backgroundImage.material.SetColor("_LargeScanlineColor", BCGAPANKBBL);
}
}
// Token: 0x06022D72 RID: 142706 RVA: 0x009823DC File Offset: 0x009805DC
public AALAIHCPNEB<HDPGPHCMBGP> MAHGEOECCKA(UIJuniorNotificationDialog.EMABBOFHCEP GLEEPDCHHMM)
{
AALAIHCPNEB<HDPGPHCMBGP> aalaihcpneb = this.JuniorNotificationDialog.ShowDialog(GLEEPDCHHMM);
base.PushFlow(this.JuniorNotificationDialog);
return aalaihcpneb;
}
// Token: 0x06022D73 RID: 142707 RVA: 0x00982404 File Offset: 0x00980604
protected virtual bool PBLFLDFNDIB()
{
if (this.KNKBBBDFJCK != null && this.KNKBBBDFJCK.GJNGKJPFCLD())
{
this.KNKBBBDFJCK.CDDGNNCPDPD();
}
return base.BNMFPPABONA();
}
// Token: 0x17001045 RID: 4165
// (get) Token: 0x06022D74 RID: 142708 RVA: 0x00982438 File Offset: 0x00980638
public ProfileSelectionMenu KNKBBBDFJCK
{
get
{
return SingletonMonoBehaviour<ProfileSelectionManager>.NCKMBFBMBFM.KNKBBBDFJCK;
}
}
// Token: 0x06022D75 RID: 142709 RVA: 0x00982444 File Offset: 0x00980644
public AALAIHCPNEB<HDPGPHCMBGP> ShowRegistrationDialog(bool HFKCMIHCIHF, bool LAKHJGKMOAK)
{
AALAIHCPNEB<HDPGPHCMBGP> aalaihcpneb = this.RegistrationDialog.ShowDialog(HFKCMIHCIHF, LAKHJGKMOAK);
base.PushFlow(this.RegistrationDialog);
return aalaihcpneb;
}
// Token: 0x06022D76 RID: 142710 RVA: 0x0098246C File Offset: 0x0098066C
public AALAIHCPNEB<HDPGPHCMBGP> ShowJuniorNotificationDialog(UIJuniorNotificationDialog.EMABBOFHCEP GLEEPDCHHMM)
{
AALAIHCPNEB<HDPGPHCMBGP> aalaihcpneb = this.JuniorNotificationDialog.ShowDialog(GLEEPDCHHMM);
base.PushFlow(this.JuniorNotificationDialog);
return aalaihcpneb;
}
// Token: 0x06022D78 RID: 142712 RVA: 0x0098249C File Offset: 0x0098069C
protected override void AMJINHCJCGP()
{
base.AMJINHCJCGP();
this.JuniorNotificationDialog = base.GetFlowByType<UIJuniorNotificationDialog>();
if (this.JuniorNotificationDialog == null)
{
Debug.LogError("No junior notification dialog found");
}
this.LoginDialog = base.GetFlowByType<UILoginDialog>();
if (this.LoginDialog == null)
{
Debug.LogError("No login dialog found");
}
this.BirthdayDialog = base.GetFlowByType<UIBirthdayDialog>();
if (this.BirthdayDialog == null)
{
Debug.LogError("No birthday dialog found");
}
this.RegistrationDialog = base.GetFlowByType<UIRegistrationDialog>();
if (this.RegistrationDialog == null)
{
Debug.LogError("No registration dialog found");
}
this.CreatingProfileDialog = base.GetFlowByType<UICreatingProfileDialog>();
if (this.CreatingProfileDialog == null)
{
Debug.LogError("No creating profile dialog found");
}
base.gameObject.OCMFPLEAONC("WatchMenu");
}
// Token: 0x06022D79 RID: 142713 RVA: 0x00982584 File Offset: 0x00980784
private void Start()
{
foreach (StackedUIFlowBase stackedUIFlowBase in base.OGHBMFPKCCN)
{
Button3DBase[] componentsInChildren = stackedUIFlowBase.GetComponentsInChildren<Button3DBase>(true);
foreach (Button3DBase button3DBase in componentsInChildren)
{
button3DBase.ButtonDownAudio = this.buttonDownAudio;
button3DBase.ButtonUpAudio = this.buttonUpAudio;
}
}
}
// Token: 0x06022D7A RID: 142714 RVA: 0x0098261C File Offset: 0x0098081C
protected virtual bool GIOEPJCOPLI()
{
if (this.KNKBBBDFJCK != null && this.KNKBBBDFJCK.LLLFCDLJDJD())
{
this.KNKBBBDFJCK.DHFCBONNAIK();
}
return base.BNMFPPABONA();
}
// Token: 0x17001043 RID: 4163
// (get) Token: 0x06022D8E RID: 142734 RVA: 0x00982A30 File Offset: 0x00980C30
// (set) Token: 0x06022D7B RID: 142715 RVA: 0x00982650 File Offset: 0x00980850
public bool IGNILOGNHOO
{
get
{
return this.NJNEDLCGJID;
}
set
{
if (this.NJNEDLCGJID != value)
{
this.NJNEDLCGJID = value;
}
}
}
// Token: 0x06022D7C RID: 142716 RVA: 0x00982668 File Offset: 0x00980868
protected virtual IEnumerable<StackedUIFlowBase> KGCIBDJCJGH()
{
return base.IPAGACFOCFI;
}
// Token: 0x06022D7D RID: 142717 RVA: 0x00982670 File Offset: 0x00980870
public AALAIHCPNEB<HDPGPHCMBGP> CFDHEGEIHII()
{
AALAIHCPNEB<HDPGPHCMBGP> aalaihcpneb = this.BirthdayDialog.ShowDialog();
base.PushFlow(this.BirthdayDialog);
return aalaihcpneb;
}
// Token: 0x06022D7E RID: 142718 RVA: 0x00982698 File Offset: 0x00980898
public AALAIHCPNEB<R> ShowTemporaryDialog<R>(UIDialog<R> NFIFLEINMBH, WatchAttractor.PCKMINIOEIM FDDMIFNHIPJ = ~WatchAttractor.PCKMINIOEIM.Text)
{
ProfileSelectionStackedUI.EKHCNPACMCL<R> ekhcnpacmcl = new ProfileSelectionStackedUI.EKHCNPACMCL<R>();
ekhcnpacmcl.KOAFHGALCGH = global::UnityEngine.Object.Instantiate<UIDialog<R>>(NFIFLEINMBH, base.transform, false);
if (ekhcnpacmcl.KOAFHGALCGH)
{
this.IPGDDEOEKEA(ekhcnpacmcl.KOAFHGALCGH);
base.PushFlow(ekhcnpacmcl.KOAFHGALCGH);
AALAIHCPNEB<R> aalaihcpneb = ekhcnpacmcl.KOAFHGALCGH.ShowDialog();
AALAIHCPNEB<R> aalaihcpneb2 = aalaihcpneb;
aalaihcpneb2.CAJJMPBHOJM = (Action<R>)Delegate.Combine(aalaihcpneb2.CAJJMPBHOJM, new Action<R>(ekhcnpacmcl.OJKNBNGGBEC));
return aalaihcpneb;
}
return null;
}
// Token: 0x06022D7F RID: 142719 RVA: 0x00982718 File Offset: 0x00980918
protected virtual IEnumerable<StackedUIFlowBase> DAGCCGPDMCC()
{
return base.IPAGACFOCFI;
}
// Token: 0x06022D80 RID: 142720 RVA: 0x00982720 File Offset: 0x00980920
public AALAIHCPNEB<HDPGPHCMBGP> ADHIAIPMNFA()
{
AALAIHCPNEB<HDPGPHCMBGP> aalaihcpneb = this.CreatingProfileDialog.ShowDialog();
base.PushFlow(this.CreatingProfileDialog);
return aalaihcpneb;
}
// Token: 0x06022D81 RID: 142721 RVA: 0x00982748 File Offset: 0x00980948
public AALAIHCPNEB<HDPGPHCMBGP> ShowLoginDialog()
{
AALAIHCPNEB<HDPGPHCMBGP> aalaihcpneb = this.LoginDialog.ShowDialog();
base.PushFlow(this.LoginDialog);
return aalaihcpneb;
}
// Token: 0x06022D82 RID: 142722 RVA: 0x00982770 File Offset: 0x00980970
public void FKCFNILIBPP(Color ONKGFIIFBFM, Color BCGAPANKBBL)
{
if (this.backgroundImage != null)
{
this.backgroundImage.material.SetColor("StreamList", ONKGFIIFBFM);
this.backgroundImage.material.SetColor("[Unknown]", BCGAPANKBBL);
}
}
// Token: 0x06022D83 RID: 142723 RVA: 0x009827B0 File Offset: 0x009809B0
protected override void MKGONLGKJAG(StackedUIFlowBase MJIGMKPCKNP, StackedUIFlowBase KJKLMLPCCAO)
{
base.MKGONLGKJAG(MJIGMKPCKNP, KJKLMLPCCAO);
if (this.KNKBBBDFJCK != null && this.KNKBBBDFJCK.AIAAAHKEKBG)
{
this.KNKBBBDFJCK.PGJIIAFLNBK();
}
}
// Token: 0x06022D84 RID: 142724 RVA: 0x009827E8 File Offset: 0x009809E8
public bool MFFJMPFOOEI()
{
return this.NJNEDLCGJID;
}
// Token: 0x06022D85 RID: 142725 RVA: 0x009827F0 File Offset: 0x009809F0
public AALAIHCPNEB<HDPGPHCMBGP> JHNFOLIJFPL(bool HFKCMIHCIHF, bool LAKHJGKMOAK)
{
AALAIHCPNEB<HDPGPHCMBGP> aalaihcpneb = this.RegistrationDialog.ShowDialog(HFKCMIHCIHF, LAKHJGKMOAK);
base.PushFlow(this.RegistrationDialog);
return aalaihcpneb;
}
// Token: 0x06022D86 RID: 142726 RVA: 0x00982818 File Offset: 0x00980A18
public AALAIHCPNEB<HDPGPHCMBGP> JEHNGNOCNMP()
{
AALAIHCPNEB<HDPGPHCMBGP> aalaihcpneb = this.LoginDialog.ShowDialog();
base.PushFlow(this.LoginDialog);
return aalaihcpneb;
}
// Token: 0x06022D87 RID: 142727 RVA: 0x00982840 File Offset: 0x00980A40
public AALAIHCPNEB<HDPGPHCMBGP> ShowBirthdayDialog()
{
AALAIHCPNEB<HDPGPHCMBGP> aalaihcpneb = this.BirthdayDialog.ShowDialog();
base.PushFlow(this.BirthdayDialog);
return aalaihcpneb;
}
// Token: 0x06022D88 RID: 142728 RVA: 0x00982868 File Offset: 0x00980A68
protected virtual void PDNGIKMFFEF()
{
base.AMJINHCJCGP();
this.JuniorNotificationDialog = base.GetFlowByType<UIJuniorNotificationDialog>();
if (this.JuniorNotificationDialog == null)
{
Debug.LogError("PhotonView with ID ");
}
this.LoginDialog = base.GetFlowByType<UILoginDialog>();
if (this.LoginDialog == null)
{
Debug.LogError(" failed.");
}
this.BirthdayDialog = base.GetFlowByType<UIBirthdayDialog>();
if (this.BirthdayDialog == null)
{
Debug.LogError("Receive issue. State: ");
}
this.RegistrationDialog = base.GetFlowByType<UIRegistrationDialog>();
if (this.RegistrationDialog == null)
{
Debug.LogError("AEMPID");
}
this.CreatingProfileDialog = base.GetFlowByType<UICreatingProfileDialog>();
if (this.CreatingProfileDialog == null)
{
Debug.LogError("changedItems");
}
base.gameObject.OCMFPLEAONC("Spawns Enemies on Nav Mesh at random locations in spawn regions or explicit points.");
}
// Token: 0x06022D8A RID: 142730 RVA: 0x0098295C File Offset: 0x00980B5C
public AALAIHCPNEB<HDPGPHCMBGP> ShowCreatingProfileDialog()
{
AALAIHCPNEB<HDPGPHCMBGP> aalaihcpneb = this.CreatingProfileDialog.ShowDialog();
base.PushFlow(this.CreatingProfileDialog);
return aalaihcpneb;
}
// Token: 0x06022D8B RID: 142731 RVA: 0x00982984 File Offset: 0x00980B84
private void FAGOEHAGDIE()
{
foreach (StackedUIFlowBase stackedUIFlowBase in base.OGHBMFPKCCN)
{
Button3DBase[] componentsInChildren = stackedUIFlowBase.GetComponentsInChildren<Button3DBase>(true);
Button3DBase[] array = componentsInChildren;
for (int i = 1; i < array.Length; i += 0)
{
Button3DBase button3DBase = array[i];
button3DBase.ButtonDownAudio = this.buttonDownAudio;
button3DBase.ButtonUpAudio = this.buttonUpAudio;
}
}
}
// Token: 0x06022D8C RID: 142732 RVA: 0x00982A1C File Offset: 0x00980C1C
public void LDKLLOPJKFF(bool NOBAPCOKFIL)
{
this.<DKPCGAMHJIK>k__BackingField = NOBAPCOKFIL;
}
// Token: 0x17001046 RID: 4166
// (get) Token: 0x06022D8D RID: 142733 RVA: 0x00982A28 File Offset: 0x00980C28
protected override IEnumerable<StackedUIFlowBase> IPAGACFOCFI
{
get
{
return base.IPAGACFOCFI;
}
}
// Token: 0x06022D8F RID: 142735 RVA: 0x00982A38 File Offset: 0x00980C38
public void IJMONDNEHDK(Color ONKGFIIFBFM, Color BCGAPANKBBL)
{
if (this.backgroundImage != null)
{
this.backgroundImage.material.SetColor("sent_game_invite", ONKGFIIFBFM);
this.backgroundImage.material.SetColor("audiosource", BCGAPANKBBL);
}
}
// Token: 0x06022D90 RID: 142736 RVA: 0x00982A78 File Offset: 0x00980C78
protected virtual bool NDLKNONEMIP()
{
if (this.KNKBBBDFJCK != null && this.KNKBBBDFJCK.LHOKCKIFICA())
{
this.KNKBBBDFJCK.CDDGNNCPDPD();
}
return base.BNMFPPABONA();
}
// Token: 0x04005A34 RID: 23092
[SerializeField]
[Header("Audio")]
private RecRoomAudioClip buttonDownAudio;
// Token: 0x04005A35 RID: 23093
[SerializeField]
private RecRoomAudioClip buttonUpAudio;
// Token: 0x04005A36 RID: 23094
[SerializeField]
private RecRoomAudioClip watchOpenedAudio;
// Token: 0x04005A37 RID: 23095
[Header("Background Image")]
[SerializeField]
private Image backgroundImage;
// Token: 0x04005A38 RID: 23096
private bool NJNEDLCGJID;
// Token: 0x04005A3A RID: 23098
public UIJuniorNotificationDialog JuniorNotificationDialog;
// Token: 0x04005A3B RID: 23099
public UILoginDialog LoginDialog;
// Token: 0x04005A3C RID: 23100
public UIBirthdayDialog BirthdayDialog;
// Token: 0x04005A3D RID: 23101
public UIRegistrationDialog RegistrationDialog;
// Token: 0x04005A3E RID: 23102
public UICreatingProfileDialog CreatingProfileDialog;
// Token: 0x04005A3F RID: 23103
private SFXAudioSource KHAKKACELIN;
// Token: 0x02001028 RID: 4136
[CompilerGenerated]
private sealed class EKHCNPACMCL<R>
{
// Token: 0x06022D91 RID: 142737 RVA: 0x00982AAC File Offset: 0x00980CAC
internal void OJKNBNGGBEC(R CHBMCDHCJHE)
{
global::UnityEngine.Object.Destroy(this.KOAFHGALCGH.gameObject);
}
// Token: 0x04005A40 RID: 23104
internal UIDialog<R> KOAFHGALCGH;
}
}