oh dear
This commit is contained in:
@@ -0,0 +1,204 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom.Core.Creation;
|
||||
using RecRoom.Core.Creation.Circuits;
|
||||
|
||||
namespace RecRoom.Tools.MakerPenTools
|
||||
{
|
||||
// Token: 0x02002A84 RID: 10884
|
||||
[Token(Token = "0x2002A84")]
|
||||
[Serializable]
|
||||
public class MakerPenAddCircuitToGroupOperation : MakerPenOperation
|
||||
{
|
||||
// Token: 0x17003318 RID: 13080
|
||||
// (get) Token: 0x060124AC RID: 74924 RVA: 0x0042EF18 File Offset: 0x0042D118
|
||||
[Token(Token = "0x17003318")]
|
||||
public bool CanAddCircuitsToGroup
|
||||
{
|
||||
[Token(Token = "0x60124AC")]
|
||||
[Address(RVA = "0x1305B90", Offset = "0x1304990", VA = "0x181305B90")]
|
||||
get
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
int num = 0;
|
||||
CreationContext <BDFEKAONFDI>k__BackingField = this.<MakerPen>k__BackingField.<BDFEKAONFDI>k__BackingField;
|
||||
List<GIPDDLFFNGG> llfdkcncmkf = <BDFEKAONFDI>k__BackingField.LLFDKCNCMKF;
|
||||
CircuitGroup component;
|
||||
if (<BDFEKAONFDI>k__BackingField != 0)
|
||||
{
|
||||
int num2 = 0;
|
||||
if (!(<BDFEKAONFDI>k__BackingField == num2))
|
||||
{
|
||||
component = <BDFEKAONFDI>k__BackingField.GetComponent<CircuitGroup>();
|
||||
int num3 = 0;
|
||||
if (num == num3)
|
||||
{
|
||||
int num4 = 0;
|
||||
if (component != num4)
|
||||
{
|
||||
}
|
||||
}
|
||||
bool flag;
|
||||
if (flag && !flag)
|
||||
{
|
||||
num++;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (<BDFEKAONFDI>k__BackingField != 0)
|
||||
{
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
int num5 = 0;
|
||||
if (component != num5)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060124AD RID: 74925 RVA: 0x0042EFB4 File Offset: 0x0042D1B4
|
||||
[Token(Token = "0x60124AD")]
|
||||
[Address(RVA = "0x1305460", Offset = "0x1304260", VA = "0x181305460")]
|
||||
public PMGCJEPKFOF<string> KDCNNPNLNDJ()
|
||||
{
|
||||
int num;
|
||||
int num5;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
if (!KCPNMEMDCAB.OACIANBCPOG(this.<MakerPen>k__BackingField.<BDFEKAONFDI>k__BackingField))
|
||||
{
|
||||
goto IL_1A1;
|
||||
}
|
||||
CircuitGroup firstCircuitGroup = num;
|
||||
List<CreationObject> list = new List();
|
||||
List<CreationObject> circuitsToAdd = list;
|
||||
CreationContext <BDFEKAONFDI>k__BackingField = this.<MakerPen>k__BackingField.<BDFEKAONFDI>k__BackingField;
|
||||
List<GIPDDLFFNGG> llfdkcncmkf = <BDFEKAONFDI>k__BackingField.LLFDKCNCMKF;
|
||||
if (<BDFEKAONFDI>k__BackingField != 0)
|
||||
{
|
||||
int num2 = 0;
|
||||
if (<BDFEKAONFDI>k__BackingField == num2)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
CircuitGroup component = <BDFEKAONFDI>k__BackingField.GetComponent<CircuitGroup>();
|
||||
CircuitGroup firstCircuitGroup5 = firstCircuitGroup;
|
||||
int num3 = 0;
|
||||
if (firstCircuitGroup5 == num3)
|
||||
{
|
||||
int num4 = 0;
|
||||
if (component != num4)
|
||||
{
|
||||
firstCircuitGroup = component;
|
||||
}
|
||||
}
|
||||
bool flag;
|
||||
while (!flag)
|
||||
{
|
||||
}
|
||||
List<CreationObject> circuitsToAdd3 = circuitsToAdd;
|
||||
}
|
||||
num5 = 0;
|
||||
if (<BDFEKAONFDI>k__BackingField != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
CircuitGroup firstCircuitGroup2 = mhchikigmcm.firstCircuitGroup;
|
||||
int num6 = 0;
|
||||
if (!(firstCircuitGroup2 == num6))
|
||||
{
|
||||
List<CreationObject> circuitsToAdd2 = mhchikigmcm.circuitsToAdd;
|
||||
CircuitGroup firstCircuitGroup3 = mhchikigmcm.firstCircuitGroup;
|
||||
int size = firstCircuitGroup3.ActiveInputInterfaceNodes._size;
|
||||
int size2 = firstCircuitGroup3.ActiveOutputInterfaceNodes._size;
|
||||
int num7 = KCPNMEMDCAB.EDHGJGAOFPL(mhchikigmcm.circuitsToAdd);
|
||||
CircuitGroup firstCircuitGroup4 = mhchikigmcm.firstCircuitGroup;
|
||||
int num8 = 0;
|
||||
if (firstCircuitGroup4 != num8)
|
||||
{
|
||||
num5++;
|
||||
}
|
||||
if (0UL < (ulong)5L)
|
||||
{
|
||||
CBLLFJEDOII<string> cbllfjedoii = new CBLLFJEDOII();
|
||||
mhchikigmcm.promise = cbllfjedoii;
|
||||
CreationManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
||||
List<GIPDDLFFNGG> list2 = new List();
|
||||
CreationObject component2 = mhchikigmcm.firstCircuitGroup.GetComponent<CreationObject>();
|
||||
list2.Add(component2);
|
||||
Action<CreationManager.FPDPPELCJIH> action = delegate(CreationManager.FPDPPELCJIH result)
|
||||
{
|
||||
mhchikigmcm.promise.OOOIENHGNCA("Editing this invention is prohibited by its creator.");
|
||||
};
|
||||
}
|
||||
string text = KCPNMEMDCAB.LDLOKHBMJCD();
|
||||
string text2 = KCPNMEMDCAB.KOHJIJEDCNH();
|
||||
return JJEKJGALHKO.LIPGKFECLDO<string>(KCPNMEMDCAB.HMMCAGMKGOH());
|
||||
}
|
||||
PMGCJEPKFOF<string> pmgcjepkfof = JJEKJGALHKO.LIPGKFECLDO<string>("No circuit board selected");
|
||||
IL_1A1:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060124AE RID: 74926 RVA: 0x0042F188 File Offset: 0x0042D388
|
||||
[Token(Token = "0x60124AE")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public MakerPenAddCircuitToGroupOperation()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x02002A85 RID: 10885
|
||||
[Token(Token = "0x2002A85")]
|
||||
[CompilerGenerated]
|
||||
private sealed class MHCHIKIGMCM
|
||||
{
|
||||
// Token: 0x060124AF RID: 74927 RVA: 0x0042F19C File Offset: 0x0042D39C
|
||||
[Token(Token = "0x60124AF")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public MHCHIKIGMCM()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060124B0 RID: 74928 RVA: 0x0042F1B0 File Offset: 0x0042D3B0
|
||||
[Token(Token = "0x60124B0")]
|
||||
[Address(RVA = "0x1305270", Offset = "0x1304070", VA = "0x181305270")]
|
||||
internal void <TryAddCircuitsToGroup>b__0(CreationManager.FPDPPELCJIH result)
|
||||
{
|
||||
this.promise.OOOIENHGNCA("Editing this invention is prohibited by its creator.");
|
||||
}
|
||||
|
||||
// Token: 0x0400BCDC RID: 48348
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400BCDC")]
|
||||
public CircuitGroup firstCircuitGroup;
|
||||
|
||||
// Token: 0x0400BCDD RID: 48349
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400BCDD")]
|
||||
public List<CreationObject> circuitsToAdd;
|
||||
|
||||
// Token: 0x0400BCDE RID: 48350
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400BCDE")]
|
||||
public MakerPenAddCircuitToGroupOperation <>4__this;
|
||||
|
||||
// Token: 0x0400BCDF RID: 48351
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400BCDF")]
|
||||
public CBLLFJEDOII<string> promise;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user