Files
27Aug2021-Cpp2IL-Dump/Assembly-CSharp/GoToRoomOrPlaylistConditionalButton.cs
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

645 lines
22 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 Pathfinding.RVO;
using RecNet;
using RecRoom.Core;
using TMPro;
using UnityEngine;
// Token: 0x020006AF RID: 1711
[Token(Token = "0x20006AF")]
public class GoToRoomOrPlaylistConditionalButton : ConditionalButton<Button3D>
{
// Token: 0x1700088E RID: 2190
// (get) Token: 0x060031CF RID: 12751 RVA: 0x000CAD38 File Offset: 0x000C8F38
// (set) Token: 0x060031D0 RID: 12752 RVA: 0x000CAD4C File Offset: 0x000C8F4C
[Token(Token = "0x1700088E")]
public GoToRoomOrPlaylistConditionalButton.EPAJFBOGFHN? IPGJBMIAACB
{
[Token(Token = "0x60031CF")]
[Address(RVA = "0x4936E0", Offset = "0x4926E0", VA = "0x1804936E0")]
get
{
return this.OHEHGKGOEHL;
}
[Token(Token = "0x60031D0")]
[Address(RVA = "0x12C3A20", Offset = "0x12C2A20", VA = "0x1812C3A20")]
set
{
GoToRoomOrPlaylistConditionalButton.EPAJFBOGFHN? ohehgkgoehl = this.OHEHGKGOEHL;
bool flag = ohehgkgoehl == value;
if (ohehgkgoehl == value == flag)
{
this.OHEHGKGOEHL = value;
this.OnEnable();
}
}
}
// Token: 0x1700088F RID: 2191
// (get) Token: 0x060031D1 RID: 12753 RVA: 0x000CAD7C File Offset: 0x000C8F7C
[Token(Token = "0x1700088F")]
public MKAMHOIHOJK OENNFPFCIFM
{
[Token(Token = "0x60031D1")]
[Address(RVA = "0x417720", Offset = "0x416720", VA = "0x180417720")]
get
{
return this.JOEAKGJOFCH;
}
}
// Token: 0x060031D2 RID: 12754 RVA: 0x000CAD90 File Offset: 0x000C8F90
[Token(Token = "0x60031D2")]
[Address(RVA = "0x12C3630", Offset = "0x12C2630", VA = "0x1812C3630")]
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);
}
float height = ((IAgent)this).Height;
}
// Token: 0x17000890 RID: 2192
// (get) Token: 0x060031D3 RID: 12755 RVA: 0x000CAE2C File Offset: 0x000C902C
// (set) Token: 0x060031D4 RID: 12756 RVA: 0x000CAE4C File Offset: 0x000C904C
[Token(Token = "0x17000890")]
public bool JMMLBJBNGMB
{
[Token(Token = "0x60031D3")]
[Address(RVA = "0x12C39E0", Offset = "0x12C29E0", VA = "0x1812C39E0")]
get
{
return this.button.JMMLBJBNGMB;
}
[Token(Token = "0x60031D4")]
[Address(RVA = "0x12C3A00", Offset = "0x12C2A00", VA = "0x1812C3A00")]
set
{
this.button.JMMLBJBNGMB = value;
}
}
// Token: 0x060031D5 RID: 12757 RVA: 0x000CAE6C File Offset: 0x000C906C
[Token(Token = "0x60031D5")]
[Address(RVA = "0x12C35B0", Offset = "0x12C25B0", VA = "0x1812C35B0", Slot = "5")]
protected override void PICEBFBCNCL()
{
if (!SingletonMonoBehaviour.ONCPNMDGGKG.<KGHBOCPLIMP>k__BackingField)
{
this.OAEHMGJNLDP();
return;
}
int num = 0;
base.ILGFOHIJHMG = num;
}
// Token: 0x060031D6 RID: 12758 RVA: 0x000CAE9C File Offset: 0x000C909C
[Token(Token = "0x60031D6")]
[Address(RVA = "0x12C3330", Offset = "0x12C2330", VA = "0x1812C3330")]
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: 0x060031D7 RID: 12759 RVA: 0x000CAFAC File Offset: 0x000C91AC
[Token(Token = "0x60031D7")]
[Address(RVA = "0x12C31F0", Offset = "0x12C21F0", VA = "0x1812C31F0", 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: 0x060031D8 RID: 12760 RVA: 0x000CB018 File Offset: 0x000C9218
[Token(Token = "0x60031D8")]
[Address(RVA = "0x12C2D00", Offset = "0x12C1D00", VA = "0x1812C2D00", Slot = "7")]
protected override bool HOCJDEBMOLM()
{
int cieebjfcmib = this.CIEEBJFCMIB;
if (base.HOCJDEBMOLM() && cieebjfcmib != 3)
{
return cieebjfcmib != 1;
}
}
// Token: 0x060031D9 RID: 12761 RVA: 0x000CB044 File Offset: 0x000C9244
[Token(Token = "0x60031D9")]
[Address(RVA = "0x12C3090", Offset = "0x12C2090", VA = "0x1812C3090", 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: 0x060031DA RID: 12762 RVA: 0x000CB084 File Offset: 0x000C9284
[Token(Token = "0x60031DA")]
[Address(RVA = "0x12C2870", Offset = "0x12C1870", VA = "0x1812C2870")]
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;
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 joeakgjofch = this.JOEAKGJOFCH;
while (joeakgjofch == 0)
{
}
while (joeakgjofch == 0)
{
}
GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP cmjfffkfaip = this.goToBehavior;
SessionManager.BDPNOBGNGNI loadSceneSource = this.LoadSceneSource;
Action action = new Action(this.PCCBPPIBMIP);
}
SingletonMonoBehaviour.ONCPNMDGGKG.LogGGFAnalyticEvent("show_age_prompt");
WatchUI local = WatchUI.BFPPPLIJIGC;
Action action2 = new Action(this.EJHAHINCKOI);
int num4 = 0;
int num5 = 0;
PMGCJEPKFOF<int?> pmgcjepkfof = local.ShowAgeDialog(num5, num4, num3, action2);
Action<int?> action3 = new Action(this.LIHHEOJCBHI);
if (num3 < this)
{
num3 += num3;
if (num3 != this)
{
num3++;
}
}
pmgcjepkfof += pmgcjepkfof;
num3 += 19;
throw new NullReferenceException();
}
// Token: 0x060031DB RID: 12763 RVA: 0x000CB1D4 File Offset: 0x000C93D4
[Token(Token = "0x60031DB")]
[Address(RVA = "0x12C3290", Offset = "0x12C2290", VA = "0x1812C3290")]
private void NDMHNNFGKEC(KLCOGEIGEBJ DDEGOJKBEAN)
{
GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP cmjfffkfaip = this.goToBehavior;
SessionManager.BDPNOBGNGNI loadSceneSource = this.LoadSceneSource;
Action action = new Action(this.PCCBPPIBMIP);
}
// Token: 0x060031DC RID: 12764 RVA: 0x000CB1FC File Offset: 0x000C93FC
[Token(Token = "0x60031DC")]
[Address(RVA = "0x12C3790", Offset = "0x12C2790", VA = "0x1812C3790")]
public static void TryJoinRoom(KLCOGEIGEBJ DDEGOJKBEAN, GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP ACIFFFKMOCP, SessionManager.BDPNOBGNGNI EKNHEEDECPK, [Optional] Action ODJIMNEMMMP)
{
if (!SingletonMonoBehaviour.ONCPNMDGGKG.<KGHBOCPLIMP>k__BackingField)
{
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 loadSceneSource = EKNHEEDECPK;
Action done = ODJIMNEMMMP;
if (done != 0)
{
done();
}
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 = ODJIMNEMMMP;
if (done2 != 0)
{
done2();
return;
}
}
};
<>9__2 = action2;
}
throw new NullReferenceException();
};
int num2 = 0;
num2 += num2;
num2++;
}
}
// Token: 0x060031DD RID: 12765 RVA: 0x000CB288 File Offset: 0x000C9488
[Token(Token = "0x60031DD")]
[Address(RVA = "0x12C2D30", Offset = "0x12C1D30", VA = "0x1812C2D30")]
private IEnumerator KBNHACLKHFC()
{
/*
An exception occurred when decompiling this method (060031DD)
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: 0x060031DE RID: 12766 RVA: 0x000CB2AC File Offset: 0x000C94AC
[Token(Token = "0x60031DE")]
[Address(RVA = "0x12C2ED0", Offset = "0x12C1ED0", VA = "0x1812C2ED0")]
private string LEOBICNMOEI(MKAMHOIHOJK PEOBMOOENJD)
{
if (PEOBMOOENJD != 0 && PEOBMOOENJD == 0)
{
return PEOBMOOENJD.<LGACIEKBLBM>k__BackingField;
}
}
// Token: 0x060031DF RID: 12767 RVA: 0x000CB2CC File Offset: 0x000C94CC
[Token(Token = "0x60031DF")]
[Address(RVA = "0x12C3970", Offset = "0x12C2970", VA = "0x1812C3970")]
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: 0x060031E0 RID: 12768 RVA: 0x000CB2F4 File Offset: 0x000C94F4
[Token(Token = "0x60031E0")]
[Address(RVA = "0x12C2F50", Offset = "0x12C1F50", VA = "0x1812C2F50")]
[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: 0x060031E1 RID: 12769 RVA: 0x000CB34C File Offset: 0x000C954C
[Token(Token = "0x60031E1")]
[Address(RVA = "0x12C3590", Offset = "0x12C2590", VA = "0x1812C3590")]
[CompilerGenerated]
private void PCCBPPIBMIP()
{
this.OnButtonAction.CNFDGDEOPPF();
}
// Token: 0x060031E2 RID: 12770 RVA: 0x000CB36C File Offset: 0x000C956C
[Token(Token = "0x60031E2")]
[Address(RVA = "0x12C2D90", Offset = "0x12C1D90", VA = "0x1812C2D90")]
[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: 0x04002918 RID: 10520
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4002918")]
[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: 0x04002919 RID: 10521
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4002919")]
[SerializeField]
private GameObject notYetSupportedBanner;
// Token: 0x0400291A RID: 10522
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x400291A")]
private ONCGMPLDEPM BKAMMCFBLHA;
// Token: 0x0400291B RID: 10523
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x400291B")]
private GoToRoomOrPlaylistConditionalButton.EPAJFBOGFHN? OHEHGKGOEHL;
// Token: 0x0400291C RID: 10524
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x400291C")]
public OKNNKFGFODL OnButtonAction;
// Token: 0x0400291D RID: 10525
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x400291D")]
private MKAMHOIHOJK JOEAKGJOFCH;
// Token: 0x0400291E RID: 10526
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x400291E")]
public SessionManager.BDPNOBGNGNI LoadSceneSource;
// Token: 0x0400291F RID: 10527
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
[Token(Token = "0x400291F")]
private Coroutine JOKOCFBBFFL;
// Token: 0x020006B0 RID: 1712
[Token(Token = "0x20006B0")]
public enum CMJFFFKFAIP
{
// Token: 0x04002921 RID: 10529
[Token(Token = "0x4002921")]
PublicInstance,
// Token: 0x04002922 RID: 10530
[Token(Token = "0x4002922")]
PrivateInstance,
// Token: 0x04002923 RID: 10531
[Token(Token = "0x4002923")]
AlwaysAsk,
// Token: 0x04002924 RID: 10532
[Token(Token = "0x4002924")]
PublicInstanceChooseEntrySubroom
}
// Token: 0x020006B1 RID: 1713
[Token(Token = "0x20006B1")]
public enum EPAJFBOGFHN
{
// Token: 0x04002926 RID: 10534
[Token(Token = "0x4002926")]
Disabled,
// Token: 0x04002927 RID: 10535
[Token(Token = "0x4002927")]
Room_DNE,
// Token: 0x04002928 RID: 10536
[Token(Token = "0x4002928")]
Join,
// Token: 0x04002929 RID: 10537
[Token(Token = "0x4002929")]
Full
}
// Token: 0x020006B2 RID: 1714
[Token(Token = "0x20006B2")]
[CompilerGenerated]
private sealed class LFIEKBKODBM
{
// Token: 0x060031E3 RID: 12771 RVA: 0x000CB3AC File Offset: 0x000C95AC
[Token(Token = "0x60031E3")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
public LFIEKBKODBM()
{
}
// Token: 0x060031E4 RID: 12772 RVA: 0x000CB3C0 File Offset: 0x000C95C0
[Token(Token = "0x60031E4")]
[Address(RVA = "0x12D5EC0", Offset = "0x12D4EC0", VA = "0x1812D5EC0")]
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: 0x060031E5 RID: 12773 RVA: 0x000CB480 File Offset: 0x000C9680
[Token(Token = "0x60031E5")]
[Address(RVA = "0x12D6200", Offset = "0x12D5200", VA = "0x1812D6200")]
internal void <TryJoinRoom>b__2(JPIJGHNNIDP response)
{
if (response == JPIJGHNNIDP.Affirmative)
{
Action action = this.done;
if (action != 0)
{
action();
return;
}
}
}
// Token: 0x0400292A RID: 10538
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x400292A")]
public GoToRoomOrPlaylistConditionalButton.CMJFFFKFAIP goToBehavior;
// Token: 0x0400292B RID: 10539
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
[Token(Token = "0x400292B")]
public SessionManager.BDPNOBGNGNI loadSceneSource;
// Token: 0x0400292C RID: 10540
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x400292C")]
public Action done;
// Token: 0x0400292D RID: 10541
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x400292D")]
public Action<JPIJGHNNIDP> <>9__2;
}
}