102 lines
3.0 KiB
C#
102 lines
3.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000314 RID: 788
|
|
[Token(Token = "0x2000314")]
|
|
public class ActivityBounds : MonoBehaviour
|
|
{
|
|
// Token: 0x06001889 RID: 6281 RVA: 0x0006311C File Offset: 0x0006131C
|
|
[Token(Token = "0x6001889")]
|
|
[Address(RVA = "0xB06670", Offset = "0xB05470", VA = "0x180B06670")]
|
|
private void Awake()
|
|
{
|
|
OverlapVolume component = base.GetComponent<OverlapVolume>();
|
|
this.DHPCKKKLNDN = component;
|
|
if (!this.triggersOutOfBounds)
|
|
{
|
|
}
|
|
ActivityBounds.AEFKDBGHDPC.Add(this);
|
|
}
|
|
|
|
// Token: 0x0600188A RID: 6282 RVA: 0x00063154 File Offset: 0x00061354
|
|
[Token(Token = "0x600188A")]
|
|
[Address(RVA = "0xB06770", Offset = "0xB05570", VA = "0x180B06770")]
|
|
private void OnDestroy()
|
|
{
|
|
bool flag = ActivityBounds.HDLDPAEKNKD.Remove(this);
|
|
bool flag2 = ActivityBounds.AEFKDBGHDPC.Remove(this);
|
|
}
|
|
|
|
// Token: 0x0600188B RID: 6283 RVA: 0x00063180 File Offset: 0x00061380
|
|
[Token(Token = "0x600188B")]
|
|
[Address(RVA = "0xB06730", Offset = "0xB05530", VA = "0x180B06730")]
|
|
private bool LIBPGFEBAFM(Vector3 KPLDEODOJID)
|
|
{
|
|
OverlapVolume dhpckkklndn = this.DHPCKKKLNDN;
|
|
float z = KPLDEODOJID.z;
|
|
Vector3 worldSpaceCenter = dhpckkklndn.DOMABBDEAKJ;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600188C RID: 6284 RVA: 0x000631A8 File Offset: 0x000613A8
|
|
[Token(Token = "0x600188C")]
|
|
[Address(RVA = "0xB06810", Offset = "0xB05610", VA = "0x180B06810")]
|
|
public static bool PointInBounds(Vector3 KPLDEODOJID)
|
|
{
|
|
bool flag;
|
|
if (!flag && flag)
|
|
{
|
|
int num = 0;
|
|
List<ActivityBounds> aefkdbghdpc = ActivityBounds.AEFKDBGHDPC;
|
|
List<ActivityBounds> aefkdbghdpc2 = ActivityBounds.AEFKDBGHDPC;
|
|
float z = KPLDEODOJID.z;
|
|
ActivityBounds activityBounds;
|
|
if (activityBounds == 0)
|
|
{
|
|
num++;
|
|
}
|
|
List<ActivityBounds> hdldpaeknkd = ActivityBounds.HDLDPAEKNKD;
|
|
List<ActivityBounds> hdldpaeknkd2 = ActivityBounds.HDLDPAEKNKD;
|
|
float z2 = KPLDEODOJID.z;
|
|
ActivityBounds activityBounds2;
|
|
if (activityBounds2 == 0)
|
|
{
|
|
num++;
|
|
List<ActivityBounds> hdldpaeknkd3 = ActivityBounds.HDLDPAEKNKD;
|
|
bool flag2;
|
|
return flag2;
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x0600188D RID: 6285 RVA: 0x00063210 File Offset: 0x00061410
|
|
[Token(Token = "0x600188D")]
|
|
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
|
|
public ActivityBounds()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04001285 RID: 4741
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4001285")]
|
|
[SerializeField]
|
|
[Tooltip("If this is checked, when a player enters these bounds, they will be considered Out of Bounds")]
|
|
private bool triggersOutOfBounds;
|
|
|
|
// Token: 0x04001286 RID: 4742
|
|
[Token(Token = "0x4001286")]
|
|
private static List<ActivityBounds> HDLDPAEKNKD = new List();
|
|
|
|
// Token: 0x04001287 RID: 4743
|
|
[Token(Token = "0x4001287")]
|
|
private static List<ActivityBounds> AEFKDBGHDPC = new List();
|
|
|
|
// Token: 0x04001288 RID: 4744
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4001288")]
|
|
private OverlapVolume DHPCKKKLNDN;
|
|
}
|