1115 lines
45 KiB
C#
1115 lines
45 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using Photon.Pun;
|
|
using Photon.Realtime;
|
|
using RecRoom.AGUI.ToolUIs;
|
|
using RecRoom.Core;
|
|
using RecRoom.Core.Creation;
|
|
using RecRoom.Persistence;
|
|
using RecRoom.Tools.MakerPenTools;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Tools
|
|
{
|
|
// Token: 0x02002562 RID: 9570
|
|
[Token(Token = "0x2002562")]
|
|
[StructLayout(3)]
|
|
public class MakerPenAudio : MonoBehaviour
|
|
{
|
|
// Token: 0x060108A0 RID: 67744 RVA: 0x003E2500 File Offset: 0x003E0700
|
|
[Token(Token = "0x60108A0")]
|
|
[Address(RVA = "0x15086F0", Offset = "0x15070F0", VA = "0x1815086F0")]
|
|
private void Start()
|
|
{
|
|
MakerPen dgejngnoelg;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
MakerPenAudioContent makerPenAudioContent = this.content;
|
|
int num = 0;
|
|
if (makerPenAudioContent == num)
|
|
{
|
|
goto IL_32E;
|
|
}
|
|
Tool component = base.GetComponent<Tool>();
|
|
this.IFFCFCNAOPC = component;
|
|
int num2 = 0;
|
|
if (component == num2)
|
|
{
|
|
goto IL_323;
|
|
}
|
|
MakerPen component2 = base.GetComponent<MakerPen>();
|
|
this.DGEJNGNOELG = component2;
|
|
int num3 = 0;
|
|
if (!(component2 != num3))
|
|
{
|
|
CharadesPen component3 = base.GetComponent<CharadesPen>();
|
|
this.DNNCJCBOIAN = component3;
|
|
int num4 = 0;
|
|
if (!(component3 != num4))
|
|
{
|
|
goto Block_3;
|
|
}
|
|
CreationContext creationContext = this.DNNCJCBOIAN.DHBPEOCPGAO;
|
|
CharadesPen dnncjcboian = this.DNNCJCBOIAN;
|
|
this.JOBONJMAJHJ = creationContext;
|
|
PHGNLBEAGOG <EHJOMHCJHPF>k__BackingField = dnncjcboian.<EHJOMHCJHPF>k__BackingField;
|
|
this.IAIABDCONKG = <EHJOMHCJHPF>k__BackingField;
|
|
Transform extrusionPoint = dnncjcboian._penVisuals.extrusionPoint;
|
|
this.NNADBJJPLPI = extrusionPoint;
|
|
ActionEvent creationContextChanged = dnncjcboian.CreationContextChanged;
|
|
Action action = new Action(this.GCGBPIGOBIP);
|
|
ActionEvent actionEvent = creationContextChanged + action;
|
|
dnncjcboian.CreationContextChanged = actionEvent;
|
|
}
|
|
Photon.Realtime.Player owner = this.DGEJNGNOELG.owner;
|
|
Photon.Realtime.Player localPlayer = PhotonNetwork.LocalPlayer;
|
|
if (owner != localPlayer)
|
|
{
|
|
goto IL_318;
|
|
}
|
|
dgejngnoelg = this.DGEJNGNOELG;
|
|
CreationContext <BDFEKAONFDI>k__BackingField = dgejngnoelg.<BDFEKAONFDI>k__BackingField;
|
|
this.JOBONJMAJHJ = <BDFEKAONFDI>k__BackingField;
|
|
PHGNLBEAGOG <EHJOMHCJHPF>k__BackingField2 = dgejngnoelg.<EHJOMHCJHPF>k__BackingField;
|
|
this.IAIABDCONKG = <EHJOMHCJHPF>k__BackingField2;
|
|
Transform extrusionPoint2 = dgejngnoelg._penVisuals.extrusionPoint;
|
|
this.NNADBJJPLPI = extrusionPoint2;
|
|
Action action2 = new Action(this.FEHJKBHOOJG);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
while (@delegate != dgejngnoelg)
|
|
{
|
|
}
|
|
Tool iffcfcnaopc = this.IFFCFCNAOPC;
|
|
ActionEvent<Tool> postPickupEvent = iffcfcnaopc.PostPickupEvent;
|
|
Action<Tool> action3 = new Action(this.GOGDCOBJACG);
|
|
ActionEvent<Tool> actionEvent2 = postPickupEvent + action3;
|
|
iffcfcnaopc.PostPickupEvent = actionEvent2;
|
|
Tool iffcfcnaopc2 = this.IFFCFCNAOPC;
|
|
ActionEvent<Tool> postReleaseEvent = iffcfcnaopc2.PostReleaseEvent;
|
|
Action<Tool> action4 = new Action(this.IIMFEMNIAIA);
|
|
ActionEvent<Tool> actionEvent3 = postReleaseEvent + action4;
|
|
iffcfcnaopc2.PostReleaseEvent = actionEvent3;
|
|
ActionEvent<Vector3> hlidckdffae = PIMGHDJGNNI.HLIDCKDFFAE;
|
|
Action<Vector3> action5 = new Action(this.AOMDKLINDLA);
|
|
PIMGHDJGNNI.HLIDCKDFFAE = hlidckdffae + action5;
|
|
ActionEvent<Vector3> hlidckdffae2 = IKILKCOJNAE.HLIDCKDFFAE;
|
|
Action<Vector3> action6 = new Action(this.AOMDKLINDLA);
|
|
IKILKCOJNAE.HLIDCKDFFAE = hlidckdffae2 + action6;
|
|
ActionEvent<bool, Transform, Vector3> gdindfepddm = JBICICHOMOC.GDINDFEPDDM;
|
|
Action<bool, Transform, Vector3> action7 = new Action(this.PCBFMNCGGKC);
|
|
ActionEvent<bool> actionEvent4;
|
|
JBICICHOMOC.GDINDFEPDDM = actionEvent4;
|
|
ActionEvent<bool, Transform, Vector3> lmcghepcjjo = JBICICHOMOC.LMCGHEPCJJO;
|
|
Action<bool, Transform, Vector3> action8 = new Action(this.HAELNDLFONA);
|
|
ActionEvent<bool> actionEvent5;
|
|
JBICICHOMOC.LMCGHEPCJJO = actionEvent5;
|
|
ActionEvent<bool, Transform, Vector3> fnklfadilbo = JBICICHOMOC.FNKLFADILBO;
|
|
Action<bool, Transform, Vector3> action9 = new Action(this.GPGBHBGJHEO);
|
|
ActionEvent<bool> actionEvent6;
|
|
JBICICHOMOC.FNKLFADILBO = actionEvent6;
|
|
ActionEvent<bool, Transform, Vector3> igkehcjjado = JBICICHOMOC.IGKEHCJJADO;
|
|
Action<bool, Transform, Vector3> action10 = new Action(this.BLPHJHLLOKN);
|
|
ActionEvent<bool> actionEvent7;
|
|
JBICICHOMOC.IGKEHCJJADO = actionEvent7;
|
|
ActionEvent<MakerPenHandle> hoverStarted = MakerPenHandle.HoverStarted;
|
|
Action<MakerPenHandle> action11 = new Action(this.MNCMBDBFPPA);
|
|
MakerPenHandle.HoverStarted = hoverStarted + action11;
|
|
ActionEvent<Vector3> ofghmiajbif = EPNMFLPGAOH.OFGHMIAJBIF;
|
|
Action<Vector3> action12 = new Action(this.GHAPAECLDII);
|
|
EPNMFLPGAOH.OFGHMIAJBIF = ofghmiajbif + action12;
|
|
ActionEvent<Vector3> hcpecpcjcpo = EPNMFLPGAOH.HCPECPCJCPO;
|
|
Action<Vector3> action13 = new Action(this.IMPDCMBJDJF);
|
|
EPNMFLPGAOH.HCPECPCJCPO = hcpecpcjcpo + action13;
|
|
RoomPersistenceManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action action14 = new Action(this.KALENKBFKED);
|
|
instance.NPCNGKGEKMB += action14;
|
|
this.KNKJAFGKIIC();
|
|
goto IL_318;
|
|
Block_3:
|
|
Debug.LogError("Maker Pen Audio component is not on a Maker Pen or Charades Pen.");
|
|
return;
|
|
IL_318:
|
|
int num5 = 0;
|
|
base.enabled = num5 != 0;
|
|
IL_323:
|
|
Debug.LogError("Maker Pen Audio component doesn't have a Tool component. This script can only be used on a Maker Pen or Charades Pen.");
|
|
return;
|
|
IL_32E:
|
|
Debug.LogError("Maker Pen Audio component does not have a content asset set up.");
|
|
}
|
|
|
|
// Token: 0x060108A1 RID: 67745 RVA: 0x003E2848 File Offset: 0x003E0A48
|
|
[Token(Token = "0x60108A1")]
|
|
[Address(RVA = "0x1507E90", Offset = "0x1506890", VA = "0x181507E90")]
|
|
private void OnDestroy()
|
|
{
|
|
Action glofhpacjbg;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
this.MLHKMPBNKHI(true);
|
|
if (this.IFFCFCNAOPC.IsReferenceNull())
|
|
{
|
|
goto IL_107;
|
|
}
|
|
Tool iffcfcnaopc = this.IFFCFCNAOPC;
|
|
ActionEvent<Tool> postPickupEvent = iffcfcnaopc.PostPickupEvent;
|
|
Action<Tool> action = new Action(this.GOGDCOBJACG);
|
|
ActionEvent<Tool> actionEvent = postPickupEvent - action;
|
|
iffcfcnaopc.PostPickupEvent = actionEvent;
|
|
Tool iffcfcnaopc2 = this.IFFCFCNAOPC;
|
|
ActionEvent<Tool> postReleaseEvent = iffcfcnaopc2.PostReleaseEvent;
|
|
Action<Tool> action2 = new Action(this.IIMFEMNIAIA);
|
|
ActionEvent<Tool> actionEvent2 = postReleaseEvent - action2;
|
|
iffcfcnaopc2.PostReleaseEvent = actionEvent2;
|
|
if (this.DGEJNGNOELG.IsReferenceNull())
|
|
{
|
|
goto IL_C0;
|
|
}
|
|
MakerPen dgejngnoelg = this.DGEJNGNOELG;
|
|
Action action3 = new Action(this.FEHJKBHOOJG);
|
|
glofhpacjbg = dgejngnoelg.GLOFHPACJBG;
|
|
@delegate = Delegate.Remove(glofhpacjbg, action3);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
while (@delegate != glofhpacjbg)
|
|
{
|
|
}
|
|
IL_C0:
|
|
if (!this.DNNCJCBOIAN.IsReferenceNull())
|
|
{
|
|
CharadesPen dnncjcboian = this.DNNCJCBOIAN;
|
|
ActionEvent creationContextChanged = dnncjcboian.CreationContextChanged;
|
|
Action action4 = new Action(this.GCGBPIGOBIP);
|
|
ActionEvent actionEvent3 = creationContextChanged - action4;
|
|
dnncjcboian.CreationContextChanged = actionEvent3;
|
|
}
|
|
this.DJPPMLLEGIP();
|
|
IL_107:
|
|
if (NetworkedSingletonMonoBehaviour.FFNIFALJLDD)
|
|
{
|
|
RoomPersistenceManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action action5 = new Action(this.KALENKBFKED);
|
|
instance.NPCNGKGEKMB -= action5;
|
|
}
|
|
ActionEvent<Vector3> hlidckdffae = PIMGHDJGNNI.HLIDCKDFFAE;
|
|
Action<Vector3> action6 = new Action(this.AOMDKLINDLA);
|
|
PIMGHDJGNNI.HLIDCKDFFAE = hlidckdffae - action6;
|
|
ActionEvent<Vector3> hlidckdffae2 = IKILKCOJNAE.HLIDCKDFFAE;
|
|
Action<Vector3> action7 = new Action(this.AOMDKLINDLA);
|
|
IKILKCOJNAE.HLIDCKDFFAE = hlidckdffae2 - action7;
|
|
ActionEvent<bool, Transform, Vector3> gdindfepddm = JBICICHOMOC.GDINDFEPDDM;
|
|
Action<bool, Transform, Vector3> action8 = new Action(this.PCBFMNCGGKC);
|
|
ActionEvent<bool> actionEvent4;
|
|
JBICICHOMOC.GDINDFEPDDM = actionEvent4;
|
|
ActionEvent<bool, Transform, Vector3> lmcghepcjjo = JBICICHOMOC.LMCGHEPCJJO;
|
|
Action<bool, Transform, Vector3> action9 = new Action(this.HAELNDLFONA);
|
|
ActionEvent<bool> actionEvent5;
|
|
JBICICHOMOC.LMCGHEPCJJO = actionEvent5;
|
|
ActionEvent<bool, Transform, Vector3> fnklfadilbo = JBICICHOMOC.FNKLFADILBO;
|
|
Action<bool, Transform, Vector3> action10 = new Action(this.GPGBHBGJHEO);
|
|
ActionEvent<bool> actionEvent6;
|
|
JBICICHOMOC.FNKLFADILBO = actionEvent6;
|
|
ActionEvent<bool, Transform, Vector3> igkehcjjado = JBICICHOMOC.IGKEHCJJADO;
|
|
Action<bool, Transform, Vector3> action11 = new Action(this.BLPHJHLLOKN);
|
|
ActionEvent<bool> actionEvent7;
|
|
JBICICHOMOC.IGKEHCJJADO = actionEvent7;
|
|
ActionEvent<MakerPenHandle> hoverStarted = MakerPenHandle.HoverStarted;
|
|
Action<MakerPenHandle> action12 = new Action(this.MNCMBDBFPPA);
|
|
MakerPenHandle.HoverStarted = hoverStarted - action12;
|
|
ActionEvent<Vector3> ofghmiajbif = EPNMFLPGAOH.OFGHMIAJBIF;
|
|
Action<Vector3> action13 = new Action(this.GHAPAECLDII);
|
|
EPNMFLPGAOH.OFGHMIAJBIF = ofghmiajbif - action13;
|
|
ActionEvent<Vector3> hcpecpcjcpo = EPNMFLPGAOH.HCPECPCJCPO;
|
|
Action<Vector3> action14 = new Action(this.IMPDCMBJDJF);
|
|
EPNMFLPGAOH.HCPECPCJCPO = hcpecpcjcpo - action14;
|
|
}
|
|
|
|
// Token: 0x060108A2 RID: 67746 RVA: 0x003E2AA8 File Offset: 0x003E0CA8
|
|
[Token(Token = "0x60108A2")]
|
|
[Address(RVA = "0x1505230", Offset = "0x1503C30", VA = "0x181505230")]
|
|
private void BALOKJMBNIN()
|
|
{
|
|
for (;;)
|
|
{
|
|
int num = 0;
|
|
List<GCGNPBFDLPP> jmpdiolpcdj = this.JMPDIOLPCDJ;
|
|
List.Enumerator enumerator;
|
|
if (enumerator != 0)
|
|
{
|
|
int num2 = 0;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
this.ACCGBNKBOIM.Add(num2);
|
|
}
|
|
float num3 = this.IAIABDCONKG.DGCNBBEJFJI;
|
|
float num4 = this.IAIABDCONKG.LFEICAHMDMI;
|
|
}
|
|
int num5 = 0;
|
|
if (num5 == -1)
|
|
{
|
|
goto IL_57;
|
|
}
|
|
List<GCGNPBFDLPP> accgbnkboim = this.ACCGBNKBOIM;
|
|
List.Enumerator enumerator2;
|
|
if (enumerator2 != 0)
|
|
{
|
|
List<GCGNPBFDLPP> jmpdiolpcdj2 = this.JMPDIOLPCDJ;
|
|
goto IL_57;
|
|
}
|
|
IL_5E:
|
|
num5++;
|
|
if (num5 != -1)
|
|
{
|
|
}
|
|
if (num == 0)
|
|
{
|
|
break;
|
|
}
|
|
continue;
|
|
IL_57:
|
|
if (num == 0)
|
|
{
|
|
goto IL_5E;
|
|
}
|
|
goto IL_105;
|
|
}
|
|
this.ACCGBNKBOIM.Clear();
|
|
if (this.CADNFBNNCMI)
|
|
{
|
|
if (this.MMELJFCLBPH == CLKCBCAGDDK.INVALID)
|
|
{
|
|
RecRoomAudioClip[] recolorObjectSfx = this.content.recolorObjectSfx;
|
|
int num6 = 0;
|
|
int num7 = 0;
|
|
SFXAudioSource sfxaudioSource = AudioManager.PlayRandom2DSFX(recolorObjectSfx, num7 != 0, 1f, num6);
|
|
}
|
|
if (MakerPenPaletteMainScreen.NGCMMBNAHKG != MakerPenPaletteMainScreen.PDANAFCBNHI.Colors)
|
|
{
|
|
goto IL_C9;
|
|
}
|
|
this.IBPMDJDBIOE();
|
|
}
|
|
if (this.MMELJFCLBPH == CLKCBCAGDDK.INVALID)
|
|
{
|
|
goto IL_CF;
|
|
}
|
|
IL_C9:
|
|
this.CEGMAGJKMAF();
|
|
IL_CF:
|
|
this.CADNFBNNCMI = false;
|
|
this.MMELJFCLBPH = (CLKCBCAGDDK)((ulong)4294967295L);
|
|
return;
|
|
IL_105:
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060108A3 RID: 67747 RVA: 0x003E2BC0 File Offset: 0x003E0DC0
|
|
[Token(Token = "0x60108A3")]
|
|
[Address(RVA = "0x1507340", Offset = "0x1505D40", VA = "0x181507340")]
|
|
private void KNKJAFGKIIC()
|
|
{
|
|
CreationContext jobonjmajhj = this.JOBONJMAJHJ;
|
|
int num = 0;
|
|
if (!(jobonjmajhj == num))
|
|
{
|
|
CreationContext jobonjmajhj2 = this.JOBONJMAJHJ;
|
|
ActionEvent selectionChangedColor = jobonjmajhj2.SelectionChangedColor;
|
|
Action action = new Action(this.ILJNIKPLABL);
|
|
ActionEvent actionEvent = selectionChangedColor + action;
|
|
jobonjmajhj2.SelectionChangedColor = actionEvent;
|
|
CreationContext jobonjmajhj3 = this.JOBONJMAJHJ;
|
|
ActionEvent<CLKCBCAGDDK> selectionChangedMaterial = jobonjmajhj3.SelectionChangedMaterial;
|
|
Action<CLKCBCAGDDK> action2 = new Action(this.BAGILLFDCFO);
|
|
ActionEvent<CLKCBCAGDDK> actionEvent2 = selectionChangedMaterial + action2;
|
|
jobonjmajhj3.SelectionChangedMaterial = actionEvent2;
|
|
CreationContext jobonjmajhj4 = this.JOBONJMAJHJ;
|
|
ActionEvent<Vector3> objectCreated = jobonjmajhj4.ObjectCreated;
|
|
Action<Vector3> action3 = new Action(this.HBBCBABLMHE);
|
|
ActionEvent<Vector3> actionEvent3 = objectCreated + action3;
|
|
jobonjmajhj4.ObjectCreated = actionEvent3;
|
|
CreationContext jobonjmajhj5 = this.JOBONJMAJHJ;
|
|
ActionEvent<Vector3> selectionDeleted = jobonjmajhj5.SelectionDeleted;
|
|
Action<Vector3> action4 = new Action(this.BIPAHFPIMAO);
|
|
ActionEvent<Vector3> actionEvent4 = selectionDeleted + action4;
|
|
jobonjmajhj5.SelectionDeleted = actionEvent4;
|
|
CreationContext jobonjmajhj6 = this.JOBONJMAJHJ;
|
|
ActionEvent<Vector3> selectionCloned = jobonjmajhj6.SelectionCloned;
|
|
Action<Vector3> action5 = new Action(this.CAPKPDNFOGD);
|
|
ActionEvent<Vector3> actionEvent5 = selectionCloned + action5;
|
|
jobonjmajhj6.SelectionCloned = actionEvent5;
|
|
ShapeCreationContext shapeCreationContext = this.JOBONJMAJHJ.shapeCreationContext;
|
|
ActionEvent shapeCreationStarted = shapeCreationContext.ShapeCreationStarted;
|
|
Action action6 = new Action(this.DECKNKDNOPG);
|
|
ActionEvent actionEvent6 = shapeCreationStarted + action6;
|
|
shapeCreationContext.ShapeCreationStarted = actionEvent6;
|
|
ShapeCreationContext shapeCreationContext2 = this.JOBONJMAJHJ.shapeCreationContext;
|
|
ActionEvent shapeCreationFinished = shapeCreationContext2.ShapeCreationFinished;
|
|
Action action7 = new Action(this.GAEJHOHBKGB);
|
|
ActionEvent actionEvent7 = shapeCreationFinished + action7;
|
|
shapeCreationContext2.ShapeCreationFinished = actionEvent7;
|
|
ShapeCreationContext shapeCreationContext3 = this.JOBONJMAJHJ.shapeCreationContext;
|
|
ActionEvent curveCreationStarted = shapeCreationContext3.CurveCreationStarted;
|
|
Action action8 = new Action(this.PAPPDCIPEFK);
|
|
ActionEvent actionEvent8 = curveCreationStarted + action8;
|
|
shapeCreationContext3.CurveCreationStarted = actionEvent8;
|
|
ShapeCreationContext shapeCreationContext4 = this.JOBONJMAJHJ.shapeCreationContext;
|
|
ActionEvent curveCreationFinished = shapeCreationContext4.CurveCreationFinished;
|
|
Action action9 = new Action(this.CKFGCLKMFOA);
|
|
ActionEvent actionEvent9 = curveCreationFinished + action9;
|
|
shapeCreationContext4.CurveCreationFinished = actionEvent9;
|
|
CreationContext jobonjmajhj7 = this.JOBONJMAJHJ;
|
|
ActionEvent<Transform, Vector3> selectionMoveStarted = jobonjmajhj7.SelectionMoveStarted;
|
|
Action<Transform, Vector3> action10 = new Action(this.HFHMIOIGOPI);
|
|
ActionEvent<Transform> actionEvent10;
|
|
jobonjmajhj7.SelectionMoveStarted = actionEvent10;
|
|
CreationContext jobonjmajhj8 = this.JOBONJMAJHJ;
|
|
ActionEvent<Vector3> selectionMoveFinished = jobonjmajhj8.SelectionMoveFinished;
|
|
Action<Vector3> action11 = new Action(this.MDIODJGGELD);
|
|
ActionEvent<Vector3> actionEvent11 = selectionMoveFinished + action11;
|
|
jobonjmajhj8.SelectionMoveFinished = actionEvent11;
|
|
CreationContext jobonjmajhj9 = this.JOBONJMAJHJ;
|
|
ActionEvent<Transform, Vector3> selectionTranslationStarted = jobonjmajhj9.SelectionTranslationStarted;
|
|
Action<Transform, Vector3> action12 = new Action(this.HADFPKJABDN);
|
|
ActionEvent<Transform> actionEvent12;
|
|
jobonjmajhj9.SelectionTranslationStarted = actionEvent12;
|
|
CreationContext jobonjmajhj10 = this.JOBONJMAJHJ;
|
|
ActionEvent selectionTranslationFinished = jobonjmajhj10.SelectionTranslationFinished;
|
|
Action action13 = new Action(this.EDBHFAMNFMH);
|
|
ActionEvent actionEvent13 = selectionTranslationFinished + action13;
|
|
jobonjmajhj10.SelectionTranslationFinished = actionEvent13;
|
|
CreationContext jobonjmajhj11 = this.JOBONJMAJHJ;
|
|
ActionEvent<Transform, Vector3> selectionRotationStarted = jobonjmajhj11.SelectionRotationStarted;
|
|
Action<Transform, Vector3> action14 = new Action(this.MGHHLKJDKKE);
|
|
ActionEvent<Transform> actionEvent14;
|
|
jobonjmajhj11.SelectionRotationStarted = actionEvent14;
|
|
CreationContext jobonjmajhj12 = this.JOBONJMAJHJ;
|
|
ActionEvent selectionRotationFinished = jobonjmajhj12.SelectionRotationFinished;
|
|
Action action15 = new Action(this.GJIEDJKNGCC);
|
|
ActionEvent actionEvent15 = selectionRotationFinished + action15;
|
|
jobonjmajhj12.SelectionRotationFinished = actionEvent15;
|
|
CreationContext jobonjmajhj13 = this.JOBONJMAJHJ;
|
|
ActionEvent<Transform, Vector3> selectionScalingStarted = jobonjmajhj13.SelectionScalingStarted;
|
|
Action<Transform, Vector3> action16 = new Action(this.HFAPJEEABPC);
|
|
ActionEvent<Transform> actionEvent16;
|
|
jobonjmajhj13.SelectionScalingStarted = actionEvent16;
|
|
CreationContext jobonjmajhj14 = this.JOBONJMAJHJ;
|
|
ActionEvent selectionScalingFinished = jobonjmajhj14.SelectionScalingFinished;
|
|
Action action17 = new Action(this.EIOJGJNOEAJ);
|
|
ActionEvent actionEvent17 = selectionScalingFinished + action17;
|
|
jobonjmajhj14.SelectionScalingFinished = actionEvent17;
|
|
CreationContext jobonjmajhj15 = this.JOBONJMAJHJ;
|
|
ActionEvent<Vector3> hoverHighlightStarted = jobonjmajhj15.HoverHighlightStarted;
|
|
Action<Vector3> action18 = new Action(this.CGOLMBOLDNH);
|
|
ActionEvent<Vector3> actionEvent18 = hoverHighlightStarted + action18;
|
|
jobonjmajhj15.HoverHighlightStarted = actionEvent18;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060108A4 RID: 67748 RVA: 0x003E2F64 File Offset: 0x003E1164
|
|
[Token(Token = "0x60108A4")]
|
|
[Address(RVA = "0x1505C20", Offset = "0x1504620", VA = "0x181505C20")]
|
|
private void DJPPMLLEGIP()
|
|
{
|
|
if (!this.JOBONJMAJHJ.IsReferenceNull())
|
|
{
|
|
CreationContext jobonjmajhj = this.JOBONJMAJHJ;
|
|
ActionEvent selectionChangedColor = jobonjmajhj.SelectionChangedColor;
|
|
Action action = new Action(this.ILJNIKPLABL);
|
|
ActionEvent actionEvent = selectionChangedColor - action;
|
|
jobonjmajhj.SelectionChangedColor = actionEvent;
|
|
CreationContext jobonjmajhj2 = this.JOBONJMAJHJ;
|
|
ActionEvent<CLKCBCAGDDK> selectionChangedMaterial = jobonjmajhj2.SelectionChangedMaterial;
|
|
Action<CLKCBCAGDDK> action2 = new Action(this.BAGILLFDCFO);
|
|
ActionEvent<CLKCBCAGDDK> actionEvent2 = selectionChangedMaterial - action2;
|
|
jobonjmajhj2.SelectionChangedMaterial = actionEvent2;
|
|
CreationContext jobonjmajhj3 = this.JOBONJMAJHJ;
|
|
ActionEvent<Vector3> objectCreated = jobonjmajhj3.ObjectCreated;
|
|
Action<Vector3> action3 = new Action(this.HBBCBABLMHE);
|
|
ActionEvent<Vector3> actionEvent3 = objectCreated - action3;
|
|
jobonjmajhj3.ObjectCreated = actionEvent3;
|
|
CreationContext jobonjmajhj4 = this.JOBONJMAJHJ;
|
|
ActionEvent<Vector3> selectionDeleted = jobonjmajhj4.SelectionDeleted;
|
|
Action<Vector3> action4 = new Action(this.BIPAHFPIMAO);
|
|
ActionEvent<Vector3> actionEvent4 = selectionDeleted - action4;
|
|
jobonjmajhj4.SelectionDeleted = actionEvent4;
|
|
CreationContext jobonjmajhj5 = this.JOBONJMAJHJ;
|
|
ActionEvent<Vector3> selectionCloned = jobonjmajhj5.SelectionCloned;
|
|
Action<Vector3> action5 = new Action(this.CAPKPDNFOGD);
|
|
ActionEvent<Vector3> actionEvent5 = selectionCloned - action5;
|
|
jobonjmajhj5.SelectionCloned = actionEvent5;
|
|
ShapeCreationContext shapeCreationContext = this.JOBONJMAJHJ.shapeCreationContext;
|
|
ActionEvent shapeCreationStarted = shapeCreationContext.ShapeCreationStarted;
|
|
Action action6 = new Action(this.DECKNKDNOPG);
|
|
ActionEvent actionEvent6 = shapeCreationStarted - action6;
|
|
shapeCreationContext.ShapeCreationStarted = actionEvent6;
|
|
ShapeCreationContext shapeCreationContext2 = this.JOBONJMAJHJ.shapeCreationContext;
|
|
ActionEvent shapeCreationFinished = shapeCreationContext2.ShapeCreationFinished;
|
|
Action action7 = new Action(this.GAEJHOHBKGB);
|
|
ActionEvent actionEvent7 = shapeCreationFinished - action7;
|
|
shapeCreationContext2.ShapeCreationFinished = actionEvent7;
|
|
ShapeCreationContext shapeCreationContext3 = this.JOBONJMAJHJ.shapeCreationContext;
|
|
ActionEvent curveCreationStarted = shapeCreationContext3.CurveCreationStarted;
|
|
Action action8 = new Action(this.PAPPDCIPEFK);
|
|
ActionEvent actionEvent8 = curveCreationStarted - action8;
|
|
shapeCreationContext3.CurveCreationStarted = actionEvent8;
|
|
ShapeCreationContext shapeCreationContext4 = this.JOBONJMAJHJ.shapeCreationContext;
|
|
ActionEvent curveCreationFinished = shapeCreationContext4.CurveCreationFinished;
|
|
Action action9 = new Action(this.CKFGCLKMFOA);
|
|
ActionEvent actionEvent9 = curveCreationFinished - action9;
|
|
shapeCreationContext4.CurveCreationFinished = actionEvent9;
|
|
CreationContext jobonjmajhj6 = this.JOBONJMAJHJ;
|
|
ActionEvent<Transform, Vector3> selectionMoveStarted = jobonjmajhj6.SelectionMoveStarted;
|
|
Action<Transform, Vector3> action10 = new Action(this.HFHMIOIGOPI);
|
|
ActionEvent<Transform> actionEvent10;
|
|
jobonjmajhj6.SelectionMoveStarted = actionEvent10;
|
|
CreationContext jobonjmajhj7 = this.JOBONJMAJHJ;
|
|
ActionEvent<Vector3> selectionMoveFinished = jobonjmajhj7.SelectionMoveFinished;
|
|
Action<Vector3> action11 = new Action(this.MDIODJGGELD);
|
|
ActionEvent<Vector3> actionEvent11 = selectionMoveFinished - action11;
|
|
jobonjmajhj7.SelectionMoveFinished = actionEvent11;
|
|
CreationContext jobonjmajhj8 = this.JOBONJMAJHJ;
|
|
ActionEvent<Transform, Vector3> selectionTranslationStarted = jobonjmajhj8.SelectionTranslationStarted;
|
|
Action<Transform, Vector3> action12 = new Action(this.HADFPKJABDN);
|
|
ActionEvent<Transform> actionEvent12;
|
|
jobonjmajhj8.SelectionTranslationStarted = actionEvent12;
|
|
CreationContext jobonjmajhj9 = this.JOBONJMAJHJ;
|
|
ActionEvent selectionTranslationFinished = jobonjmajhj9.SelectionTranslationFinished;
|
|
Action action13 = new Action(this.EDBHFAMNFMH);
|
|
ActionEvent actionEvent13 = selectionTranslationFinished - action13;
|
|
jobonjmajhj9.SelectionTranslationFinished = actionEvent13;
|
|
CreationContext jobonjmajhj10 = this.JOBONJMAJHJ;
|
|
ActionEvent<Transform, Vector3> selectionRotationStarted = jobonjmajhj10.SelectionRotationStarted;
|
|
Action<Transform, Vector3> action14 = new Action(this.MGHHLKJDKKE);
|
|
ActionEvent<Transform> actionEvent14;
|
|
jobonjmajhj10.SelectionRotationStarted = actionEvent14;
|
|
CreationContext jobonjmajhj11 = this.JOBONJMAJHJ;
|
|
ActionEvent selectionRotationFinished = jobonjmajhj11.SelectionRotationFinished;
|
|
Action action15 = new Action(this.GJIEDJKNGCC);
|
|
ActionEvent actionEvent15 = selectionRotationFinished - action15;
|
|
jobonjmajhj11.SelectionRotationFinished = actionEvent15;
|
|
CreationContext jobonjmajhj12 = this.JOBONJMAJHJ;
|
|
ActionEvent<Transform, Vector3> selectionScalingStarted = jobonjmajhj12.SelectionScalingStarted;
|
|
Action<Transform, Vector3> action16 = new Action(this.HFAPJEEABPC);
|
|
ActionEvent<Transform> actionEvent16;
|
|
jobonjmajhj12.SelectionScalingStarted = actionEvent16;
|
|
CreationContext jobonjmajhj13 = this.JOBONJMAJHJ;
|
|
ActionEvent selectionScalingFinished = jobonjmajhj13.SelectionScalingFinished;
|
|
Action action17 = new Action(this.EIOJGJNOEAJ);
|
|
ActionEvent actionEvent17 = selectionScalingFinished - action17;
|
|
jobonjmajhj13.SelectionScalingFinished = actionEvent17;
|
|
CreationContext jobonjmajhj14 = this.JOBONJMAJHJ;
|
|
ActionEvent<Vector3> hoverHighlightStarted = jobonjmajhj14.HoverHighlightStarted;
|
|
Action<Vector3> action18 = new Action(this.CGOLMBOLDNH);
|
|
ActionEvent<Vector3> actionEvent18 = hoverHighlightStarted - action18;
|
|
jobonjmajhj14.HoverHighlightStarted = actionEvent18;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060108A5 RID: 67749 RVA: 0x003E3300 File Offset: 0x003E1500
|
|
[Token(Token = "0x60108A5")]
|
|
[Address(RVA = "0x1506600", Offset = "0x1505000", VA = "0x181506600")]
|
|
private void GCGBPIGOBIP()
|
|
{
|
|
this.DJPPMLLEGIP();
|
|
CreationContext creationContext = this.DNNCJCBOIAN.DHBPEOCPGAO;
|
|
this.JOBONJMAJHJ = creationContext;
|
|
this.KNKJAFGKIIC();
|
|
}
|
|
|
|
// Token: 0x060108A6 RID: 67750 RVA: 0x003E3334 File Offset: 0x003E1534
|
|
[Token(Token = "0x60108A6")]
|
|
[Address(RVA = "0x1506420", Offset = "0x1504E20", VA = "0x181506420")]
|
|
private void FEHJKBHOOJG()
|
|
{
|
|
RecRoomAudioClip exitEditModeSfx = this.content.ExitEditModeSfx;
|
|
int num = 0;
|
|
SFXAudioSource sfxaudioSource = AudioManager.Play2DSFX(exitEditModeSfx, num);
|
|
}
|
|
|
|
// Token: 0x060108A7 RID: 67751 RVA: 0x003E3360 File Offset: 0x003E1560
|
|
[Token(Token = "0x60108A7")]
|
|
[Address(RVA = "0x1505A40", Offset = "0x1504440", VA = "0x181505A40")]
|
|
private void CGOLMBOLDNH(Vector3 DDHPAFKBMON)
|
|
{
|
|
RecRoomAudioClip hoverObjectSfx = this.content.hoverObjectSfx;
|
|
float z = DDHPAFKBMON.z;
|
|
}
|
|
|
|
// Token: 0x060108A8 RID: 67752 RVA: 0x003E3388 File Offset: 0x003E1588
|
|
[Token(Token = "0x60108A8")]
|
|
[Address(RVA = "0x1506640", Offset = "0x1505040", VA = "0x181506640")]
|
|
private void GHAPAECLDII(Vector3 DDHPAFKBMON)
|
|
{
|
|
RecRoomAudioClip selectObjectSfx = this.content.selectObjectSfx;
|
|
float z = DDHPAFKBMON.z;
|
|
}
|
|
|
|
// Token: 0x060108A9 RID: 67753 RVA: 0x003E33B0 File Offset: 0x003E15B0
|
|
[Token(Token = "0x60108A9")]
|
|
[Address(RVA = "0x1507230", Offset = "0x1505C30", VA = "0x181507230")]
|
|
private void IMPDCMBJDJF(Vector3 DDHPAFKBMON)
|
|
{
|
|
RecRoomAudioClip deselectObjectSfx = this.content.deselectObjectSfx;
|
|
float z = DDHPAFKBMON.z;
|
|
}
|
|
|
|
// Token: 0x060108AA RID: 67754 RVA: 0x003E33D8 File Offset: 0x003E15D8
|
|
[Token(Token = "0x60108AA")]
|
|
[Address(RVA = "0x1505180", Offset = "0x1503B80", VA = "0x181505180")]
|
|
private void AOMDKLINDLA(Vector3 DDHPAFKBMON)
|
|
{
|
|
RecRoomAudioClip[] gridSnapTickSfx = this.content.gridSnapTickSfx;
|
|
float z = DDHPAFKBMON.z;
|
|
}
|
|
|
|
// Token: 0x060108AB RID: 67755 RVA: 0x003E3400 File Offset: 0x003E1600
|
|
[Token(Token = "0x60108AB")]
|
|
[Address(RVA = "0x1505670", Offset = "0x1504070", VA = "0x181505670")]
|
|
private void BIPAHFPIMAO(Vector3 DDHPAFKBMON)
|
|
{
|
|
RecRoomAudioClip[] deleteObjectSfx = this.content.deleteObjectSfx;
|
|
float z = DDHPAFKBMON.z;
|
|
}
|
|
|
|
// Token: 0x060108AC RID: 67756 RVA: 0x003E3428 File Offset: 0x003E1628
|
|
[Token(Token = "0x60108AC")]
|
|
[Address(RVA = "0x1507D30", Offset = "0x1506730", VA = "0x181507D30")]
|
|
private void MNCMBDBFPPA(MakerPenHandle DODBBMLLMHG)
|
|
{
|
|
if (DODBBMLLMHG.<IHGDJEPFIPC>k__BackingField <= MakerPenHandle.FNHHECGOJKM.XYZ)
|
|
{
|
|
float volume = this.content.xAxisHoverSfx.volume;
|
|
}
|
|
RecRoomAudioClip multiAxisHoverSfx = this.content.multiAxisHoverSfx;
|
|
Transform transform = DODBBMLLMHG.transform;
|
|
int num = 0;
|
|
int num2 = 0;
|
|
SFXAudioSource sfxaudioSource = AudioManager.Play3DSFX(multiAxisHoverSfx, transform, num2, num);
|
|
}
|
|
|
|
// Token: 0x060108AD RID: 67757 RVA: 0x003E347C File Offset: 0x003E167C
|
|
[Token(Token = "0x60108AD")]
|
|
[Address(RVA = "0x1506F30", Offset = "0x1505930", VA = "0x181506F30")]
|
|
private void HFHMIOIGOPI(Transform CNBAKBDFPID, Vector3 BHLLFBDJBAI)
|
|
{
|
|
RecRoomAudioClip[] pickupWithMakerPenSfx = this.content.pickupWithMakerPenSfx;
|
|
float z = BHLLFBDJBAI.z;
|
|
}
|
|
|
|
// Token: 0x060108AE RID: 67758 RVA: 0x003E34A4 File Offset: 0x003E16A4
|
|
[Token(Token = "0x60108AE")]
|
|
[Address(RVA = "0x15079B0", Offset = "0x15063B0", VA = "0x1815079B0")]
|
|
private void MDIODJGGELD(Vector3 BHLLFBDJBAI)
|
|
{
|
|
RecRoomAudioClip[] releaseWithMakerPenSfx = this.content.releaseWithMakerPenSfx;
|
|
float z = BHLLFBDJBAI.z;
|
|
}
|
|
|
|
// Token: 0x060108AF RID: 67759 RVA: 0x003E34CC File Offset: 0x003E16CC
|
|
[Token(Token = "0x60108AF")]
|
|
[Address(RVA = "0x1505890", Offset = "0x1504290", VA = "0x181505890")]
|
|
private void CAPKPDNFOGD(Vector3 PIOELODCPJN)
|
|
{
|
|
RecRoomAudioClip[] cloneObjectSfx = this.content.cloneObjectSfx;
|
|
float z = PIOELODCPJN.z;
|
|
}
|
|
|
|
// Token: 0x060108B0 RID: 67760 RVA: 0x003E34F4 File Offset: 0x003E16F4
|
|
[Token(Token = "0x60108B0")]
|
|
[Address(RVA = "0x1506D30", Offset = "0x1505730", VA = "0x181506D30")]
|
|
private void HBBCBABLMHE(Vector3 PIOELODCPJN)
|
|
{
|
|
RecRoomAudioClip[] createObjectSfx = this.content.createObjectSfx;
|
|
float z = PIOELODCPJN.z;
|
|
}
|
|
|
|
// Token: 0x060108B1 RID: 67761 RVA: 0x003E351C File Offset: 0x003E171C
|
|
[Token(Token = "0x60108B1")]
|
|
[Address(RVA = "0x15072D0", Offset = "0x1505CD0", VA = "0x1815072D0")]
|
|
private void KALENKBFKED()
|
|
{
|
|
RecRoomAudioClip roomSaveSuccessSfx = this.content.roomSaveSuccessSfx;
|
|
int num = 0;
|
|
SFXAudioSource sfxaudioSource = AudioManager.Play2DSFX(roomSaveSuccessSfx, num);
|
|
}
|
|
|
|
// Token: 0x060108B2 RID: 67762 RVA: 0x003E3548 File Offset: 0x003E1748
|
|
[Token(Token = "0x60108B2")]
|
|
[Address(RVA = "0x1505BB0", Offset = "0x15045B0", VA = "0x181505BB0")]
|
|
private void DECKNKDNOPG()
|
|
{
|
|
MakerPenAudioContent makerPenAudioContent = this.content;
|
|
DynamicAudioLoopContent shapeCreationAudioLoop = makerPenAudioContent.shapeCreationAudioLoop;
|
|
Transform nnadbjjplpi = this.NNADBJJPLPI;
|
|
int num = 0;
|
|
DynamicAudioClip[] loopingAudioClips = makerPenAudioContent.shapeCreationAudioLoop.LoopingAudioClips;
|
|
this.HIBECMMBCEH(shapeCreationAudioLoop, nnadbjjplpi, num);
|
|
}
|
|
|
|
// Token: 0x060108B3 RID: 67763 RVA: 0x003E3588 File Offset: 0x003E1788
|
|
[Token(Token = "0x60108B3")]
|
|
[Address(RVA = "0x1506530", Offset = "0x1504F30", VA = "0x181506530")]
|
|
private void GAEJHOHBKGB()
|
|
{
|
|
MakerPenAudioContent makerPenAudioContent = this.content;
|
|
DynamicAudioLoopContent shapeCreationAudioLoop = makerPenAudioContent.shapeCreationAudioLoop;
|
|
DynamicAudioClip[] loopingAudioClips = makerPenAudioContent.shapeCreationAudioLoop.LoopingAudioClips;
|
|
Dictionary<DynamicAudioLoopContent, GCGNPBFDLPP> jdonkegpkbf = this.JDONKEGPKBF;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x060108B4 RID: 67764 RVA: 0x003E35C4 File Offset: 0x003E17C4
|
|
[Token(Token = "0x60108B4")]
|
|
[Address(RVA = "0x1508560", Offset = "0x1506F60", VA = "0x181508560")]
|
|
private void PAPPDCIPEFK()
|
|
{
|
|
MakerPenAudioContent makerPenAudioContent = this.content;
|
|
DynamicAudioLoopContent curveExtrusionAudioLoop = makerPenAudioContent.curveExtrusionAudioLoop;
|
|
Transform nnadbjjplpi = this.NNADBJJPLPI;
|
|
int num = 0;
|
|
DynamicAudioClip[] loopingAudioClips = makerPenAudioContent.curveExtrusionAudioLoop.LoopingAudioClips;
|
|
this.HIBECMMBCEH(curveExtrusionAudioLoop, nnadbjjplpi, num);
|
|
}
|
|
|
|
// Token: 0x060108B5 RID: 67765 RVA: 0x003E3604 File Offset: 0x003E1804
|
|
[Token(Token = "0x60108B5")]
|
|
[Address(RVA = "0x1505AE0", Offset = "0x15044E0", VA = "0x181505AE0")]
|
|
private void CKFGCLKMFOA()
|
|
{
|
|
MakerPenAudioContent makerPenAudioContent = this.content;
|
|
DynamicAudioLoopContent curveExtrusionAudioLoop = makerPenAudioContent.curveExtrusionAudioLoop;
|
|
DynamicAudioClip[] loopingAudioClips = makerPenAudioContent.curveExtrusionAudioLoop.LoopingAudioClips;
|
|
Dictionary<DynamicAudioLoopContent, GCGNPBFDLPP> jdonkegpkbf = this.JDONKEGPKBF;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x060108B6 RID: 67766 RVA: 0x003E3640 File Offset: 0x003E1840
|
|
[Token(Token = "0x60108B6")]
|
|
[Address(RVA = "0x1506A40", Offset = "0x1505440", VA = "0x181506A40")]
|
|
private void HADFPKJABDN(Transform CNBAKBDFPID, Vector3 BHLLFBDJBAI)
|
|
{
|
|
float z = BHLLFBDJBAI.z;
|
|
MakerPenAudioContent makerPenAudioContent = this.content;
|
|
Vector3 vector;
|
|
float z2 = vector.z;
|
|
DynamicAudioLoopContent moveObjectAudioLoop = makerPenAudioContent.moveObjectAudioLoop;
|
|
DynamicAudioClip[] loopingAudioClips = makerPenAudioContent.moveObjectAudioLoop.LoopingAudioClips;
|
|
int num = 0;
|
|
this.HIBECMMBCEH(moveObjectAudioLoop, CNBAKBDFPID, num);
|
|
}
|
|
|
|
// Token: 0x060108B7 RID: 67767 RVA: 0x003E368C File Offset: 0x003E188C
|
|
[Token(Token = "0x60108B7")]
|
|
[Address(RVA = "0x1506260", Offset = "0x1504C60", VA = "0x181506260")]
|
|
private void EDBHFAMNFMH()
|
|
{
|
|
MakerPenAudioContent makerPenAudioContent = this.content;
|
|
DynamicAudioLoopContent moveObjectAudioLoop = makerPenAudioContent.moveObjectAudioLoop;
|
|
DynamicAudioClip[] loopingAudioClips = makerPenAudioContent.moveObjectAudioLoop.LoopingAudioClips;
|
|
Dictionary<DynamicAudioLoopContent, GCGNPBFDLPP> jdonkegpkbf = this.JDONKEGPKBF;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x060108B8 RID: 67768 RVA: 0x003E36C8 File Offset: 0x003E18C8
|
|
[Token(Token = "0x60108B8")]
|
|
[Address(RVA = "0x1507A60", Offset = "0x1506460", VA = "0x181507A60")]
|
|
private void MGHHLKJDKKE(Transform CNBAKBDFPID, Vector3 BHLLFBDJBAI)
|
|
{
|
|
float z = BHLLFBDJBAI.z;
|
|
MakerPenAudioContent makerPenAudioContent = this.content;
|
|
Vector3 vector;
|
|
float z2 = vector.z;
|
|
DynamicAudioLoopContent rotateObjectAudioLoop = makerPenAudioContent.rotateObjectAudioLoop;
|
|
DynamicAudioClip[] loopingAudioClips = makerPenAudioContent.rotateObjectAudioLoop.LoopingAudioClips;
|
|
int num = 0;
|
|
this.HIBECMMBCEH(rotateObjectAudioLoop, CNBAKBDFPID, num);
|
|
}
|
|
|
|
// Token: 0x060108B9 RID: 67769 RVA: 0x003E3714 File Offset: 0x003E1914
|
|
[Token(Token = "0x60108B9")]
|
|
[Address(RVA = "0x15066E0", Offset = "0x15050E0", VA = "0x1815066E0")]
|
|
private void GJIEDJKNGCC()
|
|
{
|
|
MakerPenAudioContent makerPenAudioContent = this.content;
|
|
DynamicAudioLoopContent rotateObjectAudioLoop = makerPenAudioContent.rotateObjectAudioLoop;
|
|
DynamicAudioClip[] loopingAudioClips = makerPenAudioContent.rotateObjectAudioLoop.LoopingAudioClips;
|
|
Dictionary<DynamicAudioLoopContent, GCGNPBFDLPP> jdonkegpkbf = this.JDONKEGPKBF;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x060108BA RID: 67770 RVA: 0x003E3750 File Offset: 0x003E1950
|
|
[Token(Token = "0x60108BA")]
|
|
[Address(RVA = "0x1506DE0", Offset = "0x15057E0", VA = "0x181506DE0")]
|
|
private void HFAPJEEABPC(Transform CNBAKBDFPID, Vector3 BHLLFBDJBAI)
|
|
{
|
|
float z = BHLLFBDJBAI.z;
|
|
MakerPenAudioContent makerPenAudioContent = this.content;
|
|
Vector3 vector;
|
|
float z2 = vector.z;
|
|
DynamicAudioLoopContent scaleObjectAudioLoop = makerPenAudioContent.scaleObjectAudioLoop;
|
|
DynamicAudioClip[] loopingAudioClips = makerPenAudioContent.scaleObjectAudioLoop.LoopingAudioClips;
|
|
int num = 0;
|
|
this.HIBECMMBCEH(scaleObjectAudioLoop, CNBAKBDFPID, num);
|
|
}
|
|
|
|
// Token: 0x060108BB RID: 67771 RVA: 0x003E379C File Offset: 0x003E199C
|
|
[Token(Token = "0x60108BB")]
|
|
[Address(RVA = "0x1506340", Offset = "0x1504D40", VA = "0x181506340")]
|
|
private void EIOJGJNOEAJ()
|
|
{
|
|
MakerPenAudioContent makerPenAudioContent = this.content;
|
|
DynamicAudioLoopContent scaleObjectAudioLoop = makerPenAudioContent.scaleObjectAudioLoop;
|
|
DynamicAudioClip[] loopingAudioClips = makerPenAudioContent.scaleObjectAudioLoop.LoopingAudioClips;
|
|
Dictionary<DynamicAudioLoopContent, GCGNPBFDLPP> jdonkegpkbf = this.JDONKEGPKBF;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x060108BC RID: 67772 RVA: 0x003E37D8 File Offset: 0x003E19D8
|
|
[Token(Token = "0x60108BC")]
|
|
[Address(RVA = "0x15085D0", Offset = "0x1506FD0", VA = "0x1815085D0")]
|
|
private void PCBFMNCGGKC(bool IFFAIOGFJJB, Transform CNBAKBDFPID, Vector3 DDHPAFKBMON)
|
|
{
|
|
MakerPenAudioContent makerPenAudioContent = this.content;
|
|
DynamicAudioLoopContent wiringAudioLoop = makerPenAudioContent.wiringAudioLoop;
|
|
DynamicAudioClip[] loopingAudioClips = makerPenAudioContent.wiringAudioLoop.LoopingAudioClips;
|
|
int num = 0;
|
|
float z = DDHPAFKBMON.z;
|
|
this.HIBECMMBCEH(wiringAudioLoop, CNBAKBDFPID, num);
|
|
}
|
|
|
|
// Token: 0x060108BD RID: 67773 RVA: 0x003E3818 File Offset: 0x003E1A18
|
|
[Token(Token = "0x60108BD")]
|
|
[Address(RVA = "0x1506B90", Offset = "0x1505590", VA = "0x181506B90")]
|
|
private void HAELNDLFONA(bool IFFAIOGFJJB, Transform CNBAKBDFPID, Vector3 DDHPAFKBMON)
|
|
{
|
|
MakerPenAudioContent makerPenAudioContent = this.content;
|
|
DynamicAudioLoopContent wiringAudioLoop = makerPenAudioContent.wiringAudioLoop;
|
|
DynamicAudioClip[] loopingAudioClips = makerPenAudioContent.wiringAudioLoop.LoopingAudioClips;
|
|
Dictionary<DynamicAudioLoopContent, GCGNPBFDLPP> jdonkegpkbf = this.JDONKEGPKBF;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
RecRoomAudioClip wiringDisconnectSfx = this.content.wiringDisconnectSfx;
|
|
float z = DDHPAFKBMON.z;
|
|
RecRoomAudioClip wiringDisconnect2DSfx = this.content.wiringDisconnect2DSfx;
|
|
int num = 0;
|
|
SFXAudioSource sfxaudioSource = AudioManager.Play2DSFX(wiringDisconnect2DSfx, num);
|
|
}
|
|
|
|
// Token: 0x060108BE RID: 67774 RVA: 0x003E3884 File Offset: 0x003E1A84
|
|
[Token(Token = "0x60108BE")]
|
|
[Address(RVA = "0x1506870", Offset = "0x1505270", VA = "0x181506870")]
|
|
private void GPGBHBGJHEO(bool IFFAIOGFJJB, Transform CNBAKBDFPID, Vector3 DDHPAFKBMON)
|
|
{
|
|
MakerPenAudioContent makerPenAudioContent = this.content;
|
|
DynamicAudioLoopContent wiringAudioLoop = makerPenAudioContent.wiringAudioLoop;
|
|
DynamicAudioClip[] loopingAudioClips = makerPenAudioContent.wiringAudioLoop.LoopingAudioClips;
|
|
Dictionary<DynamicAudioLoopContent, GCGNPBFDLPP> jdonkegpkbf = this.JDONKEGPKBF;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
MakerPenAudioContent makerPenAudioContent2 = this.content;
|
|
RecRoomAudioClip wiringConnectFailedSfx;
|
|
if (!IFFAIOGFJJB)
|
|
{
|
|
wiringConnectFailedSfx = makerPenAudioContent2.wiringConnectFailedSfx;
|
|
int num = 0;
|
|
SFXAudioSource sfxaudioSource = AudioManager.Play2DSFX(wiringConnectFailedSfx, num);
|
|
return;
|
|
}
|
|
float z = DDHPAFKBMON.z;
|
|
float volume = wiringConnectFailedSfx.volume;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060108BF RID: 67775 RVA: 0x003E38F4 File Offset: 0x003E1AF4
|
|
[Token(Token = "0x60108BF")]
|
|
[Address(RVA = "0x1505720", Offset = "0x1504120", VA = "0x181505720")]
|
|
private void BLPHJHLLOKN(bool IFFAIOGFJJB, Transform CNBAKBDFPID, Vector3 DDHPAFKBMON)
|
|
{
|
|
MakerPenAudioContent makerPenAudioContent = this.content;
|
|
DynamicAudioLoopContent wiringAudioLoop = makerPenAudioContent.wiringAudioLoop;
|
|
DynamicAudioClip[] loopingAudioClips = makerPenAudioContent.wiringAudioLoop.LoopingAudioClips;
|
|
Dictionary<DynamicAudioLoopContent, GCGNPBFDLPP> jdonkegpkbf = this.JDONKEGPKBF;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
RecRoomAudioClip wiringCanceledSfx = this.content.wiringCanceledSfx;
|
|
float z = DDHPAFKBMON.z;
|
|
}
|
|
|
|
// Token: 0x060108C0 RID: 67776 RVA: 0x003E3944 File Offset: 0x003E1B44
|
|
[Token(Token = "0x60108C0")]
|
|
[Address(RVA = "0x10E4CE0", Offset = "0x10E36E0", VA = "0x1810E4CE0")]
|
|
private void ILJNIKPLABL()
|
|
{
|
|
this.CADNFBNNCMI = true;
|
|
}
|
|
|
|
// Token: 0x060108C1 RID: 67777 RVA: 0x003E3958 File Offset: 0x003E1B58
|
|
[Token(Token = "0x60108C1")]
|
|
[Address(RVA = "0xCD80E0", Offset = "0xCD6AE0", VA = "0x180CD80E0")]
|
|
private void BAGILLFDCFO(CLKCBCAGDDK GDHMPAOHJOB)
|
|
{
|
|
this.MMELJFCLBPH = GDHMPAOHJOB;
|
|
}
|
|
|
|
// Token: 0x060108C2 RID: 67778 RVA: 0x003E396C File Offset: 0x003E1B6C
|
|
[Token(Token = "0x60108C2")]
|
|
[Address(RVA = "0x15055D0", Offset = "0x1503FD0", VA = "0x1815055D0")]
|
|
private void BILKLJLANAE()
|
|
{
|
|
CLKCBCAGDDK mmeljfclbph = this.MMELJFCLBPH;
|
|
if (this.CADNFBNNCMI)
|
|
{
|
|
if (mmeljfclbph == CLKCBCAGDDK.INVALID || MakerPenPaletteMainScreen.NGCMMBNAHKG == MakerPenPaletteMainScreen.PDANAFCBNHI.Colors)
|
|
{
|
|
this.IBPMDJDBIOE();
|
|
this.MMELJFCLBPH = (CLKCBCAGDDK)((ulong)4294967295L);
|
|
this.CADNFBNNCMI = false;
|
|
return;
|
|
}
|
|
}
|
|
else if (mmeljfclbph == CLKCBCAGDDK.INVALID)
|
|
{
|
|
goto IL_46;
|
|
}
|
|
this.CEGMAGJKMAF();
|
|
IL_46:
|
|
this.MMELJFCLBPH = (CLKCBCAGDDK)((ulong)4294967295L);
|
|
this.CADNFBNNCMI = false;
|
|
}
|
|
|
|
// Token: 0x060108C3 RID: 67779 RVA: 0x003E39D8 File Offset: 0x003E1BD8
|
|
[Token(Token = "0x60108C3")]
|
|
[Address(RVA = "0x1507180", Offset = "0x1505B80", VA = "0x181507180")]
|
|
private void IBPMDJDBIOE()
|
|
{
|
|
RecRoomAudioClip[] recolorObjectSfx = this.content.recolorObjectSfx;
|
|
int num = 0;
|
|
int num2 = 0;
|
|
SFXAudioSource sfxaudioSource = AudioManager.PlayRandom2DSFX(recolorObjectSfx, num2 != 0, 1f, num);
|
|
}
|
|
|
|
// Token: 0x060108C4 RID: 67780 RVA: 0x003E3A0C File Offset: 0x003E1C0C
|
|
[Token(Token = "0x60108C4")]
|
|
[Address(RVA = "0x1505940", Offset = "0x1504340", VA = "0x181505940")]
|
|
private void CEGMAGJKMAF()
|
|
{
|
|
MakerPenAudioContent makerPenAudioContent = this.content;
|
|
MaterialChangeAudioClip[] specificMaterialChangeSfx = makerPenAudioContent.specificMaterialChangeSfx;
|
|
int num = 0;
|
|
int num2 = 0;
|
|
int length = specificMaterialChangeSfx.Length;
|
|
if (num2 < length)
|
|
{
|
|
num += 2;
|
|
num += num;
|
|
if (num != (int)this.MMELJFCLBPH)
|
|
{
|
|
num++;
|
|
}
|
|
return;
|
|
}
|
|
RecRoomAudioClip[] genericChangeMaterialSfx = makerPenAudioContent.genericChangeMaterialSfx;
|
|
int num3 = 0;
|
|
int num4 = 0;
|
|
SFXAudioSource sfxaudioSource = AudioManager.PlayRandom2DSFX(genericChangeMaterialSfx, num4 != 0, 1f, num3);
|
|
}
|
|
|
|
// Token: 0x060108C5 RID: 67781 RVA: 0x003E3A78 File Offset: 0x003E1C78
|
|
[Token(Token = "0x60108C5")]
|
|
[Address(RVA = "0x1506FE0", Offset = "0x15059E0", VA = "0x181506FE0")]
|
|
private void HIBECMMBCEH(DynamicAudioLoopContent GMEOJEONOAH, [Optional] Transform ECIBEHMGGOE, [Optional] Vector3? OKPJCMBNBFL)
|
|
{
|
|
Dictionary<DynamicAudioLoopContent, GCGNPBFDLPP> jdonkegpkbf = this.JDONKEGPKBF;
|
|
DynamicAudioClip[] loopingAudioClips = GMEOJEONOAH.LoopingAudioClips;
|
|
bool flag;
|
|
if (!flag)
|
|
{
|
|
DynamicAudioClip[] loopingAudioClips2 = GMEOJEONOAH.LoopingAudioClips;
|
|
Dictionary<DynamicAudioLoopContent, GCGNPBFDLPP> jdonkegpkbf2 = this.JDONKEGPKBF;
|
|
DynamicAudioClip[] loopingAudioClips3 = GMEOJEONOAH.LoopingAudioClips;
|
|
}
|
|
bool flag2;
|
|
if (flag2)
|
|
{
|
|
List<GCGNPBFDLPP> jmpdiolpcdj = this.JMPDIOLPCDJ;
|
|
bool flag3;
|
|
if (!flag3)
|
|
{
|
|
List<GCGNPBFDLPP> jmpdiolpcdj2 = this.JMPDIOLPCDJ;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060108C6 RID: 67782 RVA: 0x003E3AD0 File Offset: 0x003E1CD0
|
|
[Token(Token = "0x60108C6")]
|
|
[Address(RVA = "0x1506490", Offset = "0x1504E90", VA = "0x181506490")]
|
|
private void FFCMPHPGFIE(DynamicAudioLoopContent GMEOJEONOAH)
|
|
{
|
|
Dictionary<DynamicAudioLoopContent, GCGNPBFDLPP> jdonkegpkbf = this.JDONKEGPKBF;
|
|
DynamicAudioClip[] loopingAudioClips = GMEOJEONOAH.LoopingAudioClips;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x060108C7 RID: 67783 RVA: 0x003E3AF8 File Offset: 0x003E1CF8
|
|
[Token(Token = "0x60108C7")]
|
|
[Address(RVA = "0x1507BB0", Offset = "0x15065B0", VA = "0x181507BB0")]
|
|
private void MLHKMPBNKHI(bool NMLMAMINJNM)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
List<GCGNPBFDLPP> jmpdiolpcdj = this.JMPDIOLPCDJ;
|
|
List.Enumerator enumerator;
|
|
if (enumerator == 0 || !NMLMAMINJNM)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
this.JMPDIOLPCDJ.Clear();
|
|
}
|
|
|
|
// Token: 0x060108C8 RID: 67784 RVA: 0x003E3B3C File Offset: 0x003E1D3C
|
|
[Token(Token = "0x60108C8")]
|
|
[Address(RVA = "0x15067C0", Offset = "0x15051C0", VA = "0x1815067C0")]
|
|
private void GOGDCOBJACG(Tool NBHJPDBHDHB)
|
|
{
|
|
if (NBHJPDBHDHB.<BIPMAHKMNKF>k__BackingField)
|
|
{
|
|
global::Player <OKDFEPHLKCB>k__BackingField = NBHJPDBHDHB.<OKDFEPHLKCB>k__BackingField;
|
|
if (this.LPJCNECNNGP == (ulong)0L)
|
|
{
|
|
Action action = new Action(this.BALOKJMBNIN);
|
|
IDisposable disposable = this.Update(action);
|
|
this.LPJCNECNNGP = disposable;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060108C9 RID: 67785 RVA: 0x003E3B88 File Offset: 0x003E1D88
|
|
[Token(Token = "0x60108C9")]
|
|
[Address(RVA = "0x1507200", Offset = "0x1505C00", VA = "0x181507200")]
|
|
private void IIMFEMNIAIA(Tool NBHJPDBHDHB)
|
|
{
|
|
this.MLHKMPBNKHI(true);
|
|
IDisposable lpjcnecnngp = this.LPJCNECNNGP;
|
|
this.SafeStopSchedule(lpjcnecnngp);
|
|
this.LPJCNECNNGP = (ulong)0L;
|
|
}
|
|
|
|
// Token: 0x060108CA RID: 67786 RVA: 0x003E3BB4 File Offset: 0x003E1DB4
|
|
[Token(Token = "0x60108CA")]
|
|
[Address(RVA = "0x1508FC0", Offset = "0x15079C0", VA = "0x181508FC0")]
|
|
public MakerPenAudio()
|
|
{
|
|
Dictionary<DynamicAudioLoopContent, GCGNPBFDLPP> dictionary = new Dictionary();
|
|
this.JDONKEGPKBF = dictionary;
|
|
List<GCGNPBFDLPP> list = new List();
|
|
this.JMPDIOLPCDJ = list;
|
|
List<GCGNPBFDLPP> list2 = new List();
|
|
this.ACCGBNKBOIM = list2;
|
|
this.MMELJFCLBPH = (CLKCBCAGDDK)((ulong)4294967295L);
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x0400B02C RID: 45100
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400B02C")]
|
|
[SerializeField]
|
|
private MakerPenAudioContent content;
|
|
|
|
// Token: 0x0400B02D RID: 45101
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400B02D")]
|
|
private Tool IFFCFCNAOPC;
|
|
|
|
// Token: 0x0400B02E RID: 45102
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400B02E")]
|
|
private CreationContext JOBONJMAJHJ;
|
|
|
|
// Token: 0x0400B02F RID: 45103
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400B02F")]
|
|
private PHGNLBEAGOG IAIABDCONKG;
|
|
|
|
// Token: 0x0400B030 RID: 45104
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400B030")]
|
|
private MakerPen DGEJNGNOELG;
|
|
|
|
// Token: 0x0400B031 RID: 45105
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400B031")]
|
|
private CharadesPen DNNCJCBOIAN;
|
|
|
|
// Token: 0x0400B032 RID: 45106
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400B032")]
|
|
private Transform NNADBJJPLPI;
|
|
|
|
// Token: 0x0400B033 RID: 45107
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x400B033")]
|
|
private Dictionary<DynamicAudioLoopContent, GCGNPBFDLPP> JDONKEGPKBF;
|
|
|
|
// Token: 0x0400B034 RID: 45108
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x400B034")]
|
|
private List<GCGNPBFDLPP> JMPDIOLPCDJ;
|
|
|
|
// Token: 0x0400B035 RID: 45109
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x400B035")]
|
|
private List<GCGNPBFDLPP> ACCGBNKBOIM;
|
|
|
|
// Token: 0x0400B036 RID: 45110
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x400B036")]
|
|
private IDisposable LPJCNECNNGP;
|
|
|
|
// Token: 0x0400B037 RID: 45111
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x400B037")]
|
|
private bool CADNFBNNCMI;
|
|
|
|
// Token: 0x0400B038 RID: 45112
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x74")]
|
|
[Token(Token = "0x400B038")]
|
|
private CLKCBCAGDDK MMELJFCLBPH;
|
|
}
|
|
}
|