134 lines
5.8 KiB
C#
134 lines
5.8 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Tools.MakerPenTools;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020025B5 RID: 9653
|
|
[Token(Token = "0x20025B5")]
|
|
[StructLayout(3)]
|
|
public class PHCBDFGAKCL : AAGAFOEHBII
|
|
{
|
|
// Token: 0x06010B9E RID: 68510 RVA: 0x003EE7E8 File Offset: 0x003EC9E8
|
|
[Token(Token = "0x6010B9E")]
|
|
[Address(RVA = "0x24B95C0", Offset = "0x24B7FC0", VA = "0x1824B95C0")]
|
|
public void OPEMIFENIJM<T>(ANECMOONIPJ<T> LHOMKMINCHH)
|
|
{
|
|
MakerPenHandleManagerConfig <GNIONNGJPCA>k__BackingField = MakerPenHandleManager.ONCPNMDGGKG.<GNIONNGJPCA>k__BackingField;
|
|
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 = <GNIONNGJPCA>k__BackingField.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 = <GNIONNGJPCA>k__BackingField.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 = <GNIONNGJPCA>k__BackingField.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 = <GNIONNGJPCA>k__BackingField.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;
|
|
}
|
|
Camera activeCamera = SingletonMonoBehaviour.Instance.CHLMFLCFGFL;
|
|
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;
|
|
Transform transform8 = activeCamera.transform;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06010B9F RID: 68511 RVA: 0x003EEABC File Offset: 0x003ECCBC
|
|
[Token(Token = "0x6010B9F")]
|
|
[Address(RVA = "0x3D4170", Offset = "0x3D2B70", VA = "0x1803D4170")]
|
|
public PHCBDFGAKCL()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400B1EB RID: 45547
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400B1EB")]
|
|
private RotationCircleCenterHandle NFPCBMKAHAP;
|
|
|
|
// Token: 0x0400B1EC RID: 45548
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400B1EC")]
|
|
private RotationCircleCenterHandle ODHEAKOCEDF;
|
|
|
|
// Token: 0x0400B1ED RID: 45549
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400B1ED")]
|
|
private RotationCircleCenterHandle MJGHEDFKNOI;
|
|
|
|
// Token: 0x0400B1EE RID: 45550
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400B1EE")]
|
|
private RotationCircleCenterHandle DOENILCIIJB;
|
|
|
|
// Token: 0x0400B1EF RID: 45551
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400B1EF")]
|
|
private GameObject LANAELBKNDC;
|
|
}
|