Files
Aug2021-Cpp2IL-Dump/Assembly-CSharp/RecRoom/Tools/MakerPenTools/MakerPenToolConnect.cs
T
2026-04-10 22:50:51 +02:00

207 lines
8.8 KiB
C#

using System;
using Cpp2IlInjected;
using RecRoom.Core;
using RecRoom.Core.Creation;
using RecRoom.Core.Creation.Circuits;
using UnityEngine;
namespace RecRoom.Tools.MakerPenTools
{
// Token: 0x02002AD4 RID: 10964
[Token(Token = "0x2002AD4")]
[Serializable]
public class MakerPenToolConnect : MakerPenTool
{
// Token: 0x17003352 RID: 13138
// (get) Token: 0x0601263C RID: 75324 RVA: 0x0043480C File Offset: 0x00432A0C
[Token(Token = "0x17003352")]
public override string HudLabel
{
[Token(Token = "0x601263C")]
[Address(RVA = "0x130F440", Offset = "0x130E240", VA = "0x18130F440", Slot = "10")]
get
{
return "Wire";
}
}
// Token: 0x17003353 RID: 13139
// (get) Token: 0x0601263D RID: 75325 RVA: 0x00434820 File Offset: 0x00432A20
[Token(Token = "0x17003353")]
public override Sprite HudSprite
{
[Token(Token = "0x601263D")]
[Address(RVA = "0x130F470", Offset = "0x130E270", VA = "0x18130F470", Slot = "11")]
get
{
return NPILADHLMKC.KGDLBEAPDFE(NPILADHLMKC.ONGOGHFGDEF.Wire);
}
}
// Token: 0x0601263E RID: 75326 RVA: 0x00434834 File Offset: 0x00432A34
[Token(Token = "0x601263E")]
[Address(RVA = "0x130F130", Offset = "0x130DF30", VA = "0x18130F130", Slot = "4")]
public override void OFFLOPLJBBG(MakerPen.HJPIHGIFKEO FIBGLDDKDLB, MakerPen.KLAENPHIBEM OIHFNIFGFJB)
{
int num;
ulong num2;
JBAJNJCHHOP jbajnjchhop = new JBAJNJCHHOP(true, num != 0, 2f, num2 != 0UL);
num = 0;
this.selectState = jbajnjchhop;
JBICICHOMOC jbicichomoc = new JBICICHOMOC();
this.connectLogic = jbicichomoc;
if (this.selectState.OFFLOPLJBBG())
{
JBAJNJCHHOP jbajnjchhop2 = this.selectState;
Action<OEMPFDDKANC<GIPDDLFFNGG>.BJPMFNPGKIP> action = new Action(this.POAEKMINBLA);
JBAJNJCHHOP jbajnjchhop3 = this.selectState;
Action<OEMPFDDKANC<GIPDDLFFNGG>.BJPMFNPGKIP> action2 = new Action(this.FGKMAOPIPKE);
JBAJNJCHHOP jbajnjchhop4 = this.selectState;
Action<OEMPFDDKANC<GIPDDLFFNGG>.BJPMFNPGKIP> action3 = new Action(this.PCNPEKHBOIM);
JBAJNJCHHOP jbajnjchhop5 = this.selectState;
Action<OEMPFDDKANC<GIPDDLFFNGG>.BJPMFNPGKIP> action4 = new Action(this.HNGEFKLEBNN);
}
}
// Token: 0x0601263F RID: 75327 RVA: 0x004348DC File Offset: 0x00432ADC
[Token(Token = "0x601263F")]
[Address(RVA = "0x130ED90", Offset = "0x130DB90", VA = "0x18130ED90", Slot = "6")]
public override void DJFDPJKOGMJ(MakerPenTool.AGPFBFDFDHB EJCLBKHJIHO, MakerPen.HJPIHGIFKEO IFNKPAHPIID)
{
CreationController creationController = this.creationController;
JBICICHOMOC jbicichomoc = this.connectLogic;
CircuitLinkVisual circuitLinkVisual = this.connectionVisualPrefab;
CreationContext <CreationContext>k__BackingField = creationController.<CreationContext>k__BackingField;
jbicichomoc.DCIMMBEFAHE(<CreationContext>k__BackingField, circuitLinkVisual);
PHGNLBEAGOG <EHJOMHCJHPF>k__BackingField = this.creationController.<MakerPen>k__BackingField.<EHJOMHCJHPF>k__BackingField;
PHGNLBEAGOG.BMMLFDBPAHN bmmlfdbpahn = new PHGNLBEAGOG.BMMLFDBPAHN(this.connectLogic.DBKOHGMLNHD);
<EHJOMHCJHPF>k__BackingField.FNBKNJEDDMF(bmmlfdbpahn, this);
}
// Token: 0x06012640 RID: 75328 RVA: 0x00434944 File Offset: 0x00432B44
[Token(Token = "0x6012640")]
[Address(RVA = "0x130EAE0", Offset = "0x130D8E0", VA = "0x18130EAE0", Slot = "8")]
public override void BALOKJMBNIN()
{
CreationController creationController = this.creationController;
CreationController creationController2 = this.creationController;
CreationContext <CreationContext>k__BackingField = creationController2.<CreationContext>k__BackingField;
MakerPen <MakerPen>k__BackingField = creationController2.<MakerPen>k__BackingField;
JBICICHOMOC jbicichomoc = this.connectLogic;
GIPDDLFFNGG <MFOGOPGDIAG>k__BackingField = this.connectLogic.<MFOGOPGDIAG>k__BackingField;
int num = 0;
base.MIAPLOBGPML(<MFOGOPGDIAG>k__BackingField, num);
bool isSelectInputPressed = this.creationController.IsSelectInputPressed;
CreationController creationController3 = this.creationController;
JBAJNJCHHOP jbajnjchhop = this.selectState;
JBICICHOMOC jbicichomoc2 = this.connectLogic;
GIPDDLFFNGG <MFOGOPGDIAG>k__BackingField2 = jbicichomoc2.<MFOGOPGDIAG>k__BackingField;
float z = jbicichomoc2.<CHMFECDJIMH>k__BackingField.z;
}
// Token: 0x06012641 RID: 75329 RVA: 0x004349D8 File Offset: 0x00432BD8
[Token(Token = "0x6012641")]
[Address(RVA = "0x130ED20", Offset = "0x130DB20", VA = "0x18130ED20", Slot = "7")]
public override void BDMHMGGPNME(MakerPenTool.AGPFBFDFDHB EJCLBKHJIHO)
{
base.BDMHMGGPNME(EJCLBKHJIHO);
CreationContext <CreationContext>k__BackingField = this.creationController.<CreationContext>k__BackingField;
JBICICHOMOC jbicichomoc = this.connectLogic;
ConnectionCreationContext connectableCreationContext = <CreationContext>k__BackingField.connectableCreationContext;
jbicichomoc.MCEKHMFKGBM(connectableCreationContext);
this.creationController.<MakerPen>k__BackingField.<EHJOMHCJHPF>k__BackingField.HHKDGNOEBMF(this);
}
// Token: 0x06012642 RID: 75330 RVA: 0x00434A2C File Offset: 0x00432C2C
[Token(Token = "0x6012642")]
[Address(RVA = "0x130EEF0", Offset = "0x130DCF0", VA = "0x18130EEF0", Slot = "17")]
public override bool IFIHNMEBGLF(Ray OPMKFDNLHKI)
{
CreationController creationController = this.creationController;
Vector3 vector;
float z = vector.z;
float z2 = vector.z;
CreationController creationController2 = this.creationController;
CreationContext <CreationContext>k__BackingField = creationController2.<CreationContext>k__BackingField;
MakerPen <MakerPen>k__BackingField = creationController2.<MakerPen>k__BackingField;
JBICICHOMOC jbicichomoc = this.connectLogic;
int num = 0;
ConnectionPoint connectionPoint;
if (!(connectionPoint == num) && connectionPoint.KADAPJEJAPF == 0)
{
return true;
}
throw new NullReferenceException();
}
// Token: 0x06012643 RID: 75331 RVA: 0x00434A90 File Offset: 0x00432C90
[Token(Token = "0x6012643")]
[Address(RVA = "0x130F3A0", Offset = "0x130E1A0", VA = "0x18130F3A0")]
private void POAEKMINBLA(OEMPFDDKANC<GIPDDLFFNGG>.BJPMFNPGKIP OEKEOCOGKMG)
{
CreationContext <CreationContext>k__BackingField = this.creationController.<CreationContext>k__BackingField;
JBICICHOMOC jbicichomoc = this.connectLogic;
ConnectionCreationContext connectableCreationContext = <CreationContext>k__BackingField.connectableCreationContext;
jbicichomoc.EDEKMFHNPJL(connectableCreationContext);
}
// Token: 0x06012644 RID: 75332 RVA: 0x00434AC4 File Offset: 0x00432CC4
[Token(Token = "0x6012644")]
[Address(RVA = "0x130EE70", Offset = "0x130DC70", VA = "0x18130EE70")]
private void FGKMAOPIPKE(OEMPFDDKANC<GIPDDLFFNGG>.BJPMFNPGKIP OEKEOCOGKMG)
{
CreationContext <CreationContext>k__BackingField = this.creationController.<CreationContext>k__BackingField;
JBICICHOMOC jbicichomoc = this.connectLogic;
ConnectionCreationContext connectableCreationContext = <CreationContext>k__BackingField.connectableCreationContext;
jbicichomoc.MMJJGODMBIE(connectableCreationContext);
}
// Token: 0x06012645 RID: 75333 RVA: 0x00434AF8 File Offset: 0x00432CF8
[Token(Token = "0x6012645")]
[Address(RVA = "0x130F360", Offset = "0x130E160", VA = "0x18130F360")]
private void PCNPEKHBOIM(OEMPFDDKANC<GIPDDLFFNGG>.BJPMFNPGKIP OEKEOCOGKMG)
{
CreationContext <CreationContext>k__BackingField = this.creationController.<CreationContext>k__BackingField;
JBICICHOMOC jbicichomoc = this.connectLogic;
ConnectionCreationContext connectableCreationContext = <CreationContext>k__BackingField.connectableCreationContext;
jbicichomoc.ODJNAKCENBK(connectableCreationContext);
}
// Token: 0x06012646 RID: 75334 RVA: 0x00434B2C File Offset: 0x00432D2C
[Token(Token = "0x6012646")]
[Address(RVA = "0x130EEB0", Offset = "0x130DCB0", VA = "0x18130EEB0")]
private void HNGEFKLEBNN(OEMPFDDKANC<GIPDDLFFNGG>.BJPMFNPGKIP OEKEOCOGKMG)
{
CreationContext <CreationContext>k__BackingField = this.creationController.<CreationContext>k__BackingField;
JBICICHOMOC jbicichomoc = this.connectLogic;
ConnectionCreationContext connectableCreationContext = <CreationContext>k__BackingField.connectableCreationContext;
jbicichomoc.IMBJKLKIFAN(connectableCreationContext);
}
// Token: 0x06012647 RID: 75335 RVA: 0x00434B60 File Offset: 0x00432D60
[Token(Token = "0x6012647")]
[Address(RVA = "0x130F3E0", Offset = "0x130E1E0", VA = "0x18130F3E0")]
public MakerPenToolConnect()
{
}
// Token: 0x0400BE2C RID: 48684
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x400BE2C")]
[SerializeField]
private CircuitLinkVisual connectionVisualPrefab;
// Token: 0x0400BE2D RID: 48685
[FieldOffset(Offset = "0x50")]
[Token(Token = "0x400BE2D")]
[NonSerialized]
private JBAJNJCHHOP selectState;
// Token: 0x0400BE2E RID: 48686
[FieldOffset(Offset = "0x58")]
[Token(Token = "0x400BE2E")]
[NonSerialized]
private JBICICHOMOC connectLogic;
}
}