177 lines
5.7 KiB
C#
177 lines
5.7 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Async;
|
|
using RecRoom.Sharing;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
|
|
namespace AGUI.StackedUI.Dialog
|
|
{
|
|
// Token: 0x02001BE1 RID: 7137
|
|
[Token(Token = "0x2001BE1")]
|
|
[StructLayout(3)]
|
|
public class UIInputActionCodeDialog : ConfirmUIDialog
|
|
{
|
|
// Token: 0x0600BF6D RID: 49005 RVA: 0x002D2048 File Offset: 0x002D0248
|
|
[Token(Token = "0x600BF6D")]
|
|
[Address(RVA = "0x175CC90", Offset = "0x175B690", VA = "0x18175CC90", Slot = "10")]
|
|
public override void OnFlowEntered(StackedUIFlowBase BFHJBBGCMAN)
|
|
{
|
|
base.OnFlowEntered(BFHJBBGCMAN);
|
|
ValidatedButtonInputField validatedButtonInputField = this.actionCodeField;
|
|
string lastSuccessfulMeetupCode = LinkManager.PIGBMLEKODF;
|
|
validatedButtonInputField.KKJIOHNFHFJ = lastSuccessfulMeetupCode;
|
|
}
|
|
|
|
// Token: 0x0600BF6E RID: 49006 RVA: 0x002D2078 File Offset: 0x002D0278
|
|
[Token(Token = "0x600BF6E")]
|
|
[Address(RVA = "0x175CD20", Offset = "0x175B720", VA = "0x18175CD20", Slot = "11")]
|
|
public override void OnFlowExited(StackedUIFlowBase NBINAJPFBOA, bool CJEIBCEPAPO)
|
|
{
|
|
base.OnFlowExited(NBINAJPFBOA, CJEIBCEPAPO);
|
|
int num = 0;
|
|
int num2 = 0;
|
|
base.KHKDGPHPIND(num2, num != 0);
|
|
}
|
|
|
|
// Token: 0x0600BF6F RID: 49007 RVA: 0x002D209C File Offset: 0x002D029C
|
|
[Token(Token = "0x600BF6F")]
|
|
[Address(RVA = "0x175CF50", Offset = "0x175B950", VA = "0x18175CF50", Slot = "18")]
|
|
public override IPromise<JPIJGHNNIDP> ShowDialog()
|
|
{
|
|
ValidatedButtonInputField validatedButtonInputField = this.actionCodeField;
|
|
Func<string, bool> func = new Func(this.HPCOMEENFPH);
|
|
validatedButtonInputField.IsValidFunction = func;
|
|
string empty = string.Empty;
|
|
int num = 0;
|
|
if (!(this == num))
|
|
{
|
|
this.infoText.text = empty;
|
|
this.actionCodeField.FFDOINJEHMM = true;
|
|
this.goButton.FFDOINJEHMM = true;
|
|
this.cancelButton.interactable = true;
|
|
}
|
|
return base.ShowDialog();
|
|
}
|
|
|
|
// Token: 0x0600BF70 RID: 49008 RVA: 0x002D2114 File Offset: 0x002D0314
|
|
[Token(Token = "0x600BF70")]
|
|
[Address(RVA = "0x175C6A0", Offset = "0x175B0A0", VA = "0x18175C6A0")]
|
|
public void Button_Go()
|
|
{
|
|
int num = 0;
|
|
string kboghlkpbeg = LinkManager.JHJNANAHJJF.KBOGHLKPBEG;
|
|
this.SetInfoText(kboghlkpbeg, num != 0);
|
|
LinkManager instance = SingletonMonoBehaviour.Instance;
|
|
string text = this.actionCodeField.KKJIOHNFHFJ;
|
|
Action action = new Action(this.NBJJAGIELKD);
|
|
Action action2 = new Action(this.OBBLLFOAOKN);
|
|
Action<string> action3 = new Action(this.EIFBCGPHHNG);
|
|
ulong num2;
|
|
instance.HandleActionCode(text, action, (IAFKHONIKPI)((uint)(-1)), action2, action3, num2 != 0UL);
|
|
}
|
|
|
|
// Token: 0x0600BF71 RID: 49009 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600BF71")]
|
|
[Address(RVA = "0x175C9C0", Offset = "0x175B3C0", VA = "0x18175C9C0")]
|
|
private void NBJJAGIELKD()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600BF72 RID: 49010 RVA: 0x002D2184 File Offset: 0x002D0384
|
|
[Token(Token = "0x600BF72")]
|
|
[Address(RVA = "0x175CDA0", Offset = "0x175B7A0", VA = "0x18175CDA0")]
|
|
public void SetInfoText(string DBDDKLHPNNA, bool BCOHEOIEPLL)
|
|
{
|
|
AccountSelectionManager instance;
|
|
do
|
|
{
|
|
int num = 0;
|
|
if (this == num)
|
|
{
|
|
break;
|
|
}
|
|
this.infoText.text = DBDDKLHPNNA;
|
|
this.actionCodeField.FFDOINJEHMM = BCOHEOIEPLL;
|
|
this.goButton.FFDOINJEHMM = BCOHEOIEPLL;
|
|
Button3D button3D = this.cancelButton;
|
|
button3D.interactable = BCOHEOIEPLL;
|
|
if (BCOHEOIEPLL)
|
|
{
|
|
break;
|
|
}
|
|
instance = SingletonMonoBehaviour.Instance;
|
|
}
|
|
while (instance == 0 || instance == 0);
|
|
}
|
|
|
|
// Token: 0x0600BF73 RID: 49011 RVA: 0x002D21F0 File Offset: 0x002D03F0
|
|
[Token(Token = "0x600BF73")]
|
|
[Address(RVA = "0x175C940", Offset = "0x175B340", VA = "0x18175C940")]
|
|
private bool HPCOMEENFPH(string LIMGCIECODJ)
|
|
{
|
|
return LinkManager.GetWellFormattedActionCode(LIMGCIECODJ.Trim()) == 0;
|
|
}
|
|
|
|
// Token: 0x0600BF74 RID: 49012 RVA: 0x002D2214 File Offset: 0x002D0414
|
|
[Token(Token = "0x600BF74")]
|
|
[Address(RVA = "0x1149E40", Offset = "0x1148840", VA = "0x181149E40")]
|
|
public UIInputActionCodeDialog()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600BF75 RID: 49013 RVA: 0x002D2228 File Offset: 0x002D0428
|
|
[Token(Token = "0x600BF75")]
|
|
[Address(RVA = "0x175CC50", Offset = "0x175B650", VA = "0x18175CC50")]
|
|
[CompilerGenerated]
|
|
private void OBBLLFOAOKN()
|
|
{
|
|
base.KHKDGPHPIND((uint)1, true);
|
|
}
|
|
|
|
// Token: 0x0600BF76 RID: 49014 RVA: 0x002D2240 File Offset: 0x002D0440
|
|
[Token(Token = "0x600BF76")]
|
|
[Address(RVA = "0x175C830", Offset = "0x175B230", VA = "0x18175C830")]
|
|
[CompilerGenerated]
|
|
private void EIFBCGPHHNG(string MOPOMPHBHKF)
|
|
{
|
|
string text = LinkManager.JHJNANAHJJF.GAGCIGJFOLH(MOPOMPHBHKF);
|
|
int num = 0;
|
|
if (!(this == num))
|
|
{
|
|
this.infoText.text = text;
|
|
this.actionCodeField.FFDOINJEHMM = true;
|
|
this.goButton.FFDOINJEHMM = true;
|
|
this.cancelButton.interactable = true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04007E99 RID: 32409
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4007E99")]
|
|
[SerializeField]
|
|
private Button3D cancelButton;
|
|
|
|
// Token: 0x04007E9A RID: 32410
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x4007E9A")]
|
|
[SerializeField]
|
|
private Button3D goButton;
|
|
|
|
// Token: 0x04007E9B RID: 32411
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x4007E9B")]
|
|
[SerializeField]
|
|
private TextMeshProUGUI infoText;
|
|
|
|
// Token: 0x04007E9C RID: 32412
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4007E9C")]
|
|
[SerializeField]
|
|
private ValidatedButtonInputField actionCodeField;
|
|
}
|
|
}
|