Files
2026-04-08 23:40:05 +02:00

65 lines
1.9 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using Photon.Pun;
using UnityEngine;
// Token: 0x020005D8 RID: 1496
[Token(Token = "0x20005D8")]
[StructLayout(3)]
public class PlayerHandUIInteraction : MonoBehaviour
{
// Token: 0x06002C6A RID: 11370 RVA: 0x000B8DA4 File Offset: 0x000B6FA4
[Token(Token = "0x6002C6A")]
[Address(RVA = "0x1487B80", Offset = "0x1486580", VA = "0x181487B80", Slot = "4")]
public virtual void OnHandOverlapChanged(PlayerHand hand, bool isIn)
{
PhotonView componentInParent = base.GetComponentInParent<PhotonView>();
int num = 0;
if (hand != num && (!componentInParent || componentInParent.isLocal))
{
if (!isIn || (!this.supportsScreenPlayers && SingletonMonoBehaviour.Instance.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: 0x170007E0 RID: 2016
// (get) Token: 0x06002C6B RID: 11371 RVA: 0x000B8E1C File Offset: 0x000B701C
[Token(Token = "0x170007E0")]
protected bool BJIPCLFGBOE
{
[Token(Token = "0x6002C6B")]
[Address(RVA = "0x1487B00", Offset = "0x1486500", VA = "0x181487B00")]
get
{
return this.supportsScreenPlayers || !SingletonMonoBehaviour.Instance.ACGDGBHFJFB;
}
}
// Token: 0x06002C6C RID: 11372 RVA: 0x000B8E48 File Offset: 0x000B7048
[Token(Token = "0x6002C6C")]
[Address(RVA = "0x1487D30", Offset = "0x1486730", VA = "0x181487D30")]
public PlayerHandUIInteraction()
{
}
// Token: 0x0400255F RID: 9567
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x400255F")]
[SerializeField]
protected bool forceUIRegion;
// Token: 0x04002560 RID: 9568
[global::Cpp2IlInjected.FieldOffset(Offset = "0x19")]
[Token(Token = "0x4002560")]
[SerializeField]
private bool supportsScreenPlayers = true;
}