77 lines
2.4 KiB
C#
77 lines
2.4 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom;
|
|
using UnityEngine;
|
|
|
|
namespace AGUI.StackedUI
|
|
{
|
|
// Token: 0x02001A23 RID: 6691
|
|
[Token(Token = "0x2001A23")]
|
|
[RequireComponent(typeof(ClubSpecificUIBehaviour))]
|
|
[StructLayout(3)]
|
|
public class ClubDetailsConditionalButton : ConditionalButton<Button3D>
|
|
{
|
|
// Token: 0x0600B41E RID: 46110 RVA: 0x002A5458 File Offset: 0x002A3658
|
|
[Token(Token = "0x600B41E")]
|
|
[Address(RVA = "0x118E600", Offset = "0x118D000", VA = "0x18118E600")]
|
|
private void Awake()
|
|
{
|
|
ActionEvent clubDetailsUpdated = this.clubWatcher.ClubDetailsUpdated;
|
|
int num = 0;
|
|
Action action;
|
|
clubDetailsUpdated.Add(action, num != 0);
|
|
}
|
|
|
|
// Token: 0x0600B41F RID: 46111 RVA: 0x002A5484 File Offset: 0x002A3684
|
|
[Token(Token = "0x600B41F")]
|
|
[Address(RVA = "0x118E810", Offset = "0x118D210", VA = "0x18118E810")]
|
|
private void OnDestroy()
|
|
{
|
|
ClubSpecificUIBehaviour clubSpecificUIBehaviour = this.clubWatcher;
|
|
int num = 0;
|
|
if (clubSpecificUIBehaviour != num)
|
|
{
|
|
Action action;
|
|
this.clubWatcher.ClubDetailsUpdated.Remove(action);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B420 RID: 46112 RVA: 0x002A54BC File Offset: 0x002A36BC
|
|
[Token(Token = "0x600B420")]
|
|
[Address(RVA = "0x118E6A0", Offset = "0x118D0A0", VA = "0x18118E6A0", 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;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B421 RID: 46113 RVA: 0x002A54F4 File Offset: 0x002A36F4
|
|
[Token(Token = "0x600B421")]
|
|
[Address(RVA = "0x118E8E0", Offset = "0x118D2E0", VA = "0x18118E8E0", Slot = "5")]
|
|
protected override void PICEBFBCNCL()
|
|
{
|
|
bool flag = this.clubWatcher != 0;
|
|
base.ILGFOHIJHMG = (flag ? 1 : 0);
|
|
}
|
|
|
|
// Token: 0x0600B422 RID: 46114 RVA: 0x002A551C File Offset: 0x002A371C
|
|
[Token(Token = "0x600B422")]
|
|
[Address(RVA = "0x118E940", Offset = "0x118D340", VA = "0x18118E940")]
|
|
public ClubDetailsConditionalButton()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04007689 RID: 30345
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4007689")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
|
protected ClubSpecificUIBehaviour clubWatcher;
|
|
}
|
|
}
|