63 lines
1.8 KiB
C#
63 lines
1.8 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using Photon.Pun;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020005DB RID: 1499
|
|
[Token(Token = "0x20005DB")]
|
|
public class PlayerHandUIInteraction : MonoBehaviour
|
|
{
|
|
// Token: 0x06002CD3 RID: 11475 RVA: 0x000B6540 File Offset: 0x000B4740
|
|
[Token(Token = "0x6002CD3")]
|
|
[Address(RVA = "0x1433ED0", Offset = "0x1432ED0", VA = "0x181433ED0", Slot = "4")]
|
|
public virtual void OnHandOverlapChanged(PlayerHand hand, bool isIn)
|
|
{
|
|
PhotonView componentInParent = base.GetComponentInParent<PhotonView>();
|
|
int num = 0;
|
|
if (hand != num && (!componentInParent || componentInParent.AHNNNIPLFGD))
|
|
{
|
|
if (!isIn || (!this.supportsScreenPlayers && SingletonMonoBehaviour.ONCPNMDGGKG.ACGDGBHFJFB))
|
|
{
|
|
GameObject gameObject = base.gameObject;
|
|
bool flag = this.forceUIRegion;
|
|
throw new NullReferenceException();
|
|
}
|
|
GameObject gameObject2 = base.gameObject;
|
|
bool flag2 = this.forceUIRegion;
|
|
hand.AddIntersectingUIRegion(gameObject2, flag2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x170007CC RID: 1996
|
|
// (get) Token: 0x06002CD4 RID: 11476 RVA: 0x000B65B8 File Offset: 0x000B47B8
|
|
[Token(Token = "0x170007CC")]
|
|
protected bool BJIPCLFGBOE
|
|
{
|
|
[Token(Token = "0x6002CD4")]
|
|
[Address(RVA = "0x1433E50", Offset = "0x1432E50", VA = "0x181433E50")]
|
|
get
|
|
{
|
|
return this.supportsScreenPlayers || !SingletonMonoBehaviour.ONCPNMDGGKG.ACGDGBHFJFB;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002CD5 RID: 11477 RVA: 0x000B65E4 File Offset: 0x000B47E4
|
|
[Token(Token = "0x6002CD5")]
|
|
[Address(RVA = "0x1434080", Offset = "0x1433080", VA = "0x181434080")]
|
|
public PlayerHandUIInteraction()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400241F RID: 9247
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400241F")]
|
|
[SerializeField]
|
|
protected bool forceUIRegion;
|
|
|
|
// Token: 0x04002420 RID: 9248
|
|
[FieldOffset(Offset = "0x19")]
|
|
[Token(Token = "0x4002420")]
|
|
[SerializeField]
|
|
private bool supportsScreenPlayers = true;
|
|
}
|