105 lines
3.2 KiB
C#
105 lines
3.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000324 RID: 804
|
|
[Token(Token = "0x2000324")]
|
|
[StructLayout(3)]
|
|
public class ActivityBounds : MonoBehaviour
|
|
{
|
|
// Token: 0x0600186D RID: 6253 RVA: 0x00064638 File Offset: 0x00062838
|
|
[Token(Token = "0x600186D")]
|
|
[Address(RVA = "0xFF84D0", Offset = "0xFF6ED0", VA = "0x180FF84D0")]
|
|
private void Awake()
|
|
{
|
|
OverlapVolume component = base.GetComponent<OverlapVolume>();
|
|
this.DHPCKKKLNDN = component;
|
|
if (!this.triggersOutOfBounds)
|
|
{
|
|
}
|
|
ActivityBounds.AEFKDBGHDPC.Add(this);
|
|
}
|
|
|
|
// Token: 0x0600186E RID: 6254 RVA: 0x00064670 File Offset: 0x00062870
|
|
[Token(Token = "0x600186E")]
|
|
[Address(RVA = "0xFF85D0", Offset = "0xFF6FD0", VA = "0x180FF85D0")]
|
|
private void OnDestroy()
|
|
{
|
|
bool flag = ActivityBounds.HDLDPAEKNKD.Remove(this);
|
|
bool flag2 = ActivityBounds.AEFKDBGHDPC.Remove(this);
|
|
}
|
|
|
|
// Token: 0x0600186F RID: 6255 RVA: 0x0006469C File Offset: 0x0006289C
|
|
[Token(Token = "0x600186F")]
|
|
[Address(RVA = "0xFF8590", Offset = "0xFF6F90", VA = "0x180FF8590")]
|
|
private bool LIBPGFEBAFM(Vector3 KPLDEODOJID)
|
|
{
|
|
OverlapVolume dhpckkklndn = this.DHPCKKKLNDN;
|
|
float z = KPLDEODOJID.z;
|
|
Vector3 worldSpaceCenter = dhpckkklndn.DOMABBDEAKJ;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06001870 RID: 6256 RVA: 0x000646C4 File Offset: 0x000628C4
|
|
[Token(Token = "0x6001870")]
|
|
[Address(RVA = "0xFF8670", Offset = "0xFF7070", VA = "0x180FF8670")]
|
|
public static bool PointInBounds(Vector3 KPLDEODOJID)
|
|
{
|
|
GameManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
int num = 0;
|
|
if (!(instance == num) && NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.boundsManager.OutOfBoundsSupported)
|
|
{
|
|
int num2 = 0;
|
|
List<ActivityBounds> aefkdbghdpc = ActivityBounds.AEFKDBGHDPC;
|
|
List<ActivityBounds> aefkdbghdpc2 = ActivityBounds.AEFKDBGHDPC;
|
|
float z = KPLDEODOJID.z;
|
|
ActivityBounds activityBounds;
|
|
if (activityBounds == 0)
|
|
{
|
|
num2++;
|
|
}
|
|
List<ActivityBounds> hdldpaeknkd = ActivityBounds.HDLDPAEKNKD;
|
|
List<ActivityBounds> hdldpaeknkd2 = ActivityBounds.HDLDPAEKNKD;
|
|
float z2 = KPLDEODOJID.z;
|
|
ActivityBounds activityBounds2;
|
|
if (activityBounds2 == 0)
|
|
{
|
|
num2++;
|
|
List<ActivityBounds> hdldpaeknkd3 = ActivityBounds.HDLDPAEKNKD;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x06001871 RID: 6257 RVA: 0x00064748 File Offset: 0x00062948
|
|
[Token(Token = "0x6001871")]
|
|
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
|
public ActivityBounds()
|
|
{
|
|
}
|
|
|
|
// Token: 0x040012C3 RID: 4803
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40012C3")]
|
|
[SerializeField]
|
|
[Tooltip("If this is checked, when a player enters these bounds, they will be considered Out of Bounds")]
|
|
private bool triggersOutOfBounds;
|
|
|
|
// Token: 0x040012C4 RID: 4804
|
|
[Token(Token = "0x40012C4")]
|
|
private static List<ActivityBounds> HDLDPAEKNKD = new List();
|
|
|
|
// Token: 0x040012C5 RID: 4805
|
|
[Token(Token = "0x40012C5")]
|
|
private static List<ActivityBounds> AEFKDBGHDPC = new List();
|
|
|
|
// Token: 0x040012C6 RID: 4806
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40012C6")]
|
|
private OverlapVolume DHPCKKKLNDN;
|
|
}
|