m
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x0200013D RID: 317
|
||||
[Token(Token = "0x200013D")]
|
||||
public class GamePlayerSpawnPoint : GameSpawnPoint
|
||||
{
|
||||
// Token: 0x060009DC RID: 2524 RVA: 0x0002D998 File Offset: 0x0002BB98
|
||||
[Token(Token = "0x60009DC")]
|
||||
[Address(RVA = "0x1955270", Offset = "0x1954270", VA = "0x181955270", Slot = "13")]
|
||||
protected override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
CGLKOJIMDIH cglkojimdih = this.supportedTeam;
|
||||
this.<PKAMLLHMAAI>k__BackingField = cglkojimdih;
|
||||
CCMLKDOHKJE ccmlkdohkje = this.supportedTeamPlayerIndex;
|
||||
this.<NEOKMAGPFEP>k__BackingField = ccmlkdohkje;
|
||||
DPPICCPGHLJ dppiccpghlj = this.customTag;
|
||||
this.<LGMIPNKJGDP>k__BackingField = dppiccpghlj;
|
||||
if (this.allowDynamicAddRemove)
|
||||
{
|
||||
GameManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
||||
int num = 0;
|
||||
if (instance != num)
|
||||
{
|
||||
GameSpawnManager spawnManager = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.spawnManager;
|
||||
int num2 = 0;
|
||||
if (spawnManager != num2)
|
||||
{
|
||||
NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.spawnManager.AddSceneSpawnPoint(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060009DD RID: 2525 RVA: 0x0002DA24 File Offset: 0x0002BC24
|
||||
[Token(Token = "0x60009DD")]
|
||||
[Address(RVA = "0x1955400", Offset = "0x1954400", VA = "0x181955400", Slot = "14")]
|
||||
protected override void OnDestroy()
|
||||
{
|
||||
base.OnDestroy();
|
||||
if (this.allowDynamicAddRemove)
|
||||
{
|
||||
GameManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
||||
int num = 0;
|
||||
if (instance != num)
|
||||
{
|
||||
GameSpawnManager spawnManager = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.spawnManager;
|
||||
int num2 = 0;
|
||||
if (spawnManager != num2)
|
||||
{
|
||||
NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.spawnManager.RemoveSceneSpawnPoint(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060009DE RID: 2526 RVA: 0x0002DA80 File Offset: 0x0002BC80
|
||||
[Token(Token = "0x60009DE")]
|
||||
[Address(RVA = "0x1955560", Offset = "0x1954560", VA = "0x181955560")]
|
||||
public GamePlayerSpawnPoint()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040007BB RID: 1979
|
||||
[FieldOffset(Offset = "0x98")]
|
||||
[Token(Token = "0x40007BB")]
|
||||
[SerializeField]
|
||||
[Header("Players")]
|
||||
private CGLKOJIMDIH supportedTeam = (CGLKOJIMDIH)((ulong)(-1L));
|
||||
|
||||
// Token: 0x040007BC RID: 1980
|
||||
[FieldOffset(Offset = "0x9C")]
|
||||
[Token(Token = "0x40007BC")]
|
||||
[SerializeField]
|
||||
private CCMLKDOHKJE supportedTeamPlayerIndex;
|
||||
|
||||
// Token: 0x040007BD RID: 1981
|
||||
[FieldOffset(Offset = "0xA0")]
|
||||
[Token(Token = "0x40007BD")]
|
||||
[SerializeField]
|
||||
private DPPICCPGHLJ customTag = (DPPICCPGHLJ)((ulong)4294967295L);
|
||||
|
||||
// Token: 0x040007BE RID: 1982
|
||||
[FieldOffset(Offset = "0xA4")]
|
||||
[Token(Token = "0x40007BE")]
|
||||
[SerializeField]
|
||||
[Header("Dynamic")]
|
||||
private bool allowDynamicAddRemove;
|
||||
}
|
||||
Reference in New Issue
Block a user