183 lines
7.0 KiB
C#
183 lines
7.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using AGUI;
|
|
using AGUI.StackedUI;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine.Events;
|
|
|
|
namespace RecRoom.AGUI.ToolUIs
|
|
{
|
|
// Token: 0x020024BC RID: 9404
|
|
[Token(Token = "0x20024BC")]
|
|
[StructLayout(3)]
|
|
public class WatchStoreInventionsPagedGrid : RecyclerPagedGrid<OBBBPCBIMME, WatchStoreInventionButton>
|
|
{
|
|
// Token: 0x060103DC RID: 66524 RVA: 0x003CE318 File Offset: 0x003CC518
|
|
[Token(Token = "0x60103DC")]
|
|
[Address(RVA = "0x1568D70", Offset = "0x1567770", VA = "0x181568D70", 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: 0x060103DD RID: 66525 RVA: 0x003CE3D0 File Offset: 0x003CC5D0
|
|
[Token(Token = "0x60103DD")]
|
|
[Address(RVA = "0x1568F10", Offset = "0x1567910", VA = "0x181568F10")]
|
|
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: 0x060103DE RID: 66526 RVA: 0x003CE408 File Offset: 0x003CC608
|
|
[Token(Token = "0x60103DE")]
|
|
[Address(RVA = "0x1568D40", Offset = "0x1567740", VA = "0x181568D40", Slot = "15")]
|
|
protected override void BGIECEPGDBE(OBBBPCBIMME LDNFNNNHPPB, WatchStoreInventionButton LKDLEHGHCAD, int CKOIAKLOKMM)
|
|
{
|
|
LKDLEHGHCAD.SetInvention(LDNFNNNHPPB);
|
|
}
|
|
|
|
// Token: 0x060103DF RID: 66527 RVA: 0x003CE424 File Offset: 0x003CC624
|
|
[Token(Token = "0x60103DF")]
|
|
[Address(RVA = "0x1569050", Offset = "0x1567A50", VA = "0x181569050")]
|
|
public WatchStoreInventionsPagedGrid()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400AC88 RID: 44168
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x400AC88")]
|
|
public WatchStoreInventionsPagedGrid.InventionSelectedEvent OnInventionSelectedEvent;
|
|
|
|
// Token: 0x0400AC89 RID: 44169
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC0")]
|
|
[Token(Token = "0x400AC89")]
|
|
public WatchStoreInventionsPagedGrid.InventionSelectedEvent OnInventionTrialEvent;
|
|
|
|
// Token: 0x0400AC8A RID: 44170
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x400AC8A")]
|
|
public WatchStoreInventionsPagedGrid.InventionSelectedEvent OnInventionInfoEvent;
|
|
|
|
// Token: 0x020024BD RID: 9405
|
|
[Token(Token = "0x20024BD")]
|
|
[Serializable]
|
|
public class InventionSelectedEvent : UnityEvent<OBBBPCBIMME>
|
|
{
|
|
// Token: 0x060103E0 RID: 66528 RVA: 0x003CE438 File Offset: 0x003CC638
|
|
[Token(Token = "0x60103E0")]
|
|
[Address(RVA = "0x1565AA0", Offset = "0x15644A0", VA = "0x181565AA0")]
|
|
public InventionSelectedEvent()
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x020024BE RID: 9406
|
|
[Token(Token = "0x20024BE")]
|
|
[CompilerGenerated]
|
|
private sealed class DPEPCOCCEIN
|
|
{
|
|
// Token: 0x060103E1 RID: 66529 RVA: 0x003CE44C File Offset: 0x003CC64C
|
|
[Token(Token = "0x60103E1")]
|
|
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
|
public DPEPCOCCEIN()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060103E2 RID: 66530 RVA: 0x003CE460 File Offset: 0x003CC660
|
|
[Token(Token = "0x60103E2")]
|
|
[Address(RVA = "0x1565510", Offset = "0x1563F10", VA = "0x181565510")]
|
|
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: 0x060103E3 RID: 66531 RVA: 0x003CE498 File Offset: 0x003CC698
|
|
[Token(Token = "0x60103E3")]
|
|
[Address(RVA = "0x1565570", Offset = "0x1563F70", VA = "0x181565570")]
|
|
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: 0x060103E4 RID: 66532 RVA: 0x003CE4D0 File Offset: 0x003CC6D0
|
|
[Token(Token = "0x60103E4")]
|
|
[Address(RVA = "0x15655D0", Offset = "0x1563FD0", VA = "0x1815655D0")]
|
|
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: 0x0400AC8B RID: 44171
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400AC8B")]
|
|
public WatchStoreInventionsPagedGrid <>4__this;
|
|
|
|
// Token: 0x0400AC8C RID: 44172
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400AC8C")]
|
|
public WatchStoreInventionButton button;
|
|
}
|
|
}
|
|
}
|