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: 0x02002A76 RID: 10870
|
|
[Token(Token = "0x2002A76")]
|
|
public class PHCBDFGAKCL : AAGAFOEHBII
|
|
{
|
|
// Token: 0x06012478 RID: 74872 RVA: 0x0042D994 File Offset: 0x0042BB94
|
|
[Token(Token = "0x6012478")]
|
|
[Address(RVA = "0x1A52DA0", Offset = "0x1A51BA0", VA = "0x181A52DA0")]
|
|
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: 0x06012479 RID: 74873 RVA: 0x0042DC5C File Offset: 0x0042BE5C
|
|
[Token(Token = "0x6012479")]
|
|
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
|
|
public PHCBDFGAKCL()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400BCB5 RID: 48309
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400BCB5")]
|
|
private RotationCircleCenterHandle NFPCBMKAHAP;
|
|
|
|
// Token: 0x0400BCB6 RID: 48310
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400BCB6")]
|
|
private RotationCircleCenterHandle ODHEAKOCEDF;
|
|
|
|
// Token: 0x0400BCB7 RID: 48311
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400BCB7")]
|
|
private RotationCircleCenterHandle MJGHEDFKNOI;
|
|
|
|
// Token: 0x0400BCB8 RID: 48312
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400BCB8")]
|
|
private RotationCircleCenterHandle DOENILCIIJB;
|
|
|
|
// Token: 0x0400BCB9 RID: 48313
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400BCB9")]
|
|
private GameObject LANAELBKNDC;
|
|
}
|