132 lines
5.5 KiB
C#
132 lines
5.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Tools.MakerPenTools;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02002B5F RID: 11103
|
|
[Token(Token = "0x2002B5F")]
|
|
public class PHCBDFGAKCL : AAGAFOEHBII
|
|
{
|
|
// Token: 0x060128B5 RID: 75957 RVA: 0x00437618 File Offset: 0x00435818
|
|
[Token(Token = "0x60128B5")]
|
|
[Address(RVA = "0x24F4F70", Offset = "0x24F3F70", VA = "0x1824F4F70")]
|
|
public void OPEMIFENIJM<T>(ANECMOONIPJ<T> LHOMKMINCHH)
|
|
{
|
|
MakerPenHandleManagerConfig activeConfig = MakerPenHandleManager.ONCPNMDGGKG.JDANHJNLKLI;
|
|
GameObject dfeiojdnogd = this.DFEIOJDNOGD;
|
|
int num = 0;
|
|
bool flag = dfeiojdnogd == num;
|
|
if (flag)
|
|
{
|
|
GameObject gameObject = new GameObject("RotationHandles");
|
|
this.DFEIOJDNOGD = gameObject;
|
|
GameObject gameObject2 = new GameObject("CenterHandles");
|
|
this.LANAELBKNDC = gameObject2;
|
|
Transform transform = gameObject2.transform;
|
|
Transform transform2 = this.DFEIOJDNOGD.transform;
|
|
transform.parent = transform2;
|
|
GameObject lanaelbkndc = this.LANAELBKNDC;
|
|
RotationCircleCenterHandle rotationCircleCenterHandle = activeConfig.RotationCircleCenterHandle;
|
|
Transform transform3 = lanaelbkndc.transform;
|
|
RotationCircleCenterHandle rotationCircleCenterHandle2 = global::UnityEngine.Object.Instantiate<RotationCircleCenterHandle>(rotationCircleCenterHandle, transform3);
|
|
this.DOENILCIIJB = rotationCircleCenterHandle2;
|
|
rotationCircleCenterHandle2.<ECCEAFJPCBD>k__BackingField = false;
|
|
RotationCircleCenterHandle doenilciijb = this.DOENILCIIJB;
|
|
int num2 = 0;
|
|
Quaternion identity = Quaternion.identity;
|
|
doenilciijb.Initialize(num2, MakerPenHandle.FNHHECGOJKM.XYZ, 1.2f, identity);
|
|
RotationCircleCenterHandle doenilciijb2 = this.DOENILCIIJB;
|
|
int num3 = 0;
|
|
doenilciijb2.SetRenderQueueOffset(num3);
|
|
GameObject lanaelbkndc2 = this.LANAELBKNDC;
|
|
RotationCircleCenterHandle rotationCircleCenterHandle3 = activeConfig.RotationCircleCenterHandle;
|
|
Transform transform4 = lanaelbkndc2.transform;
|
|
RotationCircleCenterHandle rotationCircleCenterHandle4 = global::UnityEngine.Object.Instantiate<RotationCircleCenterHandle>(rotationCircleCenterHandle3, transform4);
|
|
this.NFPCBMKAHAP = rotationCircleCenterHandle4;
|
|
Vector3 right = Vector3.right;
|
|
Vector3 forward = Vector3.forward;
|
|
this.NFPCBMKAHAP.SetRenderQueueOffset(1);
|
|
GameObject lanaelbkndc3 = this.LANAELBKNDC;
|
|
RotationCircleCenterHandle rotationCircleCenterHandle5 = activeConfig.RotationCircleCenterHandle;
|
|
Transform transform5 = lanaelbkndc3.transform;
|
|
RotationCircleCenterHandle rotationCircleCenterHandle6 = global::UnityEngine.Object.Instantiate<RotationCircleCenterHandle>(rotationCircleCenterHandle5, transform5);
|
|
this.ODHEAKOCEDF = rotationCircleCenterHandle6;
|
|
Vector3 up = Vector3.up;
|
|
Vector3 right2 = Vector3.right;
|
|
this.ODHEAKOCEDF.SetRenderQueueOffset(2);
|
|
GameObject lanaelbkndc4 = this.LANAELBKNDC;
|
|
RotationCircleCenterHandle rotationCircleCenterHandle7 = activeConfig.RotationCircleCenterHandle;
|
|
Transform transform6 = lanaelbkndc4.transform;
|
|
RotationCircleCenterHandle rotationCircleCenterHandle8 = global::UnityEngine.Object.Instantiate<RotationCircleCenterHandle>(rotationCircleCenterHandle7, transform6);
|
|
this.MJGHEDFKNOI = rotationCircleCenterHandle8;
|
|
Vector3 forward2 = Vector3.forward;
|
|
Vector3 up2 = Vector3.up;
|
|
this.MJGHEDFKNOI.SetRenderQueueOffset(3);
|
|
List<MakerPenHandle> ccfimlhpadf = MakerPenHandleManager.ONCPNMDGGKG.CCFIMLHPADF;
|
|
RotationCircleCenterHandle nfpcbmkahap = this.NFPCBMKAHAP;
|
|
ccfimlhpadf.Add(nfpcbmkahap);
|
|
List<MakerPenHandle> ccfimlhpadf2 = MakerPenHandleManager.ONCPNMDGGKG.CCFIMLHPADF;
|
|
RotationCircleCenterHandle odheakocedf = this.ODHEAKOCEDF;
|
|
ccfimlhpadf2.Add(odheakocedf);
|
|
List<MakerPenHandle> ccfimlhpadf3 = MakerPenHandleManager.ONCPNMDGGKG.CCFIMLHPADF;
|
|
RotationCircleCenterHandle mjghedfknoi = this.MJGHEDFKNOI;
|
|
ccfimlhpadf3.Add(mjghedfknoi);
|
|
List<MakerPenHandle> ccfimlhpadf4 = MakerPenHandleManager.ONCPNMDGGKG.CCFIMLHPADF;
|
|
RotationCircleCenterHandle doenilciijb3 = this.DOENILCIIJB;
|
|
ccfimlhpadf4.Add(doenilciijb3);
|
|
}
|
|
if (!flag)
|
|
{
|
|
MakerPenHandleManager.ONCPNMDGGKG.DeactivateAll();
|
|
return;
|
|
}
|
|
GameObject dfeiojdnogd2 = this.DFEIOJDNOGD;
|
|
int num4 = 0;
|
|
dfeiojdnogd2.transform.position = num4;
|
|
GameObject dfeiojdnogd3 = this.DFEIOJDNOGD;
|
|
int num5 = 0;
|
|
dfeiojdnogd3.transform.rotation = num5;
|
|
this.NFPCBMKAHAP.UpdateInteractive();
|
|
this.ODHEAKOCEDF.UpdateInteractive();
|
|
this.MJGHEDFKNOI.UpdateInteractive();
|
|
this.DOENILCIIJB.UpdateInteractive();
|
|
Transform transform7 = this.DOENILCIIJB.transform;
|
|
Camera camera;
|
|
Transform transform8 = camera.transform;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060128B6 RID: 75958 RVA: 0x004378E0 File Offset: 0x00435AE0
|
|
[Token(Token = "0x60128B6")]
|
|
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
|
public PHCBDFGAKCL()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400BEC6 RID: 48838
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400BEC6")]
|
|
private RotationCircleCenterHandle NFPCBMKAHAP;
|
|
|
|
// Token: 0x0400BEC7 RID: 48839
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400BEC7")]
|
|
private RotationCircleCenterHandle ODHEAKOCEDF;
|
|
|
|
// Token: 0x0400BEC8 RID: 48840
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400BEC8")]
|
|
private RotationCircleCenterHandle MJGHEDFKNOI;
|
|
|
|
// Token: 0x0400BEC9 RID: 48841
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400BEC9")]
|
|
private RotationCircleCenterHandle DOENILCIIJB;
|
|
|
|
// Token: 0x0400BECA RID: 48842
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400BECA")]
|
|
private GameObject LANAELBKNDC;
|
|
}
|