182 lines
6.9 KiB
C#
182 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 Pathfinding.RVO;
|
|
using UnityEngine.Events;
|
|
|
|
namespace RecRoom.AGUI.ToolUIs
|
|
{
|
|
// Token: 0x02002A29 RID: 10793
|
|
[Token(Token = "0x2002A29")]
|
|
public class WatchStoreInventionsPagedGrid : RecyclerPagedGrid<OBBBPCBIMME, WatchStoreInventionButton>
|
|
{
|
|
// Token: 0x06011FB5 RID: 73653 RVA: 0x00412174 File Offset: 0x00410374
|
|
[Token(Token = "0x6011FB5")]
|
|
[Address(RVA = "0x12F6180", Offset = "0x12F5180", VA = "0x1812F6180", 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: 0x06011FB6 RID: 73654 RVA: 0x0041222C File Offset: 0x0041042C
|
|
[Token(Token = "0x6011FB6")]
|
|
[Address(RVA = "0x12F6320", Offset = "0x12F5320", VA = "0x1812F6320")]
|
|
public void SetInventions(IEnumerable<OBBBPCBIMME> HEIDKAMCPIL, OBBBPCBIMME EGJJHJHIPCF, bool EEFDDMLCDEM = true)
|
|
{
|
|
if (Enumerable.Count<OBBBPCBIMME>(HEIDKAMCPIL) != 0)
|
|
{
|
|
float height = ((IAgent)this).Height;
|
|
return;
|
|
}
|
|
bool flag = this.NBMNLHLDOGF();
|
|
PLDMAFINLJO.FANDNIHFMNM(this.emptyDisplayText, "Could not find any inventions.");
|
|
}
|
|
|
|
// Token: 0x06011FB7 RID: 73655 RVA: 0x00412264 File Offset: 0x00410464
|
|
[Token(Token = "0x6011FB7")]
|
|
[Address(RVA = "0x12F6150", Offset = "0x12F5150", VA = "0x1812F6150", Slot = "15")]
|
|
protected override void BGIECEPGDBE(OBBBPCBIMME LDNFNNNHPPB, WatchStoreInventionButton LKDLEHGHCAD, int CKOIAKLOKMM)
|
|
{
|
|
LKDLEHGHCAD.SetInvention(LDNFNNNHPPB);
|
|
}
|
|
|
|
// Token: 0x06011FB8 RID: 73656 RVA: 0x00412280 File Offset: 0x00410480
|
|
[Token(Token = "0x6011FB8")]
|
|
[Address(RVA = "0x12F6460", Offset = "0x12F5460", VA = "0x1812F6460")]
|
|
public WatchStoreInventionsPagedGrid()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400B84F RID: 47183
|
|
[FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x400B84F")]
|
|
public WatchStoreInventionsPagedGrid.InventionSelectedEvent OnInventionSelectedEvent;
|
|
|
|
// Token: 0x0400B850 RID: 47184
|
|
[FieldOffset(Offset = "0xC0")]
|
|
[Token(Token = "0x400B850")]
|
|
public WatchStoreInventionsPagedGrid.InventionSelectedEvent OnInventionTrialEvent;
|
|
|
|
// Token: 0x0400B851 RID: 47185
|
|
[FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x400B851")]
|
|
public WatchStoreInventionsPagedGrid.InventionSelectedEvent OnInventionInfoEvent;
|
|
|
|
// Token: 0x02002A2A RID: 10794
|
|
[Token(Token = "0x2002A2A")]
|
|
[Serializable]
|
|
public class InventionSelectedEvent : UnityEvent<OBBBPCBIMME>
|
|
{
|
|
// Token: 0x06011FB9 RID: 73657 RVA: 0x00412294 File Offset: 0x00410494
|
|
[Token(Token = "0x6011FB9")]
|
|
[Address(RVA = "0x12F4880", Offset = "0x12F3880", VA = "0x1812F4880")]
|
|
public InventionSelectedEvent()
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x02002A2B RID: 10795
|
|
[Token(Token = "0x2002A2B")]
|
|
[CompilerGenerated]
|
|
private sealed class DPEPCOCCEIN
|
|
{
|
|
// Token: 0x06011FBA RID: 73658 RVA: 0x004122A8 File Offset: 0x004104A8
|
|
[Token(Token = "0x6011FBA")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
public DPEPCOCCEIN()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06011FBB RID: 73659 RVA: 0x004122BC File Offset: 0x004104BC
|
|
[Token(Token = "0x6011FBB")]
|
|
[Address(RVA = "0x12F42F0", Offset = "0x12F32F0", VA = "0x1812F42F0")]
|
|
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: 0x06011FBC RID: 73660 RVA: 0x004122F4 File Offset: 0x004104F4
|
|
[Token(Token = "0x6011FBC")]
|
|
[Address(RVA = "0x12F4350", Offset = "0x12F3350", VA = "0x1812F4350")]
|
|
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: 0x06011FBD RID: 73661 RVA: 0x0041232C File Offset: 0x0041052C
|
|
[Token(Token = "0x6011FBD")]
|
|
[Address(RVA = "0x12F43B0", Offset = "0x12F33B0", VA = "0x1812F43B0")]
|
|
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: 0x0400B852 RID: 47186
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400B852")]
|
|
public WatchStoreInventionsPagedGrid <>4__this;
|
|
|
|
// Token: 0x0400B853 RID: 47187
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400B853")]
|
|
public WatchStoreInventionButton button;
|
|
}
|
|
}
|
|
}
|