70 lines
2.4 KiB
C#
70 lines
2.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Core;
|
|
using RecRoom.Core.Creation;
|
|
using RecRoom.Core.Creation.Shapes;
|
|
using RecRoom.Core.Creation.UndoStack;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Tools.MakerPenTools
|
|
{
|
|
// Token: 0x02002AEB RID: 10987
|
|
[Token(Token = "0x2002AEB")]
|
|
[Serializable]
|
|
public class MakerPenToolDelete_Shape : MakerPenTool
|
|
{
|
|
// Token: 0x17003379 RID: 13177
|
|
// (get) Token: 0x060126DD RID: 75485 RVA: 0x004370EC File Offset: 0x004352EC
|
|
[Token(Token = "0x17003379")]
|
|
public override string HudLabel
|
|
{
|
|
[Token(Token = "0x60126DD")]
|
|
[Address(RVA = "0x1312740", Offset = "0x1311540", VA = "0x181312740", Slot = "10")]
|
|
get
|
|
{
|
|
return "Delete";
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700337A RID: 13178
|
|
// (get) Token: 0x060126DE RID: 75486 RVA: 0x00437100 File Offset: 0x00435300
|
|
[Token(Token = "0x1700337A")]
|
|
public override Sprite HudSprite
|
|
{
|
|
[Token(Token = "0x60126DE")]
|
|
[Address(RVA = "0x1312770", Offset = "0x1311570", VA = "0x181312770", Slot = "11")]
|
|
get
|
|
{
|
|
return NPILADHLMKC.KGDLBEAPDFE(NPILADHLMKC.ONGOGHFGDEF.Delete);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060126DF RID: 75487 RVA: 0x00437114 File Offset: 0x00435314
|
|
[Token(Token = "0x60126DF")]
|
|
[Address(RVA = "0x1312540", Offset = "0x1311340", VA = "0x181312540", Slot = "8")]
|
|
public override void BALOKJMBNIN()
|
|
{
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
CreationController creationController = this.creationController;
|
|
UndoStack undoStack = creationController.<MakerPen>k__BackingField._undoStack;
|
|
ShapeContainer selectedShapeContainer = creationController.<CreationContext>k__BackingField.shapeCreationContext.HAHLCMFENMD;
|
|
IReadOnlyList<Guid> readOnlyList = this.creationController.<CreationContext>k__BackingField.shapeCreationContext.ABNCFJMLCMP();
|
|
CreationContext <CreationContext>k__BackingField = this.creationController.<CreationContext>k__BackingField;
|
|
PNCFCGFAEKG pncfcgfaekg = new PNCFCGFAEKG(selectedShapeContainer, readOnlyList, <CreationContext>k__BackingField);
|
|
undoStack.Add(pncfcgfaekg);
|
|
this.creationController.<CreationContext>k__BackingField.shapeCreationContext.DeleteSelectedShapes();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060126E0 RID: 75488 RVA: 0x004371A4 File Offset: 0x004353A4
|
|
[Token(Token = "0x60126E0")]
|
|
[Address(RVA = "0x13126E0", Offset = "0x13114E0", VA = "0x1813126E0")]
|
|
public MakerPenToolDelete_Shape()
|
|
{
|
|
}
|
|
}
|
|
}
|