m
This commit is contained in:
@@ -0,0 +1,218 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.CompilerServices;
|
||||
using AGUI;
|
||||
using AGUI.StackedUI;
|
||||
using CodeStage.AntiCheat.ObscuredTypes;
|
||||
using Cpp2IlInjected;
|
||||
using Pathfinding.RVO;
|
||||
using UnityEngine.Events;
|
||||
|
||||
namespace RecRoom.AGUI
|
||||
{
|
||||
// Token: 0x020029C1 RID: 10689
|
||||
[Token(Token = "0x20029C1")]
|
||||
public class SelectAccountButtonsPagedGrid : RecyclerPagedGrid<CCEOLAOLEKJ, SelectAccountButton>
|
||||
{
|
||||
// Token: 0x06011D16 RID: 72982 RVA: 0x00408164 File Offset: 0x00406364
|
||||
[Token(Token = "0x6011D16")]
|
||||
[Address(RVA = "0x1868610", Offset = "0x1867610", VA = "0x181868610", Slot = "14")]
|
||||
protected override void EHDPGHCPKDB(SelectAccountButton LKDLEHGHCAD)
|
||||
{
|
||||
SelectAccountButton button = LKDLEHGHCAD;
|
||||
SelectAccountButtonsPagedGrid <>4__this = this;
|
||||
base.EHDPGHCPKDB(LKDLEHGHCAD);
|
||||
if (this.OnSelectedAccountsUpdatedEvent != (ulong)0L)
|
||||
{
|
||||
ToggleButton3D.OnToggleButton3DClick onClick = button.toggle.OnClick;
|
||||
UnityAction<bool> unityAction = delegate(bool isOn)
|
||||
{
|
||||
CCEOLAOLEKJ <PBHKKOAINGC>k__BackingField;
|
||||
SelectAccountButtonsPagedGrid <>4__this3;
|
||||
for (;;)
|
||||
{
|
||||
<PBHKKOAINGC>k__BackingField = button.<PBHKKOAINGC>k__BackingField;
|
||||
<>4__this3 = <>4__this;
|
||||
if (isOn)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (<>4__this3.EHJBIJKGDFL.Contains(<PBHKKOAINGC>k__BackingField))
|
||||
{
|
||||
goto Block_2;
|
||||
}
|
||||
}
|
||||
if (!<>4__this3.EHJBIJKGDFL.Contains(<PBHKKOAINGC>k__BackingField))
|
||||
{
|
||||
<>4__this.EHJBIJKGDFL.Add(<PBHKKOAINGC>k__BackingField);
|
||||
SelectAccountButtonsPagedGrid <>4__this2 = <>4__this;
|
||||
SelectAccountButtonsPagedGrid.SelectedAccountsUpdated onSelectedAccountsUpdatedEvent = <>4__this2.OnSelectedAccountsUpdatedEvent;
|
||||
List<CCEOLAOLEKJ> ehjbijkgdfl = <>4__this2.EHJBIJKGDFL;
|
||||
onSelectedAccountsUpdatedEvent.Invoke(ehjbijkgdfl);
|
||||
}
|
||||
return;
|
||||
Block_2:
|
||||
bool flag = <>4__this.EHJBIJKGDFL.Remove(<PBHKKOAINGC>k__BackingField);
|
||||
throw new NullReferenceException();
|
||||
};
|
||||
onClick.AddListener(unityAction);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06011D17 RID: 72983 RVA: 0x004081C4 File Offset: 0x004063C4
|
||||
[Token(Token = "0x6011D17")]
|
||||
[Address(RVA = "0x1868700", Offset = "0x1867700", VA = "0x181868700")]
|
||||
public void SetAccounts(IEnumerable<CCEOLAOLEKJ> OLLKMIGNGBF, Dictionary<int, string> OOHOGCCENKE, bool MCDPJPLJMNI)
|
||||
{
|
||||
this.HHJPOEBGHGB = OOHOGCCENKE;
|
||||
if (MCDPJPLJMNI)
|
||||
{
|
||||
Func<CCEOLAOLEKJ, bool> <>9__5_ = SelectAccountButtonsPagedGrid.<>c.<>9__5_0;
|
||||
if (<>9__5_ == 0)
|
||||
{
|
||||
SelectAccountButtonsPagedGrid.<>c.<>9__5_0 = delegate(CCEOLAOLEKJ a)
|
||||
{
|
||||
ObscuredInt <IFBPANODIPA>k__BackingField = a.<IFBPANODIPA>k__BackingField;
|
||||
bool fakeValueActive = a.<IFBPANODIPA>k__BackingField.fakeValueActive;
|
||||
LLKHFJDNFMM llkhfjdnfmm = FGPIDGLCKEF.IAHDANBDAAM(ObscuredInt.FAJDMKOEFLH(<IFBPANODIPA>k__BackingField));
|
||||
return llkhfjdnfmm == 0 || !llkhfjdnfmm.CPAAFLNLLMP;
|
||||
};
|
||||
}
|
||||
IOrderedEnumerable<CCEOLAOLEKJ> orderedEnumerable = Enumerable.OrderBy<CCEOLAOLEKJ, bool>(OLLKMIGNGBF, <>9__5_);
|
||||
Func<CCEOLAOLEKJ, string> func;
|
||||
if (SelectAccountButtonsPagedGrid.<>c.<>9__5_1 == 0)
|
||||
{
|
||||
func = (CCEOLAOLEKJ a) => a.<ODJFEIBNGPO>k__BackingField.NEFJIGBPGNM();
|
||||
SelectAccountButtonsPagedGrid.<>c.<>9__5_1 = func;
|
||||
}
|
||||
IOrderedEnumerable<CCEOLAOLEKJ> orderedEnumerable2 = Enumerable.ThenBy<CCEOLAOLEKJ, string>(orderedEnumerable, func);
|
||||
Func<CCEOLAOLEKJ, string> func2;
|
||||
if (SelectAccountButtonsPagedGrid.<>c.<>9__5_2 == 0)
|
||||
{
|
||||
func2 = (CCEOLAOLEKJ a) => a.<KHJCEENDAOL>k__BackingField.NEFJIGBPGNM();
|
||||
SelectAccountButtonsPagedGrid.<>c.<>9__5_2 = func2;
|
||||
}
|
||||
List<CCEOLAOLEKJ> list = Enumerable.ToList<CCEOLAOLEKJ>(Enumerable.ThenBy<CCEOLAOLEKJ, string>(orderedEnumerable2, func2));
|
||||
}
|
||||
float height = ((IAgent)this).Height;
|
||||
}
|
||||
|
||||
// Token: 0x06011D18 RID: 72984 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6011D18")]
|
||||
[Address(RVA = "0x4646B0", Offset = "0x4636B0", VA = "0x1804646B0")]
|
||||
public IEnumerable<SelectAccountButton> GetAllButtons()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06011D19 RID: 72985 RVA: 0x00408268 File Offset: 0x00406468
|
||||
[Token(Token = "0x6011D19")]
|
||||
[Address(RVA = "0x1868500", Offset = "0x1867500", VA = "0x181868500", Slot = "15")]
|
||||
protected override void BGIECEPGDBE(CCEOLAOLEKJ HFIDFDPOCKA, SelectAccountButton LKDLEHGHCAD, int CKOIAKLOKMM)
|
||||
{
|
||||
Dictionary<int, string> hhjpoebghgb = this.HHJPOEBGHGB;
|
||||
ObscuredInt <IFBPANODIPA>k__BackingField = HFIDFDPOCKA.<IFBPANODIPA>k__BackingField;
|
||||
bool fakeValueActive = HFIDFDPOCKA.<IFBPANODIPA>k__BackingField.fakeValueActive;
|
||||
int num = ObscuredInt.FAJDMKOEFLH(<IFBPANODIPA>k__BackingField);
|
||||
bool flag = this.EHJBIJKGDFL.Contains(HFIDFDPOCKA);
|
||||
}
|
||||
|
||||
// Token: 0x06011D1A RID: 72986 RVA: 0x004082AC File Offset: 0x004064AC
|
||||
[Token(Token = "0x6011D1A")]
|
||||
[Address(RVA = "0x18689A0", Offset = "0x18679A0", VA = "0x1818689A0")]
|
||||
public SelectAccountButtonsPagedGrid()
|
||||
{
|
||||
List<CCEOLAOLEKJ> list = new List();
|
||||
this.EHJBIJKGDFL = list;
|
||||
Dictionary<int, string> dictionary = new Dictionary();
|
||||
this.HHJPOEBGHGB = dictionary;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x0400B6AD RID: 46765
|
||||
[FieldOffset(Offset = "0xB8")]
|
||||
[Token(Token = "0x400B6AD")]
|
||||
public SelectAccountButtonsPagedGrid.SelectedAccountsUpdated OnSelectedAccountsUpdatedEvent;
|
||||
|
||||
// Token: 0x0400B6AE RID: 46766
|
||||
[FieldOffset(Offset = "0xC0")]
|
||||
[Token(Token = "0x400B6AE")]
|
||||
private List<CCEOLAOLEKJ> EHJBIJKGDFL;
|
||||
|
||||
// Token: 0x0400B6AF RID: 46767
|
||||
[FieldOffset(Offset = "0xC8")]
|
||||
[Token(Token = "0x400B6AF")]
|
||||
private Dictionary<int, string> HHJPOEBGHGB;
|
||||
|
||||
// Token: 0x020029C2 RID: 10690
|
||||
[Token(Token = "0x20029C2")]
|
||||
[Serializable]
|
||||
public class SelectedAccountsUpdated : UnityEvent<List<CCEOLAOLEKJ>>
|
||||
{
|
||||
// Token: 0x06011D1B RID: 72987 RVA: 0x004082DC File Offset: 0x004064DC
|
||||
[Token(Token = "0x6011D1B")]
|
||||
[Address(RVA = "0x1868A30", Offset = "0x1867A30", VA = "0x181868A30")]
|
||||
public SelectedAccountsUpdated()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x020029C3 RID: 10691
|
||||
[Token(Token = "0x20029C3")]
|
||||
[CompilerGenerated]
|
||||
private sealed class AGPLGCLPMMI
|
||||
{
|
||||
// Token: 0x06011D1C RID: 72988 RVA: 0x004082F0 File Offset: 0x004064F0
|
||||
[Token(Token = "0x6011D1C")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
public AGPLGCLPMMI()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06011D1D RID: 72989 RVA: 0x00408304 File Offset: 0x00406504
|
||||
[Token(Token = "0x6011D1D")]
|
||||
[Address(RVA = "0x1857FC0", Offset = "0x1856FC0", VA = "0x181857FC0")]
|
||||
internal void <SetupNewChild>b__0(bool isOn)
|
||||
{
|
||||
CCEOLAOLEKJ <PBHKKOAINGC>k__BackingField;
|
||||
SelectAccountButtonsPagedGrid selectAccountButtonsPagedGrid;
|
||||
for (;;)
|
||||
{
|
||||
<PBHKKOAINGC>k__BackingField = this.button.<PBHKKOAINGC>k__BackingField;
|
||||
selectAccountButtonsPagedGrid = this.<>4__this;
|
||||
if (isOn)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (selectAccountButtonsPagedGrid.EHJBIJKGDFL.Contains(<PBHKKOAINGC>k__BackingField))
|
||||
{
|
||||
goto Block_2;
|
||||
}
|
||||
}
|
||||
if (!selectAccountButtonsPagedGrid.EHJBIJKGDFL.Contains(<PBHKKOAINGC>k__BackingField))
|
||||
{
|
||||
this.<>4__this.EHJBIJKGDFL.Add(<PBHKKOAINGC>k__BackingField);
|
||||
SelectAccountButtonsPagedGrid selectAccountButtonsPagedGrid2 = this.<>4__this;
|
||||
SelectAccountButtonsPagedGrid.SelectedAccountsUpdated onSelectedAccountsUpdatedEvent = selectAccountButtonsPagedGrid2.OnSelectedAccountsUpdatedEvent;
|
||||
List<CCEOLAOLEKJ> ehjbijkgdfl = selectAccountButtonsPagedGrid2.EHJBIJKGDFL;
|
||||
onSelectedAccountsUpdatedEvent.Invoke(ehjbijkgdfl);
|
||||
}
|
||||
return;
|
||||
Block_2:
|
||||
bool flag = this.<>4__this.EHJBIJKGDFL.Remove(<PBHKKOAINGC>k__BackingField);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0400B6B0 RID: 46768
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400B6B0")]
|
||||
public SelectAccountButton button;
|
||||
|
||||
// Token: 0x0400B6B1 RID: 46769
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400B6B1")]
|
||||
public SelectAccountButtonsPagedGrid <>4__this;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user