scripts
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom.Async;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AGUI.StackedUI
|
||||
{
|
||||
// Token: 0x02001ADD RID: 6877
|
||||
[Token(Token = "0x2001ADD")]
|
||||
[RequireComponent(typeof(ReputationSpecificUIBehaviour))]
|
||||
[RequireComponent(typeof(TextMeshProUGUI))]
|
||||
[StructLayout(3)]
|
||||
public class SubscriberCountText : MonoBehaviour
|
||||
{
|
||||
// Token: 0x0600B8E2 RID: 47330 RVA: 0x002B67F0 File Offset: 0x002B49F0
|
||||
[Token(Token = "0x600B8E2")]
|
||||
[Address(RVA = "0x1440B20", Offset = "0x143F520", VA = "0x181440B20")]
|
||||
private void OnEnable()
|
||||
{
|
||||
this.UpdateSubscriberCount();
|
||||
}
|
||||
|
||||
// Token: 0x0600B8E3 RID: 47331 RVA: 0x002B6804 File Offset: 0x002B4A04
|
||||
[Token(Token = "0x600B8E3")]
|
||||
[Address(RVA = "0x1440B30", Offset = "0x143F530", VA = "0x181440B30")]
|
||||
public void UpdateSubscriberCount()
|
||||
{
|
||||
ReputationSpecificUIBehaviour reputationSpecificUIBehaviour = this.reputationWatcher;
|
||||
int num = 0;
|
||||
if (reputationSpecificUIBehaviour.<IFBPANODIPA>k__BackingField != 0)
|
||||
{
|
||||
IPromise<int> promise = JDJGIBLMFKK.PNFHJBIAPBM(reputationSpecificUIBehaviour.<IFBPANODIPA>k__BackingField.value);
|
||||
Action<int> action = new Action(this.DMPBBJNDPMA);
|
||||
if (num < this)
|
||||
{
|
||||
num += num;
|
||||
if (num == this)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
num++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600B8E4 RID: 47332 RVA: 0x002B6858 File Offset: 0x002B4A58
|
||||
[Token(Token = "0x600B8E4")]
|
||||
[Address(RVA = "0x1440A80", Offset = "0x143F480", VA = "0x181440A80")]
|
||||
private void DMPBBJNDPMA(int HBHGOFKEHLJ)
|
||||
{
|
||||
TextMeshProUGUI textMeshProUGUI = this.text;
|
||||
int num = 0;
|
||||
if (textMeshProUGUI != num)
|
||||
{
|
||||
TextMeshProUGUI textMeshProUGUI2 = this.text;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600B8E5 RID: 47333 RVA: 0x002B6888 File Offset: 0x002B4A88
|
||||
[Token(Token = "0x600B8E5")]
|
||||
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
||||
public SubscriberCountText()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400798B RID: 31115
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400798B")]
|
||||
[SerializeField]
|
||||
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
||||
private ReputationSpecificUIBehaviour reputationWatcher;
|
||||
|
||||
// Token: 0x0400798C RID: 31116
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400798C")]
|
||||
[SerializeField]
|
||||
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
||||
private TextMeshProUGUI text;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user