181 lines
6.9 KiB
C#
181 lines
6.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.CompilerServices;
|
|
using AGUI;
|
|
using AGUI.StackedUI;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine.Events;
|
|
|
|
namespace RecRoom.AGUI.ToolUIs
|
|
{
|
|
// Token: 0x02002940 RID: 10560
|
|
[Token(Token = "0x2002940")]
|
|
public class WatchStoreInventionsPagedGrid : RecyclerPagedGrid<OBBBPCBIMME, WatchStoreInventionButton>
|
|
{
|
|
// Token: 0x06011B79 RID: 72569 RVA: 0x004087A4 File Offset: 0x004069A4
|
|
[Token(Token = "0x6011B79")]
|
|
[Address(RVA = "0x801340", Offset = "0x800140", VA = "0x180801340", Slot = "14")]
|
|
protected override void EHDPGHCPKDB(WatchStoreInventionButton LKDLEHGHCAD)
|
|
{
|
|
WatchStoreInventionButton button = LKDLEHGHCAD;
|
|
base.EHDPGHCPKDB(LKDLEHGHCAD);
|
|
if (this.OnInventionSelectedEvent != (ulong)0L)
|
|
{
|
|
Button3D.OnButton3DClick getButtonAction = button.KGKBJOJICAG;
|
|
UnityAction unityAction = delegate
|
|
{
|
|
WatchStoreInventionsPagedGrid <>4__this = this;
|
|
WatchStoreInventionButton button4 = button;
|
|
WatchStoreInventionsPagedGrid.InventionSelectedEvent onInventionSelectedEvent = <>4__this.OnInventionSelectedEvent;
|
|
OBBBPCBIMME glpnkojpjha = button4.GLPNKOJPJHA;
|
|
onInventionSelectedEvent.Invoke(glpnkojpjha);
|
|
};
|
|
getButtonAction.AddListener(unityAction);
|
|
}
|
|
if (this.OnInventionTrialEvent != (ulong)0L)
|
|
{
|
|
Button3D.OnButton3DClick tryButtonAction = button.KBAOOEAOPPH;
|
|
UnityAction unityAction2 = delegate
|
|
{
|
|
WatchStoreInventionsPagedGrid <>4__this2 = this;
|
|
WatchStoreInventionButton button2 = button;
|
|
WatchStoreInventionsPagedGrid.InventionSelectedEvent onInventionTrialEvent = <>4__this2.OnInventionTrialEvent;
|
|
OBBBPCBIMME glpnkojpjha2 = button2.GLPNKOJPJHA;
|
|
onInventionTrialEvent.Invoke(glpnkojpjha2);
|
|
};
|
|
tryButtonAction.AddListener(unityAction2);
|
|
}
|
|
if (this.OnInventionInfoEvent != (ulong)0L)
|
|
{
|
|
Button3D.OnButton3DClick infoButtonAction = button.HBPBKENMNJB;
|
|
UnityAction unityAction3 = delegate
|
|
{
|
|
WatchStoreInventionsPagedGrid <>4__this3 = this;
|
|
WatchStoreInventionButton button3 = button;
|
|
WatchStoreInventionsPagedGrid.InventionSelectedEvent onInventionInfoEvent = <>4__this3.OnInventionInfoEvent;
|
|
OBBBPCBIMME glpnkojpjha3 = button3.GLPNKOJPJHA;
|
|
onInventionInfoEvent.Invoke(glpnkojpjha3);
|
|
};
|
|
infoButtonAction.AddListener(unityAction3);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06011B7A RID: 72570 RVA: 0x0040885C File Offset: 0x00406A5C
|
|
[Token(Token = "0x6011B7A")]
|
|
[Address(RVA = "0x8014E0", Offset = "0x8002E0", VA = "0x1808014E0")]
|
|
public void SetInventions(IEnumerable<OBBBPCBIMME> HEIDKAMCPIL, OBBBPCBIMME EGJJHJHIPCF, bool EEFDDMLCDEM = true)
|
|
{
|
|
if (Enumerable.Count<OBBBPCBIMME>(HEIDKAMCPIL) != 0)
|
|
{
|
|
bool isCompleted = ((IAsyncResult)this).IsCompleted;
|
|
return;
|
|
}
|
|
bool flag = this.NBMNLHLDOGF();
|
|
PLDMAFINLJO.FANDNIHFMNM(this.emptyDisplayText, "Could not find any inventions.");
|
|
}
|
|
|
|
// Token: 0x06011B7B RID: 72571 RVA: 0x00408894 File Offset: 0x00406A94
|
|
[Token(Token = "0x6011B7B")]
|
|
[Address(RVA = "0x801310", Offset = "0x800110", VA = "0x180801310", Slot = "15")]
|
|
protected override void BGIECEPGDBE(OBBBPCBIMME LDNFNNNHPPB, WatchStoreInventionButton LKDLEHGHCAD, int CKOIAKLOKMM)
|
|
{
|
|
LKDLEHGHCAD.SetInvention(LDNFNNNHPPB);
|
|
}
|
|
|
|
// Token: 0x06011B7C RID: 72572 RVA: 0x004088B0 File Offset: 0x00406AB0
|
|
[Token(Token = "0x6011B7C")]
|
|
[Address(RVA = "0x801620", Offset = "0x800420", VA = "0x180801620")]
|
|
public WatchStoreInventionsPagedGrid()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400B63F RID: 46655
|
|
[FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x400B63F")]
|
|
public WatchStoreInventionsPagedGrid.InventionSelectedEvent OnInventionSelectedEvent;
|
|
|
|
// Token: 0x0400B640 RID: 46656
|
|
[FieldOffset(Offset = "0xC0")]
|
|
[Token(Token = "0x400B640")]
|
|
public WatchStoreInventionsPagedGrid.InventionSelectedEvent OnInventionTrialEvent;
|
|
|
|
// Token: 0x0400B641 RID: 46657
|
|
[FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x400B641")]
|
|
public WatchStoreInventionsPagedGrid.InventionSelectedEvent OnInventionInfoEvent;
|
|
|
|
// Token: 0x02002941 RID: 10561
|
|
[Token(Token = "0x2002941")]
|
|
[Serializable]
|
|
public class InventionSelectedEvent : UnityEvent<OBBBPCBIMME>
|
|
{
|
|
// Token: 0x06011B7D RID: 72573 RVA: 0x004088C4 File Offset: 0x00406AC4
|
|
[Token(Token = "0x6011B7D")]
|
|
[Address(RVA = "0x7FFA40", Offset = "0x7FE840", VA = "0x1807FFA40")]
|
|
public InventionSelectedEvent()
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x02002942 RID: 10562
|
|
[Token(Token = "0x2002942")]
|
|
[CompilerGenerated]
|
|
private sealed class DPEPCOCCEIN
|
|
{
|
|
// Token: 0x06011B7E RID: 72574 RVA: 0x004088D8 File Offset: 0x00406AD8
|
|
[Token(Token = "0x6011B7E")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public DPEPCOCCEIN()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06011B7F RID: 72575 RVA: 0x004088EC File Offset: 0x00406AEC
|
|
[Token(Token = "0x6011B7F")]
|
|
[Address(RVA = "0x7FF4B0", Offset = "0x7FE2B0", VA = "0x1807FF4B0")]
|
|
internal void <SetupNewChild>b__0()
|
|
{
|
|
WatchStoreInventionsPagedGrid watchStoreInventionsPagedGrid = this.<>4__this;
|
|
WatchStoreInventionButton watchStoreInventionButton = this.button;
|
|
WatchStoreInventionsPagedGrid.InventionSelectedEvent onInventionSelectedEvent = watchStoreInventionsPagedGrid.OnInventionSelectedEvent;
|
|
OBBBPCBIMME glpnkojpjha = watchStoreInventionButton.GLPNKOJPJHA;
|
|
onInventionSelectedEvent.Invoke(glpnkojpjha);
|
|
}
|
|
|
|
// Token: 0x06011B80 RID: 72576 RVA: 0x00408924 File Offset: 0x00406B24
|
|
[Token(Token = "0x6011B80")]
|
|
[Address(RVA = "0x7FF510", Offset = "0x7FE310", VA = "0x1807FF510")]
|
|
internal void <SetupNewChild>b__1()
|
|
{
|
|
WatchStoreInventionsPagedGrid watchStoreInventionsPagedGrid = this.<>4__this;
|
|
WatchStoreInventionButton watchStoreInventionButton = this.button;
|
|
WatchStoreInventionsPagedGrid.InventionSelectedEvent onInventionTrialEvent = watchStoreInventionsPagedGrid.OnInventionTrialEvent;
|
|
OBBBPCBIMME glpnkojpjha = watchStoreInventionButton.GLPNKOJPJHA;
|
|
onInventionTrialEvent.Invoke(glpnkojpjha);
|
|
}
|
|
|
|
// Token: 0x06011B81 RID: 72577 RVA: 0x0040895C File Offset: 0x00406B5C
|
|
[Token(Token = "0x6011B81")]
|
|
[Address(RVA = "0x7FF570", Offset = "0x7FE370", VA = "0x1807FF570")]
|
|
internal void <SetupNewChild>b__2()
|
|
{
|
|
WatchStoreInventionsPagedGrid watchStoreInventionsPagedGrid = this.<>4__this;
|
|
WatchStoreInventionButton watchStoreInventionButton = this.button;
|
|
WatchStoreInventionsPagedGrid.InventionSelectedEvent onInventionInfoEvent = watchStoreInventionsPagedGrid.OnInventionInfoEvent;
|
|
OBBBPCBIMME glpnkojpjha = watchStoreInventionButton.GLPNKOJPJHA;
|
|
onInventionInfoEvent.Invoke(glpnkojpjha);
|
|
}
|
|
|
|
// Token: 0x0400B642 RID: 46658
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400B642")]
|
|
public WatchStoreInventionsPagedGrid <>4__this;
|
|
|
|
// Token: 0x0400B643 RID: 46659
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400B643")]
|
|
public WatchStoreInventionButton button;
|
|
}
|
|
}
|
|
}
|