726 lines
24 KiB
C#
726 lines
24 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using Photon.Pun;
|
|
using Photon.Realtime;
|
|
using RecRoom;
|
|
using RecRoom.Core;
|
|
using RecRoom.Core.Rendering;
|
|
using RecRoom.Networking.RPC;
|
|
using UnityEngine;
|
|
using UnityEngine.Events;
|
|
|
|
// Token: 0x020004B2 RID: 1202
|
|
[Token(Token = "0x20004B2")]
|
|
[StructLayout(3)]
|
|
public abstract class PhysicalButtonBase : MonoBehaviourPun, LDFLLGHNPBK
|
|
{
|
|
// Token: 0x17000643 RID: 1603
|
|
// (get) Token: 0x06002335 RID: 9013 RVA: 0x000920CC File Offset: 0x000902CC
|
|
// (set) Token: 0x06002336 RID: 9014 RVA: 0x000920E0 File Offset: 0x000902E0
|
|
[Token(Token = "0x17000643")]
|
|
public RecRoomAudioClip OCGDCPKFAKD
|
|
{
|
|
[Token(Token = "0x6002335")]
|
|
[Address(RVA = "0x462740", Offset = "0x461140", VA = "0x180462740")]
|
|
get
|
|
{
|
|
return this.onButtonPressAudio;
|
|
}
|
|
[Token(Token = "0x6002336")]
|
|
[Address(RVA = "0x462750", Offset = "0x461150", VA = "0x180462750")]
|
|
set
|
|
{
|
|
this.onButtonPressAudio = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000644 RID: 1604
|
|
// (get) Token: 0x06002337 RID: 9015 RVA: 0x000920F4 File Offset: 0x000902F4
|
|
[Token(Token = "0x17000644")]
|
|
public bool GFGCLDOGEKH
|
|
{
|
|
[Token(Token = "0x6002337")]
|
|
[Address(RVA = "0x11B7FB0", Offset = "0x11B69B0", VA = "0x1811B7FB0")]
|
|
get
|
|
{
|
|
return this.useCustomScreensAnimations;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000645 RID: 1605
|
|
// (get) Token: 0x06002338 RID: 9016 RVA: 0x00092108 File Offset: 0x00090308
|
|
[Token(Token = "0x17000645")]
|
|
public PlayerAnimation EJAJBCGEABI
|
|
{
|
|
[Token(Token = "0x6002338")]
|
|
[Address(RVA = "0x4D2570", Offset = "0x4D0F70", VA = "0x1804D2570")]
|
|
get
|
|
{
|
|
return this.customScreensTargetAnimation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000646 RID: 1606
|
|
// (get) Token: 0x06002339 RID: 9017 RVA: 0x0009211C File Offset: 0x0009031C
|
|
[Token(Token = "0x17000646")]
|
|
public PlayerAnimation OHCILKNBJJA
|
|
{
|
|
[Token(Token = "0x6002339")]
|
|
[Address(RVA = "0x501250", Offset = "0x4FFC50", VA = "0x180501250")]
|
|
get
|
|
{
|
|
return this.customScreensPushAnimation;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000647 RID: 1607
|
|
// (get) Token: 0x0600233A RID: 9018 RVA: 0x00092130 File Offset: 0x00090330
|
|
[Token(Token = "0x17000647")]
|
|
public bool PIAEAIMMOEL
|
|
{
|
|
[Token(Token = "0x600233A")]
|
|
[Address(RVA = "0x6931B0", Offset = "0x691BB0", VA = "0x1806931B0")]
|
|
get
|
|
{
|
|
return this.enforceLaserMinDistance;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000648 RID: 1608
|
|
// (get) Token: 0x0600233B RID: 9019 RVA: 0x00092144 File Offset: 0x00090344
|
|
[Token(Token = "0x17000648")]
|
|
public bool JLJEOFHGPHC
|
|
{
|
|
[Token(Token = "0x600233B")]
|
|
[Address(RVA = "0x115E0B0", Offset = "0x115CAB0", VA = "0x18115E0B0")]
|
|
get
|
|
{
|
|
return this.enforceLaserFromFront;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000649 RID: 1609
|
|
// (get) Token: 0x0600233C RID: 9020 RVA: 0x00092158 File Offset: 0x00090358
|
|
[Token(Token = "0x17000649")]
|
|
public bool KPONKBLKCIH
|
|
{
|
|
[Token(Token = "0x600233C")]
|
|
[Address(RVA = "0x11B7F10", Offset = "0x11B6910", VA = "0x1811B7F10")]
|
|
get
|
|
{
|
|
return this.allowLaserInVR;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700064A RID: 1610
|
|
// (get) Token: 0x0600233D RID: 9021 RVA: 0x0009216C File Offset: 0x0009036C
|
|
[Token(Token = "0x1700064A")]
|
|
public virtual bool PCNCJJHCHFC
|
|
{
|
|
[Token(Token = "0x600233D")]
|
|
[Address(RVA = "0x11B7F20", Offset = "0x11B6920", VA = "0x1811B7F20", Slot = "20")]
|
|
get
|
|
{
|
|
Tool component = base.GetComponent<Tool>();
|
|
int num = 0;
|
|
return component == num || !component.<BIPMAHKMNKF>k__BackingField;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700064B RID: 1611
|
|
// (get) Token: 0x0600233E RID: 9022 RVA: 0x000921A0 File Offset: 0x000903A0
|
|
[Token(Token = "0x1700064B")]
|
|
protected virtual bool MHMMGDJMKNH
|
|
{
|
|
[Token(Token = "0x600233E")]
|
|
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "21")]
|
|
get
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700064C RID: 1612
|
|
// (get) Token: 0x0600233F RID: 9023 RVA: 0x000921B0 File Offset: 0x000903B0
|
|
// (set) Token: 0x06002340 RID: 9024 RVA: 0x000921C4 File Offset: 0x000903C4
|
|
[Token(Token = "0x1700064C")]
|
|
public virtual bool HFNAIHCPBNN
|
|
{
|
|
[Token(Token = "0x600233F")]
|
|
[Address(RVA = "0x54D030", Offset = "0x54BA30", VA = "0x18054D030", Slot = "22")]
|
|
get
|
|
{
|
|
return this.IKFBLJJGPKK;
|
|
}
|
|
[Token(Token = "0x6002340")]
|
|
[Address(RVA = "0x11B7FC0", Offset = "0x11B69C0", VA = "0x1811B7FC0", Slot = "23")]
|
|
set
|
|
{
|
|
this.IKFBLJJGPKK = value;
|
|
ColorButton domjdabklkh = this.DOMJDABKLKH;
|
|
int num = 0;
|
|
if (domjdabklkh != num)
|
|
{
|
|
ColorButton domjdabklkh2 = this.DOMJDABKLKH;
|
|
if (this.IKFBLJJGPKK)
|
|
{
|
|
}
|
|
Color aipcldheika = this.AIPCLDHEIKA;
|
|
domjdabklkh2.INCNKMHCJDM = aipcldheika;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700064D RID: 1613
|
|
// (get) Token: 0x06002341 RID: 9025 RVA: 0x00092210 File Offset: 0x00090410
|
|
[Token(Token = "0x1700064D")]
|
|
public PhysicalButtonBase.PhysicalButtonPressEvent DAEHIAENLOI
|
|
{
|
|
[Token(Token = "0x6002341")]
|
|
[Address(RVA = "0x3D31D0", Offset = "0x3D1BD0", VA = "0x1803D31D0", Slot = "15")]
|
|
get
|
|
{
|
|
return this.pressEvent;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700064E RID: 1614
|
|
// (get) Token: 0x06002342 RID: 9026 RVA: 0x00092224 File Offset: 0x00090424
|
|
[Token(Token = "0x1700064E")]
|
|
public PhysicalButtonBase.PhysicalButtonStateEvent IPNGCONCAGM
|
|
{
|
|
[Token(Token = "0x6002342")]
|
|
[Address(RVA = "0x5D55F0", Offset = "0x5D3FF0", VA = "0x1805D55F0", Slot = "16")]
|
|
get
|
|
{
|
|
return this.onReleaseEvent;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700064F RID: 1615
|
|
// (get) Token: 0x06002343 RID: 9027 RVA: 0x00092238 File Offset: 0x00090438
|
|
[Token(Token = "0x1700064F")]
|
|
public PhysicalButtonBase.PhysicalButtonStateEvent ELNAIGJKNLE
|
|
{
|
|
[Token(Token = "0x6002343")]
|
|
[Address(RVA = "0x3EFAF0", Offset = "0x3EE4F0", VA = "0x1803EFAF0", Slot = "17")]
|
|
get
|
|
{
|
|
return this.onPressTransferEvent;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000650 RID: 1616
|
|
// (get) Token: 0x06002344 RID: 9028 RVA: 0x0009224C File Offset: 0x0009044C
|
|
[Token(Token = "0x17000650")]
|
|
protected bool ANMHACGPFBL
|
|
{
|
|
[Token(Token = "0x6002344")]
|
|
[Address(RVA = "0x11B7790", Offset = "0x11B6190", VA = "0x1811B7790")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002344)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean PhysicalButtonBase::ICPLBOFCHKC()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:float32(var_1_07, callgetter:float32(Time::get_time))
|
|
stloc:float32(var_2_0E, ldfld:float32(PhysicalButtonBase::instanceLimitDuration, ldloc:PhysicalButtonBase(this)))
|
|
}
|
|
|
|
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: 0x06002345 RID: 9029 RVA: 0x00092268 File Offset: 0x00090468
|
|
[Token(Token = "0x6002345")]
|
|
[Address(RVA = "0x11B6E70", Offset = "0x11B5870", VA = "0x1811B6E70", Slot = "13")]
|
|
protected override void Awake()
|
|
{
|
|
base..ctor();
|
|
ActionEvent<Photon.Realtime.Player> onPhotonPlayerDisconnected = PhotonNetwork.OnPhotonPlayerDisconnected;
|
|
Action<Photon.Realtime.Player> action = new Action(this.PDJBKDFGPJI);
|
|
PhotonNetwork.OnPhotonPlayerDisconnected = onPhotonPlayerDisconnected + action;
|
|
Action<float> action2 = new Action(this.EOPBACMIAMB);
|
|
IDisposable disposable = ScheduledUpdateMonoBehaviourExtensions.UpdateAtRate(this, 15f, action2);
|
|
ColorButton component = base.GetComponent<ColorButton>();
|
|
this.DOMJDABKLKH = component;
|
|
int num = 0;
|
|
if (component != num)
|
|
{
|
|
ColorButton domjdabklkh = this.DOMJDABKLKH;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002346 RID: 9030 RVA: 0x000922E4 File Offset: 0x000904E4
|
|
[Token(Token = "0x6002346")]
|
|
[Address(RVA = "0x11B7900", Offset = "0x11B6300", VA = "0x1811B7900", Slot = "14")]
|
|
protected override void OnDestroy()
|
|
{
|
|
base.OnDestroy();
|
|
ActionEvent<Photon.Realtime.Player> onPhotonPlayerDisconnected = PhotonNetwork.OnPhotonPlayerDisconnected;
|
|
Action<Photon.Realtime.Player> action = new Action(this.PDJBKDFGPJI);
|
|
PhotonNetwork.OnPhotonPlayerDisconnected = onPhotonPlayerDisconnected - action;
|
|
}
|
|
|
|
// Token: 0x06002347 RID: 9031 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6002347")]
|
|
[Address(RVA = "0x11B6FF0", Offset = "0x11B59F0", VA = "0x1811B6FF0")]
|
|
private void BKJMMECFJPF()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002348 RID: 9032 RVA: 0x00092318 File Offset: 0x00090518
|
|
[Token(Token = "0x6002348")]
|
|
[Address(RVA = "0x11B7090", Offset = "0x11B5A90", VA = "0x1811B7090")]
|
|
public void BroadcastLocalLaserPress(Photon.Realtime.Player IEKDDPPNFPF)
|
|
{
|
|
if (IEKDDPPNFPF == 0 || IEKDDPPNFPF.IsLocal)
|
|
{
|
|
PhotonView photonView = base.photonView;
|
|
int num = 0;
|
|
if (photonView != num)
|
|
{
|
|
PhotonView photonView2;
|
|
RPCActions.RPCAction<Photon.Realtime.Player> rpcaction;
|
|
photonView2.RpcAll<Photon.Realtime.Player>(rpcaction, IEKDDPPNFPF);
|
|
throw new NullReferenceException();
|
|
}
|
|
if (!this.OENNLOBFIKK.Contains(IEKDDPPNFPF))
|
|
{
|
|
this.OENNLOBFIKK.Add(IEKDDPPNFPF);
|
|
if (this.PCNCJJHCHFC)
|
|
{
|
|
int pressingPlayersCount = this.GetPressingPlayersCount();
|
|
}
|
|
PhysicalButtonBase.PhysicalButtonStateEvent physicalButtonStateEvent = this.onPressTransferEvent;
|
|
if (physicalButtonStateEvent != 0)
|
|
{
|
|
global::Player player = IEKDDPPNFPF.GPOMCJICJIH();
|
|
physicalButtonStateEvent.Invoke((uint)1, player);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002349 RID: 9033 RVA: 0x000923A0 File Offset: 0x000905A0
|
|
[Token(Token = "0x6002349")]
|
|
[Address(RVA = "0x11B7260", Offset = "0x11B5C60", VA = "0x1811B7260")]
|
|
public void BroadcastLocalLaserRelease(Photon.Realtime.Player IEKDDPPNFPF)
|
|
{
|
|
if (IEKDDPPNFPF == 0 || IEKDDPPNFPF.IsLocal)
|
|
{
|
|
PhotonView photonView = base.photonView;
|
|
int num = 0;
|
|
if (photonView != num)
|
|
{
|
|
PhotonView photonView2 = base.photonView;
|
|
RPCActions.RPCAction<Photon.Realtime.Player> rpcaction = new RPCActions.RPCAction(this.RpcNonPhysicalReleaseButton);
|
|
throw new NullReferenceException();
|
|
}
|
|
bool flag = this.OENNLOBFIKK.Remove(IEKDDPPNFPF);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600234A RID: 9034 RVA: 0x000923F8 File Offset: 0x000905F8
|
|
[Token(Token = "0x600234A")]
|
|
[Address(RVA = "0x11B7D50", Offset = "0x11B6750", VA = "0x1811B7D50")]
|
|
public void RenderOutline()
|
|
{
|
|
MeshRenderer meshRenderer = this.mainRenderer;
|
|
int num = 0;
|
|
if (meshRenderer != num)
|
|
{
|
|
OEIHLPKBJKH nextOutlineRenderHandle = OutlineRendererEffect.GetNextOutlineRenderHandle();
|
|
MeshRenderer meshRenderer2 = this.mainRenderer;
|
|
int length = meshRenderer2.GetSharedMaterialArray().Length;
|
|
OutlineRendererEffect.RenderHoverOutline(nextOutlineRenderHandle, meshRenderer2, length, true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600234B RID: 9035 RVA: 0x00092448 File Offset: 0x00090648
|
|
[Token(Token = "0x600234B")]
|
|
[Address(RVA = "0x11B7C40", Offset = "0x11B6640", VA = "0x1811B7C40")]
|
|
[PunRPC]
|
|
protected void RpcNonPhysicalPressButton(Photon.Realtime.Player IEKDDPPNFPF)
|
|
{
|
|
if (!this.OENNLOBFIKK.Contains(IEKDDPPNFPF))
|
|
{
|
|
this.OENNLOBFIKK.Add(IEKDDPPNFPF);
|
|
if (this.PCNCJJHCHFC)
|
|
{
|
|
int pressingPlayersCount = this.GetPressingPlayersCount();
|
|
}
|
|
PhysicalButtonBase.PhysicalButtonStateEvent physicalButtonStateEvent = this.onPressTransferEvent;
|
|
if (physicalButtonStateEvent != 0)
|
|
{
|
|
global::Player player = IEKDDPPNFPF.GPOMCJICJIH();
|
|
physicalButtonStateEvent.Invoke((uint)1, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600234C RID: 9036 RVA: 0x000924A4 File Offset: 0x000906A4
|
|
[Token(Token = "0x600234C")]
|
|
[Address(RVA = "0x11B7490", Offset = "0x11B5E90", VA = "0x1811B7490")]
|
|
[PunRPC]
|
|
protected void RpcNonPhysicalReleaseButton(Photon.Realtime.Player IEKDDPPNFPF)
|
|
{
|
|
bool flag = this.OENNLOBFIKK.Remove(IEKDDPPNFPF);
|
|
bool isCompleted = ((IAsyncResult)this).IsCompleted;
|
|
}
|
|
|
|
// Token: 0x0600234D RID: 9037 RVA: 0x000924CC File Offset: 0x000906CC
|
|
[Token(Token = "0x600234D")]
|
|
[Address(RVA = "0x11B7560", Offset = "0x11B5F60", VA = "0x1811B7560", Slot = "18")]
|
|
public Photon.Realtime.Player GetSomePressingPlayer()
|
|
{
|
|
Photon.Realtime.Player player;
|
|
return player;
|
|
}
|
|
|
|
// Token: 0x0600234E RID: 9038 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600234E")]
|
|
[Address(RVA = "0x11B7580", Offset = "0x11B5F80", VA = "0x1811B7580", Slot = "19")]
|
|
public Photon.Realtime.Player GetSomePressingPlayer(out Collider GLPOLGOBLAA)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600234F RID: 9039 RVA: 0x000924DC File Offset: 0x000906DC
|
|
[Token(Token = "0x600234F")]
|
|
[Address(RVA = "0x11B7500", Offset = "0x11B5F00", VA = "0x1811B7500", Slot = "24")]
|
|
public virtual int GetPressingPlayersCount()
|
|
{
|
|
int num = this.GBEAPKLOFJO.CJGCLPBPBAP;
|
|
int size = this.OENNLOBFIKK._size;
|
|
return num + size;
|
|
}
|
|
|
|
// Token: 0x06002350 RID: 9040 RVA: 0x0009250C File Offset: 0x0009070C
|
|
[Token(Token = "0x6002350")]
|
|
[Address(RVA = "0x11B7C40", Offset = "0x11B6640", VA = "0x1811B7C40")]
|
|
private void PLGGIANAJED(Photon.Realtime.Player IEKDDPPNFPF)
|
|
{
|
|
if (!this.OENNLOBFIKK.Contains(IEKDDPPNFPF))
|
|
{
|
|
this.OENNLOBFIKK.Add(IEKDDPPNFPF);
|
|
if (this.PCNCJJHCHFC)
|
|
{
|
|
int pressingPlayersCount = this.GetPressingPlayersCount();
|
|
}
|
|
PhysicalButtonBase.PhysicalButtonStateEvent physicalButtonStateEvent = this.onPressTransferEvent;
|
|
if (physicalButtonStateEvent != 0)
|
|
{
|
|
global::Player player = IEKDDPPNFPF.GPOMCJICJIH();
|
|
physicalButtonStateEvent.Invoke((uint)1, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002351 RID: 9041 RVA: 0x00092568 File Offset: 0x00090768
|
|
[Token(Token = "0x6002351")]
|
|
[Address(RVA = "0x11B7490", Offset = "0x11B5E90", VA = "0x1811B7490")]
|
|
private void GEALDGNGPJP(Photon.Realtime.Player IEKDDPPNFPF)
|
|
{
|
|
bool flag = this.OENNLOBFIKK.Remove(IEKDDPPNFPF);
|
|
bool isCompleted = ((IAsyncResult)this).IsCompleted;
|
|
}
|
|
|
|
// Token: 0x06002352 RID: 9042 RVA: 0x00092590 File Offset: 0x00090790
|
|
[Token(Token = "0x6002352")]
|
|
[Address(RVA = "0x11B77C0", Offset = "0x11B61C0", VA = "0x1811B77C0", Slot = "25")]
|
|
protected virtual void IECMHJFOPIL(Photon.Realtime.Player JGOCAKIAFPE)
|
|
{
|
|
if (this.MHMMGDJMKNH)
|
|
{
|
|
float time = Time.time;
|
|
RecRoomAudioClip recRoomAudioClip = this.onButtonPressAudio;
|
|
this.FMCFHBCILDE = time;
|
|
if (recRoomAudioClip != 0)
|
|
{
|
|
Transform transform = base.transform;
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
}
|
|
PhysicalButtonBase.PhysicalButtonPressEvent physicalButtonPressEvent = this.pressEvent;
|
|
global::Player player;
|
|
if (JGOCAKIAFPE != 0)
|
|
{
|
|
player = JGOCAKIAFPE.GPOMCJICJIH();
|
|
}
|
|
physicalButtonPressEvent.Invoke(this, player);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002353 RID: 9043 RVA: 0x000925F8 File Offset: 0x000907F8
|
|
[Token(Token = "0x6002353")]
|
|
[Address(RVA = "0x11B79D0", Offset = "0x11B63D0", VA = "0x1811B79D0", Slot = "26")]
|
|
protected virtual void OnTriggerEnter(Collider GLPOLGOBLAA)
|
|
{
|
|
float time = Time.time;
|
|
Photon.Realtime.Player player;
|
|
if (this.instanceLimitDuration < time && player != 0)
|
|
{
|
|
ABEFMOOKKBO gbeapklofjo = this.GBEAPKLOFJO;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
if (this.PCNCJJHCHFC)
|
|
{
|
|
int pressingPlayersCount = this.GetPressingPlayersCount();
|
|
}
|
|
PhysicalButtonBase.PhysicalButtonStateEvent physicalButtonStateEvent = this.onPressTransferEvent;
|
|
if (physicalButtonStateEvent != 0)
|
|
{
|
|
global::Player player2;
|
|
physicalButtonStateEvent.Invoke((uint)1, player2);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002354 RID: 9044 RVA: 0x00092658 File Offset: 0x00090858
|
|
[Token(Token = "0x6002354")]
|
|
[Address(RVA = "0x11B7B00", Offset = "0x11B6500", VA = "0x1811B7B00", Slot = "27")]
|
|
protected virtual void OnTriggerExit(Collider HPKICPNGMDJ)
|
|
{
|
|
ABEFMOOKKBO gbeapklofjo = this.GBEAPKLOFJO;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002355 RID: 9045 RVA: 0x00092678 File Offset: 0x00090878
|
|
[Token(Token = "0x6002355")]
|
|
[Address(RVA = "0x11B73A0", Offset = "0x11B5DA0", VA = "0x1811B73A0", Slot = "28")]
|
|
protected virtual void CHHJFPIAPMM(Photon.Realtime.Player IEKDDPPNFPF)
|
|
{
|
|
Photon.Realtime.Player player;
|
|
if (player == 0)
|
|
{
|
|
if (this.onReleaseEvent != (ulong)0L)
|
|
{
|
|
float time = Time.time;
|
|
this.FMCFHBCILDE = time;
|
|
PhysicalButtonBase.PhysicalButtonStateEvent physicalButtonStateEvent = this.onReleaseEvent;
|
|
global::Player player2 = IEKDDPPNFPF.GPOMCJICJIH();
|
|
physicalButtonStateEvent.Invoke((uint)2, player2);
|
|
}
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002356 RID: 9046 RVA: 0x000926C8 File Offset: 0x000908C8
|
|
[Token(Token = "0x6002356")]
|
|
[Address(RVA = "0x11B7B90", Offset = "0x11B6590", VA = "0x1811B7B90")]
|
|
private void PDJBKDFGPJI(Photon.Realtime.Player AGIHAKFFCCD)
|
|
{
|
|
if (this.GBEAPKLOFJO.ToString() != 0)
|
|
{
|
|
}
|
|
if (this.OENNLOBFIKK.Contains(AGIHAKFFCCD))
|
|
{
|
|
this.RpcNonPhysicalReleaseButton(AGIHAKFFCCD);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002357 RID: 9047 RVA: 0x00092700 File Offset: 0x00090900
|
|
[Token(Token = "0x6002357")]
|
|
[Address(RVA = "0x11B7E20", Offset = "0x11B6820", VA = "0x1811B7E20")]
|
|
protected PhysicalButtonBase()
|
|
{
|
|
int num = 0;
|
|
this.instanceLimitDuration = 0.5f;
|
|
this.enforceLaserMinDistance = true;
|
|
this.allowLaserInVR = true;
|
|
this.AIPCLDHEIKA = num;
|
|
this.IKFBLJJGPKK = true;
|
|
List<Photon.Realtime.Player> list = new List();
|
|
this.OENNLOBFIKK = list;
|
|
List<Photon.Realtime.Player> list2 = new List();
|
|
this.NLFPEDGJJNM = list2;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x06002358 RID: 9048 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6002358")]
|
|
[Address(RVA = "0x11B6FF0", Offset = "0x11B59F0", VA = "0x1811B6FF0")]
|
|
[CompilerGenerated]
|
|
private void EOPBACMIAMB(float CEHJGNDELGL)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x04001CB1 RID: 7345
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4001CB1")]
|
|
[SerializeField]
|
|
private MeshRenderer mainRenderer;
|
|
|
|
// Token: 0x04001CB2 RID: 7346
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4001CB2")]
|
|
[SerializeField]
|
|
protected float instanceLimitDuration;
|
|
|
|
// Token: 0x04001CB3 RID: 7347
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4001CB3")]
|
|
[SerializeField]
|
|
private RecRoomAudioClip onButtonPressAudio;
|
|
|
|
// Token: 0x04001CB4 RID: 7348
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4001CB4")]
|
|
private readonly Color AIPCLDHEIKA;
|
|
|
|
// Token: 0x04001CB5 RID: 7349
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4001CB5")]
|
|
[SerializeField]
|
|
[Header("Interaction Configuration")]
|
|
private bool enforceLaserMinDistance;
|
|
|
|
// Token: 0x04001CB6 RID: 7350
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x69")]
|
|
[Token(Token = "0x4001CB6")]
|
|
[SerializeField]
|
|
private bool enforceLaserFromFront;
|
|
|
|
// Token: 0x04001CB7 RID: 7351
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x6A")]
|
|
[Token(Token = "0x4001CB7")]
|
|
[SerializeField]
|
|
private bool allowLaserInVR;
|
|
|
|
// Token: 0x04001CB8 RID: 7352
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x6B")]
|
|
[Token(Token = "0x4001CB8")]
|
|
[SerializeField]
|
|
[Header("Screens Animations")]
|
|
protected bool useCustomScreensAnimations;
|
|
|
|
// Token: 0x04001CB9 RID: 7353
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4001CB9")]
|
|
[SerializeField]
|
|
[OMAIFIIBMNL("useCustomScreensAnimations")]
|
|
protected PlayerAnimation customScreensTargetAnimation;
|
|
|
|
// Token: 0x04001CBA RID: 7354
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x4001CBA")]
|
|
[SerializeField]
|
|
[OMAIFIIBMNL("useCustomScreensAnimations")]
|
|
protected PlayerAnimation customScreensPushAnimation;
|
|
|
|
// Token: 0x04001CBB RID: 7355
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x4001CBB")]
|
|
private Color GICAGNBNBAL;
|
|
|
|
// Token: 0x04001CBC RID: 7356
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x4001CBC")]
|
|
private ColorButton DOMJDABKLKH;
|
|
|
|
// Token: 0x04001CBD RID: 7357
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x4001CBD")]
|
|
private bool IKFBLJJGPKK;
|
|
|
|
// Token: 0x04001CBE RID: 7358
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA0")]
|
|
[Token(Token = "0x4001CBE")]
|
|
protected ABEFMOOKKBO GBEAPKLOFJO;
|
|
|
|
// Token: 0x04001CBF RID: 7359
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA8")]
|
|
[Token(Token = "0x4001CBF")]
|
|
protected List<Photon.Realtime.Player> OENNLOBFIKK;
|
|
|
|
// Token: 0x04001CC0 RID: 7360
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x4001CC0")]
|
|
private List<Photon.Realtime.Player> NLFPEDGJJNM;
|
|
|
|
// Token: 0x04001CC1 RID: 7361
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x4001CC1")]
|
|
[SerializeField]
|
|
private PhysicalButtonBase.PhysicalButtonPressEvent pressEvent;
|
|
|
|
// Token: 0x04001CC2 RID: 7362
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC0")]
|
|
[Token(Token = "0x4001CC2")]
|
|
[SerializeField]
|
|
private PhysicalButtonBase.PhysicalButtonStateEvent onReleaseEvent;
|
|
|
|
// Token: 0x04001CC3 RID: 7363
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x4001CC3")]
|
|
[SerializeField]
|
|
private PhysicalButtonBase.PhysicalButtonStateEvent onPressTransferEvent;
|
|
|
|
// Token: 0x04001CC4 RID: 7364
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x4001CC4")]
|
|
protected float FMCFHBCILDE;
|
|
|
|
// Token: 0x020004B3 RID: 1203
|
|
[Token(Token = "0x20004B3")]
|
|
public enum MJMLDNKNIIM
|
|
{
|
|
// Token: 0x04001CC6 RID: 7366
|
|
[Token(Token = "0x4001CC6")]
|
|
Pressed,
|
|
// Token: 0x04001CC7 RID: 7367
|
|
[Token(Token = "0x4001CC7")]
|
|
Transferred,
|
|
// Token: 0x04001CC8 RID: 7368
|
|
[Token(Token = "0x4001CC8")]
|
|
Released
|
|
}
|
|
|
|
// Token: 0x020004B4 RID: 1204
|
|
[Token(Token = "0x20004B4")]
|
|
[Serializable]
|
|
public class PhysicalButtonPressEvent : UnityEvent<PhysicalButtonBase, global::Player>
|
|
{
|
|
// Token: 0x06002359 RID: 9049 RVA: 0x00092758 File Offset: 0x00090958
|
|
[Token(Token = "0x6002359")]
|
|
[Address(RVA = "0x11B8070", Offset = "0x11B6A70", VA = "0x1811B8070")]
|
|
public PhysicalButtonPressEvent()
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x020004B5 RID: 1205
|
|
[Token(Token = "0x20004B5")]
|
|
[Serializable]
|
|
public class PhysicalButtonStateEvent : UnityEvent<PhysicalButtonBase.MJMLDNKNIIM, global::Player>
|
|
{
|
|
// Token: 0x0600235A RID: 9050 RVA: 0x0009276C File Offset: 0x0009096C
|
|
[Token(Token = "0x600235A")]
|
|
[Address(RVA = "0x11B80B0", Offset = "0x11B6AB0", VA = "0x1811B80B0")]
|
|
public PhysicalButtonStateEvent()
|
|
{
|
|
}
|
|
}
|
|
}
|