196 lines
7.7 KiB
C#
196 lines
7.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Core;
|
|
using UnityEngine;
|
|
|
|
namespace AGUI.StackedUI
|
|
{
|
|
// Token: 0x02001AEE RID: 6894
|
|
[Token(Token = "0x2001AEE")]
|
|
[StructLayout(3)]
|
|
public class PeopleScreenPagedGrid : AccountPagedGrid
|
|
{
|
|
// Token: 0x17001DC6 RID: 7622
|
|
// (get) Token: 0x0600B921 RID: 47393 RVA: 0x002B74EC File Offset: 0x002B56EC
|
|
[Token(Token = "0x17001DC6")]
|
|
private PeopleWatchUIFlow AODDCDLBAMP
|
|
{
|
|
[Token(Token = "0x600B921")]
|
|
[Address(RVA = "0x1927DB0", Offset = "0x19267B0", VA = "0x181927DB0")]
|
|
get
|
|
{
|
|
return WatchUI.BFPPPLIJIGC.GetFlowByType<PeopleWatchUIFlow>();
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001DC7 RID: 7623
|
|
// (get) Token: 0x0600B922 RID: 47394 RVA: 0x002B750C File Offset: 0x002B570C
|
|
[Token(Token = "0x17001DC7")]
|
|
public int CGKMAGOGNIO
|
|
{
|
|
[Token(Token = "0x600B922")]
|
|
[Address(RVA = "0x1928030", Offset = "0x1926A30", VA = "0x181928030")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600B922)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 AGUI.StackedUI.PeopleScreenPagedGrid::get_FriendCodeSuggestThreshold()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:int32(var_0_0B, call:int32(IGCCFMFHBBN::JGGKHJCBGLF, ldstr:string("Friends.SuggestFriendCodeOnFriendsScreenCount"), ldc.i4:int32(5)))
|
|
stfld:valuetype [mscorlib]System.Nullable`1<int32>(PeopleScreenPagedGrid::JAOCFPMGADH, ldloc:PeopleScreenPagedGrid(this), ldloc:uint64[exp:valuetype [mscorlib]System.Nullable`1<int32>](var_1))
|
|
}
|
|
|
|
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: 0x17001DC8 RID: 7624
|
|
// (get) Token: 0x0600B923 RID: 47395 RVA: 0x002B752C File Offset: 0x002B572C
|
|
[Token(Token = "0x17001DC8")]
|
|
protected override bool AFPGDLJABBO
|
|
{
|
|
[Token(Token = "0x600B923")]
|
|
[Address(RVA = "0x1927E20", Offset = "0x1926820", VA = "0x181927E20", Slot = "4")]
|
|
get
|
|
{
|
|
if (!this.POBKHMLHKEL)
|
|
{
|
|
bool shouldShowFriendCodeButton = this.MOIHKHKDPGM;
|
|
if (!shouldShowFriendCodeButton)
|
|
{
|
|
return shouldShowFriendCodeButton;
|
|
}
|
|
}
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001DC9 RID: 7625
|
|
// (get) Token: 0x0600B924 RID: 47396 RVA: 0x002B7550 File Offset: 0x002B5750
|
|
[Token(Token = "0x17001DC9")]
|
|
public bool MOIHKHKDPGM
|
|
{
|
|
[Token(Token = "0x600B924")]
|
|
[Address(RVA = "0x19280F0", Offset = "0x1926AF0", VA = "0x1819280F0")]
|
|
get
|
|
{
|
|
AccountSpecificUIBehaviour.PlayerDisplayMode didfoliheff = WatchUI.BFPPPLIJIGC.GetFlowByType<PeopleWatchUIFlow>().DIDFOLIHEFF;
|
|
if (didfoliheff != AccountSpecificUIBehaviour.PlayerDisplayMode.Recent)
|
|
{
|
|
if (didfoliheff != AccountSpecificUIBehaviour.PlayerDisplayMode.Friends)
|
|
{
|
|
}
|
|
int num = IGCCFMFHBBN.JGGKHJCBGLF("Friends.SuggestFriendCodeOnFriendsScreenCount", 5);
|
|
ulong num2;
|
|
this.JAOCFPMGADH = num2;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
bool flag2;
|
|
return flag2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001DCA RID: 7626
|
|
// (get) Token: 0x0600B925 RID: 47397 RVA: 0x002B7598 File Offset: 0x002B5798
|
|
[Token(Token = "0x17001DCA")]
|
|
private bool POBKHMLHKEL
|
|
{
|
|
[Token(Token = "0x600B925")]
|
|
[Address(RVA = "0x1927CE0", Offset = "0x19266E0", VA = "0x181927CE0")]
|
|
get
|
|
{
|
|
if (WatchUI.BFPPPLIJIGC.GetFlowByType<PeopleWatchUIFlow>().DIDFOLIHEFF != AccountSpecificUIBehaviour.PlayerDisplayMode.Friends)
|
|
{
|
|
}
|
|
bool? flag = KKHJMCMNJBE.JCIPKIKBFBE();
|
|
bool value;
|
|
if (flag != 0)
|
|
{
|
|
value = flag.value != null;
|
|
}
|
|
return value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B926 RID: 47398 RVA: 0x002B75D8 File Offset: 0x002B57D8
|
|
[Token(Token = "0x600B926")]
|
|
[Address(RVA = "0x1927E60", Offset = "0x1926860", VA = "0x181927E60", Slot = "11")]
|
|
protected override void LOCAAEOINGG()
|
|
{
|
|
int pageSize = this.pageSize;
|
|
bool flag = this.POBKHMLHKEL;
|
|
Button3D button3D = this.importFriendsButton;
|
|
if (!flag)
|
|
{
|
|
GameObject gameObject = button3D.gameObject;
|
|
}
|
|
int kdpehphodcd = this.KDPEHPHODCD;
|
|
bool flag2;
|
|
button3D.gameObject.SetActive(flag2);
|
|
bool shouldShowFriendCodeButton = this.MOIHKHKDPGM;
|
|
Button3D button3D2 = this.generateFriendCodeButton;
|
|
if (!shouldShowFriendCodeButton)
|
|
{
|
|
GameObject gameObject2 = button3D2.gameObject;
|
|
}
|
|
int kdpehphodcd2 = this.KDPEHPHODCD;
|
|
GameObject gameObject3;
|
|
bool flag3;
|
|
gameObject3.SetActive(flag3);
|
|
IEnumerable<CCEOLAOLEKJ> enumerable;
|
|
List<CCEOLAOLEKJ> list = Enumerable.ToList<CCEOLAOLEKJ>(enumerable);
|
|
bool isCompleted = ((IAsyncResult)this).IsCompleted;
|
|
}
|
|
|
|
// Token: 0x0600B927 RID: 47399 RVA: 0x002B7660 File Offset: 0x002B5860
|
|
[Token(Token = "0x600B927")]
|
|
[Address(RVA = "0x1928020", Offset = "0x1926A20", VA = "0x181928020")]
|
|
public PeopleScreenPagedGrid()
|
|
{
|
|
}
|
|
|
|
// Token: 0x040079B1 RID: 31153
|
|
[Token(Token = "0x40079B1")]
|
|
private const int ILNNMCGDFMB = 5;
|
|
|
|
// Token: 0x040079B2 RID: 31154
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x40079B2")]
|
|
[SerializeField]
|
|
[Tooltip("Shown in the first spot of the first page")]
|
|
private Button3D importFriendsButton;
|
|
|
|
// Token: 0x040079B3 RID: 31155
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x40079B3")]
|
|
[SerializeField]
|
|
[Tooltip("Shown in the first available spot of the first page if player has less than X friends")]
|
|
private Button3D generateFriendCodeButton;
|
|
|
|
// Token: 0x040079B4 RID: 31156
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x40079B4")]
|
|
private int? JAOCFPMGADH;
|
|
|
|
// Token: 0x040079B5 RID: 31157
|
|
[Token(Token = "0x40079B5")]
|
|
private static string ECMFMGOEABM = "Friends.SuggestFriendCodeOnFriendsScreenCount";
|
|
}
|
|
}
|