109 lines
2.9 KiB
C#
109 lines
2.9 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Activities.BattleRoyale
|
|
{
|
|
// Token: 0x02002CBE RID: 11454
|
|
[Token(Token = "0x2002CBE")]
|
|
[RequireComponent(typeof(SimpleVolume))]
|
|
public class BattleRoyaleGliderSpawner : MonoBehaviour
|
|
{
|
|
// Token: 0x140001AA RID: 426
|
|
// (add) Token: 0x060132BB RID: 78523 RVA: 0x00464A2C File Offset: 0x00462C2C
|
|
// (remove) Token: 0x060132BC RID: 78524 RVA: 0x00464A54 File Offset: 0x00462C54
|
|
[Token(Token = "0x140001AA")]
|
|
public event Action<BattleRoyaleGlider> MMGAPMHONHH
|
|
{
|
|
[Token(Token = "0x60132BB")]
|
|
[Address(RVA = "0x137CB60", Offset = "0x137BB60", VA = "0x18137CB60")]
|
|
[CompilerGenerated]
|
|
add
|
|
{
|
|
Action<BattleRoyaleGlider> mmgapmhonhh;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
mmgapmhonhh = this.MMGAPMHONHH;
|
|
@delegate = Delegate.Combine(mmgapmhonhh, value);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
while (@delegate != mmgapmhonhh)
|
|
{
|
|
}
|
|
}
|
|
[Token(Token = "0x60132BC")]
|
|
[Address(RVA = "0x137CC00", Offset = "0x137BC00", VA = "0x18137CC00")]
|
|
[CompilerGenerated]
|
|
remove
|
|
{
|
|
Action<BattleRoyaleGlider> mmgapmhonhh;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
mmgapmhonhh = this.MMGAPMHONHH;
|
|
@delegate = Delegate.Remove(mmgapmhonhh, value);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
while (@delegate != mmgapmhonhh)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060132BD RID: 78525 RVA: 0x00464A7C File Offset: 0x00462C7C
|
|
[Token(Token = "0x60132BD")]
|
|
[Address(RVA = "0x137C510", Offset = "0x137B510", VA = "0x18137C510")]
|
|
private void LateUpdate()
|
|
{
|
|
bool flag;
|
|
if (!Player.<EGKJPJKLEAI>k__BackingField.MNFHGOOJHIM && !flag)
|
|
{
|
|
SimpleVolume simpleVolume = this.volume;
|
|
if (simpleVolume.DOMABBDEAKJ != 0)
|
|
{
|
|
Vector3 up = Vector3.up;
|
|
Transform transform = base.transform;
|
|
Transform transform2 = base.transform;
|
|
Vector3 up2 = Vector3.up;
|
|
Vector3 up3 = Vector3.up;
|
|
Vector3 up4 = Vector3.up;
|
|
int num = 0;
|
|
BattleRoyaleGlider battleRoyaleGlider;
|
|
if (battleRoyaleGlider != num)
|
|
{
|
|
Action<BattleRoyaleGlider> mmgapmhonhh = this.MMGAPMHONHH;
|
|
if (mmgapmhonhh != 0)
|
|
{
|
|
mmgapmhonhh(battleRoyaleGlider);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060132BE RID: 78526 RVA: 0x00464B18 File Offset: 0x00462D18
|
|
[Token(Token = "0x60132BE")]
|
|
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
|
|
public BattleRoyaleGliderSpawner()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400C634 RID: 50740
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400C634")]
|
|
[SerializeField]
|
|
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
|
private SimpleVolume volume;
|
|
|
|
// Token: 0x0400C635 RID: 50741
|
|
[Token(Token = "0x400C635")]
|
|
private const float FOADLDOACFP = 3.5f;
|
|
|
|
// Token: 0x0400C636 RID: 50742
|
|
[Token(Token = "0x400C636")]
|
|
private const float DDJBJIJPGJD = 2f;
|
|
}
|
|
}
|