77 lines
2.4 KiB
C#
77 lines
2.4 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace AGUI.StackedUI
|
|
{
|
|
// Token: 0x02001154 RID: 4436
|
|
[Token(Token = "0x2001154")]
|
|
[RequireComponent(typeof(ClubSpecificUIBehaviour))]
|
|
public class ClubDetailsConditionalButton : ConditionalButton<Button3D>
|
|
{
|
|
// Token: 0x060062FF RID: 25343 RVA: 0x001584A4 File Offset: 0x001566A4
|
|
[Token(Token = "0x60062FF")]
|
|
[Address(RVA = "0x1A59240", Offset = "0x1A58240", VA = "0x181A59240")]
|
|
private void Awake()
|
|
{
|
|
OKNNKFGFODL clubDetailsUpdated = this.clubWatcher.ClubDetailsUpdated;
|
|
int num = 0;
|
|
Action action;
|
|
clubDetailsUpdated.BPAJKKAGPKB(action, num != 0);
|
|
}
|
|
|
|
// Token: 0x06006300 RID: 25344 RVA: 0x001584D0 File Offset: 0x001566D0
|
|
[Token(Token = "0x6006300")]
|
|
[Address(RVA = "0x1A59450", Offset = "0x1A58450", VA = "0x181A59450")]
|
|
private void OnDestroy()
|
|
{
|
|
ClubSpecificUIBehaviour clubSpecificUIBehaviour = this.clubWatcher;
|
|
int num = 0;
|
|
if (clubSpecificUIBehaviour != num)
|
|
{
|
|
Action action;
|
|
this.clubWatcher.ClubDetailsUpdated.BIHKNNPGGKP(action);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006301 RID: 25345 RVA: 0x00158508 File Offset: 0x00156708
|
|
[Token(Token = "0x6006301")]
|
|
[Address(RVA = "0x1A592E0", Offset = "0x1A582E0", VA = "0x181A592E0", Slot = "8")]
|
|
protected override void MGFKPEMKOOK()
|
|
{
|
|
ClubSpecificUIBehaviour clubSpecificUIBehaviour = this.clubWatcher;
|
|
long? <CHPCFOKEIFM>k__BackingField = clubSpecificUIBehaviour.<CHPCFOKEIFM>k__BackingField;
|
|
if (clubSpecificUIBehaviour != 0)
|
|
{
|
|
long? <CHPCFOKEIFM>k__BackingField2 = this.clubWatcher.<CHPCFOKEIFM>k__BackingField;
|
|
RRUIRootScreen rruirootScreen;
|
|
long num;
|
|
rruirootScreen.ShowScreenAndGoToClubDetails(num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006302 RID: 25346 RVA: 0x00158548 File Offset: 0x00156748
|
|
[Token(Token = "0x6006302")]
|
|
[Address(RVA = "0x1A59520", Offset = "0x1A58520", VA = "0x181A59520", Slot = "5")]
|
|
protected override void PICEBFBCNCL()
|
|
{
|
|
bool flag = this.clubWatcher != 0;
|
|
base.ILGFOHIJHMG = (flag ? 1 : 0);
|
|
}
|
|
|
|
// Token: 0x06006303 RID: 25347 RVA: 0x00158570 File Offset: 0x00156770
|
|
[Token(Token = "0x6006303")]
|
|
[Address(RVA = "0x1A59580", Offset = "0x1A58580", VA = "0x181A59580")]
|
|
public ClubDetailsConditionalButton()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04004110 RID: 16656
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4004110")]
|
|
[SerializeField]
|
|
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
|
protected ClubSpecificUIBehaviour clubWatcher;
|
|
}
|
|
}
|