Files
Jan2021-Cpp2Il-Dump/Assembly-CSharp/RecRoom/Core/Screens/UI/SignInScreenLoginUIDialog.cs
T
2026-04-08 23:40:05 +02:00

157 lines
7.4 KiB
C#

using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using RecNet;
using RecRoom.Async;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace RecRoom.Core.Screens.UI
{
// Token: 0x02002A33 RID: 10803
[Token(Token = "0x2002A33")]
[StructLayout(3)]
public class SignInScreenLoginUIDialog : FormScreenLoginUIDialog<string>
{
// Token: 0x06012D82 RID: 77186 RVA: 0x0047F624 File Offset: 0x0047D824
[Token(Token = "0x6012D82")]
[Address(RVA = "0x11AE350", Offset = "0x11ACD50", VA = "0x1811AE350")]
private void Start()
{
Toggle toggle = this.rememberPasswordToggle;
int num = 0;
toggle.isOn = num != 0;
}
// Token: 0x06012D83 RID: 77187 RVA: 0x0047F648 File Offset: 0x0047D848
[Token(Token = "0x6012D83")]
[Address(RVA = "0x11ADE20", Offset = "0x11AC820", VA = "0x1811ADE20", Slot = "18")]
protected override void FPOGDJCPAGF(ushort CPMPEJFMDED, ushort OEAPMLMHLLF)
{
base.FPOGDJCPAGF(CPMPEJFMDED, OEAPMLMHLLF);
string text = this.usernameField.m_Text.Trim();
if (!JAKDHKJDFNP.MEGPLKIGIJC(text) && (text.m_stringLength > 17 || text.Contains(" ")))
{
int num = 0;
base.LLKGFICOMFG((FormScreenLoginUIDialog.DFMJNFJBEAI)num);
return;
}
string text2 = this.passwordField.m_Text.Trim();
string text3 = this.passwordField.m_Text;
if (text2 == 0)
{
SingletonMonoBehaviour.Instance.ShowErrorMessage("Signing in...");
bool isOn = this.rememberPasswordToggle.m_IsOn;
IPromise promise = MHOKOMMOGKM.LHOKPNNOHLF(text, text2, isOn);
if (SignInScreenLoginUIDialog.<>c.<>9__4_0 == 0)
{
SignInScreenLoginUIDialog.<>c.<>9__4_0 = () => Matchmaking.GHNONNKLKHE();
}
Action action = new Action(this.FIBOLMCIMJJ);
Action<string> action2 = new Action(this.IDKHNPOAICG);
}
throw new NullReferenceException();
}
// Token: 0x06012D84 RID: 77188 RVA: 0x0047F720 File Offset: 0x0047D920
[Token(Token = "0x6012D84")]
[Address(RVA = "0x11AE250", Offset = "0x11ACC50", VA = "0x1811AE250", Slot = "6")]
public override IPromise<PBPCEIOFCLI> ShowDialog(params object[] KBNJNPABNBO)
{
/*
An exception occurred when decompiling this method (06012D84)
ICSharpCode.Decompiler.DecompilerException: Error decompiling RecRoom.Async.IPromise`1<PBPCEIOFCLI> RecRoom.Core.Screens.UI.SignInScreenLoginUIDialog::ShowDialog(System.Object[])
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_12:
stloc:bool(var_0_18, callgetter:bool(IAsyncResult::get_IsCompleted, ldloc:SignInScreenLoginUIDialog[exp:IAsyncResult](this)))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
*/;
}
// Token: 0x06012D85 RID: 77189 RVA: 0x0047F748 File Offset: 0x0047D948
[Token(Token = "0x6012D85")]
[Address(RVA = "0x11AE2D0", Offset = "0x11ACCD0", VA = "0x1811AE2D0", Slot = "14")]
public override IPromise<PBPCEIOFCLI> ShowDialog(string PHCGMLMOGJB)
{
this.IEDCIALOPFJ();
this.usernameField.text = PHCGMLMOGJB;
return base.ShowDialog(PHCGMLMOGJB);
}
// Token: 0x06012D86 RID: 77190 RVA: 0x0047F774 File Offset: 0x0047D974
[Token(Token = "0x6012D86")]
[Address(RVA = "0x11AE1C0", Offset = "0x11ACBC0", VA = "0x1811AE1C0")]
private void IEDCIALOPFJ()
{
AG_TMP_InputField ag_TMP_InputField = this.passwordField;
int num = 0;
if (ag_TMP_InputField != num)
{
AG_TMP_InputField ag_TMP_InputField2 = this.passwordField;
string empty = string.Empty;
ag_TMP_InputField2.text = empty;
}
}
// Token: 0x06012D87 RID: 77191 RVA: 0x0047F7B0 File Offset: 0x0047D9B0
[Token(Token = "0x6012D87")]
[Address(RVA = "0x11AE380", Offset = "0x11ACD80", VA = "0x1811AE380")]
public SignInScreenLoginUIDialog()
{
}
// Token: 0x06012D88 RID: 77192 RVA: 0x0047F7C4 File Offset: 0x0047D9C4
[Token(Token = "0x6012D88")]
[Address(RVA = "0x119CA90", Offset = "0x119B490", VA = "0x18119CA90")]
[CompilerGenerated]
private void FIBOLMCIMJJ()
{
bool isCompleted = ((IAsyncResult)this).IsCompleted;
}
// Token: 0x06012D89 RID: 77193 RVA: 0x0047F7D8 File Offset: 0x0047D9D8
[Token(Token = "0x6012D89")]
[Address(RVA = "0x11AE160", Offset = "0x11ACB60", VA = "0x1811AE160")]
[CompilerGenerated]
private void IDKHNPOAICG(string MOPOMPHBHKF)
{
int num = 0;
base.LLKGFICOMFG((FormScreenLoginUIDialog.DFMJNFJBEAI)num);
}
// Token: 0x0400CA44 RID: 51780
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x400CA44")]
[SerializeField]
private AG_TMP_InputField usernameField;
// Token: 0x0400CA45 RID: 51781
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x400CA45")]
[SerializeField]
private AG_TMP_InputField passwordField;
// Token: 0x0400CA46 RID: 51782
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x400CA46")]
[SerializeField]
private Toggle rememberPasswordToggle;
}
}