83 lines
2.8 KiB
C#
83 lines
2.8 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Core.Creation;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Tools.MakerPenTools
|
|
{
|
|
// Token: 0x020025A1 RID: 9633
|
|
[Token(Token = "0x20025A1")]
|
|
[StructLayout(3)]
|
|
public class CV2MakerPenPinInfo : MakerPenPinInfo
|
|
{
|
|
// Token: 0x17002D52 RID: 11602
|
|
// (get) Token: 0x06010AF3 RID: 68339 RVA: 0x003ECA48 File Offset: 0x003EAC48
|
|
[Token(Token = "0x17002D52")]
|
|
public override bool MELMOMAGKEP
|
|
{
|
|
[Token(Token = "0x6010AF3")]
|
|
[Address(RVA = "0x4405A0", Offset = "0x43EFA0", VA = "0x1804405A0", Slot = "6")]
|
|
get
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06010AF4 RID: 68340 RVA: 0x003ECA58 File Offset: 0x003EAC58
|
|
[Token(Token = "0x6010AF4")]
|
|
[Address(RVA = "0x1502770", Offset = "0x1501170", VA = "0x181502770", Slot = "7")]
|
|
public override void SetOperation(MakerPenPinInfo.NGNLFACFACI ECLHPNKANFJ)
|
|
{
|
|
string text = this.ToString();
|
|
if (ECLHPNKANFJ != text)
|
|
{
|
|
MakerPenPinInfo.NGNLFACFACI currentOperation = this.ANPFFELLOHN;
|
|
GameObject wireOperationVisuals = this.wireOperationVisuals;
|
|
bool flag = this.ToString() == 0;
|
|
wireOperationVisuals.SetActive(flag);
|
|
GameObject deleteOperationVisuals = this.deleteOperationVisuals;
|
|
bool flag2 = this.ToString() == (ulong)1L;
|
|
deleteOperationVisuals.SetActive(flag2);
|
|
GameObject invalidOperationVisuals = this.invalidOperationVisuals;
|
|
bool flag3 = this.ToString() == (ulong)2L;
|
|
invalidOperationVisuals.SetActive(flag3);
|
|
GameObject connectGizmoOperationVisuals = this.connectGizmoOperationVisuals;
|
|
bool flag4 = this.ToString() == (ulong)4L;
|
|
connectGizmoOperationVisuals.SetActive(flag4);
|
|
GameObject connectObjectOperationVisuals = this.connectObjectOperationVisuals;
|
|
bool flag5 = this.ToString() == (ulong)3L;
|
|
connectObjectOperationVisuals.SetActive(flag5);
|
|
GameObject gameObject = this.configureOperationVisuals;
|
|
bool flag6 = this.ToString() == (ulong)5L;
|
|
gameObject.SetActive(flag6);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06010AF5 RID: 68341 RVA: 0x003ECB34 File Offset: 0x003EAD34
|
|
[Token(Token = "0x6010AF5")]
|
|
[Address(RVA = "0x15026F0", Offset = "0x15010F0", VA = "0x1815026F0", Slot = "10")]
|
|
public override void Init(ConnectionPoint JOGMGBBAOFC)
|
|
{
|
|
ConnectionPoint connection = this.JOGMGBBAOFC;
|
|
TextMeshPro infoText = this.infoText;
|
|
string empty = string.Empty;
|
|
infoText.text = empty;
|
|
this.NJDHIHOAJED = 0f;
|
|
}
|
|
|
|
// Token: 0x06010AF6 RID: 68342 RVA: 0x003ECB70 File Offset: 0x003EAD70
|
|
[Token(Token = "0x6010AF6")]
|
|
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
|
public CV2MakerPenPinInfo()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400B15D RID: 45405
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x400B15D")]
|
|
public GameObject configureOperationVisuals;
|
|
}
|
|
}
|