scripts
This commit is contained in:
@@ -0,0 +1,125 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AGUI.StackedUI
|
||||
{
|
||||
// Token: 0x02001AB3 RID: 6835
|
||||
[Token(Token = "0x2001AB3")]
|
||||
[RequireComponent(typeof(ReputationSpecificUIBehaviour))]
|
||||
[StructLayout(3)]
|
||||
public class CheerConditionalButton : ConditionalButton<Button3D>
|
||||
{
|
||||
// Token: 0x0600B7C6 RID: 47046 RVA: 0x002B1B20 File Offset: 0x002AFD20
|
||||
[Token(Token = "0x600B7C6")]
|
||||
[Address(RVA = "0x1188BA0", Offset = "0x11875A0", VA = "0x181188BA0", Slot = "4")]
|
||||
protected override void OnEnable()
|
||||
{
|
||||
ReputationSpecificUIBehaviour reputationSpecificUIBehaviour = this.reputationWatcher;
|
||||
Action action;
|
||||
ActionEvent actionEvent = reputationSpecificUIBehaviour.PlayerReputationUpdated + action;
|
||||
reputationSpecificUIBehaviour.PlayerReputationUpdated = actionEvent;
|
||||
ActionEvent<int?> hodokbidhhg = FGPIDGLCKEF.HODOKBIDHHG;
|
||||
Action<int?> action2 = new Action(this.PABKIEKBHGA);
|
||||
FGPIDGLCKEF.HODOKBIDHHG = hodokbidhhg + action2;
|
||||
this.OnEnable();
|
||||
this.PICEBFBCNCL();
|
||||
Button3DBase button = this.button;
|
||||
this.MNGMCHLEHOK();
|
||||
}
|
||||
|
||||
// Token: 0x0600B7C7 RID: 47047 RVA: 0x002B1B8C File Offset: 0x002AFD8C
|
||||
[Token(Token = "0x600B7C7")]
|
||||
[Address(RVA = "0x1188A50", Offset = "0x1187450", VA = "0x181188A50")]
|
||||
private void OnDisable()
|
||||
{
|
||||
ActionEvent<int?> hodokbidhhg = FGPIDGLCKEF.HODOKBIDHHG;
|
||||
Action<int?> action = new Action(this.PABKIEKBHGA);
|
||||
FGPIDGLCKEF.HODOKBIDHHG = hodokbidhhg - action;
|
||||
ReputationSpecificUIBehaviour reputationSpecificUIBehaviour = this.reputationWatcher;
|
||||
int num = 0;
|
||||
if (reputationSpecificUIBehaviour != num)
|
||||
{
|
||||
ReputationSpecificUIBehaviour reputationSpecificUIBehaviour2 = this.reputationWatcher;
|
||||
Action action2;
|
||||
ActionEvent actionEvent = reputationSpecificUIBehaviour2.PlayerReputationUpdated - action2;
|
||||
reputationSpecificUIBehaviour2.PlayerReputationUpdated = actionEvent;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600B7C8 RID: 47048 RVA: 0x002B1BF4 File Offset: 0x002AFDF4
|
||||
[Token(Token = "0x600B7C8")]
|
||||
[Address(RVA = "0x1188D10", Offset = "0x1187710", VA = "0x181188D10")]
|
||||
private void PABKIEKBHGA(int? CJFGEMGOJHB)
|
||||
{
|
||||
ReputationSpecificUIBehaviour reputationSpecificUIBehaviour = this.reputationWatcher;
|
||||
if (reputationSpecificUIBehaviour != 0 && reputationSpecificUIBehaviour.<IFBPANODIPA>k__BackingField != CJFGEMGOJHB)
|
||||
{
|
||||
this.OnEnable();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600B7C9 RID: 47049 RVA: 0x002B1C1C File Offset: 0x002AFE1C
|
||||
[Token(Token = "0x600B7C9")]
|
||||
[Address(RVA = "0x1188DA0", Offset = "0x11877A0", VA = "0x181188DA0", Slot = "5")]
|
||||
protected sealed override void PICEBFBCNCL()
|
||||
{
|
||||
ReputationSpecificUIBehaviour reputationSpecificUIBehaviour = this.reputationWatcher;
|
||||
if (reputationSpecificUIBehaviour.<IFBPANODIPA>k__BackingField != 0 && FGPIDGLCKEF.BOFKACFLIOB(reputationSpecificUIBehaviour.<IFBPANODIPA>k__BackingField.value))
|
||||
{
|
||||
int num = 0;
|
||||
base.ILGFOHIJHMG = num;
|
||||
return;
|
||||
}
|
||||
int <JOIIIGPDAKF>k__BackingField = EBAIPNMBKLK.FJJKKHPNMIM.<JOIIIGPDAKF>k__BackingField;
|
||||
ReputationSpecificUIBehaviour reputationSpecificUIBehaviour2 = this.reputationWatcher;
|
||||
if (reputationSpecificUIBehaviour2.<IFBPANODIPA>k__BackingField == 0)
|
||||
{
|
||||
}
|
||||
bool flag = AIGGBBFKAKL.JLGKDMMMDKN(reputationSpecificUIBehaviour2.<IFBPANODIPA>k__BackingField.value);
|
||||
base.ILGFOHIJHMG = (flag ? 1 : 0);
|
||||
}
|
||||
|
||||
// Token: 0x0600B7CA RID: 47050 RVA: 0x002B1C98 File Offset: 0x002AFE98
|
||||
[Token(Token = "0x600B7CA")]
|
||||
[Address(RVA = "0x11889D0", Offset = "0x11873D0", VA = "0x1811889D0", Slot = "8")]
|
||||
protected override void MGFKPEMKOOK()
|
||||
{
|
||||
if (this.reputationWatcher.<IFBPANODIPA>k__BackingField == 0)
|
||||
{
|
||||
Debug.LogWarning("CheerConditionalButton attempted button press without player!");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600B7CB RID: 47051 RVA: 0x002B1CC4 File Offset: 0x002AFEC4
|
||||
[Token(Token = "0x600B7CB")]
|
||||
[Address(RVA = "0x1188870", Offset = "0x1187270", VA = "0x181188870")]
|
||||
private void LPCFKNILLCB()
|
||||
{
|
||||
int <JOIIIGPDAKF>k__BackingField = EBAIPNMBKLK.FJJKKHPNMIM.<JOIIIGPDAKF>k__BackingField;
|
||||
ReputationSpecificUIBehaviour reputationSpecificUIBehaviour = this.reputationWatcher;
|
||||
if (reputationSpecificUIBehaviour.<IFBPANODIPA>k__BackingField == 0)
|
||||
{
|
||||
}
|
||||
bool flag = AIGGBBFKAKL.JLGKDMMMDKN(reputationSpecificUIBehaviour.<IFBPANODIPA>k__BackingField.value);
|
||||
base.ILGFOHIJHMG = (flag ? 1 : 0);
|
||||
}
|
||||
|
||||
// Token: 0x0600B7CC RID: 47052 RVA: 0x002B1D0C File Offset: 0x002AFF0C
|
||||
[Token(Token = "0x600B7CC")]
|
||||
[Address(RVA = "0x1188FA0", Offset = "0x11879A0", VA = "0x181188FA0")]
|
||||
public CheerConditionalButton()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040078BB RID: 30907
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40078BB")]
|
||||
[SerializeField]
|
||||
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
||||
protected ReputationSpecificUIBehaviour reputationWatcher;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user