Files
Aug2021-Cpp2IL-Dump/Assembly-CSharp/GoToRoomOrPlaylistConditionalButton.cs
2026-04-10 22:50:51 +02:00

702 lines
24 KiB
C#

using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using AGUI.StackedUI;
using Cpp2IlInjected;
using RecNet;
using RecRoom.Core;
using TMPro;
using UnityEngine;
// Token: 0x020006A4 RID: 1700
[Token(Token = "0x20006A4")]
public class GoToRoomOrPlaylistConditionalButton : ConditionalButton<Button3D>
{
// Token: 0x1700087C RID: 2172
// (get) Token: 0x0600314E RID: 12622 RVA: 0x000CA1E0 File Offset: 0x000C83E0
// (set) Token: 0x0600314F RID: 12623 RVA: 0x000CA1F4 File Offset: 0x000C83F4
[Token(Token = "0x1700087C")]
public GoToRoomOrPlaylistConditionalButton.EPAJFBOGFHN? IPGJBMIAACB
{
[Token(Token = "0x600314E")]
[Address(RVA = "0x415290", Offset = "0x414090", VA = "0x180415290")]
get
{
return this.OHEHGKGOEHL;
}
[Token(Token = "0x600314F")]
[Address(RVA = "0x754D80", Offset = "0x753B80", VA = "0x180754D80")]
set
{
GoToRoomOrPlaylistConditionalButton.EPAJFBOGFHN? ohehgkgoehl = this.OHEHGKGOEHL;
bool flag = ohehgkgoehl == value;
if (ohehgkgoehl == value == flag)
{
this.OHEHGKGOEHL = value;
this.OnEnable();
}
}
}
// Token: 0x1700087D RID: 2173
// (get) Token: 0x06003150 RID: 12624 RVA: 0x000CA224 File Offset: 0x000C8424
[Token(Token = "0x1700087D")]
public MKAMHOIHOJK OENNFPFCIFM
{
[Token(Token = "0x6003150")]
[Address(RVA = "0x423DE0", Offset = "0x422BE0", VA = "0x180423DE0")]
get
{
return this.JOEAKGJOFCH;
}
}
// Token: 0x06003151 RID: 12625 RVA: 0x000CA238 File Offset: 0x000C8438
[Token(Token = "0x6003151")]
[Address(RVA = "0x7549D0", Offset = "0x7537D0", VA = "0x1807549D0")]
public void SetTarget(MKAMHOIHOJK GMDFGKFCMHG)
{
this.JOEAKGJOFCH = GMDFGKFCMHG;
if (GMDFGKFCMHG == 0 || GMDFGKFCMHG.<HAPPEDAPIBJ>k__BackingField || !BPHGKAEDBPE.GPOJGIHBFNH)
{
MKAMHOIHOJK joeakgjofch = this.JOEAKGJOFCH;
if (joeakgjofch == 0 || joeakgjofch.<BCJBCGAKHMA>k__BackingField || BPHGKAEDBPE.FDKJIAGLHKL)
{
}
}
MKAMHOIHOJK joeakgjofch2 = this.JOEAKGJOFCH;
if (joeakgjofch2 != 0 && !joeakgjofch2.<HLCKADPPNII>k__BackingField)
{
bool flag = BPHGKAEDBPE.DIENALPCKEH;
}
int num = 0;
GameObject gameObject = this.notYetSupportedBanner;
int num2 = 0;
if (gameObject != num2)
{
this.notYetSupportedBanner.SetActive(num != 0);
}
bool isCompleted = ((IAsyncResult)this).IsCompleted;
}
// Token: 0x1700087E RID: 2174
// (get) Token: 0x06003152 RID: 12626 RVA: 0x000CA2D4 File Offset: 0x000C84D4
// (set) Token: 0x06003153 RID: 12627 RVA: 0x000CA2F4 File Offset: 0x000C84F4
[Token(Token = "0x1700087E")]
public bool JMMLBJBNGMB
{
[Token(Token = "0x6003152")]
[Address(RVA = "0x754D40", Offset = "0x753B40", VA = "0x180754D40")]
get
{
return this.button.JMMLBJBNGMB;
}
[Token(Token = "0x6003153")]
[Address(RVA = "0x754D60", Offset = "0x753B60", VA = "0x180754D60")]
set
{
this.button.JMMLBJBNGMB = value;
}
}
// Token: 0x06003154 RID: 12628 RVA: 0x000CA314 File Offset: 0x000C8514
[Token(Token = "0x6003154")]
[Address(RVA = "0x754950", Offset = "0x753750", VA = "0x180754950", Slot = "5")]
protected override void PICEBFBCNCL()
{
if (!SingletonMonoBehaviour.ONCPNMDGGKG.<KGHBOCPLIMP>k__BackingField)
{
this.OAEHMGJNLDP();
return;
}
int num = 0;
base.ILGFOHIJHMG = num;
}
// Token: 0x06003155 RID: 12629 RVA: 0x000CA344 File Offset: 0x000C8544
[Token(Token = "0x6003155")]
[Address(RVA = "0x7546D0", Offset = "0x7534D0", VA = "0x1807546D0")]
private void OAEHMGJNLDP()
{
if (this.OHEHGKGOEHL != 0)
{
GoToRoomOrPlaylistConditionalButton.EPAJFBOGFHN epajfbogfhn;
int num = (int)epajfbogfhn;
base.ILGFOHIJHMG = num;
return;
}
MKAMHOIHOJK joeakgjofch = this.JOEAKGJOFCH;
if (joeakgjofch != 0)
{
if ((joeakgjofch.<HAPPEDAPIBJ>k__BackingField || !BPHGKAEDBPE.GPOJGIHBFNH) && (this.JOEAKGJOFCH.<BCJBCGAKHMA>k__BackingField || !BPHGKAEDBPE.FDKJIAGLHKL) && (this.JOEAKGJOFCH.<HLCKADPPNII>k__BackingField || !BPHGKAEDBPE.DIENALPCKEH))
{
SessionManager instance = SingletonMonoBehaviour.ONCPNMDGGKG;
MKAMHOIHOJK joeakgjofch2 = this.JOEAKGJOFCH;
int num2 = 0;
if (instance.JuniorRoomCheck(joeakgjofch2, num2 != 0))
{
bool flag = this.JOEAKGJOFCH.MIKDLDEALPN;
if (flag)
{
MKAMHOIHOJK joeakgjofch3 = this.JOEAKGJOFCH;
if (this.goToBehavior != GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP.PrivateInstance)
{
if (flag)
{
CIIBGMBOFEI ciibgmbofei = Matchmaking.BBJAEJHMAPB;
MKAMHOIHOJK joeakgjofch4 = this.JOEAKGJOFCH;
}
base.ILGFOHIJHMG = 2;
ONCGMPLDEPM oncgmpldepm = ONCGMPLDEPM.MAMCJMIPCOD(this.JOEAKGJOFCH);
this.BKAMMCFBLHA = oncgmpldepm;
return;
}
}
}
}
int num3 = 0;
base.ILGFOHIJHMG = num3;
return;
}
base.ILGFOHIJHMG = 1;
}
// Token: 0x06003156 RID: 12630 RVA: 0x000CA454 File Offset: 0x000C8654
[Token(Token = "0x6003156")]
[Address(RVA = "0x754450", Offset = "0x753250", VA = "0x180754450", Slot = "6")]
protected override void MNGMCHLEHOK()
{
base..ctor();
int cieebjfcmib = this.CIEEBJFCMIB;
if (cieebjfcmib == 1)
{
PLDMAFINLJO.FANDNIHFMNM(this.labelText, "No Game");
return;
}
if (cieebjfcmib == 3)
{
PLDMAFINLJO.FANDNIHFMNM(this.labelText, "Game Full");
return;
}
TextMeshProUGUI labelText = this.labelText;
if (this.goToBehavior != GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP.PrivateInstance)
{
PLDMAFINLJO.FANDNIHFMNM(labelText, "Go To");
return;
}
PLDMAFINLJO.FANDNIHFMNM(labelText, "Go to Private");
}
// Token: 0x06003157 RID: 12631 RVA: 0x000CA4C0 File Offset: 0x000C86C0
[Token(Token = "0x6003157")]
[Address(RVA = "0x753F60", Offset = "0x752D60", VA = "0x180753F60", Slot = "7")]
protected override bool HOCJDEBMOLM()
{
int cieebjfcmib = this.CIEEBJFCMIB;
if (base.HOCJDEBMOLM() && cieebjfcmib != 3)
{
return cieebjfcmib != 1;
}
}
// Token: 0x06003158 RID: 12632 RVA: 0x000CA4EC File Offset: 0x000C86EC
[Token(Token = "0x6003158")]
[Address(RVA = "0x7542F0", Offset = "0x7530F0", VA = "0x1807542F0", Slot = "8")]
protected override void MGFKPEMKOOK()
{
MKAMHOIHOJK joeakgjofch = this.JOEAKGJOFCH;
if (joeakgjofch != 0 && joeakgjofch != 0)
{
RRUIRootScreen flowByType = Player.<EGKJPJKLEAI>k__BackingField.playerUI.<JNBAANDJIAD>k__BackingField.GetFlowByType<RRUIRootScreen>();
return;
}
this.EJHAHINCKOI();
}
// Token: 0x06003159 RID: 12633 RVA: 0x000CA52C File Offset: 0x000C872C
[Token(Token = "0x6003159")]
[Address(RVA = "0x753B30", Offset = "0x752930", VA = "0x180753B30")]
private void EJHAHINCKOI()
{
int cieebjfcmib = this.CIEEBJFCMIB;
int num = 0;
base.ILGFOHIJHMG = num;
JJGHAFKJBEI doohkcanflo = PEGGCEDHBOF.DOOHKCANFLO;
int num2 = 0;
if (doohkcanflo != 0)
{
bool inited = doohkcanflo.<DOPLJIOHAMG>k__BackingField.inited;
}
if (num2 != 0)
{
}
int num3 = 0;
bool flag = num3 == 0;
MKAMHOIHOJK mkamhoihojk;
if (num3 == (flag ? 1 : 0))
{
if (this.goToBehavior == GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP.AlwaysAsk && this.JOEAKGJOFCH != 0)
{
if (this.JOKOCFBBFFL == (ulong)0L)
{
SessionManager instance = SingletonMonoBehaviour.ONCPNMDGGKG;
GoToRoomOrPlaylistConditionalButton.MABCMNFNLLE mabcmnfnlle;
mabcmnfnlle.System.IDisposable.Dispose();
mabcmnfnlle.<>1__state = num3;
mabcmnfnlle.<>4__this = this;
Coroutine coroutine = instance.StartCoroutine(mabcmnfnlle);
this.JOKOCFBBFFL = coroutine;
base.ILGFOHIJHMG = cieebjfcmib;
}
return;
}
mkamhoihojk = this.JOEAKGJOFCH;
while (mkamhoihojk == 0)
{
}
while (mkamhoihojk == 0)
{
}
}
SingletonMonoBehaviour.ONCPNMDGGKG.LogGGFAnalyticEvent("show_age_prompt");
WatchUI local = WatchUI.BFPPPLIJIGC;
Action action = new Action(this.EJHAHINCKOI);
Action<int?> action2 = new Action(this.LIHHEOJCBHI);
if (mkamhoihojk < this)
{
mkamhoihojk += mkamhoihojk;
if (mkamhoihojk != this)
{
}
}
PMGCJEPKFOF<int?> pmgcjepkfof;
pmgcjepkfof += pmgcjepkfof;
throw new NullReferenceException();
}
// Token: 0x0600315A RID: 12634 RVA: 0x000CA638 File Offset: 0x000C8838
[Token(Token = "0x600315A")]
[Address(RVA = "0x7544F0", Offset = "0x7532F0", VA = "0x1807544F0")]
private void NDMHNNFGKEC(KLCOGEIGEBJ DDEGOJKBEAN)
{
GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP cmjfffkfaip = this.goToBehavior;
SessionManager.BDPNOBGNGNI loadSceneSource3 = this.LoadSceneSource;
Action action = new Action(this.PCCBPPIBMIP);
GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP goToBehavior = cmjfffkfaip;
SessionManager.BDPNOBGNGNI loadSceneSource = loadSceneSource3;
Action done = action;
if (loadSceneSource3 == SessionManager.BDPNOBGNGNI.NOT_SET)
{
Debug.LogError("loadSceneSource is not set.");
}
long <DOFDAMHCJLP>k__BackingField = DDEGOJKBEAN.<DOFDAMHCJLP>k__BackingField;
int num = 0;
PMGCJEPKFOF<PPENFJMFPNE> pmgcjepkfof = OJMCBOKJFOF.CJKHNIIJFIN(<DOFDAMHCJLP>k__BackingField, num != 0);
Action<JPIJGHNNIDP> <>9__2;
Action<PPENFJMFPNE> action2 = delegate(PPENFJMFPNE roomDetails)
{
IReadOnlyList<DNACJGJEPEC> <LGPGODCCLPI>k__BackingField = roomDetails.<LGPGODCCLPI>k__BackingField;
LMLJHMJEIGM lmljhmjeigm = roomDetails.MMBJPGGOFHL;
IReadOnlyList<DNACJGJEPEC> <LGPGODCCLPI>k__BackingField2 = roomDetails.<LGPGODCCLPI>k__BackingField;
Func<DNACJGJEPEC, bool> <>9__25_ = GoToRoomOrPlaylistConditionalButton.<>c.<>9__25_1;
if (<>9__25_ == 0)
{
GoToRoomOrPlaylistConditionalButton.<>c.<>9__25_1 = delegate(DNACJGJEPEC s)
{
bool flag;
return flag;
};
}
int num3 = Enumerable.Count<DNACJGJEPEC>(<LGPGODCCLPI>k__BackingField2, <>9__25_);
GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP cmjfffkfaip2 = goToBehavior;
if (cmjfffkfaip2 == GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP.PrivateInstance)
{
}
if (cmjfffkfaip2 == GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP.PublicInstanceChooseEntrySubroom)
{
SessionManager instance = SingletonMonoBehaviour.ONCPNMDGGKG;
SessionManager.BDPNOBGNGNI loadSceneSource2 = loadSceneSource;
Action done3 = done;
if (done3 != 0)
{
done3();
}
return;
}
WatchUI <JNBAANDJIAD>k__BackingField = Player.<EGKJPJKLEAI>k__BackingField.playerUI.<JNBAANDJIAD>k__BackingField;
if (<>9__2 == 0)
{
Action<JPIJGHNNIDP> action3 = delegate(JPIJGHNNIDP response)
{
if (response == JPIJGHNNIDP.Affirmative)
{
Action done2 = done;
if (done2 != 0)
{
done2();
return;
}
}
};
<>9__2 = action3;
}
throw new NullReferenceException();
};
int num2 = 0;
num2 += num2;
num2++;
PMGCJEPKFOF<PPENFJMFPNE> pmgcjepkfof2 = pmgcjepkfof.OHLPJBFCABI(action2);
}
// Token: 0x0600315B RID: 12635 RVA: 0x000CA6D8 File Offset: 0x000C88D8
[Token(Token = "0x600315B")]
[Address(RVA = "0x754B30", Offset = "0x753930", VA = "0x180754B30")]
public static void TryJoinRoom(KLCOGEIGEBJ DDEGOJKBEAN, GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP ACIFFFKMOCP, SessionManager.BDPNOBGNGNI EKNHEEDECPK, [Optional] Action ODJIMNEMMMP)
{
SessionManager.BDPNOBGNGNI loadSceneSource = EKNHEEDECPK;
Action done = ODJIMNEMMMP;
if (EKNHEEDECPK == SessionManager.BDPNOBGNGNI.NOT_SET)
{
Debug.LogError("loadSceneSource is not set.");
}
long <DOFDAMHCJLP>k__BackingField = DDEGOJKBEAN.<DOFDAMHCJLP>k__BackingField;
int num = 0;
PMGCJEPKFOF<PPENFJMFPNE> pmgcjepkfof = OJMCBOKJFOF.CJKHNIIJFIN(<DOFDAMHCJLP>k__BackingField, num != 0);
Action<JPIJGHNNIDP> <>9__2;
Action<PPENFJMFPNE> action = delegate(PPENFJMFPNE roomDetails)
{
IReadOnlyList<DNACJGJEPEC> <LGPGODCCLPI>k__BackingField = roomDetails.<LGPGODCCLPI>k__BackingField;
LMLJHMJEIGM lmljhmjeigm = roomDetails.MMBJPGGOFHL;
IReadOnlyList<DNACJGJEPEC> <LGPGODCCLPI>k__BackingField2 = roomDetails.<LGPGODCCLPI>k__BackingField;
Func<DNACJGJEPEC, bool> <>9__25_ = GoToRoomOrPlaylistConditionalButton.<>c.<>9__25_1;
if (<>9__25_ == 0)
{
GoToRoomOrPlaylistConditionalButton.<>c.<>9__25_1 = delegate(DNACJGJEPEC s)
{
bool flag;
return flag;
};
}
int num3 = Enumerable.Count<DNACJGJEPEC>(<LGPGODCCLPI>k__BackingField2, <>9__25_);
GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP cmjfffkfaip = ACIFFFKMOCP;
if (cmjfffkfaip == GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP.PrivateInstance)
{
}
if (cmjfffkfaip == GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP.PublicInstanceChooseEntrySubroom)
{
SessionManager instance = SingletonMonoBehaviour.ONCPNMDGGKG;
SessionManager.BDPNOBGNGNI loadSceneSource2 = loadSceneSource;
Action done3 = done;
if (done3 != 0)
{
done3();
}
return;
}
WatchUI <JNBAANDJIAD>k__BackingField = Player.<EGKJPJKLEAI>k__BackingField.playerUI.<JNBAANDJIAD>k__BackingField;
if (<>9__2 == 0)
{
Action<JPIJGHNNIDP> action2 = delegate(JPIJGHNNIDP response)
{
if (response == JPIJGHNNIDP.Affirmative)
{
Action done2 = done;
if (done2 != 0)
{
done2();
return;
}
}
};
<>9__2 = action2;
}
throw new NullReferenceException();
};
int num2 = 0;
num2 += num2;
num2++;
PMGCJEPKFOF<PPENFJMFPNE> pmgcjepkfof2 = pmgcjepkfof.OHLPJBFCABI(action);
}
// Token: 0x0600315C RID: 12636 RVA: 0x000CA75C File Offset: 0x000C895C
[Token(Token = "0x600315C")]
[Address(RVA = "0x753F90", Offset = "0x752D90", VA = "0x180753F90")]
private IEnumerator KBNHACLKHFC()
{
/*
An exception occurred when decompiling this method (0600315C)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator GoToRoomOrPlaylistConditionalButton::KBNHACLKHFC()
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
call:void(MABCMNFNLLE::System.IDisposable.Dispose, ldloc:MABCMNFNLLE(var_0))
stfld:int32(MABCMNFNLLE::<>1__state, ldloc:MABCMNFNLLE(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
stfld:GoToRoomOrPlaylistConditionalButton(MABCMNFNLLE::<>4__this, ldloc:MABCMNFNLLE(var_0), ldloc:GoToRoomOrPlaylistConditionalButton(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.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: 0x0600315D RID: 12637 RVA: 0x000CA780 File Offset: 0x000C8980
[Token(Token = "0x600315D")]
[Address(RVA = "0x754130", Offset = "0x752F30", VA = "0x180754130")]
private string LEOBICNMOEI(MKAMHOIHOJK PEOBMOOENJD)
{
if (PEOBMOOENJD != 0 && PEOBMOOENJD == 0)
{
return PEOBMOOENJD.<LGACIEKBLBM>k__BackingField;
}
}
// Token: 0x0600315E RID: 12638 RVA: 0x000CA7A0 File Offset: 0x000C89A0
[Token(Token = "0x600315E")]
[Address(RVA = "0x754CD0", Offset = "0x753AD0", VA = "0x180754CD0")]
public GoToRoomOrPlaylistConditionalButton()
{
int num;
int num2;
OKNNKFGFODL oknnkfgfodl = new OKNNKFGFODL(32, num != 0, num2 != 0);
num2 = 0;
num = 0;
this.OnButtonAction = oknnkfgfodl;
base..ctor();
}
// Token: 0x0600315F RID: 12639 RVA: 0x000CA7C8 File Offset: 0x000C89C8
[Token(Token = "0x600315F")]
[Address(RVA = "0x7541B0", Offset = "0x752FB0", VA = "0x1807541B0")]
[CompilerGenerated]
private void LIHHEOJCBHI(int? OIDIONGIDKD)
{
if (OIDIONGIDKD < (ulong)13L != OIDIONGIDKD)
{
SingletonMonoBehaviour.ONCPNMDGGKG.LogGGFAnalyticEvent("show_birthday_prompt");
WatchUI local = WatchUI.BFPPPLIJIGC;
int num = 0;
Action action = new Action(this.EJHAHINCKOI);
int num2 = 0;
int num3 = 0;
PMGCJEPKFOF<DateTime?> pmgcjepkfof = local.ShowBirthdayDialog(num3, num2, num, OIDIONGIDKD, action);
}
}
// Token: 0x06003160 RID: 12640 RVA: 0x000CA820 File Offset: 0x000C8A20
[Token(Token = "0x6003160")]
[Address(RVA = "0x754930", Offset = "0x753730", VA = "0x180754930")]
[CompilerGenerated]
private void PCCBPPIBMIP()
{
this.OnButtonAction.CNFDGDEOPPF();
}
// Token: 0x06003161 RID: 12641 RVA: 0x000CA840 File Offset: 0x000C8A40
[Token(Token = "0x6003161")]
[Address(RVA = "0x753FF0", Offset = "0x752DF0", VA = "0x180753FF0")]
[CompilerGenerated]
private void KIBKJGHJNEP(JPIJGHNNIDP PBAOMKNFBFL)
{
if (PBAOMKNFBFL == JPIJGHNNIDP.Affirmative)
{
}
MKAMHOIHOJK joeakgjofch = this.JOEAKGJOFCH;
if (joeakgjofch != 0 && joeakgjofch != 0)
{
SessionManager instance = SingletonMonoBehaviour.ONCPNMDGGKG;
SessionManager.BDPNOBGNGNI loadSceneSource = this.LoadSceneSource;
}
}
// Token: 0x040028B2 RID: 10418
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x40028B2")]
[SerializeField]
[Tooltip("If the room is instanced, this makes the button go to a private instance of it. Otherwise disables the button.")]
private GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP goToBehavior;
// Token: 0x040028B3 RID: 10419
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x40028B3")]
[SerializeField]
private GameObject notYetSupportedBanner;
// Token: 0x040028B4 RID: 10420
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x40028B4")]
private ONCGMPLDEPM BKAMMCFBLHA;
// Token: 0x040028B5 RID: 10421
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x40028B5")]
private GoToRoomOrPlaylistConditionalButton.EPAJFBOGFHN? OHEHGKGOEHL;
// Token: 0x040028B6 RID: 10422
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x40028B6")]
public OKNNKFGFODL OnButtonAction;
// Token: 0x040028B7 RID: 10423
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x40028B7")]
private MKAMHOIHOJK JOEAKGJOFCH;
// Token: 0x040028B8 RID: 10424
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x40028B8")]
public SessionManager.BDPNOBGNGNI LoadSceneSource;
// Token: 0x040028B9 RID: 10425
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
[Token(Token = "0x40028B9")]
private Coroutine JOKOCFBBFFL;
// Token: 0x020006A5 RID: 1701
[Token(Token = "0x20006A5")]
public enum CMJFFFKFAIP
{
// Token: 0x040028BB RID: 10427
[Token(Token = "0x40028BB")]
PublicInstance,
// Token: 0x040028BC RID: 10428
[Token(Token = "0x40028BC")]
PrivateInstance,
// Token: 0x040028BD RID: 10429
[Token(Token = "0x40028BD")]
AlwaysAsk,
// Token: 0x040028BE RID: 10430
[Token(Token = "0x40028BE")]
PublicInstanceChooseEntrySubroom
}
// Token: 0x020006A6 RID: 1702
[Token(Token = "0x20006A6")]
public enum EPAJFBOGFHN
{
// Token: 0x040028C0 RID: 10432
[Token(Token = "0x40028C0")]
Disabled,
// Token: 0x040028C1 RID: 10433
[Token(Token = "0x40028C1")]
Room_DNE,
// Token: 0x040028C2 RID: 10434
[Token(Token = "0x40028C2")]
Join,
// Token: 0x040028C3 RID: 10435
[Token(Token = "0x40028C3")]
Full
}
// Token: 0x020006A7 RID: 1703
[Token(Token = "0x20006A7")]
[CompilerGenerated]
private sealed class LFIEKBKODBM
{
// Token: 0x06003162 RID: 12642 RVA: 0x000CA880 File Offset: 0x000C8A80
[Token(Token = "0x6003162")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
public LFIEKBKODBM()
{
}
// Token: 0x06003163 RID: 12643 RVA: 0x000CA894 File Offset: 0x000C8A94
[Token(Token = "0x6003163")]
[Address(RVA = "0x768AC0", Offset = "0x7678C0", VA = "0x180768AC0")]
internal void <TryJoinRoom>b__0(PPENFJMFPNE roomDetails)
{
IReadOnlyList<DNACJGJEPEC> <LGPGODCCLPI>k__BackingField = roomDetails.<LGPGODCCLPI>k__BackingField;
LMLJHMJEIGM lmljhmjeigm = roomDetails.MMBJPGGOFHL;
IReadOnlyList<DNACJGJEPEC> <LGPGODCCLPI>k__BackingField2 = roomDetails.<LGPGODCCLPI>k__BackingField;
Func<DNACJGJEPEC, bool> <>9__25_ = GoToRoomOrPlaylistConditionalButton.<>c.<>9__25_1;
if (<>9__25_ == 0)
{
GoToRoomOrPlaylistConditionalButton.<>c.<>9__25_1 = delegate(DNACJGJEPEC s)
{
bool flag;
return flag;
};
}
int num = Enumerable.Count<DNACJGJEPEC>(<LGPGODCCLPI>k__BackingField2, <>9__25_);
GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP cmjfffkfaip = this.goToBehavior;
if (cmjfffkfaip == GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP.PrivateInstance)
{
}
if (cmjfffkfaip == GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP.PublicInstanceChooseEntrySubroom)
{
SessionManager instance = SingletonMonoBehaviour.ONCPNMDGGKG;
SessionManager.BDPNOBGNGNI bdpnobgngni = this.loadSceneSource;
Action action = this.done;
if (action != 0)
{
action();
}
return;
}
WatchUI <JNBAANDJIAD>k__BackingField = Player.<EGKJPJKLEAI>k__BackingField.playerUI.<JNBAANDJIAD>k__BackingField;
if (this.<>9__2 == 0)
{
Action<JPIJGHNNIDP> action2 = delegate(JPIJGHNNIDP response)
{
if (response == JPIJGHNNIDP.Affirmative)
{
Action action3 = this.done;
if (action3 != 0)
{
action3();
return;
}
}
};
this.<>9__2 = action2;
}
throw new NullReferenceException();
}
// Token: 0x06003164 RID: 12644 RVA: 0x000CA954 File Offset: 0x000C8B54
[Token(Token = "0x6003164")]
[Address(RVA = "0x768E00", Offset = "0x767C00", VA = "0x180768E00")]
internal void <TryJoinRoom>b__2(JPIJGHNNIDP response)
{
if (response == JPIJGHNNIDP.Affirmative)
{
Action action = this.done;
if (action != 0)
{
action();
return;
}
}
}
// Token: 0x040028C4 RID: 10436
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40028C4")]
public GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP goToBehavior;
// Token: 0x040028C5 RID: 10437
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
[Token(Token = "0x40028C5")]
public SessionManager.BDPNOBGNGNI loadSceneSource;
// Token: 0x040028C6 RID: 10438
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40028C6")]
public Action done;
// Token: 0x040028C7 RID: 10439
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x40028C7")]
public Action<JPIJGHNNIDP> <>9__2;
}
}