85 lines
2.8 KiB
C#
85 lines
2.8 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Core;
|
|
using RecRoom.Core.Creation;
|
|
using RecRoom.QuickActions;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Tools.MakerPenTools
|
|
{
|
|
// Token: 0x02002AD3 RID: 10963
|
|
[Token(Token = "0x2002AD3")]
|
|
[Serializable]
|
|
public class MakerPenToolConfigure_Shape : MakerPenTool
|
|
{
|
|
// Token: 0x17003350 RID: 13136
|
|
// (get) Token: 0x06012638 RID: 75320 RVA: 0x00434714 File Offset: 0x00432914
|
|
[Token(Token = "0x17003350")]
|
|
public override string HudLabel
|
|
{
|
|
[Token(Token = "0x6012638")]
|
|
[Address(RVA = "0x130EA60", Offset = "0x130D860", VA = "0x18130EA60", Slot = "10")]
|
|
get
|
|
{
|
|
return "Configure";
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003351 RID: 13137
|
|
// (get) Token: 0x06012639 RID: 75321 RVA: 0x00434728 File Offset: 0x00432928
|
|
[Token(Token = "0x17003351")]
|
|
public override Sprite HudSprite
|
|
{
|
|
[Token(Token = "0x6012639")]
|
|
[Address(RVA = "0x130EA90", Offset = "0x130D890", VA = "0x18130EA90", Slot = "11")]
|
|
get
|
|
{
|
|
return NPILADHLMKC.KGDLBEAPDFE(NPILADHLMKC.ONGOGHFGDEF.Settings);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601263A RID: 75322 RVA: 0x0043473C File Offset: 0x0043293C
|
|
[Token(Token = "0x601263A")]
|
|
[Address(RVA = "0x130E7D0", Offset = "0x130D5D0", VA = "0x18130E7D0", Slot = "8")]
|
|
public override void BALOKJMBNIN()
|
|
{
|
|
CreationController creationController = this.creationController;
|
|
int num = 0;
|
|
QuickActionMenu <PPEGLKBLPPD>k__BackingField = this.creationController.<MakerPen>k__BackingField.<PPEGLKBLPPD>k__BackingField;
|
|
int num2 = 0;
|
|
int num3 = 0;
|
|
bool flag = base.FEGDPENPGOM(num, num3, num2);
|
|
CreationController creationController2 = this.creationController;
|
|
if (!flag)
|
|
{
|
|
if (creationController2.IsSelectInputDown)
|
|
{
|
|
CreationController creationController3 = this.creationController;
|
|
bool flag2;
|
|
if (flag2)
|
|
{
|
|
goto IL_5E;
|
|
}
|
|
creationController3.<MakerPen>k__BackingField.CloseInteractableSettingsUI();
|
|
}
|
|
return;
|
|
}
|
|
IL_5E:
|
|
ODAEKFDKCEC configurableForShapeSelection = creationController2.<CreationContext>k__BackingField.shapeCreationContext.GetConfigurableForShapeSelection();
|
|
CreationController creationController4 = this.creationController;
|
|
CreationContext <CreationContext>k__BackingField = creationController4.<CreationContext>k__BackingField;
|
|
MakerPen <MakerPen>k__BackingField = creationController4.<MakerPen>k__BackingField;
|
|
NJGIIGAKJHO njgiigakjho = new NJGIIGAKJHO(<CreationContext>k__BackingField.shapeCreationContext.transform, configurableForShapeSelection);
|
|
<MakerPen>k__BackingField.QueueUI(njgiigakjho);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0601263B RID: 75323 RVA: 0x004347F8 File Offset: 0x004329F8
|
|
[Token(Token = "0x601263B")]
|
|
[Address(RVA = "0x130EA00", Offset = "0x130D800", VA = "0x18130EA00")]
|
|
public MakerPenToolConfigure_Shape()
|
|
{
|
|
}
|
|
}
|
|
}
|