scripts
This commit is contained in:
@@ -0,0 +1,115 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using Google.Protobuf.Collections;
|
||||
using RecRoom.Async;
|
||||
using RecRoom.Core.Creation;
|
||||
using RecRoom.Core.Creation.Shapes;
|
||||
using RecRoom.Persistence;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x02002C3B RID: 11323
|
||||
[Token(Token = "0x2002C3B")]
|
||||
[StructLayout(3)]
|
||||
public abstract class NNEJFIKHGDL : GCHANDDKPBM
|
||||
{
|
||||
// Token: 0x06013E94 RID: 81556 RVA: 0x004C6CD0 File Offset: 0x004C4ED0
|
||||
[Token(Token = "0x6013E94")]
|
||||
[Address(RVA = "0x17B6000", Offset = "0x17B4A00", VA = "0x1817B6000")]
|
||||
public NNEJFIKHGDL(ShapeContainer shapeContainer, ENMKBCNAGIC shapeDataCollection)
|
||||
{
|
||||
PersistenceView persistenceView = shapeContainer.persistenceView;
|
||||
if (shapeDataCollection != 0)
|
||||
{
|
||||
RepeatedField<LAKMDOLHIBI> blhogddjnlb = shapeDataCollection.BLHOGDDJNLB;
|
||||
Debug.LogError("ModifyShapesUndoStep created with no shape data.");
|
||||
Guid[] array = new Guid[shapeDataCollection.BLHOGDDJNLB.count];
|
||||
this.KPGALHJPFCB = array;
|
||||
int num = 0;
|
||||
RepeatedField<LAKMDOLHIBI> blhogddjnlb2 = shapeDataCollection.BLHOGDDJNLB;
|
||||
Guid[] kpgalhjpfcb = this.KPGALHJPFCB;
|
||||
LAKMDOLHIBI lakmdolhibi = blhogddjnlb2[num];
|
||||
num += 2;
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06013E95 RID: 81557 RVA: 0x004C6D50 File Offset: 0x004C4F50
|
||||
[Token(Token = "0x6013E95")]
|
||||
[Address(RVA = "0x17B5D90", Offset = "0x17B4790", VA = "0x1817B5D90", Slot = "4")]
|
||||
public override IPromise OCAFOIEOMLN(CreationContext OLFNCDHDFPF)
|
||||
{
|
||||
Guid[] kpgalhjpfcb = this.KPGALHJPFCB;
|
||||
int num = 0;
|
||||
if (kpgalhjpfcb != 0 && kpgalhjpfcb.Length != num)
|
||||
{
|
||||
Guid adbncejkaag = this.ADBNCEJKAAG;
|
||||
if (JGGNJPBJHJA.AFKKFKOKBCG(adbncejkaag, num))
|
||||
{
|
||||
bool flag = OLFNCDHDFPF.shapeCreationContext.TrySelectShapeContainer(num);
|
||||
OLFNCDHDFPF.shapeCreationContext.RemoveAllFromSelection();
|
||||
if (flag)
|
||||
{
|
||||
int length = this.KPGALHJPFCB.Length;
|
||||
if (num < length)
|
||||
{
|
||||
ShapeCreationContext shapeCreationContext = OLFNCDHDFPF.shapeCreationContext;
|
||||
num += 2;
|
||||
num += num;
|
||||
bool flag2 = shapeCreationContext.AddToSelection(adbncejkaag);
|
||||
num++;
|
||||
}
|
||||
GBDECALBCOP gbdecalbcop = this.JPALLFAJJKJ(OLFNCDHDFPF);
|
||||
}
|
||||
}
|
||||
return Promise.<CompletedPromise>k__BackingField;
|
||||
}
|
||||
Debug.LogError("ModifyShapesUndoStep.Perform() called with no shape data.");
|
||||
return Promise.<CompletedPromise>k__BackingField;
|
||||
}
|
||||
|
||||
// Token: 0x06013E96 RID: 81558
|
||||
[Token(Token = "0x6013E96")]
|
||||
[Address(Slot = "6")]
|
||||
protected abstract void BAMBCECJKIH(CreationContext OLFNCDHDFPF);
|
||||
|
||||
// Token: 0x06013E97 RID: 81559 RVA: 0x004C6DF8 File Offset: 0x004C4FF8
|
||||
[Token(Token = "0x6013E97")]
|
||||
[Address(RVA = "0x17B5CB0", Offset = "0x17B46B0", VA = "0x1817B5CB0", Slot = "5")]
|
||||
public override GBDECALBCOP JPALLFAJJKJ(CreationContext OLFNCDHDFPF)
|
||||
{
|
||||
Guid adbncejkaag = this.ADBNCEJKAAG;
|
||||
bool flag;
|
||||
if (flag)
|
||||
{
|
||||
bool flag2;
|
||||
if (flag2)
|
||||
{
|
||||
Guid[] kpgalhjpfcb = this.KPGALHJPFCB;
|
||||
bool flag3;
|
||||
if (!flag3)
|
||||
{
|
||||
ShapeCreationContext shapeCreationContext = OLFNCDHDFPF.shapeCreationContext;
|
||||
Guid[] kpgalhjpfcb2 = this.KPGALHJPFCB;
|
||||
if (!shapeCreationContext.AnySelected(kpgalhjpfcb2))
|
||||
{
|
||||
return GBDECALBCOP.Failure_ObjectDoesNotExist;
|
||||
}
|
||||
}
|
||||
}
|
||||
return GBDECALBCOP.Failure_LockedByOther;
|
||||
}
|
||||
return GBDECALBCOP.Failure_ObjectDoesNotExist;
|
||||
}
|
||||
|
||||
// Token: 0x0400D68B RID: 54923
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400D68B")]
|
||||
protected Guid ADBNCEJKAAG;
|
||||
|
||||
// Token: 0x0400D68C RID: 54924
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400D68C")]
|
||||
protected Guid[] KPGALHJPFCB;
|
||||
}
|
||||
Reference in New Issue
Block a user