185 lines
5.8 KiB
C#
185 lines
5.8 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace AGUI.StackedUI
|
|
{
|
|
// Token: 0x02001A24 RID: 6692
|
|
[Token(Token = "0x2001A24")]
|
|
[RequireComponent(typeof(ClubSpecificUIBehaviour))]
|
|
[StructLayout(3)]
|
|
public class ClubMainImage : MonoBehaviour
|
|
{
|
|
// Token: 0x0600B423 RID: 46115 RVA: 0x002A5530 File Offset: 0x002A3730
|
|
[Token(Token = "0x600B423")]
|
|
[Address(RVA = "0x118E980", Offset = "0x118D380", VA = "0x18118E980")]
|
|
private void Awake()
|
|
{
|
|
ActionEvent clubDetailsUpdated = this.clubWatcher.ClubDetailsUpdated;
|
|
Action action = new Action(this.OHNFIDMLFBB);
|
|
int num = 0;
|
|
clubDetailsUpdated.Add(action, num != 0);
|
|
PLILLKHMNDA <GGGPHCGJMHH>k__BackingField = this.clubWatcher.<GGGPHCGJMHH>k__BackingField;
|
|
PLILLKHMNDA club = <GGGPHCGJMHH>k__BackingField;
|
|
if (<GGGPHCGJMHH>k__BackingField != 0)
|
|
{
|
|
OHDHPENHDAP.NBMFNJLHKAO jlbeidflild = this.JLBEIDFLILD;
|
|
if (jlbeidflild != 0)
|
|
{
|
|
jlbeidflild.Dispose();
|
|
}
|
|
string <EAIJEHLCEPM>k__BackingField = <GGGPHCGJMHH>k__BackingField.<EAIJEHLCEPM>k__BackingField;
|
|
int num2 = 0;
|
|
int num3 = 0;
|
|
ulong num4;
|
|
OHDHPENHDAP.NBMFNJLHKAO nbmfnjlhkao = OHDHPENHDAP.JMGMDKIBOKO(<EAIJEHLCEPM>k__BackingField, true, num3 != 0, num2, num4 != 0UL);
|
|
this.JLBEIDFLILD = nbmfnjlhkao;
|
|
Action<Texture2D> action2 = delegate(Texture2D image)
|
|
{
|
|
ClubMainImage <>4__this = this;
|
|
int num5 = 0;
|
|
if (<>4__this != num5)
|
|
{
|
|
ClubMainImage <>4__this2 = this;
|
|
ClubSpecificUIBehaviour clubSpecificUIBehaviour = <>4__this2.clubWatcher;
|
|
PLILLKHMNDA club2 = club;
|
|
if (clubSpecificUIBehaviour.<GGGPHCGJMHH>k__BackingField == club2)
|
|
{
|
|
<>4__this2.clubImage.texture = image;
|
|
}
|
|
}
|
|
};
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B424 RID: 46116 RVA: 0x002A55D8 File Offset: 0x002A37D8
|
|
[Token(Token = "0x600B424")]
|
|
[Address(RVA = "0x118EC70", Offset = "0x118D670", VA = "0x18118EC70")]
|
|
private void OnDestroy()
|
|
{
|
|
ClubSpecificUIBehaviour clubSpecificUIBehaviour = this.clubWatcher;
|
|
int num = 0;
|
|
if (clubSpecificUIBehaviour != num)
|
|
{
|
|
ActionEvent clubDetailsUpdated = this.clubWatcher.ClubDetailsUpdated;
|
|
Action action = new Action(this.OHNFIDMLFBB);
|
|
clubDetailsUpdated.Remove(action);
|
|
}
|
|
OHDHPENHDAP.NBMFNJLHKAO jlbeidflild = this.JLBEIDFLILD;
|
|
if (jlbeidflild != 0)
|
|
{
|
|
jlbeidflild.Dispose();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B425 RID: 46117 RVA: 0x002A5634 File Offset: 0x002A3834
|
|
[Token(Token = "0x600B425")]
|
|
[Address(RVA = "0x118EB30", Offset = "0x118D530", VA = "0x18118EB30")]
|
|
private void OHNFIDMLFBB()
|
|
{
|
|
PLILLKHMNDA <GGGPHCGJMHH>k__BackingField = this.clubWatcher.<GGGPHCGJMHH>k__BackingField;
|
|
PLILLKHMNDA club = <GGGPHCGJMHH>k__BackingField;
|
|
if (<GGGPHCGJMHH>k__BackingField != 0)
|
|
{
|
|
OHDHPENHDAP.NBMFNJLHKAO jlbeidflild = this.JLBEIDFLILD;
|
|
if (jlbeidflild != 0)
|
|
{
|
|
jlbeidflild.Dispose();
|
|
}
|
|
string <EAIJEHLCEPM>k__BackingField = <GGGPHCGJMHH>k__BackingField.<EAIJEHLCEPM>k__BackingField;
|
|
int num = 0;
|
|
int num2 = 0;
|
|
ulong num3;
|
|
OHDHPENHDAP.NBMFNJLHKAO nbmfnjlhkao = OHDHPENHDAP.JMGMDKIBOKO(<EAIJEHLCEPM>k__BackingField, true, num2 != 0, num, num3 != 0UL);
|
|
this.JLBEIDFLILD = nbmfnjlhkao;
|
|
Action<Texture2D> action = delegate(Texture2D image)
|
|
{
|
|
ClubMainImage <>4__this = this;
|
|
int num4 = 0;
|
|
if (<>4__this != num4)
|
|
{
|
|
ClubMainImage <>4__this2 = this;
|
|
ClubSpecificUIBehaviour clubSpecificUIBehaviour = <>4__this2.clubWatcher;
|
|
PLILLKHMNDA club2 = club;
|
|
if (clubSpecificUIBehaviour.<GGGPHCGJMHH>k__BackingField == club2)
|
|
{
|
|
<>4__this2.clubImage.texture = image;
|
|
}
|
|
}
|
|
};
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B426 RID: 46118 RVA: 0x002A56B0 File Offset: 0x002A38B0
|
|
[Token(Token = "0x600B426")]
|
|
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
|
public ClubMainImage()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400768A RID: 30346
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400768A")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
|
private ClubSpecificUIBehaviour clubWatcher;
|
|
|
|
// Token: 0x0400768B RID: 30347
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400768B")]
|
|
[SerializeField]
|
|
private RawImage clubImage;
|
|
|
|
// Token: 0x0400768C RID: 30348
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400768C")]
|
|
private OHDHPENHDAP.NBMFNJLHKAO JLBEIDFLILD;
|
|
|
|
// Token: 0x02001A25 RID: 6693
|
|
[Token(Token = "0x2001A25")]
|
|
[CompilerGenerated]
|
|
private sealed class LCHCNAJKEMJ
|
|
{
|
|
// Token: 0x0600B427 RID: 46119 RVA: 0x002A56C4 File Offset: 0x002A38C4
|
|
[Token(Token = "0x600B427")]
|
|
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
|
public LCHCNAJKEMJ()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600B428 RID: 46120 RVA: 0x002A56D8 File Offset: 0x002A38D8
|
|
[Token(Token = "0x600B428")]
|
|
[Address(RVA = "0x1196AE0", Offset = "0x11954E0", VA = "0x181196AE0")]
|
|
internal void <ClubDetailsUpdated>b__0(Texture2D image)
|
|
{
|
|
ClubMainImage clubMainImage = this.<>4__this;
|
|
int num = 0;
|
|
if (clubMainImage != num)
|
|
{
|
|
ClubMainImage clubMainImage2 = this.<>4__this;
|
|
ClubSpecificUIBehaviour clubWatcher = clubMainImage2.clubWatcher;
|
|
PLILLKHMNDA plillkhmnda = this.club;
|
|
if (clubWatcher.<GGGPHCGJMHH>k__BackingField == plillkhmnda)
|
|
{
|
|
clubMainImage2.clubImage.texture = image;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400768D RID: 30349
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400768D")]
|
|
public ClubMainImage <>4__this;
|
|
|
|
// Token: 0x0400768E RID: 30350
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400768E")]
|
|
public PLILLKHMNDA club;
|
|
}
|
|
}
|
|
}
|