79 lines
2.1 KiB
C#
79 lines
2.1 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Activities.BattleRoyale
|
|
{
|
|
// Token: 0x02002CC9 RID: 11465
|
|
[Token(Token = "0x2002CC9")]
|
|
public class BattleRoyalePlayerCombatUI : PlayerCombatUI
|
|
{
|
|
// Token: 0x0601331D RID: 78621 RVA: 0x00466F1C File Offset: 0x0046511C
|
|
[Token(Token = "0x601331D")]
|
|
[Address(RVA = "0x1387830", Offset = "0x1386830", VA = "0x181387830", Slot = "4")]
|
|
protected override void OBLHJFNLOHO(bool DPOMMLPJLEP)
|
|
{
|
|
BattleRoyaleManager instance = BattleRoyaleManager.ONCPNMDGGKG;
|
|
int num = 0;
|
|
if (instance != num)
|
|
{
|
|
BattleRoyaleManager instance2 = BattleRoyaleManager.ONCPNMDGGKG;
|
|
AGAJMBPABDL iekddppnfpf = this.IEKDDPPNFPF;
|
|
if (instance2.IsPlayerEliminated(iekddppnfpf))
|
|
{
|
|
HealthBar dbnoBar = this.dbnoBar;
|
|
int num2 = 0;
|
|
if (dbnoBar != num2)
|
|
{
|
|
GameObject gameObject = this.dbnoBar.gameObject;
|
|
int num3 = 0;
|
|
gameObject.SetActive(num3 != 0);
|
|
}
|
|
HealthBar healthBar = this.healthBar;
|
|
int num4 = 0;
|
|
if (healthBar != num4)
|
|
{
|
|
GameObject gameObject2 = this.healthBar.gameObject;
|
|
int num5 = 0;
|
|
gameObject2.SetActive(num5 != 0);
|
|
}
|
|
HealthBar shieldBar = this.shieldBar;
|
|
int num6 = 0;
|
|
if (shieldBar != num6)
|
|
{
|
|
GameObject gameObject3 = this.shieldBar.gameObject;
|
|
int num7 = 0;
|
|
gameObject3.SetActive(num7 != 0);
|
|
}
|
|
SpriteRenderer icon = this.icon;
|
|
int num8 = 0;
|
|
if (icon != num8)
|
|
{
|
|
GameObject gameObject4 = this.icon.gameObject;
|
|
int num9 = 0;
|
|
gameObject4.SetActive(num9 != 0);
|
|
}
|
|
GameObject reviveText = this.reviveText;
|
|
int num10 = 0;
|
|
if (reviveText != num10)
|
|
{
|
|
GameObject gameObject5 = this.reviveText.gameObject;
|
|
int num11 = 0;
|
|
gameObject5.SetActive(num11 != 0);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
}
|
|
base.OBLHJFNLOHO(DPOMMLPJLEP);
|
|
}
|
|
|
|
// Token: 0x0601331E RID: 78622 RVA: 0x00467060 File Offset: 0x00465260
|
|
[Token(Token = "0x601331E")]
|
|
[Address(RVA = "0x1387AD0", Offset = "0x1386AD0", VA = "0x181387AD0")]
|
|
public BattleRoyalePlayerCombatUI()
|
|
{
|
|
}
|
|
}
|
|
}
|