oh dear
This commit is contained in:
@@ -0,0 +1,141 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace AGUI.StackedUI
|
||||
{
|
||||
// Token: 0x02001148 RID: 4424
|
||||
[Token(Token = "0x2001148")]
|
||||
[RequireComponent(typeof(ReputationSpecificUIBehaviour))]
|
||||
public class ReputationSpecificCheerBadges : MonoBehaviour
|
||||
{
|
||||
// Token: 0x06006476 RID: 25718 RVA: 0x001621E4 File Offset: 0x001603E4
|
||||
[Token(Token = "0x6006476")]
|
||||
[Address(RVA = "0x132AE70", Offset = "0x1329C70", VA = "0x18132AE70", Slot = "4")]
|
||||
protected virtual void Awake()
|
||||
{
|
||||
ReputationSpecificUIBehaviour reputationSpecificUIBehaviour = this.reputationWatcher;
|
||||
OKNNKFGFODL playerReputationUpdated = reputationSpecificUIBehaviour.PlayerReputationUpdated;
|
||||
Action action = new Action(this.DFFFNMEKMOB);
|
||||
OKNNKFGFODL oknnkfgfodl = OKNNKFGFODL.BPJDFPACLMK(playerReputationUpdated, action);
|
||||
reputationSpecificUIBehaviour.PlayerReputationUpdated = oknnkfgfodl;
|
||||
}
|
||||
|
||||
// Token: 0x06006477 RID: 25719 RVA: 0x00162224 File Offset: 0x00160424
|
||||
[Token(Token = "0x6006477")]
|
||||
[Address(RVA = "0x132B170", Offset = "0x1329F70", VA = "0x18132B170", Slot = "5")]
|
||||
protected virtual void OnDestroy()
|
||||
{
|
||||
ReputationSpecificUIBehaviour reputationSpecificUIBehaviour = this.reputationWatcher;
|
||||
int num = 0;
|
||||
if (reputationSpecificUIBehaviour != num)
|
||||
{
|
||||
ReputationSpecificUIBehaviour reputationSpecificUIBehaviour2 = this.reputationWatcher;
|
||||
OKNNKFGFODL playerReputationUpdated = reputationSpecificUIBehaviour2.PlayerReputationUpdated;
|
||||
Action action = new Action(this.DFFFNMEKMOB);
|
||||
OKNNKFGFODL oknnkfgfodl = OKNNKFGFODL.GMNMHGMFGOL(playerReputationUpdated, action);
|
||||
reputationSpecificUIBehaviour2.PlayerReputationUpdated = oknnkfgfodl;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06006478 RID: 25720 RVA: 0x00162278 File Offset: 0x00160478
|
||||
[Token(Token = "0x6006478")]
|
||||
[Address(RVA = "0x132B240", Offset = "0x132A040", VA = "0x18132B240", Slot = "6")]
|
||||
protected virtual void OnEnable()
|
||||
{
|
||||
this.DFFFNMEKMOB();
|
||||
}
|
||||
|
||||
// Token: 0x06006479 RID: 25721 RVA: 0x0016228C File Offset: 0x0016048C
|
||||
[Token(Token = "0x6006479")]
|
||||
[Address(RVA = "0x132AF00", Offset = "0x1329D00", VA = "0x18132AF00")]
|
||||
private void DFFFNMEKMOB()
|
||||
{
|
||||
GameObject gameObject = this.cheerBadge_General.gameObject;
|
||||
int num = 0;
|
||||
gameObject.SetActive(num != 0);
|
||||
GameObject gameObject2 = this.cheerBadge_Helpful.gameObject;
|
||||
int num2 = 0;
|
||||
gameObject2.SetActive(num2 != 0);
|
||||
GameObject gameObject3 = this.cheerBadge_Sportsman.gameObject;
|
||||
int num3 = 0;
|
||||
gameObject3.SetActive(num3 != 0);
|
||||
GameObject gameObject4 = this.cheerBadge_GreatHost.gameObject;
|
||||
int num4 = 0;
|
||||
gameObject4.SetActive(num4 != 0);
|
||||
GameObject gameObject5 = this.cheerBadge_Creative.gameObject;
|
||||
int num5 = 0;
|
||||
gameObject5.SetActive(num5 != 0);
|
||||
if (this.reputationWatcher.DLLAJGDMFHI != 0)
|
||||
{
|
||||
if (this.reputationWatcher.DLLAJGDMFHI.<DNNGLMEALOJ>k__BackingField > 0)
|
||||
{
|
||||
this.cheerBadge_General.gameObject.SetActive(true);
|
||||
}
|
||||
if (this.reputationWatcher.DLLAJGDMFHI.<IJPKFMKAGGP>k__BackingField > 0)
|
||||
{
|
||||
this.cheerBadge_Helpful.gameObject.SetActive(true);
|
||||
}
|
||||
if (this.reputationWatcher.DLLAJGDMFHI.<ALKBFMNEAJI>k__BackingField > 0)
|
||||
{
|
||||
this.cheerBadge_Sportsman.gameObject.SetActive(true);
|
||||
}
|
||||
if (this.reputationWatcher.DLLAJGDMFHI.<EANJHJDBNPD>k__BackingField > 0)
|
||||
{
|
||||
this.cheerBadge_GreatHost.gameObject.SetActive(true);
|
||||
}
|
||||
if (this.reputationWatcher.DLLAJGDMFHI.<LFGNELGPADP>k__BackingField > 0)
|
||||
{
|
||||
this.cheerBadge_Creative.gameObject.SetActive(true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600647A RID: 25722 RVA: 0x001623DC File Offset: 0x001605DC
|
||||
[Token(Token = "0x600647A")]
|
||||
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
|
||||
public ReputationSpecificCheerBadges()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040042A1 RID: 17057
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40042A1")]
|
||||
[SerializeField]
|
||||
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false, false)]
|
||||
private ReputationSpecificUIBehaviour reputationWatcher;
|
||||
|
||||
// Token: 0x040042A2 RID: 17058
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40042A2")]
|
||||
[SerializeField]
|
||||
[Header("Cheer badges")]
|
||||
private Image cheerBadge_General;
|
||||
|
||||
// Token: 0x040042A3 RID: 17059
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40042A3")]
|
||||
[SerializeField]
|
||||
private Image cheerBadge_Helpful;
|
||||
|
||||
// Token: 0x040042A4 RID: 17060
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40042A4")]
|
||||
[SerializeField]
|
||||
private Image cheerBadge_Sportsman;
|
||||
|
||||
// Token: 0x040042A5 RID: 17061
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40042A5")]
|
||||
[SerializeField]
|
||||
private Image cheerBadge_GreatHost;
|
||||
|
||||
// Token: 0x040042A6 RID: 17062
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40042A6")]
|
||||
[SerializeField]
|
||||
private Image cheerBadge_Creative;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user