661 lines
31 KiB
C#
661 lines
31 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using AGUI.StackedUI;
|
|
using Cpp2IlInjected;
|
|
using Photon.Pun;
|
|
using Photon.Realtime;
|
|
using RecRoom.Core;
|
|
using RecRoom.Core.UI;
|
|
using RecRoom.Inputs;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace RecRoom
|
|
{
|
|
// Token: 0x02001CF1 RID: 7409
|
|
[Token(Token = "0x2001CF1")]
|
|
[StructLayout(3)]
|
|
public class MenuFinger : MonoBehaviour
|
|
{
|
|
// Token: 0x17001F19 RID: 7961
|
|
// (get) Token: 0x0600C762 RID: 51042 RVA: 0x002F423C File Offset: 0x002F243C
|
|
[Token(Token = "0x17001F19")]
|
|
private VRInputHandler PAHOHDJHCKI
|
|
{
|
|
[Token(Token = "0x600C762")]
|
|
[Address(RVA = "0xF9D3D0", Offset = "0xF9BDD0", VA = "0x180F9D3D0")]
|
|
get
|
|
{
|
|
if (this.fingerType == PlayerHand.PLLIKAOIPHP.Left)
|
|
{
|
|
return SingletonMonoBehaviour.Instance.GDHFJPEMICK;
|
|
}
|
|
return SingletonMonoBehaviour.Instance.EOEAIFBPNJH;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001F1A RID: 7962
|
|
// (get) Token: 0x0600C763 RID: 51043 RVA: 0x002F4270 File Offset: 0x002F2470
|
|
[Token(Token = "0x17001F1A")]
|
|
private float LBCOJNDIMFA
|
|
{
|
|
[Token(Token = "0x600C763")]
|
|
[Address(RVA = "0xF9C6B0", Offset = "0xF9B0B0", VA = "0x180F9C6B0")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600C763)
|
|
|
|
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 327
|
|
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: 0x17001F1B RID: 7963
|
|
// (get) Token: 0x0600C764 RID: 51044 RVA: 0x002F428C File Offset: 0x002F248C
|
|
[Token(Token = "0x17001F1B")]
|
|
private float OBHICNLIIJF
|
|
{
|
|
[Token(Token = "0x600C764")]
|
|
[Address(RVA = "0xF9AE50", Offset = "0xF99850", VA = "0x180F9AE50")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600C764)
|
|
|
|
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 327
|
|
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: 0x17001F1C RID: 7964
|
|
// (get) Token: 0x0600C765 RID: 51045 RVA: 0x002F42A8 File Offset: 0x002F24A8
|
|
[Token(Token = "0x17001F1C")]
|
|
public float DJODILACIBH
|
|
{
|
|
[Token(Token = "0x600C765")]
|
|
[Address(RVA = "0xF9E0D0", Offset = "0xF9CAD0", VA = "0x180F9E0D0")]
|
|
get
|
|
{
|
|
return this.tactileHoverDistance;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001F1D RID: 7965
|
|
// (get) Token: 0x0600C766 RID: 51046 RVA: 0x002F42BC File Offset: 0x002F24BC
|
|
// (set) Token: 0x0600C767 RID: 51047 RVA: 0x002F42D0 File Offset: 0x002F24D0
|
|
[Token(Token = "0x17001F1D")]
|
|
public VRCanvas FLAGLEFIEBB
|
|
{
|
|
[Token(Token = "0x600C766")]
|
|
[Address(RVA = "0x408B30", Offset = "0x407530", VA = "0x180408B30")]
|
|
get;
|
|
[Token(Token = "0x600C767")]
|
|
[Address(RVA = "0x5D5C80", Offset = "0x5D4680", VA = "0x1805D5C80")]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x17001F1E RID: 7966
|
|
// (get) Token: 0x0600C768 RID: 51048 RVA: 0x002F42E4 File Offset: 0x002F24E4
|
|
[Token(Token = "0x17001F1E")]
|
|
public bool NDNMAJEOGLK
|
|
{
|
|
[Token(Token = "0x600C768")]
|
|
[Address(RVA = "0xF9E070", Offset = "0xF9CA70", VA = "0x180F9E070")]
|
|
get
|
|
{
|
|
VRCanvas vrcanvas = this.<KKGIACANECK>k__BackingField;
|
|
int num = 0;
|
|
return vrcanvas != num;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C769 RID: 51049 RVA: 0x002F4304 File Offset: 0x002F2504
|
|
[Token(Token = "0x600C769")]
|
|
[Address(RVA = "0xF9C460", Offset = "0xF9AE60", VA = "0x180F9C460")]
|
|
private void Awake()
|
|
{
|
|
RectTransform rectTransform = this.tactileButtonRoot;
|
|
int num = 0;
|
|
CanvasGroup[] componentsInChildren = rectTransform.GetComponentsInChildren<CanvasGroup>(num != 0);
|
|
RectTransform rectTransform2 = this.tactileGridRoot;
|
|
this.JJAJNHLJDJB = componentsInChildren;
|
|
int num2 = 0;
|
|
CanvasGroup componentInChildren = rectTransform2.GetComponentInChildren<CanvasGroup>(num2 != 0);
|
|
this.DHABJAMLJIG = componentInChildren;
|
|
Transform transform = this.tactileButtonRoot.transform;
|
|
Transform transform2 = global::Player.<EGKJPJKLEAI>k__BackingField.trackingSpace.transform;
|
|
int num3 = 0;
|
|
transform.SetParent(transform2, num3 != 0);
|
|
Transform transform3 = this.tactileGridRoot.transform;
|
|
Transform transform4 = global::Player.<EGKJPJKLEAI>k__BackingField.trackingSpace.transform;
|
|
int num4 = 0;
|
|
transform3.SetParent(transform4, num4 != 0);
|
|
}
|
|
|
|
// Token: 0x0600C76A RID: 51050 RVA: 0x002F43A4 File Offset: 0x002F25A4
|
|
[Token(Token = "0x600C76A")]
|
|
[Address(RVA = "0xF9D710", Offset = "0xF9C110", VA = "0x180F9D710")]
|
|
private void Start()
|
|
{
|
|
LocalPlayerController instance;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
instance = SingletonMonoBehaviour.Instance;
|
|
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.Instance.AKPGDDBMBMK == LocalPlayerController.MIGPLDFLMHA.VR)
|
|
{
|
|
Action<float> action2 = new Action(this.GAJIJLPDHNI);
|
|
IDisposable disposable = ScheduledUpdateMonoBehaviourExtensions.LateUpdate30hz(this, action2);
|
|
this.AENELEOCFPJ = disposable;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C76B RID: 51051 RVA: 0x002F4428 File Offset: 0x002F2628
|
|
[Token(Token = "0x600C76B")]
|
|
[Address(RVA = "0xF9D470", Offset = "0xF9BE70", VA = "0x180F9D470")]
|
|
private void OnDestroy()
|
|
{
|
|
LocalPlayerController instance2;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
LocalPlayerController instance = SingletonMonoBehaviour.Instance;
|
|
int num = 0;
|
|
if (!(instance != num))
|
|
{
|
|
return;
|
|
}
|
|
instance2 = SingletonMonoBehaviour.Instance;
|
|
Action displayModeChange = instance2.DisplayModeChange;
|
|
Action action = new Action(this.JIPNJDICOND);
|
|
@delegate = Delegate.Remove(displayModeChange, action);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
instance2.DisplayModeChange = @delegate;
|
|
}
|
|
|
|
// Token: 0x0600C76C RID: 51052 RVA: 0x002F4484 File Offset: 0x002F2684
|
|
[Token(Token = "0x600C76C")]
|
|
[Address(RVA = "0xF9D120", Offset = "0xF9BB20", VA = "0x180F9D120")]
|
|
private void JIPNJDICOND()
|
|
{
|
|
if (this.AENELEOCFPJ != 0)
|
|
{
|
|
this.AENELEOCFPJ = (ulong)0L;
|
|
}
|
|
if (SingletonMonoBehaviour.Instance.AKPGDDBMBMK == LocalPlayerController.MIGPLDFLMHA.VR)
|
|
{
|
|
Action<float> action = new Action(this.GAJIJLPDHNI);
|
|
IDisposable disposable = ScheduledUpdateMonoBehaviourExtensions.LateUpdate30hz(this, action);
|
|
this.AENELEOCFPJ = disposable;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C76D RID: 51053 RVA: 0x002F44D4 File Offset: 0x002F26D4
|
|
[Token(Token = "0x600C76D")]
|
|
[Address(RVA = "0xF9DFE0", Offset = "0xF9C9E0", VA = "0x180F9DFE0")]
|
|
public void Vibrate(int DHFKOLKOCKP, float LAIPKAHGIJF)
|
|
{
|
|
if (this.PAHOHDJHCKI != 0)
|
|
{
|
|
this.PAHOHDJHCKI.NJEPAKGDLFF(DHFKOLKOCKP, LAIPKAHGIJF);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C76E RID: 51054 RVA: 0x002F4500 File Offset: 0x002F2700
|
|
[Token(Token = "0x600C76E")]
|
|
[Address(RVA = "0xF9CE20", Offset = "0xF9B820", VA = "0x180F9CE20")]
|
|
private void GAJIJLPDHNI(float POGAEJIEPIM)
|
|
{
|
|
this.FFBNCBOPNAJ();
|
|
}
|
|
|
|
// Token: 0x0600C76F RID: 51055 RVA: 0x002F4514 File Offset: 0x002F2714
|
|
[Token(Token = "0x600C76F")]
|
|
[Address(RVA = "0xF9C6C0", Offset = "0xF9B0C0", VA = "0x180F9C6C0")]
|
|
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;
|
|
if (this.OPLCAICNEKD.z > 0.010000001f)
|
|
{
|
|
this.GOJKGLBJNPD = num2;
|
|
}
|
|
}
|
|
}
|
|
BoxCollider boxCollider = this.overlapCollider;
|
|
Collider[] immediate_COLLIDER_HITS = PhysicsExt.IMMEDIATE_COLLIDER_HITS;
|
|
Button3DBase componentInParent;
|
|
if (boxCollider.Overlap(immediate_COLLIDER_HITS, 4197409, (QueryTriggerInteraction)((uint)2)) > 0)
|
|
{
|
|
Collider collider = PhysicsExt.IMMEDIATE_COLLIDER_HITS[num2];
|
|
if (collider.gameObject.CompareTag("Button3D"))
|
|
{
|
|
componentInParent = collider.GetComponentInParent<Button3DBase>();
|
|
int num4 = 0;
|
|
if (componentInParent != num4)
|
|
{
|
|
GameObject gojkglbjnpd2 = this.GOJKGLBJNPD;
|
|
int num5 = 0;
|
|
if (!(gojkglbjnpd2 == num5))
|
|
{
|
|
GameObject gameObject = componentInParent.gameObject;
|
|
GameObject gojkglbjnpd3 = this.GOJKGLBJNPD;
|
|
if (gameObject == gojkglbjnpd3)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
}
|
|
num2++;
|
|
}
|
|
Button3DBase oebdbdbgbne2 = this.OEBDBDBGBNE;
|
|
int num6 = 0;
|
|
if (oebdbdbgbne2 != num6 && this.OEBDBDBGBNE != componentInParent)
|
|
{
|
|
this.OEBDBDBGBNE.TryReleaseMenuFinger(this);
|
|
}
|
|
int num7 = 0;
|
|
if (componentInParent != num7)
|
|
{
|
|
GameObject gojkglbjnpd4 = this.GOJKGLBJNPD;
|
|
int num8 = 0;
|
|
if (gojkglbjnpd4 == num8)
|
|
{
|
|
GameObject gameObject2 = componentInParent.gameObject;
|
|
this.GOJKGLBJNPD = gameObject2;
|
|
Transform transform3 = gameObject2.transform;
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
this.OPLCAICNEKD.z = z;
|
|
}
|
|
GameObject gojkglbjnpd5 = this.GOJKGLBJNPD;
|
|
int num9 = 0;
|
|
if (gojkglbjnpd5 != num9)
|
|
{
|
|
Transform transform4 = this.GOJKGLBJNPD.transform;
|
|
}
|
|
componentInParent.TrySetMenuFinger(this);
|
|
}
|
|
this.OEBDBDBGBNE = componentInParent;
|
|
}
|
|
|
|
// Token: 0x0600C770 RID: 51056 RVA: 0x002F46EC File Offset: 0x002F28EC
|
|
[Token(Token = "0x600C770")]
|
|
[Address(RVA = "0xF9D8B0", Offset = "0xF9C2B0", VA = "0x180F9D8B0")]
|
|
public void UpdateUIInput(bool IPAFEOIAOCJ, bool OBHOJNENEJH, UIInputModule.LAGCGHDHJEI BPOMLOIAHCB, Photon.Realtime.Player AGIHAKFFCCD)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600C770)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RecRoom.MenuFinger::UpdateUIInput(System.Boolean,System.Boolean,RecRoom.Core.UI.UIInputModule/LAGCGHDHJEI,Photon.Realtime.Player)
|
|
|
|
---> 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 327
|
|
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: 0x0600C771 RID: 51057 RVA: 0x002F4908 File Offset: 0x002F2B08
|
|
[Token(Token = "0x600C771")]
|
|
[Address(RVA = "0xF9D5B0", Offset = "0xF9BFB0", VA = "0x180F9D5B0")]
|
|
private bool POHILCBEMAO(UIInputModule.LAGCGHDHJEI BPOMLOIAHCB)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600C771)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean RecRoom.MenuFinger::POHILCBEMAO(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 327
|
|
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: 0x0600C772 RID: 51058 RVA: 0x002F4940 File Offset: 0x002F2B40
|
|
[Token(Token = "0x600C772")]
|
|
[Address(RVA = "0xF9CE30", Offset = "0xF9B830", VA = "0x180F9CE30")]
|
|
private bool HBMKLAGPEJH(UIInputModule.LAGCGHDHJEI BPOMLOIAHCB)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600C772)
|
|
|
|
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 327
|
|
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: 0x0600C773 RID: 51059 RVA: 0x002F499C File Offset: 0x002F2B9C
|
|
[Token(Token = "0x600C773")]
|
|
[Address(RVA = "0xF9D200", Offset = "0xF9BC00", VA = "0x180F9D200")]
|
|
private bool OMMMJNDEMEN(UIInputModule.LAGCGHDHJEI BPOMLOIAHCB, out float FAONCIOCBGG)
|
|
{
|
|
bool flag;
|
|
if (!flag)
|
|
{
|
|
Transform fingertipTransform = this.FingertipTransform;
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600C774 RID: 51060 RVA: 0x002F49C0 File Offset: 0x002F2BC0
|
|
[Token(Token = "0x600C774")]
|
|
[Address(RVA = "0xF9AE60", Offset = "0xF99860", VA = "0x180F9AE60")]
|
|
private void AINLMLBNPMN(UIInputModule.LAGCGHDHJEI BPOMLOIAHCB, UIInputModule.GBLBJCNGCGN GJPMAGONNPO, bool NCOEDAHLFGL)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600C774)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RecRoom.MenuFinger::AINLMLBNPMN(RecRoom.Core.UI.UIInputModule/LAGCGHDHJEI,RecRoom.Core.UI.UIInputModule/GBLBJCNGCGN,System.Boolean)
|
|
|
|
---> 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 327
|
|
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: 0x0600C775 RID: 51061 RVA: 0x002F4EBC File Offset: 0x002F30BC
|
|
[Token(Token = "0x600C775")]
|
|
[Address(RVA = "0xF9CFE0", Offset = "0xF9B9E0", VA = "0x180F9CFE0")]
|
|
private void JDFPMACCAGK(bool IPAFEOIAOCJ, bool OBHOJNENEJH, Photon.Realtime.Player 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: 0x0600C776 RID: 51062 RVA: 0x002F4EF8 File Offset: 0x002F30F8
|
|
[Token(Token = "0x600C776")]
|
|
[Address(RVA = "0xF9D670", Offset = "0xF9C070", VA = "0x180F9D670")]
|
|
public void ReleaseLaserPushedButton(Photon.Realtime.Player IEKDDPPNFPF)
|
|
{
|
|
PhysicalButtonBase fjjmihboeej = this.FJJMIHBOEEJ;
|
|
int num = 0;
|
|
if (fjjmihboeej != num)
|
|
{
|
|
this.FJJMIHBOEEJ.BroadcastLocalLaserRelease(IEKDDPPNFPF);
|
|
this.FJJMIHBOEEJ = (ulong)0L;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C777 RID: 51063 RVA: 0x002F4F34 File Offset: 0x002F3134
|
|
[Token(Token = "0x600C777")]
|
|
[Address(RVA = "0xF9E040", Offset = "0xF9CA40", VA = "0x180F9E040")]
|
|
public MenuFinger()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04008411 RID: 33809
|
|
[Token(Token = "0x4008411")]
|
|
private const float DOAALCCFEJL = 0.1f;
|
|
|
|
// Token: 0x04008412 RID: 33810
|
|
[Token(Token = "0x4008412")]
|
|
private const float MNIMCGPINOA = 0.005f;
|
|
|
|
// Token: 0x04008413 RID: 33811
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4008413")]
|
|
public Transform FingertipTransform;
|
|
|
|
// Token: 0x04008414 RID: 33812
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4008414")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
|
public BoxCollider overlapCollider;
|
|
|
|
// Token: 0x04008415 RID: 33813
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4008415")]
|
|
[SerializeField]
|
|
[OCIDFHDICIP(JIBDPHMGEGO.SelfAndParent, true, false)]
|
|
private PhotonView photonView;
|
|
|
|
// Token: 0x04008416 RID: 33814
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4008416")]
|
|
[SerializeField]
|
|
private PlayerHand.PLLIKAOIPHP fingerType;
|
|
|
|
// Token: 0x04008417 RID: 33815
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4008417")]
|
|
[SerializeField]
|
|
[Header("Virtual Tactile 3D button")]
|
|
private RectTransform tactileButtonRoot;
|
|
|
|
// Token: 0x04008418 RID: 33816
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4008418")]
|
|
[SerializeField]
|
|
private RectTransform tactileGridCutout;
|
|
|
|
// Token: 0x04008419 RID: 33817
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4008419")]
|
|
[SerializeField]
|
|
private CanvasScaler tactileButtonCanvasScaler;
|
|
|
|
// Token: 0x0400841A RID: 33818
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x400841A")]
|
|
[Space]
|
|
[SerializeField]
|
|
private RectTransform tactileGridRoot;
|
|
|
|
// Token: 0x0400841B RID: 33819
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x400841B")]
|
|
[SerializeField]
|
|
private Image tactileGridImage;
|
|
|
|
// Token: 0x0400841C RID: 33820
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x400841C")]
|
|
[SerializeField]
|
|
private Material tactileGridHoverMaterial;
|
|
|
|
// Token: 0x0400841D RID: 33821
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x400841D")]
|
|
[SerializeField]
|
|
private Material tactileGridPressedMaterial;
|
|
|
|
// Token: 0x0400841E RID: 33822
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x400841E")]
|
|
[Space]
|
|
[SerializeField]
|
|
private float tactileTravelDistance = 0.025f;
|
|
|
|
// Token: 0x0400841F RID: 33823
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x74")]
|
|
[Token(Token = "0x400841F")]
|
|
[SerializeField]
|
|
[Range(0f, 1f)]
|
|
private float tactileActuationPercent = 0.4f;
|
|
|
|
// Token: 0x04008420 RID: 33824
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x4008420")]
|
|
[SerializeField]
|
|
[Range(0f, 1f)]
|
|
private float tactileReleasePercent = 0.8f;
|
|
|
|
// Token: 0x04008421 RID: 33825
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x7C")]
|
|
[Token(Token = "0x4008421")]
|
|
[SerializeField]
|
|
[Tooltip("Hover distance is distance over the virtual button, the target button is [tactileTravelDistance] below that.")]
|
|
private float tactileHoverDistance = 0.05f;
|
|
|
|
// Token: 0x04008422 RID: 33826
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x4008422")]
|
|
[SerializeField]
|
|
private float squashScaleMultiplier = 1.1f;
|
|
|
|
// Token: 0x04008423 RID: 33827
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4008423")]
|
|
private CanvasGroup[] JJAJNHLJDJB;
|
|
|
|
// Token: 0x04008424 RID: 33828
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x4008424")]
|
|
private CanvasGroup DHABJAMLJIG;
|
|
|
|
// Token: 0x04008425 RID: 33829
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x4008425")]
|
|
private Button3DBase OEBDBDBGBNE;
|
|
|
|
// Token: 0x04008426 RID: 33830
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA0")]
|
|
[Token(Token = "0x4008426")]
|
|
private PhysicalButtonBase FJJMIHBOEEJ;
|
|
|
|
// Token: 0x04008427 RID: 33831
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA8")]
|
|
[Token(Token = "0x4008427")]
|
|
private IDisposable AENELEOCFPJ;
|
|
|
|
// Token: 0x04008428 RID: 33832
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x4008428")]
|
|
private GameObject GOJKGLBJNPD;
|
|
|
|
// Token: 0x04008429 RID: 33833
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x4008429")]
|
|
private Vector3 OPLCAICNEKD;
|
|
|
|
// Token: 0x0400842A RID: 33834
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC4")]
|
|
[Token(Token = "0x400842A")]
|
|
private Vector3 AHOILEPDOOP;
|
|
|
|
// Token: 0x0400842B RID: 33835
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x400842B")]
|
|
private MenuFinger.FBCMHKDCECL MPGFAFFFGMK;
|
|
|
|
// Token: 0x02001CF2 RID: 7410
|
|
[Token(Token = "0x2001CF2")]
|
|
private struct FBCMHKDCECL
|
|
{
|
|
// Token: 0x0600C778 RID: 51064 RVA: 0x002F4F80 File Offset: 0x002F3180
|
|
[Token(Token = "0x600C778")]
|
|
[Address(RVA = "0x22A440", Offset = "0x229840", VA = "0x18022A440")]
|
|
public void CCENHKLDGEL(bool LAHAOAHDGIK, bool AKNJJIOABMK)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400842D RID: 33837
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x400842D")]
|
|
public bool GNKOIHECFCD;
|
|
|
|
// Token: 0x0400842E RID: 33838
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1")]
|
|
[Token(Token = "0x400842E")]
|
|
public bool FLLFAKLFPGI;
|
|
}
|
|
}
|
|
}
|