scripts
This commit is contained in:
@@ -0,0 +1,148 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom;
|
||||
using RecRoom.Async;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AGUI.StackedUI
|
||||
{
|
||||
// Token: 0x02001AD1 RID: 6865
|
||||
[Token(Token = "0x2001AD1")]
|
||||
[RequireComponent(typeof(TextMeshProUGUI))]
|
||||
[RequireComponent(typeof(AccountSpecificUIBehaviour))]
|
||||
[StructLayout(3)]
|
||||
public class PlayerLevelText : MonoBehaviour
|
||||
{
|
||||
// Token: 0x0600B895 RID: 47253 RVA: 0x002B5234 File Offset: 0x002B3434
|
||||
[Token(Token = "0x600B895")]
|
||||
[Address(RVA = "0x192FB80", Offset = "0x192E580", VA = "0x18192FB80")]
|
||||
private void Awake()
|
||||
{
|
||||
AccountSpecificUIBehaviour accountSpecificUIBehaviour = this.accountWatcher;
|
||||
ActionEvent playerAccountUpdated = accountSpecificUIBehaviour.PlayerAccountUpdated;
|
||||
Action action = new Action(this.OBMOIKFMMBF);
|
||||
ActionEvent actionEvent = playerAccountUpdated + action;
|
||||
accountSpecificUIBehaviour.PlayerAccountUpdated = actionEvent;
|
||||
ActionEvent<int> dggdhooobli = ACJLCBNBJDK.DGGDHOOOBLI;
|
||||
Action<int> action2 = new Action(this.DGGDHOOOBLI);
|
||||
ACJLCBNBJDK.DGGDHOOOBLI = dggdhooobli + action2;
|
||||
}
|
||||
|
||||
// Token: 0x0600B896 RID: 47254 RVA: 0x002B5294 File Offset: 0x002B3494
|
||||
[Token(Token = "0x600B896")]
|
||||
[Address(RVA = "0x192FF70", Offset = "0x192E970", VA = "0x18192FF70")]
|
||||
private void OnDestroy()
|
||||
{
|
||||
AccountSpecificUIBehaviour accountSpecificUIBehaviour = this.accountWatcher;
|
||||
int num = 0;
|
||||
if (accountSpecificUIBehaviour != num)
|
||||
{
|
||||
AccountSpecificUIBehaviour accountSpecificUIBehaviour2 = this.accountWatcher;
|
||||
ActionEvent playerAccountUpdated = accountSpecificUIBehaviour2.PlayerAccountUpdated;
|
||||
Action action = new Action(this.OBMOIKFMMBF);
|
||||
ActionEvent actionEvent = playerAccountUpdated - action;
|
||||
accountSpecificUIBehaviour2.PlayerAccountUpdated = actionEvent;
|
||||
}
|
||||
ActionEvent<int> dggdhooobli = ACJLCBNBJDK.DGGDHOOOBLI;
|
||||
Action<int> action2 = new Action(this.DGGDHOOOBLI);
|
||||
ACJLCBNBJDK.DGGDHOOOBLI = dggdhooobli - action2;
|
||||
}
|
||||
|
||||
// Token: 0x0600B897 RID: 47255 RVA: 0x002B530C File Offset: 0x002B350C
|
||||
[Token(Token = "0x600B897")]
|
||||
[Address(RVA = "0x192FE70", Offset = "0x192E870", VA = "0x18192FE70")]
|
||||
private void OnEnable()
|
||||
{
|
||||
AccountSpecificUIBehaviour accountSpecificUIBehaviour = this.accountWatcher;
|
||||
if (accountSpecificUIBehaviour.<IFBPANODIPA>k__BackingField != 0)
|
||||
{
|
||||
IPromise<NFMBDLEJEDD> promise = ACJLCBNBJDK.AAGPDEDFCNI(accountSpecificUIBehaviour.<IFBPANODIPA>k__BackingField.value);
|
||||
Action<NFMBDLEJEDD> action = new Action(this.FIJFFFAKMCB);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600B898 RID: 47256 RVA: 0x002B5350 File Offset: 0x002B3550
|
||||
[Token(Token = "0x600B898")]
|
||||
[Address(RVA = "0x192FE70", Offset = "0x192E870", VA = "0x18192FE70")]
|
||||
private void OBMOIKFMMBF()
|
||||
{
|
||||
AccountSpecificUIBehaviour accountSpecificUIBehaviour = this.accountWatcher;
|
||||
if (accountSpecificUIBehaviour.<IFBPANODIPA>k__BackingField != 0)
|
||||
{
|
||||
IPromise<NFMBDLEJEDD> promise = ACJLCBNBJDK.AAGPDEDFCNI(accountSpecificUIBehaviour.<IFBPANODIPA>k__BackingField.value);
|
||||
Action<NFMBDLEJEDD> action = new Action(this.FIJFFFAKMCB);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600B899 RID: 47257 RVA: 0x002B5394 File Offset: 0x002B3594
|
||||
[Token(Token = "0x600B899")]
|
||||
[Address(RVA = "0x192FCA0", Offset = "0x192E6A0", VA = "0x18192FCA0")]
|
||||
private void DGGDHOOOBLI(int GKLPIFBPGOD)
|
||||
{
|
||||
AccountSpecificUIBehaviour accountSpecificUIBehaviour = this.accountWatcher;
|
||||
int num = 0;
|
||||
int? <IFBPANODIPA>k__BackingField = accountSpecificUIBehaviour.<IFBPANODIPA>k__BackingField;
|
||||
bool flag = GKLPIFBPGOD == <IFBPANODIPA>k__BackingField;
|
||||
if (<IFBPANODIPA>k__BackingField != flag && ACJLCBNBJDK.OBCAFDMNGAP(GKLPIFBPGOD, num))
|
||||
{
|
||||
this.DMPBBJNDPMA(num);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600B89A RID: 47258 RVA: 0x002B53D4 File Offset: 0x002B35D4
|
||||
[Token(Token = "0x600B89A")]
|
||||
[Address(RVA = "0x192FD40", Offset = "0x192E740", VA = "0x18192FD40")]
|
||||
private void DMPBBJNDPMA(NFMBDLEJEDD EJGILMEAPLC)
|
||||
{
|
||||
TextMeshProUGUI textMeshProUGUI = this.text;
|
||||
if (EJGILMEAPLC != 0)
|
||||
{
|
||||
int <BOEPNILALGE>k__BackingField = EJGILMEAPLC.<BOEPNILALGE>k__BackingField;
|
||||
}
|
||||
string empty = string.Empty;
|
||||
textMeshProUGUI.text = empty;
|
||||
}
|
||||
|
||||
// Token: 0x0600B89B RID: 47259 RVA: 0x002B5408 File Offset: 0x002B3608
|
||||
[Token(Token = "0x600B89B")]
|
||||
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
||||
public PlayerLevelText()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600B89C RID: 47260 RVA: 0x002B541C File Offset: 0x002B361C
|
||||
[Token(Token = "0x600B89C")]
|
||||
[Address(RVA = "0x192FDD0", Offset = "0x192E7D0", VA = "0x18192FDD0")]
|
||||
[CompilerGenerated]
|
||||
private void FIJFFFAKMCB(NFMBDLEJEDD EJGILMEAPLC)
|
||||
{
|
||||
int num = 0;
|
||||
if (this != num)
|
||||
{
|
||||
int? <IFBPANODIPA>k__BackingField = this.accountWatcher.<IFBPANODIPA>k__BackingField;
|
||||
bool flag = EJGILMEAPLC.<IFBPANODIPA>k__BackingField == <IFBPANODIPA>k__BackingField;
|
||||
if (<IFBPANODIPA>k__BackingField != flag)
|
||||
{
|
||||
this.DMPBBJNDPMA(EJGILMEAPLC);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04007964 RID: 31076
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007964")]
|
||||
[SerializeField]
|
||||
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
||||
private AccountSpecificUIBehaviour accountWatcher;
|
||||
|
||||
// Token: 0x04007965 RID: 31077
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007965")]
|
||||
[SerializeField]
|
||||
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
||||
private TextMeshProUGUI text;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user