m
This commit is contained in:
@@ -0,0 +1,137 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AGUI.StackedUI
|
||||
{
|
||||
// Token: 0x020011E9 RID: 4585
|
||||
[Token(Token = "0x20011E9")]
|
||||
[RequireComponent(typeof(ReputationSpecificUIBehaviour))]
|
||||
public class CheerConditionalButton : ConditionalButton<Button3D>
|
||||
{
|
||||
// Token: 0x060066B3 RID: 26291 RVA: 0x00165548 File Offset: 0x00163748
|
||||
[Token(Token = "0x60066B3")]
|
||||
[Address(RVA = "0x1A54560", Offset = "0x1A53560", VA = "0x181A54560", Slot = "4")]
|
||||
protected override void OnEnable()
|
||||
{
|
||||
ReputationSpecificUIBehaviour reputationSpecificUIBehaviour = this.reputationWatcher;
|
||||
Action action;
|
||||
OKNNKFGFODL oknnkfgfodl = OKNNKFGFODL.BPJDFPACLMK(reputationSpecificUIBehaviour.PlayerReputationUpdated, action);
|
||||
reputationSpecificUIBehaviour.PlayerReputationUpdated = oknnkfgfodl;
|
||||
MFBGLIHGCGO<int?> hodokbidhhg = FGPIDGLCKEF.HODOKBIDHHG;
|
||||
Action<int?> action2 = new Action(this.PABKIEKBHGA);
|
||||
FGPIDGLCKEF.HODOKBIDHHG = MFBGLIHGCGO.BPJDFPACLMK(hodokbidhhg, action2);
|
||||
this.OnEnable();
|
||||
this.PICEBFBCNCL();
|
||||
Button3DBase button = this.button;
|
||||
this.MNGMCHLEHOK();
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
button.BLIJCJNGGIJ = num;
|
||||
button.DKILDKCKHDM = (float)num;
|
||||
button.MALDFLCADLG(num2 != 0);
|
||||
button.PMFNJKCHLCO();
|
||||
}
|
||||
|
||||
// Token: 0x060066B4 RID: 26292 RVA: 0x001655DC File Offset: 0x001637DC
|
||||
[Token(Token = "0x60066B4")]
|
||||
[Address(RVA = "0x1A54410", Offset = "0x1A53410", VA = "0x181A54410")]
|
||||
private void OnDisable()
|
||||
{
|
||||
MFBGLIHGCGO<int?> hodokbidhhg = FGPIDGLCKEF.HODOKBIDHHG;
|
||||
Action<int?> action = new Action(this.PABKIEKBHGA);
|
||||
FGPIDGLCKEF.HODOKBIDHHG = MFBGLIHGCGO.GMNMHGMFGOL(hodokbidhhg, action);
|
||||
ReputationSpecificUIBehaviour reputationSpecificUIBehaviour = this.reputationWatcher;
|
||||
int num = 0;
|
||||
if (reputationSpecificUIBehaviour != num)
|
||||
{
|
||||
ReputationSpecificUIBehaviour reputationSpecificUIBehaviour2 = this.reputationWatcher;
|
||||
Action action2;
|
||||
OKNNKFGFODL oknnkfgfodl = OKNNKFGFODL.GMNMHGMFGOL(reputationSpecificUIBehaviour2.PlayerReputationUpdated, action2);
|
||||
reputationSpecificUIBehaviour2.PlayerReputationUpdated = oknnkfgfodl;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060066B5 RID: 26293 RVA: 0x00165644 File Offset: 0x00163844
|
||||
[Token(Token = "0x60066B5")]
|
||||
[Address(RVA = "0x1A54700", Offset = "0x1A53700", VA = "0x181A54700")]
|
||||
private void PABKIEKBHGA(int? CJFGEMGOJHB)
|
||||
{
|
||||
ReputationSpecificUIBehaviour reputationSpecificUIBehaviour = this.reputationWatcher;
|
||||
if (reputationSpecificUIBehaviour != 0 && reputationSpecificUIBehaviour.<IFBPANODIPA>k__BackingField != CJFGEMGOJHB)
|
||||
{
|
||||
this.OnEnable();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060066B6 RID: 26294 RVA: 0x0016566C File Offset: 0x0016386C
|
||||
[Token(Token = "0x60066B6")]
|
||||
[Address(RVA = "0x1A54790", Offset = "0x1A53790", VA = "0x181A54790", Slot = "5")]
|
||||
protected sealed override void PICEBFBCNCL()
|
||||
{
|
||||
ReputationSpecificUIBehaviour reputationSpecificUIBehaviour = this.reputationWatcher;
|
||||
if (reputationSpecificUIBehaviour.<IFBPANODIPA>k__BackingField != 0)
|
||||
{
|
||||
int? <IFBPANODIPA>k__BackingField = reputationSpecificUIBehaviour.<IFBPANODIPA>k__BackingField;
|
||||
int num;
|
||||
if (FGPIDGLCKEF.BOFKACFLIOB(num))
|
||||
{
|
||||
int num2 = 0;
|
||||
base.ILGFOHIJHMG = num2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
int <JOIIIGPDAKF>k__BackingField = EBAIPNMBKLK.FJJKKHPNMIM.<JOIIIGPDAKF>k__BackingField;
|
||||
ReputationSpecificUIBehaviour reputationSpecificUIBehaviour2 = this.reputationWatcher;
|
||||
if (reputationSpecificUIBehaviour2.<IFBPANODIPA>k__BackingField == 0)
|
||||
{
|
||||
}
|
||||
int? <IFBPANODIPA>k__BackingField2 = reputationSpecificUIBehaviour2.<IFBPANODIPA>k__BackingField;
|
||||
int num3;
|
||||
bool flag = AIGGBBFKAKL.JLGKDMMMDKN((long)num3);
|
||||
base.ILGFOHIJHMG = (flag ? 1 : 0);
|
||||
}
|
||||
|
||||
// Token: 0x060066B7 RID: 26295 RVA: 0x001656E8 File Offset: 0x001638E8
|
||||
[Token(Token = "0x60066B7")]
|
||||
[Address(RVA = "0x1A54390", Offset = "0x1A53390", VA = "0x181A54390", Slot = "8")]
|
||||
protected override void MGFKPEMKOOK()
|
||||
{
|
||||
if (this.reputationWatcher.<IFBPANODIPA>k__BackingField == 0)
|
||||
{
|
||||
Debug.LogWarning("CheerConditionalButton attempted button press without player!");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060066B8 RID: 26296 RVA: 0x00165714 File Offset: 0x00163914
|
||||
[Token(Token = "0x60066B8")]
|
||||
[Address(RVA = "0x1A54230", Offset = "0x1A53230", VA = "0x181A54230")]
|
||||
private void LPCFKNILLCB()
|
||||
{
|
||||
int <JOIIIGPDAKF>k__BackingField = EBAIPNMBKLK.FJJKKHPNMIM.<JOIIIGPDAKF>k__BackingField;
|
||||
ReputationSpecificUIBehaviour reputationSpecificUIBehaviour = this.reputationWatcher;
|
||||
if (reputationSpecificUIBehaviour.<IFBPANODIPA>k__BackingField == 0)
|
||||
{
|
||||
}
|
||||
int? <IFBPANODIPA>k__BackingField = reputationSpecificUIBehaviour.<IFBPANODIPA>k__BackingField;
|
||||
int num;
|
||||
bool flag = AIGGBBFKAKL.JLGKDMMMDKN((long)num);
|
||||
base.ILGFOHIJHMG = (flag ? 1 : 0);
|
||||
}
|
||||
|
||||
// Token: 0x060066B9 RID: 26297 RVA: 0x0016575C File Offset: 0x0016395C
|
||||
[Token(Token = "0x60066B9")]
|
||||
[Address(RVA = "0x1A54990", Offset = "0x1A53990", VA = "0x181A54990")]
|
||||
public CheerConditionalButton()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400434D RID: 17229
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400434D")]
|
||||
[SerializeField]
|
||||
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
||||
protected ReputationSpecificUIBehaviour reputationWatcher;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user