m
This commit is contained in:
@@ -0,0 +1,157 @@
|
||||
using System;
|
||||
using CodeStage.AntiCheat.ObscuredTypes;
|
||||
using Cpp2IlInjected;
|
||||
using StansAssets.Foundation.Async;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AGUI.StackedUI
|
||||
{
|
||||
// Token: 0x02001151 RID: 4433
|
||||
[Token(Token = "0x2001151")]
|
||||
[RequireComponent(typeof(TextMeshProUGUI))]
|
||||
[RequireComponent(typeof(ClubAnnouncementSpecificUIBehaviour))]
|
||||
public class ClubAnnouncementSpecificText : MonoBehaviour
|
||||
{
|
||||
// Token: 0x060062E2 RID: 25314 RVA: 0x00157E84 File Offset: 0x00156084
|
||||
[Token(Token = "0x60062E2")]
|
||||
[Address(RVA = "0x1A582F0", Offset = "0x1A572F0", VA = "0x181A582F0")]
|
||||
private void Awake()
|
||||
{
|
||||
OKNNKFGFODL detailsUpdated = this.watcher.DetailsUpdated;
|
||||
Action action = new Action(this.IHHKJLCGJEN);
|
||||
int num = 0;
|
||||
detailsUpdated.BPAJKKAGPKB(action, num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x060062E3 RID: 25315 RVA: 0x00157EBC File Offset: 0x001560BC
|
||||
[Token(Token = "0x60062E3")]
|
||||
[Address(RVA = "0x1A588A0", Offset = "0x1A578A0", VA = "0x181A588A0")]
|
||||
private void OnDestroy()
|
||||
{
|
||||
ClubAnnouncementSpecificUIBehaviour clubAnnouncementSpecificUIBehaviour = this.watcher;
|
||||
int num = 0;
|
||||
if (clubAnnouncementSpecificUIBehaviour != num)
|
||||
{
|
||||
OKNNKFGFODL detailsUpdated = this.watcher.DetailsUpdated;
|
||||
Action action = new Action(this.IHHKJLCGJEN);
|
||||
detailsUpdated.BIHKNNPGGKP(action);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060062E4 RID: 25316 RVA: 0x00157F04 File Offset: 0x00156104
|
||||
[Token(Token = "0x60062E4")]
|
||||
[Address(RVA = "0x1A58960", Offset = "0x1A57960", VA = "0x181A58960")]
|
||||
private void OnEnable()
|
||||
{
|
||||
this.IHHKJLCGJEN();
|
||||
}
|
||||
|
||||
// Token: 0x060062E5 RID: 25317 RVA: 0x00157F18 File Offset: 0x00156118
|
||||
[Token(Token = "0x60062E5")]
|
||||
[Address(RVA = "0x1A58380", Offset = "0x1A57380", VA = "0x181A58380")]
|
||||
private void IHHKJLCGJEN()
|
||||
{
|
||||
NFEMLMAFFIP <KEHMNKJBDBD>k__BackingField = this.watcher.<KEHMNKJBDBD>k__BackingField;
|
||||
if (<KEHMNKJBDBD>k__BackingField == 0)
|
||||
{
|
||||
((IMainThreadDispatcher)this.text).Init();
|
||||
return;
|
||||
}
|
||||
ClubAnnouncementSpecificText.HJPDIJLPCFG hjpdijlpcfg = this.propertyToWatch;
|
||||
if (hjpdijlpcfg == ClubAnnouncementSpecificText.HJPDIJLPCFG.Title)
|
||||
{
|
||||
((IMainThreadDispatcher)this.text).Init();
|
||||
return;
|
||||
}
|
||||
if (hjpdijlpcfg != ClubAnnouncementSpecificText.HJPDIJLPCFG.Title)
|
||||
{
|
||||
TextMeshProUGUI textMeshProUGUI;
|
||||
if (hjpdijlpcfg != ClubAnnouncementSpecificText.HJPDIJLPCFG.Title)
|
||||
{
|
||||
if (hjpdijlpcfg != ClubAnnouncementSpecificText.HJPDIJLPCFG.Body)
|
||||
{
|
||||
((IMainThreadDispatcher)this.text).Init();
|
||||
return;
|
||||
}
|
||||
if (<KEHMNKJBDBD>k__BackingField.HPCKFCEFFOJ > IHLFIKMOAOF.Photo)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
if (this.watcher.<BHIBEBDGDDG>k__BackingField == 0 || this.watcher.<PGAMKIKGMPH>k__BackingField == 0 || this.watcher.<ILJJBEONFKA>k__BackingField == 0 || this.watcher.<GGGPHCGJMHH>k__BackingField == 0)
|
||||
{
|
||||
((IMainThreadDispatcher)textMeshProUGUI).Init();
|
||||
return;
|
||||
}
|
||||
CCEOLAOLEKJ <LKGEFFJKJLP>k__BackingField = this.watcher.<LKGEFFJKJLP>k__BackingField;
|
||||
if (<LKGEFFJKJLP>k__BackingField == 0)
|
||||
{
|
||||
goto IL_F4;
|
||||
}
|
||||
ObscuredString <KHJCEENDAOL>k__BackingField = <LKGEFFJKJLP>k__BackingField.<KHJCEENDAOL>k__BackingField;
|
||||
string text = string.Format("@{0}", <KHJCEENDAOL>k__BackingField);
|
||||
}
|
||||
if (<KEHMNKJBDBD>k__BackingField.HPCKFCEFFOJ > IHLFIKMOAOF.Photo)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
ClubAnnouncementSpecificUIBehaviour clubAnnouncementSpecificUIBehaviour = this.watcher;
|
||||
textMeshProUGUI = this.text;
|
||||
KLCOGEIGEBJ <BHIBEBDGDDG>k__BackingField = clubAnnouncementSpecificUIBehaviour.<BHIBEBDGDDG>k__BackingField;
|
||||
if (<BHIBEBDGDDG>k__BackingField != 0)
|
||||
{
|
||||
string <LGACIEKBLBM>k__BackingField = <BHIBEBDGDDG>k__BackingField.<LGACIEKBLBM>k__BackingField;
|
||||
string text2 = "^" + <LGACIEKBLBM>k__BackingField;
|
||||
}
|
||||
IL_F4:
|
||||
((IMainThreadDispatcher)textMeshProUGUI).Init();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060062E6 RID: 25318 RVA: 0x001580D0 File Offset: 0x001562D0
|
||||
[Token(Token = "0x60062E6")]
|
||||
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
|
||||
public ClubAnnouncementSpecificText()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040040FE RID: 16638
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40040FE")]
|
||||
[SerializeField]
|
||||
private ClubAnnouncementSpecificText.HJPDIJLPCFG propertyToWatch;
|
||||
|
||||
// Token: 0x040040FF RID: 16639
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40040FF")]
|
||||
[SerializeField]
|
||||
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
||||
private ClubAnnouncementSpecificUIBehaviour watcher;
|
||||
|
||||
// Token: 0x04004100 RID: 16640
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4004100")]
|
||||
[SerializeField]
|
||||
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
||||
private TextMeshProUGUI text;
|
||||
|
||||
// Token: 0x02001152 RID: 4434
|
||||
[Token(Token = "0x2001152")]
|
||||
public enum HJPDIJLPCFG
|
||||
{
|
||||
// Token: 0x04004102 RID: 16642
|
||||
[Token(Token = "0x4004102")]
|
||||
Title,
|
||||
// Token: 0x04004103 RID: 16643
|
||||
[Token(Token = "0x4004103")]
|
||||
Body,
|
||||
// Token: 0x04004104 RID: 16644
|
||||
[Token(Token = "0x4004104")]
|
||||
TargetName,
|
||||
// Token: 0x04004105 RID: 16645
|
||||
[Token(Token = "0x4004105")]
|
||||
TargetDescription
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user