82 lines
2.2 KiB
C#
82 lines
2.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using Photon.Realtime;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Activities.BattleRoyale
|
|
{
|
|
// Token: 0x020026EB RID: 9963
|
|
[Token(Token = "0x20026EB")]
|
|
[StructLayout(3)]
|
|
public class BattleRoyalePlayerCombatUI : PlayerCombatUI
|
|
{
|
|
// Token: 0x06011515 RID: 70933 RVA: 0x0041A764 File Offset: 0x00418964
|
|
[Token(Token = "0x6011515")]
|
|
[Address(RVA = "0x131FCA0", Offset = "0x131E6A0", VA = "0x18131FCA0", Slot = "4")]
|
|
protected override void OBLHJFNLOHO(bool DPOMMLPJLEP)
|
|
{
|
|
BattleRoyaleManager instance = BattleRoyaleManager.ONCPNMDGGKG;
|
|
int num = 0;
|
|
if (instance != num)
|
|
{
|
|
BattleRoyaleManager instance2 = BattleRoyaleManager.ONCPNMDGGKG;
|
|
Photon.Realtime.Player 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: 0x06011516 RID: 70934 RVA: 0x0041A8A8 File Offset: 0x00418AA8
|
|
[Token(Token = "0x6011516")]
|
|
[Address(RVA = "0x131FF40", Offset = "0x131E940", VA = "0x18131FF40")]
|
|
public BattleRoyalePlayerCombatUI()
|
|
{
|
|
}
|
|
}
|
|
}
|