750 lines
29 KiB
C#
750 lines
29 KiB
C#
using System;
|
|
using AGUI.StackedUI;
|
|
using Cpp2IlInjected;
|
|
using Photon.Pun;
|
|
using RecRoom.Core;
|
|
using RecRoom.Core.UI;
|
|
using RecRoom.Inputs;
|
|
using RecRoom.Systems;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace RecRoom
|
|
{
|
|
// Token: 0x0200208B RID: 8331
|
|
[Token(Token = "0x200208B")]
|
|
public class MenuFinger : MonoBehaviour
|
|
{
|
|
// Token: 0x170021EB RID: 8683
|
|
// (get) Token: 0x0600D514 RID: 54548 RVA: 0x00314EB8 File Offset: 0x003130B8
|
|
[Token(Token = "0x170021EB")]
|
|
private VRInputHandler PAHOHDJHCKI
|
|
{
|
|
[Token(Token = "0x600D514")]
|
|
[Address(RVA = "0xFB4980", Offset = "0xFB3780", VA = "0x180FB4980")]
|
|
get
|
|
{
|
|
if (this.fingerType == PlayerHand.PLLIKAOIPHP.Left)
|
|
{
|
|
return SingletonMonoBehaviour.ONCPNMDGGKG.GDHFJPEMICK;
|
|
}
|
|
return SingletonMonoBehaviour.ONCPNMDGGKG.EOEAIFBPNJH;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170021EC RID: 8684
|
|
// (get) Token: 0x0600D515 RID: 54549 RVA: 0x00314EEC File Offset: 0x003130EC
|
|
[Token(Token = "0x170021EC")]
|
|
private float LBCOJNDIMFA
|
|
{
|
|
[Token(Token = "0x600D515")]
|
|
[Address(RVA = "0xFB39B0", Offset = "0xFB27B0", VA = "0x180FB39B0")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600D515)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single RecRoom.MenuFinger::FCMPOMAECOO()
|
|
|
|
---> System.ArgumentOutOfRangeException: length ('-1') must be a non-negative value. (Parameter 'length')
|
|
Actual value was -1.
|
|
at System.ArgumentOutOfRangeException.ThrowNegative[T](T value, String paramName)
|
|
at System.Array.CopyImpl(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
|
|
at System.Array.Copy(Array sourceArray, Array destinationArray, Int32 length)
|
|
at ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackAnalysis(MethodDef methodDef) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstBuilder.cs:line 337
|
|
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 117
|
|
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 1663
|
|
*/;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170021ED RID: 8685
|
|
// (get) Token: 0x0600D516 RID: 54550 RVA: 0x00314F08 File Offset: 0x00313108
|
|
[Token(Token = "0x170021ED")]
|
|
private float OBHICNLIIJF
|
|
{
|
|
[Token(Token = "0x600D516")]
|
|
[Address(RVA = "0xFB2020", Offset = "0xFB0E20", VA = "0x180FB2020")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600D516)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single RecRoom.MenuFinger::AAEFEADMPKA()
|
|
|
|
---> System.ArgumentOutOfRangeException: length ('-1') must be a non-negative value. (Parameter 'length')
|
|
Actual value was -1.
|
|
at System.ArgumentOutOfRangeException.ThrowNegative[T](T value, String paramName)
|
|
at System.Array.CopyImpl(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
|
|
at System.Array.Copy(Array sourceArray, Array destinationArray, Int32 length)
|
|
at ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackAnalysis(MethodDef methodDef) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstBuilder.cs:line 337
|
|
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 117
|
|
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 1663
|
|
*/;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170021EE RID: 8686
|
|
// (get) Token: 0x0600D517 RID: 54551 RVA: 0x00314F24 File Offset: 0x00313124
|
|
[Token(Token = "0x170021EE")]
|
|
public float DJODILACIBH
|
|
{
|
|
[Token(Token = "0x600D517")]
|
|
[Address(RVA = "0xFB5DF0", Offset = "0xFB4BF0", VA = "0x180FB5DF0")]
|
|
get
|
|
{
|
|
return this.tactileHoverDistance;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170021EF RID: 8687
|
|
// (get) Token: 0x0600D518 RID: 54552 RVA: 0x00314F38 File Offset: 0x00313138
|
|
// (set) Token: 0x0600D519 RID: 54553 RVA: 0x00314F4C File Offset: 0x0031314C
|
|
[Token(Token = "0x170021EF")]
|
|
public VRCanvas MNFOCKIGDIF
|
|
{
|
|
[Token(Token = "0x600D518")]
|
|
[Address(RVA = "0x4CB300", Offset = "0x4CA100", VA = "0x1804CB300")]
|
|
get;
|
|
[Token(Token = "0x600D519")]
|
|
[Address(RVA = "0x533D70", Offset = "0x532B70", VA = "0x180533D70")]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x170021F0 RID: 8688
|
|
// (get) Token: 0x0600D51A RID: 54554 RVA: 0x00314F60 File Offset: 0x00313160
|
|
[Token(Token = "0x170021F0")]
|
|
public bool NDNMAJEOGLK
|
|
{
|
|
[Token(Token = "0x600D51A")]
|
|
[Address(RVA = "0xFB5D70", Offset = "0xFB4B70", VA = "0x180FB5D70")]
|
|
get
|
|
{
|
|
VRCanvas vrcanvas = this.<CNBOAJHOAGO>k__BackingField;
|
|
int num = 0;
|
|
return vrcanvas != num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170021F1 RID: 8689
|
|
// (get) Token: 0x0600D51B RID: 54555 RVA: 0x00314F80 File Offset: 0x00313180
|
|
[Token(Token = "0x170021F1")]
|
|
public bool ANHJEGAOLOE
|
|
{
|
|
[Token(Token = "0x600D51B")]
|
|
[Address(RVA = "0xFB5DD0", Offset = "0xFB4BD0", VA = "0x180FB5DD0")]
|
|
get
|
|
{
|
|
return this.menuLaser.enabled;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D51C RID: 54556 RVA: 0x00314FA0 File Offset: 0x003131A0
|
|
[Token(Token = "0x600D51C")]
|
|
[Address(RVA = "0xFB36D0", Offset = "0xFB24D0", VA = "0x180FB36D0")]
|
|
private void Awake()
|
|
{
|
|
float widthMultiplier = this.menuLaser.widthMultiplier;
|
|
LineRenderer lineRenderer = this.menuLaser;
|
|
this.DAIOPECOIJJ = widthMultiplier;
|
|
int num = 0;
|
|
lineRenderer.enabled = num != 0;
|
|
this.menuLaser.GetMaterial().renderQueue = 3002;
|
|
RectTransform rectTransform = this.tactileButtonRoot;
|
|
int num2 = 0;
|
|
CanvasGroup[] componentsInChildren = rectTransform.GetComponentsInChildren<CanvasGroup>(num2 != 0);
|
|
RectTransform rectTransform2 = this.tactileGridRoot;
|
|
this.JJAJNHLJDJB = componentsInChildren;
|
|
int num3 = 0;
|
|
CanvasGroup componentInChildren = rectTransform2.GetComponentInChildren<CanvasGroup>(num3 != 0);
|
|
this.DHABJAMLJIG = componentInChildren;
|
|
Transform transform = this.tactileButtonRoot.transform;
|
|
Transform transform2 = Player.<EGKJPJKLEAI>k__BackingField.trackingSpace.transform;
|
|
int num4 = 0;
|
|
transform.SetParent(transform2, num4 != 0);
|
|
Transform transform3 = this.tactileGridRoot.transform;
|
|
Transform transform4 = Player.<EGKJPJKLEAI>k__BackingField.trackingSpace.transform;
|
|
int num5 = 0;
|
|
transform3.SetParent(transform4, num5 != 0);
|
|
}
|
|
|
|
// Token: 0x0600D51D RID: 54557 RVA: 0x00315080 File Offset: 0x00313280
|
|
[Token(Token = "0x600D51D")]
|
|
[Address(RVA = "0xFB4CF0", Offset = "0xFB3AF0", VA = "0x180FB4CF0")]
|
|
private void Start()
|
|
{
|
|
LocalPlayerController instance;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action displayModeChange = instance.DisplayModeChange;
|
|
Action action = new Action(this.JIPNJDICOND);
|
|
@delegate = Delegate.Combine(displayModeChange, action);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
instance.DisplayModeChange = @delegate;
|
|
if (this.AENELEOCFPJ != 0)
|
|
{
|
|
this.AENELEOCFPJ = (ulong)0L;
|
|
}
|
|
if (SingletonMonoBehaviour.ONCPNMDGGKG.AKPGDDBMBMK == LocalPlayerController.MIGPLDFLMHA.VR)
|
|
{
|
|
Action<float> action2 = new Action(this.GAJIJLPDHNI);
|
|
IDisposable disposable = ADIFCODGAML.CHFECAOLPEO(this, action2);
|
|
this.AENELEOCFPJ = disposable;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D51E RID: 54558 RVA: 0x00315104 File Offset: 0x00313304
|
|
[Token(Token = "0x600D51E")]
|
|
[Address(RVA = "0xFB4A20", Offset = "0xFB3820", VA = "0x180FB4A20")]
|
|
private void OnDestroy()
|
|
{
|
|
LocalPlayerController instance2;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
LocalPlayerController instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
|
int num = 0;
|
|
if (!(instance != num))
|
|
{
|
|
return;
|
|
}
|
|
instance2 = SingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action displayModeChange = instance2.DisplayModeChange;
|
|
Action action = new Action(this.JIPNJDICOND);
|
|
@delegate = Delegate.Remove(displayModeChange, action);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
instance2.DisplayModeChange = @delegate;
|
|
}
|
|
|
|
// Token: 0x0600D51F RID: 54559 RVA: 0x00315160 File Offset: 0x00313360
|
|
[Token(Token = "0x600D51F")]
|
|
[Address(RVA = "0xFB4510", Offset = "0xFB3310", VA = "0x180FB4510")]
|
|
private void JIPNJDICOND()
|
|
{
|
|
if (this.AENELEOCFPJ != 0)
|
|
{
|
|
this.AENELEOCFPJ = (ulong)0L;
|
|
}
|
|
if (SingletonMonoBehaviour.ONCPNMDGGKG.AKPGDDBMBMK == LocalPlayerController.MIGPLDFLMHA.VR)
|
|
{
|
|
Action<float> action = new Action(this.GAJIJLPDHNI);
|
|
IDisposable disposable = ADIFCODGAML.CHFECAOLPEO(this, action);
|
|
this.AENELEOCFPJ = disposable;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D520 RID: 54560 RVA: 0x003151B0 File Offset: 0x003133B0
|
|
[Token(Token = "0x600D520")]
|
|
[Address(RVA = "0xFB5C00", Offset = "0xFB4A00", VA = "0x180FB5C00")]
|
|
public void Vibrate(int DHFKOLKOCKP, float LAIPKAHGIJF)
|
|
{
|
|
if (this.PAHOHDJHCKI != 0)
|
|
{
|
|
VRInputHandler vrinputHandler = this.PAHOHDJHCKI;
|
|
InputManager instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D521 RID: 54561 RVA: 0x003151DC File Offset: 0x003133DC
|
|
[Token(Token = "0x600D521")]
|
|
[Address(RVA = "0xFB4120", Offset = "0xFB2F20", VA = "0x180FB4120")]
|
|
private void GAJIJLPDHNI(float POGAEJIEPIM)
|
|
{
|
|
this.FFBNCBOPNAJ();
|
|
}
|
|
|
|
// Token: 0x0600D522 RID: 54562 RVA: 0x003151F0 File Offset: 0x003133F0
|
|
[Token(Token = "0x600D522")]
|
|
[Address(RVA = "0xFB39C0", Offset = "0xFB27C0", VA = "0x180FB39C0")]
|
|
private void FFBNCBOPNAJ()
|
|
{
|
|
Transform fingertipTransform = this.FingertipTransform;
|
|
Transform transform = fingertipTransform.transform;
|
|
Vector3 position = fingertipTransform.position;
|
|
Button3DBase oebdbdbgbne = this.OEBDBDBGBNE;
|
|
int num = 0;
|
|
bool flag = oebdbdbgbne == num;
|
|
int num2 = 0;
|
|
if (flag)
|
|
{
|
|
GameObject gojkglbjnpd = this.GOJKGLBJNPD;
|
|
int num3 = 0;
|
|
if (gojkglbjnpd != num3)
|
|
{
|
|
Transform transform2 = this.GOJKGLBJNPD.transform;
|
|
float z = this.OPLCAICNEKD.z;
|
|
float num4;
|
|
if (num4 > 0.010000001f)
|
|
{
|
|
this.GOJKGLBJNPD = num2;
|
|
}
|
|
}
|
|
}
|
|
BoxCollider boxCollider = this.overlapCollider;
|
|
Collider[] dalfgejdjmm = ICMAPHMBBFM.DALFGEJDJMM;
|
|
Button3DBase componentInParent;
|
|
if (boxCollider.NBOGLHFIMJA(dalfgejdjmm, 4197409, (QueryTriggerInteraction)((uint)2)) > 0)
|
|
{
|
|
Collider collider = ICMAPHMBBFM.DALFGEJDJMM[num2];
|
|
if (collider.gameObject.CompareTag("Button3D"))
|
|
{
|
|
componentInParent = collider.GetComponentInParent<Button3DBase>();
|
|
int num5 = 0;
|
|
if (componentInParent != num5)
|
|
{
|
|
GameObject gojkglbjnpd2 = this.GOJKGLBJNPD;
|
|
int num6 = 0;
|
|
if (!(gojkglbjnpd2 == num6))
|
|
{
|
|
GameObject gameObject = componentInParent.gameObject;
|
|
GameObject gojkglbjnpd3 = this.GOJKGLBJNPD;
|
|
if (gameObject == gojkglbjnpd3)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
}
|
|
num2++;
|
|
}
|
|
Button3DBase oebdbdbgbne2 = this.OEBDBDBGBNE;
|
|
int num7 = 0;
|
|
if (oebdbdbgbne2 != num7 && this.OEBDBDBGBNE != componentInParent)
|
|
{
|
|
this.OEBDBDBGBNE.TryReleaseMenuFinger(this);
|
|
}
|
|
int num8 = 0;
|
|
if (componentInParent != num8)
|
|
{
|
|
GameObject gojkglbjnpd4 = this.GOJKGLBJNPD;
|
|
int num9 = 0;
|
|
if (gojkglbjnpd4 == num9)
|
|
{
|
|
GameObject gameObject2 = componentInParent.gameObject;
|
|
this.GOJKGLBJNPD = gameObject2;
|
|
Transform transform3 = gameObject2.transform;
|
|
Vector3 vector;
|
|
float z2 = vector.z;
|
|
this.OPLCAICNEKD.z = z2;
|
|
}
|
|
GameObject gojkglbjnpd5 = this.GOJKGLBJNPD;
|
|
int num10 = 0;
|
|
if (gojkglbjnpd5 != num10)
|
|
{
|
|
Transform transform4 = this.GOJKGLBJNPD.transform;
|
|
}
|
|
componentInParent.TrySetMenuFinger(this);
|
|
}
|
|
this.OEBDBDBGBNE = componentInParent;
|
|
}
|
|
|
|
// Token: 0x0600D523 RID: 54563 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600D523")]
|
|
[Address(RVA = "0xFB5260", Offset = "0xFB4060", VA = "0x180FB5260")]
|
|
public void UpdateUIInput(AGAJMBPABDL AGIHAKFFCCD, FDKPONPCGGC NOCKPJEJNOI, Vector2 CEEPHDEHDOP, UIInputModule.LAGCGHDHJEI BPOMLOIAHCB)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600D524 RID: 54564 RVA: 0x003153CC File Offset: 0x003135CC
|
|
[Token(Token = "0x600D524")]
|
|
[Address(RVA = "0xFB4B60", Offset = "0xFB3960", VA = "0x180FB4B60")]
|
|
private bool POHILCBEMAO(UIInputModule.LAGCGHDHJEI BPOMLOIAHCB)
|
|
{
|
|
if (this.MPGFAFFFGMK == (ulong)0L)
|
|
{
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
return this.MPGFAFFFGMK.FLLFAKLFPGI;
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x0600D525 RID: 54565 RVA: 0x003153FC File Offset: 0x003135FC
|
|
[Token(Token = "0x600D525")]
|
|
[Address(RVA = "0xFB4130", Offset = "0xFB2F30", VA = "0x180FB4130")]
|
|
private bool HBMKLAGPEJH(UIInputModule.LAGCGHDHJEI BPOMLOIAHCB)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600D525)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean RecRoom.MenuFinger::HBMKLAGPEJH(RecRoom.Core.UI.UIInputModule/LAGCGHDHJEI)
|
|
|
|
---> System.ArgumentOutOfRangeException: length ('-1') must be a non-negative value. (Parameter 'length')
|
|
Actual value was -1.
|
|
at System.ArgumentOutOfRangeException.ThrowNegative[T](T value, String paramName)
|
|
at System.Array.CopyImpl(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
|
|
at System.Array.Copy(Array sourceArray, Array destinationArray, Int32 length)
|
|
at ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackAnalysis(MethodDef methodDef) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstBuilder.cs:line 337
|
|
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 117
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x0600D526 RID: 54566 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600D526")]
|
|
[Address(RVA = "0xFB4750", Offset = "0xFB3550", VA = "0x180FB4750")]
|
|
private bool OMMMJNDEMEN(UIInputModule.LAGCGHDHJEI BPOMLOIAHCB, out float FAONCIOCBGG)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600D527 RID: 54567 RVA: 0x00315478 File Offset: 0x00313678
|
|
[Token(Token = "0x600D527")]
|
|
[Address(RVA = "0xFB2030", Offset = "0xFB0E30", VA = "0x180FB2030")]
|
|
private void AINLMLBNPMN(UIInputModule.LAGCGHDHJEI BPOMLOIAHCB, UIInputModule.GBLBJCNGCGN GJPMAGONNPO, bool NCOEDAHLFGL)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600D527)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RecRoom.MenuFinger::AINLMLBNPMN(RecRoom.Core.UI.UIInputModule/LAGCGHDHJEI,RecRoom.Core.UI.UIInputModule/GBLBJCNGCGN,System.Boolean)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_5D4:
|
|
stloc:Transform(var_166_5DB, callgetter:Transform(Component::get_transform, ldloc:CanvasGroup[exp:Component](var_157_566)))
|
|
}
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x0600D528 RID: 54568 RVA: 0x00315A64 File Offset: 0x00313C64
|
|
[Token(Token = "0x600D528")]
|
|
[Address(RVA = "0xFB43D0", Offset = "0xFB31D0", VA = "0x180FB43D0")]
|
|
private void JDFPMACCAGK(bool IPAFEOIAOCJ, bool OBHOJNENEJH, AGAJMBPABDL IEKDDPPNFPF, PhysicalButtonBase LKDLEHGHCAD)
|
|
{
|
|
bool flag;
|
|
if (flag && IPAFEOIAOCJ)
|
|
{
|
|
bool flag2;
|
|
if (flag2)
|
|
{
|
|
this.ReleaseLaserPushedButton(IEKDDPPNFPF);
|
|
}
|
|
this.FJJMIHBOEEJ = 0;
|
|
}
|
|
bool flag3;
|
|
if (OBHOJNENEJH || flag3)
|
|
{
|
|
this.ReleaseLaserPushedButton(IEKDDPPNFPF);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D529 RID: 54569 RVA: 0x00315AA0 File Offset: 0x00313CA0
|
|
[Token(Token = "0x600D529")]
|
|
[Address(RVA = "0xFB4C50", Offset = "0xFB3A50", VA = "0x180FB4C50")]
|
|
public void ReleaseLaserPushedButton(AGAJMBPABDL IEKDDPPNFPF)
|
|
{
|
|
PhysicalButtonBase fjjmihboeej = this.FJJMIHBOEEJ;
|
|
int num = 0;
|
|
if (fjjmihboeej != num)
|
|
{
|
|
this.FJJMIHBOEEJ.BroadcastLocalLaserRelease(IEKDDPPNFPF);
|
|
this.FJJMIHBOEEJ = (ulong)0L;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D52A RID: 54570 RVA: 0x00315ADC File Offset: 0x00313CDC
|
|
[Token(Token = "0x600D52A")]
|
|
[Address(RVA = "0xFB4E90", Offset = "0xFB3C90", VA = "0x180FB4E90")]
|
|
public void UpdateMenuLaser(Vector3 CACFKFOOHID, Vector3 HNCDHKNIJNE, bool ADLGFOOPPAN, bool BFHNLDDJAOD)
|
|
{
|
|
this.menuLaser.enabled = true;
|
|
LineRenderer lineRenderer = this.menuLaser;
|
|
float num = this.DAIOPECOIJJ;
|
|
float activeCameraScale = CameraRig.NLKENEJMNOK;
|
|
lineRenderer.widthMultiplier = activeCameraScale;
|
|
int num2 = 0;
|
|
LineRenderer lineRenderer2 = this.menuLaser;
|
|
int num3 = 0;
|
|
lineRenderer2.SetPosition(num3, num2);
|
|
LineRenderer lineRenderer3 = this.menuLaser;
|
|
float widthMultiplier = lineRenderer3.widthMultiplier;
|
|
lineRenderer3.SetPosition(1, num2);
|
|
int num4 = 0;
|
|
Color black = Color.black;
|
|
this.menuLaser.startColor = num4;
|
|
int num5 = 0;
|
|
Color white = Color.white;
|
|
if (!ADLGFOOPPAN)
|
|
{
|
|
float num6;
|
|
num = num6;
|
|
float num7 = Mathf.SmoothStep((float)0, 1f, num);
|
|
}
|
|
this.menuLaser.endColor = num5;
|
|
}
|
|
|
|
// Token: 0x0600D52B RID: 54571 RVA: 0x00315B90 File Offset: 0x00313D90
|
|
[Token(Token = "0x600D52B")]
|
|
[Address(RVA = "0xFB3980", Offset = "0xFB2780", VA = "0x180FB3980")]
|
|
public void DisableMenuLaser()
|
|
{
|
|
LineRenderer lineRenderer = this.menuLaser;
|
|
int num = 0;
|
|
lineRenderer.enabled = num != 0;
|
|
}
|
|
|
|
// Token: 0x0600D52C RID: 54572 RVA: 0x00315BB4 File Offset: 0x00313DB4
|
|
[Token(Token = "0x600D52C")]
|
|
[Address(RVA = "0xFB45F0", Offset = "0xFB33F0", VA = "0x180FB45F0")]
|
|
private float OGLKLIOJIMC(Vector3 JFEFGFGDEFF, Vector3 HNCDHKNIJNE, bool ADLGFOOPPAN, bool BFHNLDDJAOD)
|
|
{
|
|
while (ADLGFOOPPAN)
|
|
{
|
|
}
|
|
float z = HNCDHKNIJNE.z;
|
|
float z2 = JFEFGFGDEFF.z;
|
|
float num;
|
|
return Mathf.SmoothStep((float)0, 1f, num);
|
|
}
|
|
|
|
// Token: 0x0600D52D RID: 54573 RVA: 0x00315BE0 File Offset: 0x00313DE0
|
|
[Token(Token = "0x600D52D")]
|
|
[Address(RVA = "0xFB5CE0", Offset = "0xFB4AE0", VA = "0x180FB5CE0")]
|
|
public MenuFinger()
|
|
{
|
|
BDCNPDGNFHN bdcnpdgnfhn = new BDCNPDGNFHN();
|
|
this.FAPNMPFABPH = bdcnpdgnfhn;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x0400887C RID: 34940
|
|
[Token(Token = "0x400887C")]
|
|
private const float LHHBBJLPNJG = 1f;
|
|
|
|
// Token: 0x0400887D RID: 34941
|
|
[Token(Token = "0x400887D")]
|
|
private const float OCBJHMDFBIO = 0.7f;
|
|
|
|
// Token: 0x0400887E RID: 34942
|
|
[Token(Token = "0x400887E")]
|
|
private const float DEAKCLEGHBM = 0.5f;
|
|
|
|
// Token: 0x0400887F RID: 34943
|
|
[Token(Token = "0x400887F")]
|
|
private const float DOAALCCFEJL = 0.1f;
|
|
|
|
// Token: 0x04008880 RID: 34944
|
|
[Token(Token = "0x4008880")]
|
|
private const float MNIMCGPINOA = 0.005f;
|
|
|
|
// Token: 0x04008881 RID: 34945
|
|
[Token(Token = "0x4008881")]
|
|
private const float KBDLPDIKDCM = 0.02f;
|
|
|
|
// Token: 0x04008882 RID: 34946
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4008882")]
|
|
public Transform FingertipTransform;
|
|
|
|
// Token: 0x04008883 RID: 34947
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4008883")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false, false)]
|
|
public BoxCollider overlapCollider;
|
|
|
|
// Token: 0x04008884 RID: 34948
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4008884")]
|
|
[SerializeField]
|
|
[OCIDFHDICIP(JIBDPHMGEGO.SelfAndParent, true, false, false)]
|
|
private PhotonView photonView;
|
|
|
|
// Token: 0x04008885 RID: 34949
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4008885")]
|
|
[SerializeField]
|
|
private PlayerHand.PLLIKAOIPHP fingerType;
|
|
|
|
// Token: 0x04008886 RID: 34950
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4008886")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.SelfAndChildren, false, false, false)]
|
|
[Header("Laser")]
|
|
private LineRenderer menuLaser;
|
|
|
|
// Token: 0x04008887 RID: 34951
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4008887")]
|
|
[SerializeField]
|
|
[Header("Virtual Tactile 3D button")]
|
|
private RectTransform tactileButtonRoot;
|
|
|
|
// Token: 0x04008888 RID: 34952
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4008888")]
|
|
[SerializeField]
|
|
private RectTransform tactileGridCutout;
|
|
|
|
// Token: 0x04008889 RID: 34953
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4008889")]
|
|
[SerializeField]
|
|
private CanvasScaler tactileButtonCanvasScaler;
|
|
|
|
// Token: 0x0400888A RID: 34954
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x400888A")]
|
|
[Space]
|
|
[SerializeField]
|
|
private RectTransform tactileGridRoot;
|
|
|
|
// Token: 0x0400888B RID: 34955
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x400888B")]
|
|
[SerializeField]
|
|
private Image tactileGridImage;
|
|
|
|
// Token: 0x0400888C RID: 34956
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x400888C")]
|
|
[SerializeField]
|
|
private Material tactileGridHoverMaterial;
|
|
|
|
// Token: 0x0400888D RID: 34957
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x400888D")]
|
|
[SerializeField]
|
|
private Material tactileGridPressedMaterial;
|
|
|
|
// Token: 0x0400888E RID: 34958
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x400888E")]
|
|
[Space]
|
|
[SerializeField]
|
|
private float tactileTravelDistance = 0.025f;
|
|
|
|
// Token: 0x0400888F RID: 34959
|
|
[FieldOffset(Offset = "0x7C")]
|
|
[Token(Token = "0x400888F")]
|
|
[SerializeField]
|
|
[Range(0f, 1f)]
|
|
private float tactileActuationPercent = 0.4f;
|
|
|
|
// Token: 0x04008890 RID: 34960
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x4008890")]
|
|
[SerializeField]
|
|
[Range(0f, 1f)]
|
|
private float tactileReleasePercent = 0.8f;
|
|
|
|
// Token: 0x04008891 RID: 34961
|
|
[FieldOffset(Offset = "0x84")]
|
|
[Token(Token = "0x4008891")]
|
|
[SerializeField]
|
|
[Tooltip("Hover distance is distance over the virtual button, the target button is [tactileTravelDistance] below that.")]
|
|
private float tactileHoverDistance = 0.05f;
|
|
|
|
// Token: 0x04008892 RID: 34962
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4008892")]
|
|
[SerializeField]
|
|
private float squashScaleMultiplier = 1.1f;
|
|
|
|
// Token: 0x04008893 RID: 34963
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x4008893")]
|
|
private CanvasGroup[] JJAJNHLJDJB;
|
|
|
|
// Token: 0x04008894 RID: 34964
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x4008894")]
|
|
private CanvasGroup DHABJAMLJIG;
|
|
|
|
// Token: 0x04008895 RID: 34965
|
|
[FieldOffset(Offset = "0xA0")]
|
|
[Token(Token = "0x4008895")]
|
|
private Button3DBase OEBDBDBGBNE;
|
|
|
|
// Token: 0x04008896 RID: 34966
|
|
[FieldOffset(Offset = "0xA8")]
|
|
[Token(Token = "0x4008896")]
|
|
private PhysicalButtonBase FJJMIHBOEEJ;
|
|
|
|
// Token: 0x04008897 RID: 34967
|
|
[FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x4008897")]
|
|
private IDisposable AENELEOCFPJ;
|
|
|
|
// Token: 0x04008898 RID: 34968
|
|
[FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x4008898")]
|
|
private BDCNPDGNFHN FAPNMPFABPH;
|
|
|
|
// Token: 0x04008899 RID: 34969
|
|
[FieldOffset(Offset = "0xC0")]
|
|
[Token(Token = "0x4008899")]
|
|
private GameObject GOJKGLBJNPD;
|
|
|
|
// Token: 0x0400889A RID: 34970
|
|
[FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x400889A")]
|
|
private Vector3 OPLCAICNEKD;
|
|
|
|
// Token: 0x0400889B RID: 34971
|
|
[FieldOffset(Offset = "0xD4")]
|
|
[Token(Token = "0x400889B")]
|
|
private Vector3 AHOILEPDOOP;
|
|
|
|
// Token: 0x0400889C RID: 34972
|
|
[FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x400889C")]
|
|
private MenuFinger.FBCMHKDCECL MPGFAFFFGMK;
|
|
|
|
// Token: 0x0400889E RID: 34974
|
|
[FieldOffset(Offset = "0xF0")]
|
|
[Token(Token = "0x400889E")]
|
|
private float DAIOPECOIJJ;
|
|
|
|
// Token: 0x0200208C RID: 8332
|
|
[Token(Token = "0x200208C")]
|
|
private struct FBCMHKDCECL
|
|
{
|
|
// Token: 0x0600D52E RID: 54574 RVA: 0x00315C38 File Offset: 0x00313E38
|
|
[Token(Token = "0x600D52E")]
|
|
[Address(RVA = "0x8B50E0", Offset = "0x8B3EE0", VA = "0x1808B50E0")]
|
|
public void CCENHKLDGEL(bool LAHAOAHDGIK, bool AKNJJIOABMK)
|
|
{
|
|
this.GNKOIHECFCD = LAHAOAHDGIK;
|
|
this.FLLFAKLFPGI = AKNJJIOABMK;
|
|
int num = 0;
|
|
this.FLLFAKLFPGI = num != 0;
|
|
}
|
|
|
|
// Token: 0x0400889F RID: 34975
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x400889F")]
|
|
public bool GNKOIHECFCD;
|
|
|
|
// Token: 0x040088A0 RID: 34976
|
|
[FieldOffset(Offset = "0x1")]
|
|
[Token(Token = "0x40088A0")]
|
|
public bool FLLFAKLFPGI;
|
|
}
|
|
}
|
|
}
|