182 lines
5.6 KiB
C#
182 lines
5.6 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace AGUI.StackedUI
|
|
{
|
|
// Token: 0x02001155 RID: 4437
|
|
[Token(Token = "0x2001155")]
|
|
[RequireComponent(typeof(ClubSpecificUIBehaviour))]
|
|
public class ClubMainImage : MonoBehaviour
|
|
{
|
|
// Token: 0x06006304 RID: 25348 RVA: 0x00158584 File Offset: 0x00156784
|
|
[Token(Token = "0x6006304")]
|
|
[Address(RVA = "0x1A595C0", Offset = "0x1A585C0", VA = "0x181A595C0")]
|
|
private void Awake()
|
|
{
|
|
OKNNKFGFODL clubDetailsUpdated = this.clubWatcher.ClubDetailsUpdated;
|
|
Action action = new Action(this.OHNFIDMLFBB);
|
|
int num = 0;
|
|
clubDetailsUpdated.BPAJKKAGPKB(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: 0x06006305 RID: 25349 RVA: 0x0015862C File Offset: 0x0015682C
|
|
[Token(Token = "0x6006305")]
|
|
[Address(RVA = "0x1A598B0", Offset = "0x1A588B0", VA = "0x181A598B0")]
|
|
private void OnDestroy()
|
|
{
|
|
ClubSpecificUIBehaviour clubSpecificUIBehaviour = this.clubWatcher;
|
|
int num = 0;
|
|
if (clubSpecificUIBehaviour != num)
|
|
{
|
|
OKNNKFGFODL clubDetailsUpdated = this.clubWatcher.ClubDetailsUpdated;
|
|
Action action = new Action(this.OHNFIDMLFBB);
|
|
clubDetailsUpdated.BIHKNNPGGKP(action);
|
|
}
|
|
OHDHPENHDAP.NBMFNJLHKAO jlbeidflild = this.JLBEIDFLILD;
|
|
if (jlbeidflild != 0)
|
|
{
|
|
jlbeidflild.Dispose();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006306 RID: 25350 RVA: 0x00158688 File Offset: 0x00156888
|
|
[Token(Token = "0x6006306")]
|
|
[Address(RVA = "0x1A59770", Offset = "0x1A58770", VA = "0x181A59770")]
|
|
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: 0x06006307 RID: 25351 RVA: 0x00158704 File Offset: 0x00156904
|
|
[Token(Token = "0x6006307")]
|
|
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
|
|
public ClubMainImage()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04004111 RID: 16657
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4004111")]
|
|
[SerializeField]
|
|
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
|
private ClubSpecificUIBehaviour clubWatcher;
|
|
|
|
// Token: 0x04004112 RID: 16658
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4004112")]
|
|
[SerializeField]
|
|
private RawImage clubImage;
|
|
|
|
// Token: 0x04004113 RID: 16659
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4004113")]
|
|
private OHDHPENHDAP.NBMFNJLHKAO JLBEIDFLILD;
|
|
|
|
// Token: 0x02001156 RID: 4438
|
|
[Token(Token = "0x2001156")]
|
|
[CompilerGenerated]
|
|
private sealed class LCHCNAJKEMJ
|
|
{
|
|
// Token: 0x06006308 RID: 25352 RVA: 0x00158718 File Offset: 0x00156918
|
|
[Token(Token = "0x6006308")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
public LCHCNAJKEMJ()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06006309 RID: 25353 RVA: 0x0015872C File Offset: 0x0015692C
|
|
[Token(Token = "0x6006309")]
|
|
[Address(RVA = "0x1A5DA10", Offset = "0x1A5CA10", VA = "0x181A5DA10")]
|
|
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: 0x04004114 RID: 16660
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4004114")]
|
|
public ClubMainImage <>4__this;
|
|
|
|
// Token: 0x04004115 RID: 16661
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4004115")]
|
|
public PLILLKHMNDA club;
|
|
}
|
|
}
|
|
}
|