scripts
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using Google.Protobuf;
|
||||
using RecRoom.Core.Creation;
|
||||
using RecRoom.Core.Creation.Shapes;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x02002C3D RID: 11325
|
||||
[Token(Token = "0x2002C3D")]
|
||||
[StructLayout(3)]
|
||||
public sealed class DIJBFLFKPEL : NNEJFIKHGDL
|
||||
{
|
||||
// Token: 0x06013E9B RID: 81563 RVA: 0x004C6F88 File Offset: 0x004C5188
|
||||
[Token(Token = "0x6013E9B")]
|
||||
[Address(RVA = "0x1BEA450", Offset = "0x1BE8E50", VA = "0x181BEA450")]
|
||||
public DIJBFLFKPEL(ShapeContainer shapeContainer, ENMKBCNAGIC shapeDataCollection)
|
||||
: base(shapeContainer, shapeDataCollection)
|
||||
{
|
||||
int count = shapeDataCollection.BLHOGDDJNLB.count;
|
||||
Vector3[] array = new Vector3[count];
|
||||
int num = 0;
|
||||
this.MKPPLFOCADN = array;
|
||||
if (count > 0)
|
||||
{
|
||||
LAKMDOLHIBI lakmdolhibi = shapeDataCollection.BLHOGDDJNLB[num];
|
||||
if (lakmdolhibi.IDGDGOFNHPG != 0)
|
||||
{
|
||||
Vector3[] mkpplfocadn = this.MKPPLFOCADN;
|
||||
ENJMDBGOOND enjmdbgoond = lakmdolhibi.IDGDGOFNHPG;
|
||||
Vector3 vector;
|
||||
float z = vector.z;
|
||||
mkpplfocadn[1] = z;
|
||||
}
|
||||
ByteString efebiaonfbl = lakmdolhibi.EFEBIAONFBL;
|
||||
Debug.LogError(string.Format("Attempting to create UndoStep {0} with non-Mesh Shape {1}", this, efebiaonfbl));
|
||||
num++;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06013E9C RID: 81564 RVA: 0x004C701C File Offset: 0x004C521C
|
||||
[Token(Token = "0x6013E9C")]
|
||||
[Address(RVA = "0x1BEA420", Offset = "0x1BE8E20", VA = "0x181BEA420", Slot = "6")]
|
||||
protected override void BAMBCECJKIH(CreationContext OLFNCDHDFPF)
|
||||
{
|
||||
ShapeCreationContext shapeCreationContext = OLFNCDHDFPF.shapeCreationContext;
|
||||
Vector3[] mkpplfocadn = this.MKPPLFOCADN;
|
||||
Guid[] kpgalhjpfcb = this.KPGALHJPFCB;
|
||||
shapeCreationContext.SetSelectedPrimitiveShapeAspectRatios(kpgalhjpfcb, mkpplfocadn);
|
||||
}
|
||||
|
||||
// Token: 0x0400D68F RID: 54927
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400D68F")]
|
||||
private Vector3[] MKPPLFOCADN;
|
||||
}
|
||||
Reference in New Issue
Block a user