79 lines
2.1 KiB
C#
79 lines
2.1 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Activities.BattleRoyale
|
|
{
|
|
// Token: 0x02002BE0 RID: 11232
|
|
[Token(Token = "0x2002BE0")]
|
|
public class BattleRoyalePlayerCombatUI : PlayerCombatUI
|
|
{
|
|
// Token: 0x06012EDC RID: 77532 RVA: 0x0045D174 File Offset: 0x0045B374
|
|
[Token(Token = "0x6012EDC")]
|
|
[Address(RVA = "0x874120", Offset = "0x872F20", VA = "0x180874120", 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: 0x06012EDD RID: 77533 RVA: 0x0045D2B8 File Offset: 0x0045B4B8
|
|
[Token(Token = "0x6012EDD")]
|
|
[Address(RVA = "0x8743C0", Offset = "0x8731C0", VA = "0x1808743C0")]
|
|
public BattleRoyalePlayerCombatUI()
|
|
{
|
|
}
|
|
}
|
|
}
|