1145 lines
37 KiB
C#
1145 lines
37 KiB
C#
using System;
|
|
using System.Diagnostics;
|
|
using System.Threading;
|
|
using UnityEngine;
|
|
using UnityEngine.Events;
|
|
|
|
// Token: 0x02000F55 RID: 3925
|
|
public class PhysicalButton : MonoBehaviour
|
|
{
|
|
// Token: 0x06020B09 RID: 133897 RVA: 0x008E3610 File Offset: 0x008E1810
|
|
private void OOMMHBDCHOD(Collider CINAFOGLFIB)
|
|
{
|
|
if (Time.time - this.LKPDOGCKPBA <= this.instanceLimitDuration)
|
|
{
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player == null)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
if (tool != null && tool.OHGPCMJMFGC)
|
|
{
|
|
player = tool.FICBNMJECCH;
|
|
hdoicgikkao = Player.HDOICGIKKAO.None;
|
|
}
|
|
}
|
|
if ((player != null || !this.canOnlyBePushedByPlayer) && (!this.canOnlyPushWithHand || hdoicgikkao.PLKCJINIPMP()) && (!this.canOnlyPushLocally || player.GDOFKAIDDNA()))
|
|
{
|
|
this.LKPDOGCKPBA = Time.time;
|
|
if (this.onButtonPressAudio != null)
|
|
{
|
|
AudioManager.Play3DSFX(this.onButtonPressAudio, base.transform.position, null);
|
|
}
|
|
if (this.DLACAAMLPBF != null)
|
|
{
|
|
this.DLACAAMLPBF(this, player);
|
|
}
|
|
if (this.pressEvent != null)
|
|
{
|
|
this.pressEvent.Invoke(this, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020B0A RID: 133898 RVA: 0x008E3714 File Offset: 0x008E1914
|
|
public void CNIIOGOPNKC(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Combine(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B0B RID: 133899 RVA: 0x008E374C File Offset: 0x008E194C
|
|
public void AIENCONCIDF(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Combine(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B0C RID: 133900 RVA: 0x008E3784 File Offset: 0x008E1984
|
|
public void PCJHJONBDPG(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B0D RID: 133901 RVA: 0x008E37BC File Offset: 0x008E19BC
|
|
public void FKMONJMGHGE(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B0E RID: 133902 RVA: 0x008E37F4 File Offset: 0x008E19F4
|
|
private void JMPBGPAOJNC(Collider CINAFOGLFIB)
|
|
{
|
|
if (Time.time - this.LKPDOGCKPBA <= this.instanceLimitDuration)
|
|
{
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player == null)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
if (tool != null && tool.OHGPCMJMFGC)
|
|
{
|
|
player = tool.FICBNMJECCH;
|
|
hdoicgikkao = Player.HDOICGIKKAO.None;
|
|
}
|
|
}
|
|
if ((player != null || !this.canOnlyBePushedByPlayer) && (!this.canOnlyPushWithHand || hdoicgikkao.PLKCJINIPMP()) && (!this.canOnlyPushLocally || player.EEHCAMCMPAG()))
|
|
{
|
|
this.LKPDOGCKPBA = Time.time;
|
|
if (this.onButtonPressAudio != null)
|
|
{
|
|
AudioManager.Play3DSFX(this.onButtonPressAudio, base.transform.position, null);
|
|
}
|
|
if (this.DLACAAMLPBF != null)
|
|
{
|
|
this.DLACAAMLPBF(this, player);
|
|
}
|
|
if (this.pressEvent != null)
|
|
{
|
|
this.pressEvent.Invoke(this, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020B0F RID: 133903 RVA: 0x008E38F8 File Offset: 0x008E1AF8
|
|
public void BPCIMPLJLIC(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Combine(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B10 RID: 133904 RVA: 0x008E3930 File Offset: 0x008E1B30
|
|
private void BGOOMAOHKLG(Collider CINAFOGLFIB)
|
|
{
|
|
if (Time.time - this.LKPDOGCKPBA <= this.instanceLimitDuration)
|
|
{
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player == null)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
if (tool != null && tool.OHGPCMJMFGC)
|
|
{
|
|
player = tool.FICBNMJECCH;
|
|
hdoicgikkao = Player.HDOICGIKKAO.None;
|
|
}
|
|
}
|
|
if ((player != null || !this.canOnlyBePushedByPlayer) && (!this.canOnlyPushWithHand || hdoicgikkao.PLKCJINIPMP()) && (!this.canOnlyPushLocally || player.HEGAPJJIPCA()))
|
|
{
|
|
this.LKPDOGCKPBA = Time.time;
|
|
if (this.onButtonPressAudio != null)
|
|
{
|
|
AudioManager.Play3DSFX(this.onButtonPressAudio, base.transform.position, null);
|
|
}
|
|
if (this.DLACAAMLPBF != null)
|
|
{
|
|
this.DLACAAMLPBF(this, player);
|
|
}
|
|
if (this.pressEvent != null)
|
|
{
|
|
this.pressEvent.Invoke(this, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020B11 RID: 133905 RVA: 0x008E3A34 File Offset: 0x008E1C34
|
|
public void FKIAPLAJNAB(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B12 RID: 133906 RVA: 0x008E3A6C File Offset: 0x008E1C6C
|
|
public void ENCAOENMFNE(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B13 RID: 133907 RVA: 0x008E3AA4 File Offset: 0x008E1CA4
|
|
private void CIPDOKHFOBC(Collider CINAFOGLFIB)
|
|
{
|
|
if (Time.time - this.LKPDOGCKPBA <= this.instanceLimitDuration)
|
|
{
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player == null)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
if (tool != null && tool.OHGPCMJMFGC)
|
|
{
|
|
player = tool.FICBNMJECCH;
|
|
hdoicgikkao = Player.HDOICGIKKAO.None;
|
|
}
|
|
}
|
|
if ((player != null || !this.canOnlyBePushedByPlayer) && (!this.canOnlyPushWithHand || hdoicgikkao.PLKCJINIPMP()) && (!this.canOnlyPushLocally || player.NMDPPKDGAJN()))
|
|
{
|
|
this.LKPDOGCKPBA = Time.time;
|
|
if (this.onButtonPressAudio != null)
|
|
{
|
|
AudioManager.Play3DSFX(this.onButtonPressAudio, base.transform.position, null);
|
|
}
|
|
if (this.DLACAAMLPBF != null)
|
|
{
|
|
this.DLACAAMLPBF(this, player);
|
|
}
|
|
if (this.pressEvent != null)
|
|
{
|
|
this.pressEvent.Invoke(this, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020B14 RID: 133908 RVA: 0x008E3BA8 File Offset: 0x008E1DA8
|
|
private void DPKDOGMMGHG(Collider CINAFOGLFIB)
|
|
{
|
|
if (Time.time - this.LKPDOGCKPBA <= this.instanceLimitDuration)
|
|
{
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player == null)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
if (tool != null && tool.OHGPCMJMFGC)
|
|
{
|
|
player = tool.FICBNMJECCH;
|
|
hdoicgikkao = Player.HDOICGIKKAO.None;
|
|
}
|
|
}
|
|
if ((player != null || !this.canOnlyBePushedByPlayer) && (!this.canOnlyPushWithHand || hdoicgikkao.PLKCJINIPMP()) && (!this.canOnlyPushLocally || player.PCGELLFCMPB()))
|
|
{
|
|
this.LKPDOGCKPBA = Time.time;
|
|
if (this.onButtonPressAudio != null)
|
|
{
|
|
AudioManager.Play3DSFX(this.onButtonPressAudio, base.transform.position, null);
|
|
}
|
|
if (this.DLACAAMLPBF != null)
|
|
{
|
|
this.DLACAAMLPBF(this, player);
|
|
}
|
|
if (this.pressEvent != null)
|
|
{
|
|
this.pressEvent.Invoke(this, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020B15 RID: 133909 RVA: 0x008E3CAC File Offset: 0x008E1EAC
|
|
public void OBGMBMOCMJK(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B16 RID: 133910 RVA: 0x008E3CE4 File Offset: 0x008E1EE4
|
|
private void DMMHILIMEOE(Collider CINAFOGLFIB)
|
|
{
|
|
if (Time.time - this.LKPDOGCKPBA <= this.instanceLimitDuration)
|
|
{
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player == null)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
if (tool != null && tool.OHGPCMJMFGC)
|
|
{
|
|
player = tool.FICBNMJECCH;
|
|
hdoicgikkao = Player.HDOICGIKKAO.None;
|
|
}
|
|
}
|
|
if ((player != null || !this.canOnlyBePushedByPlayer) && (!this.canOnlyPushWithHand || hdoicgikkao.PLKCJINIPMP()) && (!this.canOnlyPushLocally || player.PCGELLFCMPB()))
|
|
{
|
|
this.LKPDOGCKPBA = Time.time;
|
|
if (this.onButtonPressAudio != null)
|
|
{
|
|
AudioManager.Play3DSFX(this.onButtonPressAudio, base.transform.position, null);
|
|
}
|
|
if (this.DLACAAMLPBF != null)
|
|
{
|
|
this.DLACAAMLPBF(this, player);
|
|
}
|
|
if (this.pressEvent != null)
|
|
{
|
|
this.pressEvent.Invoke(this, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020B17 RID: 133911 RVA: 0x008E3DE8 File Offset: 0x008E1FE8
|
|
public void MMBPDMPOCAN(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Combine(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B18 RID: 133912 RVA: 0x008E3E20 File Offset: 0x008E2020
|
|
public void BADBBBFGGHH(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Combine(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x14000141 RID: 321
|
|
// (add) Token: 0x06020B2D RID: 133933 RVA: 0x008E45E8 File Offset: 0x008E27E8
|
|
// (remove) Token: 0x06020B19 RID: 133913 RVA: 0x008E3E58 File Offset: 0x008E2058
|
|
[field: DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
public event PhysicalButton.NEHDLFLHNIC DLACAAMLPBF;
|
|
|
|
// Token: 0x06020B1A RID: 133914 RVA: 0x008E3E90 File Offset: 0x008E2090
|
|
public void EFGLOKGDBIJ(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Combine(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B1B RID: 133915 RVA: 0x008E3EC8 File Offset: 0x008E20C8
|
|
public void JBNJMLNAPOM(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Combine(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B1C RID: 133916 RVA: 0x008E3F00 File Offset: 0x008E2100
|
|
public void ADJHEJLLADE(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B1D RID: 133917 RVA: 0x008E3F38 File Offset: 0x008E2138
|
|
public void AMIIJKNMEHE(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B1E RID: 133918 RVA: 0x008E3F70 File Offset: 0x008E2170
|
|
public void LMPGOHKKDFI(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Combine(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B1F RID: 133919 RVA: 0x008E3FA8 File Offset: 0x008E21A8
|
|
private void EFCBCCHLPKA(Collider CINAFOGLFIB)
|
|
{
|
|
if (Time.time - this.LKPDOGCKPBA <= this.instanceLimitDuration)
|
|
{
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player == null)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
if (tool != null && tool.OHGPCMJMFGC)
|
|
{
|
|
player = tool.FICBNMJECCH;
|
|
hdoicgikkao = Player.HDOICGIKKAO.None;
|
|
}
|
|
}
|
|
if ((player != null || !this.canOnlyBePushedByPlayer) && (!this.canOnlyPushWithHand || hdoicgikkao.PLKCJINIPMP()) && (!this.canOnlyPushLocally || player.CFPNNAADNJF()))
|
|
{
|
|
this.LKPDOGCKPBA = Time.time;
|
|
if (this.onButtonPressAudio != null)
|
|
{
|
|
AudioManager.Play3DSFX(this.onButtonPressAudio, base.transform.position, null);
|
|
}
|
|
if (this.DLACAAMLPBF != null)
|
|
{
|
|
this.DLACAAMLPBF(this, player);
|
|
}
|
|
if (this.pressEvent != null)
|
|
{
|
|
this.pressEvent.Invoke(this, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020B20 RID: 133920 RVA: 0x008E40AC File Offset: 0x008E22AC
|
|
public void OGIENDHPKAK(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B21 RID: 133921 RVA: 0x008E40E4 File Offset: 0x008E22E4
|
|
private void FNHEMECFGGH(Collider CINAFOGLFIB)
|
|
{
|
|
if (Time.time - this.LKPDOGCKPBA <= this.instanceLimitDuration)
|
|
{
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player == null)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
if (tool != null && tool.OHGPCMJMFGC)
|
|
{
|
|
player = tool.FICBNMJECCH;
|
|
hdoicgikkao = Player.HDOICGIKKAO.None;
|
|
}
|
|
}
|
|
if ((player != null || !this.canOnlyBePushedByPlayer) && (!this.canOnlyPushWithHand || hdoicgikkao.PLKCJINIPMP()) && (!this.canOnlyPushLocally || player.HLLKMNAFJOP()))
|
|
{
|
|
this.LKPDOGCKPBA = Time.time;
|
|
if (this.onButtonPressAudio != null)
|
|
{
|
|
AudioManager.Play3DSFX(this.onButtonPressAudio, base.transform.position, null);
|
|
}
|
|
if (this.DLACAAMLPBF != null)
|
|
{
|
|
this.DLACAAMLPBF(this, player);
|
|
}
|
|
if (this.pressEvent != null)
|
|
{
|
|
this.pressEvent.Invoke(this, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020B22 RID: 133922 RVA: 0x008E41E8 File Offset: 0x008E23E8
|
|
public void LIBBFEKHOKI(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Combine(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B23 RID: 133923 RVA: 0x008E4220 File Offset: 0x008E2420
|
|
private void OLMHGCCFODD(Collider CINAFOGLFIB)
|
|
{
|
|
if (Time.time - this.LKPDOGCKPBA <= this.instanceLimitDuration)
|
|
{
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player == null)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
if (tool != null && tool.OHGPCMJMFGC)
|
|
{
|
|
player = tool.FICBNMJECCH;
|
|
hdoicgikkao = Player.HDOICGIKKAO.None;
|
|
}
|
|
}
|
|
if ((player != null || !this.canOnlyBePushedByPlayer) && (!this.canOnlyPushWithHand || hdoicgikkao.PLKCJINIPMP()) && (!this.canOnlyPushLocally || player.HEGAPJJIPCA()))
|
|
{
|
|
this.LKPDOGCKPBA = Time.time;
|
|
if (this.onButtonPressAudio != null)
|
|
{
|
|
AudioManager.Play3DSFX(this.onButtonPressAudio, base.transform.position, null);
|
|
}
|
|
if (this.DLACAAMLPBF != null)
|
|
{
|
|
this.DLACAAMLPBF(this, player);
|
|
}
|
|
if (this.pressEvent != null)
|
|
{
|
|
this.pressEvent.Invoke(this, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020B24 RID: 133924 RVA: 0x008E4324 File Offset: 0x008E2524
|
|
private void OnTriggerEnter(Collider CINAFOGLFIB)
|
|
{
|
|
if (Time.time - this.LKPDOGCKPBA <= this.instanceLimitDuration)
|
|
{
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player == null)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
if (tool != null && tool.OHGPCMJMFGC)
|
|
{
|
|
player = tool.FICBNMJECCH;
|
|
hdoicgikkao = Player.HDOICGIKKAO.None;
|
|
}
|
|
}
|
|
if ((player != null || !this.canOnlyBePushedByPlayer) && (!this.canOnlyPushWithHand || hdoicgikkao.PLKCJINIPMP()) && (!this.canOnlyPushLocally || player.NHDDPGADJPJ))
|
|
{
|
|
this.LKPDOGCKPBA = Time.time;
|
|
if (this.onButtonPressAudio != null)
|
|
{
|
|
AudioManager.Play3DSFX(this.onButtonPressAudio, base.transform.position, null);
|
|
}
|
|
if (this.DLACAAMLPBF != null)
|
|
{
|
|
this.DLACAAMLPBF(this, player);
|
|
}
|
|
if (this.pressEvent != null)
|
|
{
|
|
this.pressEvent.Invoke(this, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020B25 RID: 133925 RVA: 0x008E4428 File Offset: 0x008E2628
|
|
public void AOPAOJINBIH(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Combine(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B26 RID: 133926 RVA: 0x008E4460 File Offset: 0x008E2660
|
|
public void LDIMOAICLJL(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Combine(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B27 RID: 133927 RVA: 0x008E4498 File Offset: 0x008E2698
|
|
public void NCGCKFJEAFO(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B28 RID: 133928 RVA: 0x008E44D0 File Offset: 0x008E26D0
|
|
public void KNKAGNFKOAP(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B29 RID: 133929 RVA: 0x008E4508 File Offset: 0x008E2708
|
|
public void OBBJLPDFDPD(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B2A RID: 133930 RVA: 0x008E4540 File Offset: 0x008E2740
|
|
public void GCGIGPGCPMB(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B2B RID: 133931 RVA: 0x008E4578 File Offset: 0x008E2778
|
|
public void MKAOJPDCMLJ(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B2C RID: 133932 RVA: 0x008E45B0 File Offset: 0x008E27B0
|
|
public void KILHDHBAAPM(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Combine(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B2E RID: 133934 RVA: 0x008E4620 File Offset: 0x008E2820
|
|
public void MMFLPNIGMMB(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Combine(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B30 RID: 133936 RVA: 0x008E467C File Offset: 0x008E287C
|
|
private void COLNIGMHNMO(Collider CINAFOGLFIB)
|
|
{
|
|
if (Time.time - this.LKPDOGCKPBA <= this.instanceLimitDuration)
|
|
{
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player == null)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
if (tool != null && tool.OHGPCMJMFGC)
|
|
{
|
|
player = tool.FICBNMJECCH;
|
|
hdoicgikkao = Player.HDOICGIKKAO.None;
|
|
}
|
|
}
|
|
if ((player != null || !this.canOnlyBePushedByPlayer) && (!this.canOnlyPushWithHand || hdoicgikkao.PLKCJINIPMP()) && (!this.canOnlyPushLocally || player.GDOFKAIDDNA()))
|
|
{
|
|
this.LKPDOGCKPBA = Time.time;
|
|
if (this.onButtonPressAudio != null)
|
|
{
|
|
AudioManager.Play3DSFX(this.onButtonPressAudio, base.transform.position, null);
|
|
}
|
|
if (this.DLACAAMLPBF != null)
|
|
{
|
|
this.DLACAAMLPBF(this, player);
|
|
}
|
|
if (this.pressEvent != null)
|
|
{
|
|
this.pressEvent.Invoke(this, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020B31 RID: 133937 RVA: 0x008E4780 File Offset: 0x008E2980
|
|
public void GBHKOJMJIPF(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B32 RID: 133938 RVA: 0x008E47B8 File Offset: 0x008E29B8
|
|
private void GCHNGDHADIJ(Collider CINAFOGLFIB)
|
|
{
|
|
if (Time.time - this.LKPDOGCKPBA <= this.instanceLimitDuration)
|
|
{
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player == null)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
if (tool != null && tool.OHGPCMJMFGC)
|
|
{
|
|
player = tool.FICBNMJECCH;
|
|
hdoicgikkao = Player.HDOICGIKKAO.None;
|
|
}
|
|
}
|
|
if ((player != null || !this.canOnlyBePushedByPlayer) && (!this.canOnlyPushWithHand || hdoicgikkao.PLKCJINIPMP()) && (!this.canOnlyPushLocally || player.OBFPLPPCJLL()))
|
|
{
|
|
this.LKPDOGCKPBA = Time.time;
|
|
if (this.onButtonPressAudio != null)
|
|
{
|
|
AudioManager.Play3DSFX(this.onButtonPressAudio, base.transform.position, null);
|
|
}
|
|
if (this.DLACAAMLPBF != null)
|
|
{
|
|
this.DLACAAMLPBF(this, player);
|
|
}
|
|
if (this.pressEvent != null)
|
|
{
|
|
this.pressEvent.Invoke(this, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020B33 RID: 133939 RVA: 0x008E48BC File Offset: 0x008E2ABC
|
|
public void EIDCPGMCJPD(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B34 RID: 133940 RVA: 0x008E48F4 File Offset: 0x008E2AF4
|
|
public void LPJNIBHNPKC(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B35 RID: 133941 RVA: 0x008E492C File Offset: 0x008E2B2C
|
|
public void HJDNPHNFIGG(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B36 RID: 133942 RVA: 0x008E4964 File Offset: 0x008E2B64
|
|
public void FFHPIEFIGOA(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Combine(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B37 RID: 133943 RVA: 0x008E499C File Offset: 0x008E2B9C
|
|
private void NNLFEHOIJOC(Collider CINAFOGLFIB)
|
|
{
|
|
if (Time.time - this.LKPDOGCKPBA <= this.instanceLimitDuration)
|
|
{
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player == null)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
if (tool != null && tool.OHGPCMJMFGC)
|
|
{
|
|
player = tool.FICBNMJECCH;
|
|
hdoicgikkao = Player.HDOICGIKKAO.None;
|
|
}
|
|
}
|
|
if ((player != null || !this.canOnlyBePushedByPlayer) && (!this.canOnlyPushWithHand || hdoicgikkao.PLKCJINIPMP()) && (!this.canOnlyPushLocally || player.PJNKKFHLGKI()))
|
|
{
|
|
this.LKPDOGCKPBA = Time.time;
|
|
if (this.onButtonPressAudio != null)
|
|
{
|
|
AudioManager.Play3DSFX(this.onButtonPressAudio, base.transform.position, null);
|
|
}
|
|
if (this.DLACAAMLPBF != null)
|
|
{
|
|
this.DLACAAMLPBF(this, player);
|
|
}
|
|
if (this.pressEvent != null)
|
|
{
|
|
this.pressEvent.Invoke(this, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020B38 RID: 133944 RVA: 0x008E4AA0 File Offset: 0x008E2CA0
|
|
public void NOBIGMMDBMD(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B39 RID: 133945 RVA: 0x008E4AD8 File Offset: 0x008E2CD8
|
|
private void PBLMAGKMMFM(Collider CINAFOGLFIB)
|
|
{
|
|
if (Time.time - this.LKPDOGCKPBA <= this.instanceLimitDuration)
|
|
{
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player == null)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
if (tool != null && tool.OHGPCMJMFGC)
|
|
{
|
|
player = tool.FICBNMJECCH;
|
|
hdoicgikkao = Player.HDOICGIKKAO.None;
|
|
}
|
|
}
|
|
if ((player != null || !this.canOnlyBePushedByPlayer) && (!this.canOnlyPushWithHand || hdoicgikkao.PLKCJINIPMP()) && (!this.canOnlyPushLocally || player.PJNKKFHLGKI()))
|
|
{
|
|
this.LKPDOGCKPBA = Time.time;
|
|
if (this.onButtonPressAudio != null)
|
|
{
|
|
AudioManager.Play3DSFX(this.onButtonPressAudio, base.transform.position, null);
|
|
}
|
|
if (this.DLACAAMLPBF != null)
|
|
{
|
|
this.DLACAAMLPBF(this, player);
|
|
}
|
|
if (this.pressEvent != null)
|
|
{
|
|
this.pressEvent.Invoke(this, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020B3A RID: 133946 RVA: 0x008E4BDC File Offset: 0x008E2DDC
|
|
public void BFGJHKLDLNG(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Combine(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B3B RID: 133947 RVA: 0x008E4C14 File Offset: 0x008E2E14
|
|
private void GPHDLIDHHOM(Collider CINAFOGLFIB)
|
|
{
|
|
if (Time.time - this.LKPDOGCKPBA <= this.instanceLimitDuration)
|
|
{
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player == null)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
if (tool != null && tool.OHGPCMJMFGC)
|
|
{
|
|
player = tool.FICBNMJECCH;
|
|
hdoicgikkao = Player.HDOICGIKKAO.None;
|
|
}
|
|
}
|
|
if ((player != null || !this.canOnlyBePushedByPlayer) && (!this.canOnlyPushWithHand || hdoicgikkao.PLKCJINIPMP()) && (!this.canOnlyPushLocally || player.OBFPLPPCJLL()))
|
|
{
|
|
this.LKPDOGCKPBA = Time.time;
|
|
if (this.onButtonPressAudio != null)
|
|
{
|
|
AudioManager.Play3DSFX(this.onButtonPressAudio, base.transform.position, null);
|
|
}
|
|
if (this.DLACAAMLPBF != null)
|
|
{
|
|
this.DLACAAMLPBF(this, player);
|
|
}
|
|
if (this.pressEvent != null)
|
|
{
|
|
this.pressEvent.Invoke(this, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020B3C RID: 133948 RVA: 0x008E4D18 File Offset: 0x008E2F18
|
|
public void GJCEKHKLNIP(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B3D RID: 133949 RVA: 0x008E4D50 File Offset: 0x008E2F50
|
|
private void OEANAFOEOIF(Collider CINAFOGLFIB)
|
|
{
|
|
if (Time.time - this.LKPDOGCKPBA <= this.instanceLimitDuration)
|
|
{
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player == null)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
if (tool != null && tool.OHGPCMJMFGC)
|
|
{
|
|
player = tool.FICBNMJECCH;
|
|
hdoicgikkao = Player.HDOICGIKKAO.None;
|
|
}
|
|
}
|
|
if ((player != null || !this.canOnlyBePushedByPlayer) && (!this.canOnlyPushWithHand || hdoicgikkao.PLKCJINIPMP()) && (!this.canOnlyPushLocally || player.GDOFKAIDDNA()))
|
|
{
|
|
this.LKPDOGCKPBA = Time.time;
|
|
if (this.onButtonPressAudio != null)
|
|
{
|
|
AudioManager.Play3DSFX(this.onButtonPressAudio, base.transform.position, null);
|
|
}
|
|
if (this.DLACAAMLPBF != null)
|
|
{
|
|
this.DLACAAMLPBF(this, player);
|
|
}
|
|
if (this.pressEvent != null)
|
|
{
|
|
this.pressEvent.Invoke(this, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020B3E RID: 133950 RVA: 0x008E4E54 File Offset: 0x008E3054
|
|
public void FJOABIBIGLA(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Remove(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B3F RID: 133951 RVA: 0x008E4E8C File Offset: 0x008E308C
|
|
public void IOFEMCGMCDH(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Combine(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x06020B40 RID: 133952 RVA: 0x008E4EC4 File Offset: 0x008E30C4
|
|
private void NONMIFJKBOB(Collider CINAFOGLFIB)
|
|
{
|
|
if (Time.time - this.LKPDOGCKPBA <= this.instanceLimitDuration)
|
|
{
|
|
return;
|
|
}
|
|
Player.HDOICGIKKAO hdoicgikkao;
|
|
Player player = CINAFOGLFIB.KAPJACICAEC(out hdoicgikkao);
|
|
if (player == null)
|
|
{
|
|
Tool tool = CINAFOGLFIB.OBFMDIEKHAN();
|
|
if (tool != null && tool.OHGPCMJMFGC)
|
|
{
|
|
player = tool.FICBNMJECCH;
|
|
hdoicgikkao = Player.HDOICGIKKAO.None;
|
|
}
|
|
}
|
|
if ((player != null || !this.canOnlyBePushedByPlayer) && (!this.canOnlyPushWithHand || hdoicgikkao.PLKCJINIPMP()) && (!this.canOnlyPushLocally || player.HLLKMNAFJOP()))
|
|
{
|
|
this.LKPDOGCKPBA = Time.time;
|
|
if (this.onButtonPressAudio != null)
|
|
{
|
|
AudioManager.Play3DSFX(this.onButtonPressAudio, base.transform.position, null);
|
|
}
|
|
if (this.DLACAAMLPBF != null)
|
|
{
|
|
this.DLACAAMLPBF(this, player);
|
|
}
|
|
if (this.pressEvent != null)
|
|
{
|
|
this.pressEvent.Invoke(this, player);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06020B41 RID: 133953 RVA: 0x008E4FC8 File Offset: 0x008E31C8
|
|
public void NIGPIPFOFDO(PhysicalButton.NEHDLFLHNIC NOBAPCOKFIL)
|
|
{
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic = this.DLACAAMLPBF;
|
|
PhysicalButton.NEHDLFLHNIC nehdlflhnic2;
|
|
do
|
|
{
|
|
nehdlflhnic2 = nehdlflhnic;
|
|
nehdlflhnic = Interlocked.CompareExchange<PhysicalButton.NEHDLFLHNIC>(ref this.DLACAAMLPBF, (PhysicalButton.NEHDLFLHNIC)Delegate.Combine(nehdlflhnic2, NOBAPCOKFIL), nehdlflhnic);
|
|
}
|
|
while (nehdlflhnic != nehdlflhnic2);
|
|
}
|
|
|
|
// Token: 0x0400551D RID: 21789
|
|
[SerializeField]
|
|
private float instanceLimitDuration = 0.5f;
|
|
|
|
// Token: 0x0400551E RID: 21790
|
|
[SerializeField]
|
|
private bool canOnlyPushWithHand = true;
|
|
|
|
// Token: 0x0400551F RID: 21791
|
|
[SerializeField]
|
|
private bool canOnlyPushLocally;
|
|
|
|
// Token: 0x04005520 RID: 21792
|
|
[SerializeField]
|
|
private bool canOnlyBePushedByPlayer = true;
|
|
|
|
// Token: 0x04005521 RID: 21793
|
|
[SerializeField]
|
|
private RecRoomAudioClip onButtonPressAudio;
|
|
|
|
// Token: 0x04005523 RID: 21795
|
|
public PhysicalButton.PhysicalButtonPressEvent pressEvent;
|
|
|
|
// Token: 0x04005524 RID: 21796
|
|
private float LKPDOGCKPBA;
|
|
|
|
// Token: 0x02000F56 RID: 3926
|
|
// (Invoke) Token: 0x06020B43 RID: 133955
|
|
public delegate void NEHDLFLHNIC(PhysicalButton ICKCLGGNEFM, Player CHOIBBLDACI);
|
|
|
|
// Token: 0x02000F57 RID: 3927
|
|
[Serializable]
|
|
public class PhysicalButtonPressEvent : UnityEvent<PhysicalButton, Player>
|
|
{
|
|
}
|
|
}
|