a
This commit is contained in:
@@ -0,0 +1,640 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom.Core.Creation;
|
||||
using RecRoom.Core.Rendering;
|
||||
using RecRoom.Systems;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Tools
|
||||
{
|
||||
// Token: 0x02002A29 RID: 10793
|
||||
[Token(Token = "0x2002A29")]
|
||||
[Serializable]
|
||||
public abstract class ShapeCreationLogic
|
||||
{
|
||||
// Token: 0x170032C9 RID: 13001
|
||||
// (get) Token: 0x060121C1 RID: 74177 RVA: 0x004230B4 File Offset: 0x004212B4
|
||||
[Token(Token = "0x170032C9")]
|
||||
public bool IsExtruding
|
||||
{
|
||||
[Token(Token = "0x60121C1")]
|
||||
[Address(RVA = "0x935FA0", Offset = "0x934DA0", VA = "0x180935FA0")]
|
||||
get
|
||||
{
|
||||
return this.activeShapeType != ACBDPBHGKJL.Invalid;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060121C2 RID: 74178
|
||||
[Token(Token = "0x60121C2")]
|
||||
[Address(Slot = "4")]
|
||||
protected abstract Vector3 KHELIHDNAEN();
|
||||
|
||||
// Token: 0x060121C3 RID: 74179
|
||||
[Token(Token = "0x60121C3")]
|
||||
[Address(Slot = "5")]
|
||||
protected abstract Quaternion FILFLIOEGEL();
|
||||
|
||||
// Token: 0x060121C4 RID: 74180
|
||||
[Token(Token = "0x60121C4")]
|
||||
[Address(Slot = "6")]
|
||||
protected abstract Transform JBDIEJILJBG();
|
||||
|
||||
// Token: 0x170032CA RID: 13002
|
||||
// (get) Token: 0x060121C5 RID: 74181
|
||||
[Token(Token = "0x170032CA")]
|
||||
protected abstract IJGKBBCJKNO CurveShapeSettings
|
||||
{
|
||||
[Token(Token = "0x60121C5")]
|
||||
[Address(Slot = "7")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x060121C6 RID: 74182 RVA: 0x004230D0 File Offset: 0x004212D0
|
||||
[Token(Token = "0x60121C6")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "8")]
|
||||
protected virtual bool LDEOLNOPNJK()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060121C7 RID: 74183 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x60121C7")]
|
||||
[Address(RVA = "0x933E80", Offset = "0x932C80", VA = "0x180933E80", Slot = "9")]
|
||||
protected virtual float DDFJLHHPDGA()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x060121C8 RID: 74184 RVA: 0x004230E0 File Offset: 0x004212E0
|
||||
[Token(Token = "0x60121C8")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "10")]
|
||||
protected virtual bool ANLHJKHJANN()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060121C9 RID: 74185 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x60121C9")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "11")]
|
||||
protected virtual void EOLEDECNKDH(GBDECALBCOP GIAOBLMEMMI, string LICNAIGLFCP, AGAJMBPABDL CPAIFLCLGPB)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x060121CA RID: 74186 RVA: 0x004230F0 File Offset: 0x004212F0
|
||||
[Token(Token = "0x60121CA")]
|
||||
[Address(RVA = "0x935C70", Offset = "0x934A70", VA = "0x180935C70", Slot = "12")]
|
||||
public virtual void OFFLOPLJBBG(CreationContext LHOMKMINCHH, ShapeCreationContext MOJKBJJOCFG, Func<float> HBGPHHDJKKN)
|
||||
{
|
||||
this.context = LHOMKMINCHH;
|
||||
this.shapeContext = MOJKBJJOCFG;
|
||||
this.normalizedInputProvider = HBGPHHDJKKN;
|
||||
this.triggerHasBeenReleased = false;
|
||||
}
|
||||
|
||||
// Token: 0x060121CB RID: 74187 RVA: 0x0042311C File Offset: 0x0042131C
|
||||
[Token(Token = "0x60121CB")]
|
||||
[Address(RVA = "0x9353D0", Offset = "0x9341D0", VA = "0x1809353D0")]
|
||||
public bool IEBOBLKFHFG(bool CHFPGDPNLIM = true)
|
||||
{
|
||||
float num = this.normalizedInputProvider();
|
||||
if (!CHFPGDPNLIM || !this.triggerHasBeenReleased)
|
||||
{
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060121CC RID: 74188 RVA: 0x00423148 File Offset: 0x00421348
|
||||
[Token(Token = "0x60121CC")]
|
||||
[Address(RVA = "0x934E90", Offset = "0x933C90", VA = "0x180934E90")]
|
||||
public void HPHEFHDIPOH(ACBDPBHGKJL GEDCEIDOKJL, LNBGEMHOKFN GJAINANBOCB, CLKCBCAGDDK KFENPJENIOI, bool BCPIDHJGPHA = false)
|
||||
{
|
||||
string text = this.ToString();
|
||||
Vector3 vector = this.KHELIHDNAEN();
|
||||
Func<float> func = this.normalizedInputProvider;
|
||||
EIBAIFIHEIP eibaifiheip = this.triggerHistory;
|
||||
float num = func();
|
||||
eibaifiheip.OFFLOPLJBBG(num);
|
||||
this.activeShapeType = GEDCEIDOKJL;
|
||||
if (GEDCEIDOKJL != ACBDPBHGKJL.Ribbon && GEDCEIDOKJL != ACBDPBHGKJL.Tube)
|
||||
{
|
||||
ShapeCreationContext shapeCreationContext = this.shapeContext;
|
||||
Vector3 one = Vector3.one;
|
||||
float z = Vector3.zero.z;
|
||||
bool flag = this.ANLHJKHJANN();
|
||||
return;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060121CD RID: 74189 RVA: 0x004231C8 File Offset: 0x004213C8
|
||||
[Token(Token = "0x60121CD")]
|
||||
[Address(RVA = "0x935120", Offset = "0x933F20", VA = "0x180935120")]
|
||||
public void HPHEFHDIPOH(ACBDPBHGKJL GEDCEIDOKJL, LNBGEMHOKFN GJAINANBOCB, CLKCBCAGDDK KFENPJENIOI, Vector3 DDHPAFKBMON, Quaternion IGPENJBJADK, bool BCPIDHJGPHA = false)
|
||||
{
|
||||
Func<float> func = this.normalizedInputProvider;
|
||||
EIBAIFIHEIP eibaifiheip = this.triggerHistory;
|
||||
float num = func();
|
||||
eibaifiheip.OFFLOPLJBBG(num);
|
||||
this.activeShapeType = GEDCEIDOKJL;
|
||||
if (GEDCEIDOKJL != ACBDPBHGKJL.Ribbon && GEDCEIDOKJL != ACBDPBHGKJL.Tube)
|
||||
{
|
||||
ShapeCreationContext shapeCreationContext = this.shapeContext;
|
||||
this.lastMeshShapeCreationRotation = num;
|
||||
float z = Vector3.one.z;
|
||||
Vector3 vector;
|
||||
float z2 = vector.z;
|
||||
float z3 = Vector3.zero.z;
|
||||
bool flag = this.ANLHJKHJANN();
|
||||
return;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060121CE RID: 74190 RVA: 0x0042324C File Offset: 0x0042144C
|
||||
[Token(Token = "0x60121CE")]
|
||||
[Address(RVA = "0x934750", Offset = "0x933550", VA = "0x180934750")]
|
||||
public void GKNKNJIGOLO()
|
||||
{
|
||||
if (this.activeShapeType == ACBDPBHGKJL.Invalid)
|
||||
{
|
||||
SelectionRendererEffect.Enable(this);
|
||||
}
|
||||
SelectionRendererEffect.Disable(this);
|
||||
if (this.activeShapeType != ACBDPBHGKJL.Invalid)
|
||||
{
|
||||
Func<float> func = this.normalizedInputProvider;
|
||||
EIBAIFIHEIP eibaifiheip = this.triggerHistory;
|
||||
float num = func();
|
||||
eibaifiheip.OPEMIFENIJM(num);
|
||||
EIBAIFIHEIP eibaifiheip2 = this.triggerHistory;
|
||||
int num2 = 0;
|
||||
if (!eibaifiheip2.BEJPPFPHHIH())
|
||||
{
|
||||
ACBDPBHGKJL acbdpbhgkjl = this.activeShapeType;
|
||||
if (acbdpbhgkjl != ACBDPBHGKJL.Ribbon && acbdpbhgkjl != ACBDPBHGKJL.Tube)
|
||||
{
|
||||
float unscaledTime = Time.unscaledTime;
|
||||
this.GKINDBBCGEP(num2 != 0);
|
||||
}
|
||||
float num3 = this.DDFJLHHPDGA();
|
||||
if (this.triggerHistory.MPDHHGFFKAD())
|
||||
{
|
||||
int num4 = 0;
|
||||
this.IMBABJICMII(num4 != 0);
|
||||
}
|
||||
int num5 = 0;
|
||||
this.HKBAPDGEDFM(num5 != 0);
|
||||
if (!NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.ELLAIAJACNH && !this.shapeContext.FJEABDPMDOF)
|
||||
{
|
||||
goto IL_C1;
|
||||
}
|
||||
}
|
||||
this.INNEJBHJKLM();
|
||||
}
|
||||
IL_C1:
|
||||
ShapeCreationContext shapeCreationContext = this.shapeContext;
|
||||
bool flag = this.activeShapeType != ACBDPBHGKJL.Invalid;
|
||||
shapeCreationContext.ShouldHideOriginVisualizer(flag, this);
|
||||
}
|
||||
|
||||
// Token: 0x060121CF RID: 74191 RVA: 0x00423340 File Offset: 0x00421540
|
||||
[Token(Token = "0x60121CF")]
|
||||
[Address(RVA = "0x935740", Offset = "0x934540", VA = "0x180935740")]
|
||||
public void INNEJBHJKLM()
|
||||
{
|
||||
ACBDPBHGKJL acbdpbhgkjl = this.activeShapeType;
|
||||
if (acbdpbhgkjl != ACBDPBHGKJL.Invalid)
|
||||
{
|
||||
if (acbdpbhgkjl != ACBDPBHGKJL.Ribbon && acbdpbhgkjl != ACBDPBHGKJL.Tube)
|
||||
{
|
||||
this.GKINDBBCGEP(true);
|
||||
ShapeCreationContext shapeCreationContext = this.shapeContext;
|
||||
}
|
||||
float num = this.DDFJLHHPDGA();
|
||||
float num2 = this.JJCLHBCIJKD();
|
||||
ShapeCreationContext shapeCreationContext2 = this.shapeContext;
|
||||
this.HKBAPDGEDFM(true);
|
||||
ShapeCreationContext shapeCreationContext3 = this.shapeContext;
|
||||
int num3 = 0;
|
||||
shapeCreationContext3.FinishShape(num3 != 0);
|
||||
ShapeCreationContext shapeCreationContext4 = this.shapeContext;
|
||||
int num4 = 0;
|
||||
if (shapeCreationContext4 != num4 && this.shapeContext.ABNCFJMLCMP() != 0)
|
||||
{
|
||||
IReadOnlyList<Guid> readOnlyList = this.shapeContext.ABNCFJMLCMP();
|
||||
Guid empty = Guid.Empty;
|
||||
bool flag;
|
||||
if (flag)
|
||||
{
|
||||
this.shapeContext.RemoveAllFromSelection();
|
||||
}
|
||||
}
|
||||
}
|
||||
ShapeCreationContext shapeCreationContext5 = this.shapeContext;
|
||||
int num5 = 0;
|
||||
if (shapeCreationContext5 != num5)
|
||||
{
|
||||
ShapeCreationContext shapeCreationContext6 = this.shapeContext;
|
||||
int num6 = 0;
|
||||
shapeCreationContext6.ShouldHideOriginVisualizer(num6 != 0, this);
|
||||
}
|
||||
this.activeShapeType = (ACBDPBHGKJL)((ulong)4294967295L);
|
||||
SelectionRendererEffect.Enable(this);
|
||||
}
|
||||
|
||||
// Token: 0x060121D0 RID: 74192 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x60121D0")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "13")]
|
||||
protected virtual void NBLMMFIDMFJ(Guid IHFGNPJIFLC)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x060121D1 RID: 74193 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x60121D1")]
|
||||
[Address(RVA = "0x934D90", Offset = "0x933B90", VA = "0x180934D90", Slot = "14")]
|
||||
protected virtual Vector3 HKOADHECEHB(Vector3 OJJOHDIFMEG)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x060121D2 RID: 74194 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x60121D2")]
|
||||
[Address(RVA = "0x933E90", Offset = "0x932C90", VA = "0x180933E90", Slot = "15")]
|
||||
public virtual float GDBACCLPFNF()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x060121D3 RID: 74195 RVA: 0x00423434 File Offset: 0x00421634
|
||||
[Token(Token = "0x60121D3")]
|
||||
[Address(RVA = "0x935C90", Offset = "0x934A90", VA = "0x180935C90")]
|
||||
private bool PAEHFLOABJO(ACBDPBHGKJL GEDCEIDOKJL)
|
||||
{
|
||||
if (GEDCEIDOKJL == ACBDPBHGKJL.Ribbon)
|
||||
{
|
||||
}
|
||||
return GEDCEIDOKJL == ACBDPBHGKJL.Tube;
|
||||
}
|
||||
|
||||
// Token: 0x060121D4 RID: 74196 RVA: 0x0042344C File Offset: 0x0042164C
|
||||
[Token(Token = "0x60121D4")]
|
||||
[Address(RVA = "0x935A10", Offset = "0x934810", VA = "0x180935A10")]
|
||||
private float JJCLHBCIJKD()
|
||||
{
|
||||
float num3;
|
||||
InputManager instance;
|
||||
InputManager.LNEHPBFDEGG <DPODFAMMHGA>k__BackingField;
|
||||
do
|
||||
{
|
||||
IJGKBBCJKNO curveShapeSettings = this.CurveShapeSettings;
|
||||
if (curveShapeSettings != 0)
|
||||
{
|
||||
goto IL_7B;
|
||||
}
|
||||
float num = this.DDFJLHHPDGA();
|
||||
EIBAIFIHEIP eibaifiheip = this.triggerHistory;
|
||||
if (curveShapeSettings != 0)
|
||||
{
|
||||
float num2 = eibaifiheip.DMOOHKMBDOK();
|
||||
}
|
||||
num3 = eibaifiheip.GOAOBALLNEE();
|
||||
instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
||||
<DPODFAMMHGA>k__BackingField = instance.<DPODFAMMHGA>k__BackingField;
|
||||
}
|
||||
while (instance != (ulong)4294967293L && <DPODFAMMHGA>k__BackingField != InputManager.LNEHPBFDEGG.Oculus_Quest);
|
||||
float num4 = this.pressureToThicknessCurveOculus.Evaluate(num3);
|
||||
bool flag = this.LDEOLNOPNJK();
|
||||
num3 = num4;
|
||||
num4 = num3;
|
||||
return Mathf.Max(num4, 0.005f);
|
||||
IL_7B:
|
||||
Vector3 vector = this.KHELIHDNAEN();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060121D5 RID: 74197 RVA: 0x004234E4 File Offset: 0x004216E4
|
||||
[Token(Token = "0x60121D5")]
|
||||
[Address(RVA = "0x934930", Offset = "0x933730", VA = "0x180934930")]
|
||||
private void GNKAOHGODJP(LNBGEMHOKFN GJAINANBOCB, CLKCBCAGDDK KFENPJENIOI, Vector3 DDHPAFKBMON, bool BCPIDHJGPHA)
|
||||
{
|
||||
this.continuingOnCurve = false;
|
||||
float num = this.JJCLHBCIJKD();
|
||||
ShapeCreationContext shapeCreationContext = this.shapeContext;
|
||||
ACBDPBHGKJL acbdpbhgkjl = this.activeShapeType;
|
||||
float z = Vector3.zero.z;
|
||||
float z2 = DDHPAFKBMON.z;
|
||||
bool flag = this.ANLHJKHJANN();
|
||||
}
|
||||
|
||||
// Token: 0x060121D6 RID: 74198 RVA: 0x00423568 File Offset: 0x00421768
|
||||
[Token(Token = "0x60121D6")]
|
||||
[Address(RVA = "0x935D30", Offset = "0x934B30", VA = "0x180935D30")]
|
||||
private void PMLPIFBNAPM()
|
||||
{
|
||||
float num = this.DDFJLHHPDGA();
|
||||
if (this.triggerHistory.MPDHHGFFKAD())
|
||||
{
|
||||
int num2 = 0;
|
||||
this.IMBABJICMII(num2 != 0);
|
||||
return;
|
||||
}
|
||||
int num3 = 0;
|
||||
this.HKBAPDGEDFM(num3 != 0);
|
||||
}
|
||||
|
||||
// Token: 0x060121D7 RID: 74199 RVA: 0x004235A4 File Offset: 0x004217A4
|
||||
[Token(Token = "0x60121D7")]
|
||||
[Address(RVA = "0x935B80", Offset = "0x934980", VA = "0x180935B80")]
|
||||
private void LBKDLPPLHJA()
|
||||
{
|
||||
float num = this.DDFJLHHPDGA();
|
||||
float num2 = this.JJCLHBCIJKD();
|
||||
ShapeCreationContext shapeCreationContext = this.shapeContext;
|
||||
this.HKBAPDGEDFM(true);
|
||||
ShapeCreationContext shapeCreationContext2 = this.shapeContext;
|
||||
int num3 = 0;
|
||||
shapeCreationContext2.FinishShape(num3 != 0);
|
||||
}
|
||||
|
||||
// Token: 0x060121D8 RID: 74200 RVA: 0x004235E8 File Offset: 0x004217E8
|
||||
[Token(Token = "0x60121D8")]
|
||||
[Address(RVA = "0x934BC0", Offset = "0x9339C0", VA = "0x180934BC0")]
|
||||
private void HKBAPDGEDFM(bool LAKLGHEOKDG)
|
||||
{
|
||||
int num = 0;
|
||||
float num2 = this.JJCLHBCIJKD();
|
||||
float unscaledTime = Time.unscaledTime;
|
||||
int num3 = 0;
|
||||
if ((this.continuingOnCurve ? 1 : 0) == num3)
|
||||
{
|
||||
Vector3 zero = Vector3.zero;
|
||||
ShapeCreationContext shapeCreationContext = this.shapeContext;
|
||||
float z = zero.z;
|
||||
if (shapeCreationContext.TryGetSelectedCurveShapeFirstControlPointPosition(num))
|
||||
{
|
||||
ShapeCreationContext shapeCreationContext2 = this.shapeContext;
|
||||
}
|
||||
}
|
||||
ShapeCreationContext shapeCreationContext3 = this.shapeContext;
|
||||
}
|
||||
|
||||
// Token: 0x060121D9 RID: 74201 RVA: 0x00423650 File Offset: 0x00421850
|
||||
[Token(Token = "0x60121D9")]
|
||||
[Address(RVA = "0x935440", Offset = "0x934240", VA = "0x180935440")]
|
||||
private void IMBABJICMII(bool KMABLEBCFDJ)
|
||||
{
|
||||
float num = this.JJCLHBCIJKD();
|
||||
int num2 = 0;
|
||||
Vector3 zero = Vector3.zero;
|
||||
ShapeCreationContext shapeCreationContext = this.shapeContext;
|
||||
ShapeCreationContext shapeCreationContext2 = this.shapeContext;
|
||||
if (!KMABLEBCFDJ)
|
||||
{
|
||||
float num3 = Mathf.Max(num, (float)num2);
|
||||
}
|
||||
float unscaledTime = Time.unscaledTime;
|
||||
this.lastCurveShapeControlPointAddTime = unscaledTime;
|
||||
float num4 = this.DDFJLHHPDGA();
|
||||
ShapeCreationContext shapeCreationContext3 = this.shapeContext;
|
||||
GBDECALBCOP gbdecalbcop;
|
||||
if (gbdecalbcop != GBDECALBCOP.Success)
|
||||
{
|
||||
bool flag = this.ANLHJKHJANN();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060121DA RID: 74202 RVA: 0x004236C4 File Offset: 0x004218C4
|
||||
[Token(Token = "0x60121DA")]
|
||||
[Address(RVA = "0x934DB0", Offset = "0x933BB0", VA = "0x180934DB0")]
|
||||
private bool HMCFILMJEPL(Vector3 GILGCGDKNOB, Vector3 PCPHPBFGLGN, float OMLBPICLALA)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (060121DA)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean RecRoom.Tools.ShapeCreationLogic::HMCFILMJEPL(UnityEngine.Vector3,UnityEngine.Vector3,System.Single)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:float32(var_1_08, ldfld:float32(Vector3::z, ldloc:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](PCPHPBFGLGN)))
|
||||
stloc:float32(var_2_0F, ldfld:float32(Vector3::z, ldloc:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](GILGCGDKNOB)))
|
||||
stloc:float32(var_4_16, ldfld:float32(Vector3::z, ldloc:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](var_3)))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x060121DB RID: 74203 RVA: 0x004236E8 File Offset: 0x004218E8
|
||||
[Token(Token = "0x60121DB")]
|
||||
[Address(RVA = "0x935CA0", Offset = "0x934AA0", VA = "0x180935CA0")]
|
||||
private void PFLAKGLLECH(out Vector3 DDHPAFKBMON, out Quaternion IGPENJBJADK, out float OMLBPICLALA)
|
||||
{
|
||||
float num = this.JJCLHBCIJKD();
|
||||
OMLBPICLALA.m_value = num;
|
||||
}
|
||||
|
||||
// Token: 0x060121DC RID: 74204 RVA: 0x00423704 File Offset: 0x00421904
|
||||
[Token(Token = "0x60121DC")]
|
||||
[Address(RVA = "0x933EA0", Offset = "0x932CA0", VA = "0x180933EA0")]
|
||||
private void GKINDBBCGEP(bool DHIIIICIIFD)
|
||||
{
|
||||
int num = 0;
|
||||
Vector3 vector;
|
||||
float z = vector.z;
|
||||
Vector3 one = Vector3.one;
|
||||
Vector3 vector2;
|
||||
float z2 = vector2.z;
|
||||
Vector3 vector3;
|
||||
float z3 = vector3.z;
|
||||
Vector3 vector4;
|
||||
float z4 = vector4.z;
|
||||
Vector3 vector5;
|
||||
float z5 = vector5.z;
|
||||
Vector3 vector6;
|
||||
float z6 = vector6.z;
|
||||
float num2 = this.DDFJLHHPDGA();
|
||||
float[] array = new float[3];
|
||||
array[1] = z6;
|
||||
float num3 = Mathf.Max(array);
|
||||
Vector3 one2 = Vector3.one;
|
||||
ShapeCreationContext shapeCreationContext = this.shapeContext;
|
||||
bool flag = this.shapeContext.TryGetSelectedPrimitiveShapePosition(num);
|
||||
Quaternion quaternion = this.lastMeshShapeCreationRotation;
|
||||
Vector3 vector7;
|
||||
float z7 = vector7.z;
|
||||
float z8 = this.startMeshShapeCreationPosition.z;
|
||||
Vector3 vector8;
|
||||
float z9 = vector8.z;
|
||||
Vector3 vector9;
|
||||
float z10 = vector9.z;
|
||||
ShapeCreationContext shapeCreationContext2 = this.shapeContext;
|
||||
if (DHIIIICIIFD)
|
||||
{
|
||||
float unscaledTime = Time.unscaledTime;
|
||||
this.lastMeshShapeSizeSynchronizeTime = unscaledTime;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060121DD RID: 74205 RVA: 0x004237E8 File Offset: 0x004219E8
|
||||
[Token(Token = "0x60121DD")]
|
||||
[Address(RVA = "0x933E40", Offset = "0x932C40", VA = "0x180933E40")]
|
||||
private void DAANPCKDNCK()
|
||||
{
|
||||
this.GKINDBBCGEP(true);
|
||||
this.shapeContext.FinishShape(true);
|
||||
}
|
||||
|
||||
// Token: 0x060121DE RID: 74206 RVA: 0x00423810 File Offset: 0x00421A10
|
||||
[Token(Token = "0x60121DE")]
|
||||
[Address(RVA = "0x935E30", Offset = "0x934C30", VA = "0x180935E30")]
|
||||
protected ShapeCreationLogic()
|
||||
{
|
||||
int num = 0;
|
||||
AnimationCurve animationCurve = AnimationCurve.Linear((float)0, (float)num, 1f, 1f);
|
||||
this.pressureToThicknessCurveVive = animationCurve;
|
||||
int num2 = 0;
|
||||
AnimationCurve animationCurve2 = AnimationCurve.Linear((float)0, (float)num2, 1f, 1f);
|
||||
this.pressureToThicknessCurveOculus = animationCurve2;
|
||||
this.activeShapeType = (ACBDPBHGKJL)((ulong)4294967295L);
|
||||
float z = Vector3.zero.z;
|
||||
this.startMeshShapeCreationPosition.z = z;
|
||||
Quaternion identity = Quaternion.identity;
|
||||
EIBAIFIHEIP eibaifiheip = new EIBAIFIHEIP();
|
||||
int num3 = 0;
|
||||
int num4 = 0;
|
||||
this.triggerHistory = eibaifiheip;
|
||||
this.DefaultCurveShapeSettings = num3;
|
||||
this.NBLMMFIDMFJ(num4);
|
||||
}
|
||||
|
||||
// Token: 0x060121DF RID: 74207 RVA: 0x004238AC File Offset: 0x00421AAC
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x60121DF")]
|
||||
[Address(RVA = "0x935D90", Offset = "0x934B90", VA = "0x180935D90")]
|
||||
static ShapeCreationLogic()
|
||||
{
|
||||
Vector3 vector;
|
||||
float z = vector.z;
|
||||
}
|
||||
|
||||
// Token: 0x0400BB2E RID: 47918
|
||||
[Token(Token = "0x400BB2E")]
|
||||
protected static readonly Vector3 DefaultCreationViewportPosition;
|
||||
|
||||
// Token: 0x0400BB2F RID: 47919
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400BB2F")]
|
||||
[SerializeField]
|
||||
[Header("Trigger Input")]
|
||||
private AnimationCurve pressureToThicknessCurveVive;
|
||||
|
||||
// Token: 0x0400BB30 RID: 47920
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400BB30")]
|
||||
[SerializeField]
|
||||
private AnimationCurve pressureToThicknessCurveOculus;
|
||||
|
||||
// Token: 0x0400BB31 RID: 47921
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400BB31")]
|
||||
[NonSerialized]
|
||||
protected ACBDPBHGKJL activeShapeType;
|
||||
|
||||
// Token: 0x0400BB32 RID: 47922
|
||||
[FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x400BB32")]
|
||||
[NonSerialized]
|
||||
private float lastCurveShapeControlPointAddTime;
|
||||
|
||||
// Token: 0x0400BB33 RID: 47923
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400BB33")]
|
||||
[NonSerialized]
|
||||
private float lastMeshShapeSizeSynchronizeTime;
|
||||
|
||||
// Token: 0x0400BB34 RID: 47924
|
||||
[FieldOffset(Offset = "0x2C")]
|
||||
[Token(Token = "0x400BB34")]
|
||||
[NonSerialized]
|
||||
private Vector3 startMeshShapeCreationPosition;
|
||||
|
||||
// Token: 0x0400BB35 RID: 47925
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400BB35")]
|
||||
[NonSerialized]
|
||||
private Quaternion lastMeshShapeCreationRotation;
|
||||
|
||||
// Token: 0x0400BB36 RID: 47926
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x400BB36")]
|
||||
[NonSerialized]
|
||||
private EIBAIFIHEIP triggerHistory;
|
||||
|
||||
// Token: 0x0400BB37 RID: 47927
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x400BB37")]
|
||||
private bool triggerHasBeenReleased;
|
||||
|
||||
// Token: 0x0400BB38 RID: 47928
|
||||
[FieldOffset(Offset = "0x51")]
|
||||
[Token(Token = "0x400BB38")]
|
||||
[NonSerialized]
|
||||
private bool continuingOnCurve;
|
||||
|
||||
// Token: 0x0400BB39 RID: 47929
|
||||
[Token(Token = "0x400BB39")]
|
||||
private const float MESH_SHAPE_SYNCHRONIZE_SIZE_MAX_TIME_INTERVAL = 0.1f;
|
||||
|
||||
// Token: 0x0400BB3A RID: 47930
|
||||
[Token(Token = "0x400BB3A")]
|
||||
protected const float DEFAULT_CREATION_DISTANCE_FROM_CAMERA = 0.66f;
|
||||
|
||||
// Token: 0x0400BB3B RID: 47931
|
||||
[Token(Token = "0x400BB3B")]
|
||||
protected const float PRIMITIVE_SHAPE_MIN_SIZE = 0.02f;
|
||||
|
||||
// Token: 0x0400BB3C RID: 47932
|
||||
[Token(Token = "0x400BB3C")]
|
||||
private const float CURVE_SHAPE_ADD_CONTROL_POINT_MAX_TIME_INTERVAL = 0.1f;
|
||||
|
||||
// Token: 0x0400BB3D RID: 47933
|
||||
[Token(Token = "0x400BB3D")]
|
||||
private const float CURVE_SHAPE_MIN_DIST_BETWEEN_CONTROL_POINTS = 0.01f;
|
||||
|
||||
// Token: 0x0400BB3E RID: 47934
|
||||
[Token(Token = "0x400BB3E")]
|
||||
private const float CURVE_SHAPE_MIN_RADIUS = 0.005f;
|
||||
|
||||
// Token: 0x0400BB3F RID: 47935
|
||||
[FieldOffset(Offset = "0x54")]
|
||||
[Token(Token = "0x400BB3F")]
|
||||
public readonly IJGKBBCJKNO DefaultCurveShapeSettings;
|
||||
|
||||
// Token: 0x0400BB40 RID: 47936
|
||||
[FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x400BB40")]
|
||||
[NonSerialized]
|
||||
protected CreationContext context;
|
||||
|
||||
// Token: 0x0400BB41 RID: 47937
|
||||
[FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x400BB41")]
|
||||
[NonSerialized]
|
||||
protected ShapeCreationContext shapeContext;
|
||||
|
||||
// Token: 0x0400BB42 RID: 47938
|
||||
[FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x400BB42")]
|
||||
[NonSerialized]
|
||||
protected Func<float> normalizedInputProvider;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user