648 lines
22 KiB
C#
648 lines
22 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using AGUI.StackedUI;
|
|
using AGUI.StackedUI.Dialog;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.AGUI.ToolUIs;
|
|
using RecRoom.Core;
|
|
using RecRoom.Tools;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
using UnityEngine.Rendering.PostProcessing;
|
|
|
|
namespace RecRoom
|
|
{
|
|
// Token: 0x02002244 RID: 8772
|
|
[Token(Token = "0x2002244")]
|
|
public class MakerPenPaletteInventionPublishingScreen : MakerPenPaletteUIFlowBase, CINJNCJKHAF
|
|
{
|
|
// Token: 0x0600DF22 RID: 57122 RVA: 0x003360CC File Offset: 0x003342CC
|
|
[Token(Token = "0x600DF22")]
|
|
[Address(RVA = "0x822250", Offset = "0x821250", VA = "0x180822250")]
|
|
public void SetSkipToPriceDialog(bool KKDPFGADCEK)
|
|
{
|
|
this.LLHGAMGBCPC = KKDPFGADCEK;
|
|
}
|
|
|
|
// Token: 0x0600DF23 RID: 57123 RVA: 0x003360E0 File Offset: 0x003342E0
|
|
[Token(Token = "0x600DF23")]
|
|
[Address(RVA = "0x1AF8430", Offset = "0x1AF7430", VA = "0x181AF8430")]
|
|
public void SetTargetInvention(OBBBPCBIMME LDNFNNNHPPB)
|
|
{
|
|
this.BFKEFCFNNKH = LDNFNNNHPPB;
|
|
this.KNJDPJDAJCK = false;
|
|
}
|
|
|
|
// Token: 0x0600DF24 RID: 57124 RVA: 0x003360FC File Offset: 0x003342FC
|
|
[Token(Token = "0x600DF24")]
|
|
[Address(RVA = "0x1AF7680", Offset = "0x1AF6680", VA = "0x181AF7680", Slot = "10")]
|
|
public override void Initialize(StackedUIBase LJOCNMLBCAH)
|
|
{
|
|
base.Initialize(LJOCNMLBCAH);
|
|
MFBGLIHGCGO<long> pjjjmgdalbf = BBHENFCNLAB.PJJJMGDALBF;
|
|
Action<long> action = new Action(this.PJJJMGDALBF);
|
|
}
|
|
|
|
// Token: 0x0600DF25 RID: 57125 RVA: 0x0033612C File Offset: 0x0033432C
|
|
[Token(Token = "0x600DF25")]
|
|
[Address(RVA = "0x1AF8050", Offset = "0x1AF7050", VA = "0x181AF8050", Slot = "7")]
|
|
protected override void OnDestroy()
|
|
{
|
|
base.OnDestroy();
|
|
MFBGLIHGCGO<long> pjjjmgdalbf = BBHENFCNLAB.PJJJMGDALBF;
|
|
Action<long> action = new Action(this.PJJJMGDALBF);
|
|
}
|
|
|
|
// Token: 0x0600DF26 RID: 57126 RVA: 0x00336158 File Offset: 0x00334358
|
|
[Token(Token = "0x600DF26")]
|
|
[Address(RVA = "0x1AF8270", Offset = "0x1AF7270", VA = "0x181AF8270")]
|
|
private void PJJJMGDALBF(long OEMDIAHHILF)
|
|
{
|
|
OBBBPCBIMME bfkefcfnnkh = this.BFKEFCFNNKH;
|
|
if (bfkefcfnnkh != 0 && bfkefcfnnkh.<BHBCCAKKIMJ>k__BackingField == OEMDIAHHILF)
|
|
{
|
|
OBBBPCBIMME obbbpcbimme = BBHENFCNLAB.PMJOPHKBPJK(OEMDIAHHILF);
|
|
this.BFKEFCFNNKH = obbbpcbimme;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DF27 RID: 57127 RVA: 0x00336188 File Offset: 0x00334388
|
|
[Token(Token = "0x600DF27")]
|
|
[Address(RVA = "0x1AF82F0", Offset = "0x1AF72F0", VA = "0x181AF82F0")]
|
|
public static void PopScreenAndSubScreensFromMenu(StackedUIBase HPNPDOJKCMP)
|
|
{
|
|
int num = 0;
|
|
if (!(HPNPDOJKCMP == num))
|
|
{
|
|
StackedUIFlowBase <CBEMGFDBBJA>k__BackingField = HPNPDOJKCMP.<CBEMGFDBBJA>k__BackingField;
|
|
int num2 = 0;
|
|
if (<CBEMGFDBBJA>k__BackingField != num2)
|
|
{
|
|
UIConfirmationDialog bffojkmkhbg = MakerPenPaletteInventionPublishingScreen.BFFOJKMKHBG;
|
|
bool flag = <CBEMGFDBBJA>k__BackingField == bffojkmkhbg;
|
|
if (flag || flag)
|
|
{
|
|
HPNPDOJKCMP.Button_PopFlow();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DF28 RID: 57128 RVA: 0x003361DC File Offset: 0x003343DC
|
|
[Token(Token = "0x600DF28")]
|
|
[Address(RVA = "0x1AF7750", Offset = "0x1AF6750", VA = "0x181AF7750")]
|
|
public static bool IsInventionPublishingUIFlow(StackedUIFlowBase LHHONCAOJFH)
|
|
{
|
|
int num = 0;
|
|
bool flag = LHHONCAOJFH != num;
|
|
if (!flag)
|
|
{
|
|
return flag;
|
|
}
|
|
UIConfirmationDialog bffojkmkhbg = MakerPenPaletteInventionPublishingScreen.BFFOJKMKHBG;
|
|
return LHHONCAOJFH == bffojkmkhbg || 1 != 0;
|
|
}
|
|
|
|
// Token: 0x0600DF29 RID: 57129 RVA: 0x00336214 File Offset: 0x00334414
|
|
[Token(Token = "0x600DF29")]
|
|
[Address(RVA = "0x1AF8110", Offset = "0x1AF7110", VA = "0x181AF8110", Slot = "11")]
|
|
public override void OnFlowEntered(StackedUIFlowBase BFHJBBGCMAN)
|
|
{
|
|
base.OnFlowEntered(BFHJBBGCMAN);
|
|
MakerPen <LJOGMLBAABG>k__BackingField = this.<LJOGMLBAABG>k__BackingField;
|
|
int num = 0;
|
|
if (!(<LJOGMLBAABG>k__BackingField == num) && this.BFKEFCFNNKH != (ulong)0L)
|
|
{
|
|
this.instructionsSubscreen.SetActive(true);
|
|
GameObject gameObject = this.resultSubscreen;
|
|
int num2 = 0;
|
|
gameObject.SetActive(num2 != 0);
|
|
if (this.LLHGAMGBCPC)
|
|
{
|
|
return;
|
|
}
|
|
if (!this.KNJDPJDAJCK)
|
|
{
|
|
this.KNJDPJDAJCK = true;
|
|
this.ANAAENODLBN();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DF2A RID: 57130 RVA: 0x00336288 File Offset: 0x00334488
|
|
[Token(Token = "0x600DF2A")]
|
|
[Address(RVA = "0x1AF8210", Offset = "0x1AF7210", VA = "0x181AF8210", Slot = "12")]
|
|
public override void OnFlowExited(StackedUIFlowBase NBINAJPFBOA, bool CJEIBCEPAPO)
|
|
{
|
|
base.OnFlowExited(NBINAJPFBOA, CJEIBCEPAPO);
|
|
if (!CJEIBCEPAPO)
|
|
{
|
|
this.<LJOGMLBAABG>k__BackingField.paletteMenu.RemoveMainMenuOpeningRestriction(this);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DF2B RID: 57131 RVA: 0x003362B8 File Offset: 0x003344B8
|
|
[Token(Token = "0x600DF2B")]
|
|
[Address(RVA = "0x26BC680", Offset = "0x26BB680", VA = "0x1826BC680")]
|
|
private PMGCJEPKFOF<R> OBCAHIJNPJL<R, T1>(UIDialog<T1, R> GCHDNCDLAGE, T1 BMEGDKCCBHH, out UIDialog<T1, R> DAGFHPCPNPB)
|
|
{
|
|
if (!MakerPenPaletteInventionPublishingScreen.IsInventionPublishingUIFlow(GCHDNCDLAGE))
|
|
{
|
|
Debug.LogError("MakerPenPaletteInventionPublishingScreen.ShowTemporaryDialog: Attempting to show a flow that isn't enumerated in IsInventionPublishingScreenOrSubScreen!");
|
|
}
|
|
DepthTextureMode cameraFlags = ((IAmbientOcclusionMethod)this.<LJOGMLBAABG>k__BackingField.KNDLGPOKIOI).GetCameraFlags();
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600DF2C RID: 57132 RVA: 0x003362F0 File Offset: 0x003344F0
|
|
[Token(Token = "0x600DF2C")]
|
|
[Address(RVA = "0x21C40D0", Offset = "0x21C30D0", VA = "0x1821C40D0")]
|
|
private PMGCJEPKFOF<JPIJGHNNIDP> BCGGEIPOINB<T1>(ConfirmUIDialog<T1> GCHDNCDLAGE, T1 BMEGDKCCBHH, out UIDialog<JPIJGHNNIDP> DAGFHPCPNPB)
|
|
{
|
|
if (!MakerPenPaletteInventionPublishingScreen.IsInventionPublishingUIFlow(GCHDNCDLAGE))
|
|
{
|
|
Debug.LogError("MakerPenPaletteInventionPublishingScreen.ShowTemporaryConfirmationDialog: Attempting to show a flow that isn't enumerated in IsInventionPublishingScreenOrSubScreen!");
|
|
}
|
|
DepthTextureMode cameraFlags = ((IAmbientOcclusionMethod)this.<LJOGMLBAABG>k__BackingField.KNDLGPOKIOI).GetCameraFlags();
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600DF2D RID: 57133 RVA: 0x00336328 File Offset: 0x00334528
|
|
[Token(Token = "0x600DF2D")]
|
|
[Address(RVA = "0x1AF7E60", Offset = "0x1AF6E60", VA = "0x181AF7E60")]
|
|
private PMGCJEPKFOF<JPIJGHNNIDP> MHKADHFIJAD(UIConfirmationDialog.MCLCMCALGMA OIPDFDMPPEA, string AIKLPOJAIIO, string BOPFNBCHJJJ, string EOAMGHFEGLM, string PCLJFDNNDMM, string MMHHLDAACMN)
|
|
{
|
|
MakerPenPaletteUI paletteMenuToolUI = this.<LJOGMLBAABG>k__BackingField.KNDLGPOKIOI;
|
|
PMGCJEPKFOF<JPIJGHNNIDP> pmgcjepkfof;
|
|
return pmgcjepkfof;
|
|
}
|
|
|
|
// Token: 0x0600DF2E RID: 57134 RVA: 0x00336348 File Offset: 0x00334548
|
|
[Token(Token = "0x600DF2E")]
|
|
[Address(RVA = "0x1AF6C90", Offset = "0x1AF5C90", VA = "0x181AF6C90")]
|
|
private void ANAAENODLBN()
|
|
{
|
|
string text = this.cocReminderYesButtonText;
|
|
string text2 = this.cocReminderNoButtonText;
|
|
string text3 = this.cocReminderDialogTextViewCoCButtonText;
|
|
MakerPenPaletteUI paletteMenuToolUI = this.<LJOGMLBAABG>k__BackingField.KNDLGPOKIOI;
|
|
Action<JPIJGHNNIDP> action = new Action(this.GALIMEADAJF);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600DF2F RID: 57135 RVA: 0x0033638C File Offset: 0x0033458C
|
|
[Token(Token = "0x600DF2F")]
|
|
[Address(RVA = "0x1AF7B20", Offset = "0x1AF6B20", VA = "0x181AF7B20")]
|
|
private void LOOMBGNMNAP()
|
|
{
|
|
this.<LJOGMLBAABG>k__BackingField.paletteMenu.AddMainMenuOpeningRestriction(this);
|
|
Action<PFLPCICDFNF> action = new Action(this.FLDFBGOIAEE);
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
int num = 0;
|
|
EnterInventionNameDialog enterInventionNameDialog;
|
|
if (enterInventionNameDialog != num)
|
|
{
|
|
enterInventionNameDialog.SetButtonText("Next", "Back");
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DF30 RID: 57136 RVA: 0x003363E4 File Offset: 0x003345E4
|
|
[Token(Token = "0x600DF30")]
|
|
[Address(RVA = "0x1AF72F0", Offset = "0x1AF62F0", VA = "0x181AF72F0")]
|
|
private void GLLOOBGALIL()
|
|
{
|
|
this.<LJOGMLBAABG>k__BackingField.paletteMenu.AddMainMenuOpeningRestriction(this);
|
|
Action<PFLPCICDFNF> action = new Action(this.HPBHCCDEONP);
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
int num = 0;
|
|
EnterInventionDescriptionDialog enterInventionDescriptionDialog;
|
|
if (enterInventionDescriptionDialog != num)
|
|
{
|
|
enterInventionDescriptionDialog.<FOHHNJJONDA>k__BackingField = true;
|
|
enterInventionDescriptionDialog.SetButtonText("Next", "Back");
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DF31 RID: 57137 RVA: 0x00336444 File Offset: 0x00334644
|
|
[Token(Token = "0x600DF31")]
|
|
[Address(RVA = "0x1AF6F60", Offset = "0x1AF5F60", VA = "0x181AF6F60")]
|
|
private void DMAEACPHIPC()
|
|
{
|
|
this.<LJOGMLBAABG>k__BackingField.paletteMenu.AddMainMenuOpeningRestriction(this);
|
|
Action<JPIJGHNNIDP> action = new Action(this.HLJPJAPILBD);
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
int num = 0;
|
|
EditInventionTagsDialog editInventionTagsDialog;
|
|
if (editInventionTagsDialog != num)
|
|
{
|
|
editInventionTagsDialog.SetButtonText("Next", "Back");
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DF32 RID: 57138 RVA: 0x0033649C File Offset: 0x0033469C
|
|
[Token(Token = "0x600DF32")]
|
|
[Address(RVA = "0x1AF7A60", Offset = "0x1AF6A60", VA = "0x181AF7A60")]
|
|
private void LKLJGNHNLIA()
|
|
{
|
|
Action<KJBHGEIMGHP> action = new Action(this.LPHBPOENKHH);
|
|
}
|
|
|
|
// Token: 0x0600DF33 RID: 57139 RVA: 0x003364BC File Offset: 0x003346BC
|
|
[Token(Token = "0x600DF33")]
|
|
[Address(RVA = "0x1AF7F40", Offset = "0x1AF6F40", VA = "0x181AF7F40")]
|
|
private void OHOPJIFBLAN()
|
|
{
|
|
int num = 0;
|
|
Action<HJMNGAGLAIG> action = new Action(this.NAAHEFCNEEJ);
|
|
if (num < this)
|
|
{
|
|
num += num;
|
|
if (num == this)
|
|
{
|
|
PMGCJEPKFOF<OBBBPCBIMME> pmgcjepkfof;
|
|
pmgcjepkfof += pmgcjepkfof;
|
|
throw new NullReferenceException();
|
|
}
|
|
num++;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DF34 RID: 57140 RVA: 0x003364F4 File Offset: 0x003346F4
|
|
[Token(Token = "0x600DF34")]
|
|
[Address(RVA = "0x1AF7220", Offset = "0x1AF6220", VA = "0x181AF7220")]
|
|
private void GFKPEHGMNGB(string PAANJCAOOAG)
|
|
{
|
|
GameObject gameObject = this.instructionsSubscreen;
|
|
int num = 0;
|
|
gameObject.SetActive(num != 0);
|
|
this.resultSubscreen.SetActive(true);
|
|
TextMeshProUGUI textMeshProUGUI = this.resultText;
|
|
int num2 = 0;
|
|
if (textMeshProUGUI != num2)
|
|
{
|
|
string text = this.resultText.text;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DF35 RID: 57141 RVA: 0x00336544 File Offset: 0x00334744
|
|
[Token(Token = "0x600DF35")]
|
|
[Address(RVA = "0x1AF6DD0", Offset = "0x1AF5DD0", VA = "0x181AF6DD0")]
|
|
private void BEPNJCGNIKA()
|
|
{
|
|
if (this.BFKEFCFNNKH != (ulong)0L)
|
|
{
|
|
this.GFKPEHGMNGB("Publishing...");
|
|
long <BHBCCAKKIMJ>k__BackingField = this.BFKEFCFNNKH.<BHBCCAKKIMJ>k__BackingField;
|
|
HECIICKPCDN cocmllkfndi = this.COCMLLKFNDI;
|
|
Action<AHEPPAEOLOD> action = new Action(this.LHKBFMDGBHC);
|
|
Action<string> action2 = new Action(this.KLHOBIAIGHH);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DF36 RID: 57142 RVA: 0x0033659C File Offset: 0x0033479C
|
|
[Token(Token = "0x600DF36")]
|
|
[Address(RVA = "0x1AF7480", Offset = "0x1AF6480", VA = "0x181AF7480")]
|
|
private void HELJMPHCMKN()
|
|
{
|
|
WatchUI local = WatchUI.BFPPPLIJIGC;
|
|
long <BHBCCAKKIMJ>k__BackingField = this.BFKEFCFNNKH.<BHBCCAKKIMJ>k__BackingField;
|
|
local.ShowInventionDetails(<BHBCCAKKIMJ>k__BackingField, "Makerpen");
|
|
WatchUI <JNBAANDJIAD>k__BackingField = Player.<EGKJPJKLEAI>k__BackingField.playerUI.<JNBAANDJIAD>k__BackingField;
|
|
int num = 0;
|
|
int num2 = 0;
|
|
<JNBAANDJIAD>k__BackingField.PlayAttract(~NotificationManager.HLJEOKDOLPF.Text, num2, num);
|
|
}
|
|
|
|
// Token: 0x0600DF37 RID: 57143 RVA: 0x003365F4 File Offset: 0x003347F4
|
|
[Token(Token = "0x600DF37")]
|
|
[Address(RVA = "0x1AF6F50", Offset = "0x1AF5F50", VA = "0x181AF6F50")]
|
|
public void Button_Next()
|
|
{
|
|
this.ANAAENODLBN();
|
|
}
|
|
|
|
// Token: 0x0600DF38 RID: 57144 RVA: 0x00336608 File Offset: 0x00334808
|
|
[Token(Token = "0x600DF38")]
|
|
[Address(RVA = "0x1AF6F20", Offset = "0x1AF5F20", VA = "0x181AF6F20")]
|
|
public void Button_Cancel()
|
|
{
|
|
this.<LJOGMLBAABG>k__BackingField.paletteMenu.CloseInventionPublishingFlow();
|
|
}
|
|
|
|
// Token: 0x0600DF39 RID: 57145 RVA: 0x0033662C File Offset: 0x0033482C
|
|
[Token(Token = "0x600DF39")]
|
|
[Address(RVA = "0x1AF8440", Offset = "0x1AF7440", VA = "0x181AF8440")]
|
|
public MakerPenPaletteInventionPublishingScreen()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600DF3A RID: 57146 RVA: 0x00336678 File Offset: 0x00334878
|
|
[Token(Token = "0x600DF3A")]
|
|
[Address(RVA = "0x1AF7160", Offset = "0x1AF6160", VA = "0x181AF7160")]
|
|
[CompilerGenerated]
|
|
private void GALIMEADAJF(JPIJGHNNIDP PBAOMKNFBFL)
|
|
{
|
|
if (PBAOMKNFBFL == JPIJGHNNIDP.Negative)
|
|
{
|
|
this.<LJOGMLBAABG>k__BackingField.paletteMenu.CloseInventionPublishingFlow();
|
|
return;
|
|
}
|
|
if (PBAOMKNFBFL != JPIJGHNNIDP.Cancel)
|
|
{
|
|
if (PBAOMKNFBFL == JPIJGHNNIDP.Affirmative)
|
|
{
|
|
this.LOOMBGNMNAP();
|
|
}
|
|
return;
|
|
}
|
|
this.ANAAENODLBN();
|
|
FBPACFPINIK.LBIOGBGOOAM(false);
|
|
}
|
|
|
|
// Token: 0x0600DF3B RID: 57147 RVA: 0x003366C0 File Offset: 0x003348C0
|
|
[Token(Token = "0x600DF3B")]
|
|
[Address(RVA = "0x1AF70F0", Offset = "0x1AF60F0", VA = "0x181AF70F0")]
|
|
[CompilerGenerated]
|
|
private void FLDFBGOIAEE(PFLPCICDFNF BBADBGPALFP)
|
|
{
|
|
this.<LJOGMLBAABG>k__BackingField.paletteMenu.RemoveMainMenuOpeningRestriction(this);
|
|
this.ANAAENODLBN();
|
|
}
|
|
|
|
// Token: 0x0600DF3C RID: 57148 RVA: 0x003366F4 File Offset: 0x003348F4
|
|
[Token(Token = "0x600DF3C")]
|
|
[Address(RVA = "0x1AF7610", Offset = "0x1AF6610", VA = "0x181AF7610")]
|
|
[CompilerGenerated]
|
|
private void HPBHCCDEONP(PFLPCICDFNF KGPCPJCPMAF)
|
|
{
|
|
this.<LJOGMLBAABG>k__BackingField.paletteMenu.RemoveMainMenuOpeningRestriction(this);
|
|
this.LOOMBGNMNAP();
|
|
}
|
|
|
|
// Token: 0x0600DF3D RID: 57149 RVA: 0x00336728 File Offset: 0x00334928
|
|
[Token(Token = "0x600DF3D")]
|
|
[Address(RVA = "0x1AF75B0", Offset = "0x1AF65B0", VA = "0x181AF75B0")]
|
|
[CompilerGenerated]
|
|
private void HLJPJAPILBD(JPIJGHNNIDP ALGEANNCAPF)
|
|
{
|
|
this.<LJOGMLBAABG>k__BackingField.paletteMenu.RemoveMainMenuOpeningRestriction(this);
|
|
if (ALGEANNCAPF != JPIJGHNNIDP.Affirmative)
|
|
{
|
|
this.GLLOOBGALIL();
|
|
return;
|
|
}
|
|
this.LKLJGNHNLIA();
|
|
}
|
|
|
|
// Token: 0x0600DF3E RID: 57150 RVA: 0x00336760 File Offset: 0x00334960
|
|
[Token(Token = "0x600DF3E")]
|
|
[Address(RVA = "0x1AF7CB0", Offset = "0x1AF6CB0", VA = "0x181AF7CB0")]
|
|
[CompilerGenerated]
|
|
private void LPHBPOENKHH(KJBHGEIMGHP DOMPAJACKDC)
|
|
{
|
|
if (DOMPAJACKDC != (ulong)1L)
|
|
{
|
|
this.DMAEACPHIPC();
|
|
return;
|
|
}
|
|
int num = 0;
|
|
this.NMOAKOGFKBD = num;
|
|
int num2 = 0;
|
|
Action<HJMNGAGLAIG> action = new Action(this.NAAHEFCNEEJ);
|
|
if (num2 < this)
|
|
{
|
|
num2 += num2;
|
|
if (num2 == this)
|
|
{
|
|
PMGCJEPKFOF<OBBBPCBIMME> pmgcjepkfof;
|
|
pmgcjepkfof += pmgcjepkfof;
|
|
num2 += 19;
|
|
this.COCMLLKFNDI = (HECIICKPCDN)((ulong)20L);
|
|
int num3 = 0;
|
|
this.NMOAKOGFKBD = num3;
|
|
this.BEPNJCGNIKA();
|
|
return;
|
|
}
|
|
num2++;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600DF3F RID: 57151 RVA: 0x003367D0 File Offset: 0x003349D0
|
|
[Token(Token = "0x600DF3F")]
|
|
[Address(RVA = "0x1AF7F20", Offset = "0x1AF6F20", VA = "0x181AF7F20")]
|
|
[CompilerGenerated]
|
|
private void NAAHEFCNEEJ(HJMNGAGLAIG FCCDJFHHCHB)
|
|
{
|
|
if (FCCDJFHHCHB != (ulong)1L)
|
|
{
|
|
this.LKLJGNHNLIA();
|
|
return;
|
|
}
|
|
this.COCMLLKFNDI = FCCDJFHHCHB;
|
|
this.BEPNJCGNIKA();
|
|
}
|
|
|
|
// Token: 0x0600DF40 RID: 57152 RVA: 0x003367F8 File Offset: 0x003349F8
|
|
[Token(Token = "0x600DF40")]
|
|
[Address(RVA = "0x1AF7890", Offset = "0x1AF6890", VA = "0x181AF7890")]
|
|
[CompilerGenerated]
|
|
private void LHKBFMDGBHC(AHEPPAEOLOD HHHAIOABAMD)
|
|
{
|
|
MakerPenPaletteInventionPublishingScreen.HHPHNJPMILF hhphnjpmilf = new MakerPenPaletteInventionPublishingScreen.HHPHNJPMILF();
|
|
hhphnjpmilf.<>4__this = this;
|
|
JJONIELLJGH <BCMKPFMGHLE>k__BackingField = HHHAIOABAMD.<BCMKPFMGHLE>k__BackingField;
|
|
if (<BCMKPFMGHLE>k__BackingField == JJONIELLJGH.Success)
|
|
{
|
|
this.GFKPEHGMNGB("Invention published!");
|
|
hhphnjpmilf.hasShownPublishedInventionDetails = <BCMKPFMGHLE>k__BackingField != JJONIELLJGH.Success;
|
|
string text = this.BFKEFCFNNKH.<LGACIEKBLBM>k__BackingField + " is now available in the invention store!";
|
|
OBBBPCBIMME bfkefcfnnkh = this.BFKEFCFNNKH;
|
|
string <HPJCFFLAJJE>k__BackingField = bfkefcfnnkh.<HPJCFFLAJJE>k__BackingField;
|
|
NFEMLMAFFIP.MetaData metaData = NFEMLMAFFIP.ONMOIHJNOCD(bfkefcfnnkh.<BHBCCAKKIMJ>k__BackingField);
|
|
Action action = new Action(hhphnjpmilf.<PublishInvention>g__ShowPublishedInventionDetailsOnce|2);
|
|
DABKFAIHBBP dabkfaihbbp = LDKKMFPLNCN.JGONKECPJJD("Do you want to customize an invention published announcement for your subscribers?", "New Invention now Available", text, <HPJCFFLAJJE>k__BackingField, metaData, action);
|
|
Action action2 = new Action(hhphnjpmilf.<PublishInvention>g__ShowPublishedInventionDetailsOnce|2);
|
|
return;
|
|
}
|
|
string text3;
|
|
string text2 = "Unable to publish invention: " + text3;
|
|
this.GFKPEHGMNGB(text2);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600DF41 RID: 57153 RVA: 0x003368B4 File Offset: 0x00334AB4
|
|
[Token(Token = "0x600DF41")]
|
|
[Address(RVA = "0x1AF7820", Offset = "0x1AF6820", VA = "0x181AF7820")]
|
|
[CompilerGenerated]
|
|
private void KLHOBIAIGHH(string MOPOMPHBHKF)
|
|
{
|
|
if (MOPOMPHBHKF == 0)
|
|
{
|
|
}
|
|
string text = "Unable to publish invention: " + MOPOMPHBHKF;
|
|
this.GFKPEHGMNGB(text);
|
|
}
|
|
|
|
// Token: 0x040090A9 RID: 37033
|
|
[FieldOffset(Offset = "0xA8")]
|
|
[Token(Token = "0x40090A9")]
|
|
[SerializeField]
|
|
private GameObject instructionsSubscreen;
|
|
|
|
// Token: 0x040090AA RID: 37034
|
|
[FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x40090AA")]
|
|
[SerializeField]
|
|
private GameObject resultSubscreen;
|
|
|
|
// Token: 0x040090AB RID: 37035
|
|
[FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x40090AB")]
|
|
[SerializeField]
|
|
private TextMeshProUGUI resultText;
|
|
|
|
// Token: 0x040090AC RID: 37036
|
|
[FieldOffset(Offset = "0xC0")]
|
|
[Token(Token = "0x40090AC")]
|
|
[SerializeField]
|
|
[Header("Dialogs")]
|
|
private EnterInventionNameDialog enterInventionNameDialog;
|
|
|
|
// Token: 0x040090AD RID: 37037
|
|
[FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x40090AD")]
|
|
[SerializeField]
|
|
private EnterInventionDescriptionDialog enterInventionDescriptionDialog;
|
|
|
|
// Token: 0x040090AE RID: 37038
|
|
[FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x40090AE")]
|
|
[SerializeField]
|
|
private EditInventionTagsDialog editInventionTagsDialog;
|
|
|
|
// Token: 0x040090AF RID: 37039
|
|
[FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x40090AF")]
|
|
[SerializeField]
|
|
private ChooseInventionPublishingPermissionsDialog chooseInventionPublishingPermissionsDialog;
|
|
|
|
// Token: 0x040090B0 RID: 37040
|
|
[FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x40090B0")]
|
|
[SerializeField]
|
|
private ChooseInventionPriceDialog chooseInventionPriceDialog;
|
|
|
|
// Token: 0x040090B1 RID: 37041
|
|
[FieldOffset(Offset = "0xE8")]
|
|
[Token(Token = "0x40090B1")]
|
|
[SerializeField]
|
|
[Header("Code of Conduct Reminder Dialog")]
|
|
private string cocReminderDialogTitle = "Invention Reminder";
|
|
|
|
// Token: 0x040090B2 RID: 37042
|
|
[FieldOffset(Offset = "0xF0")]
|
|
[Token(Token = "0x40090B2")]
|
|
[TextArea]
|
|
[SerializeField]
|
|
private string cocReminderDialogText = "Once you publish an invention, it can no longer be updated!\n\nAll published inventions must follow the Rec Room Code of Conduct!\n\nBefore publishing, please ensure your invention does not contain:\n- Sexual content\n- Discriminatory content\n- Illegal content\n\nTo view the entire Code of Conduct, click the Details button.";
|
|
|
|
// Token: 0x040090B3 RID: 37043
|
|
[FieldOffset(Offset = "0xF8")]
|
|
[Token(Token = "0x40090B3")]
|
|
[SerializeField]
|
|
private string cocReminderYesButtonText = "Next";
|
|
|
|
// Token: 0x040090B4 RID: 37044
|
|
[FieldOffset(Offset = "0x100")]
|
|
[Token(Token = "0x40090B4")]
|
|
[SerializeField]
|
|
private string cocReminderNoButtonText = "Cancel";
|
|
|
|
// Token: 0x040090B5 RID: 37045
|
|
[FieldOffset(Offset = "0x108")]
|
|
[Token(Token = "0x40090B5")]
|
|
[SerializeField]
|
|
private string cocReminderDialogTextViewCoCButtonText = "Details";
|
|
|
|
// Token: 0x040090B6 RID: 37046
|
|
[FieldOffset(Offset = "0x110")]
|
|
[Token(Token = "0x40090B6")]
|
|
private OBBBPCBIMME BFKEFCFNNKH;
|
|
|
|
// Token: 0x040090B7 RID: 37047
|
|
[FieldOffset(Offset = "0x118")]
|
|
[Token(Token = "0x40090B7")]
|
|
private bool KNJDPJDAJCK;
|
|
|
|
// Token: 0x040090B8 RID: 37048
|
|
[FieldOffset(Offset = "0x11C")]
|
|
[Token(Token = "0x40090B8")]
|
|
private HECIICKPCDN COCMLLKFNDI;
|
|
|
|
// Token: 0x040090B9 RID: 37049
|
|
[FieldOffset(Offset = "0x120")]
|
|
[Token(Token = "0x40090B9")]
|
|
private int? NMOAKOGFKBD;
|
|
|
|
// Token: 0x040090BA RID: 37050
|
|
[FieldOffset(Offset = "0x128")]
|
|
[Token(Token = "0x40090BA")]
|
|
private bool LLHGAMGBCPC;
|
|
|
|
// Token: 0x040090BB RID: 37051
|
|
[Token(Token = "0x40090BB")]
|
|
private static UIConfirmationDialog BFFOJKMKHBG;
|
|
|
|
// Token: 0x02002245 RID: 8773
|
|
[Token(Token = "0x2002245")]
|
|
[CompilerGenerated]
|
|
private sealed class HHPHNJPMILF
|
|
{
|
|
// Token: 0x0600DF42 RID: 57154 RVA: 0x003368E0 File Offset: 0x00334AE0
|
|
[Token(Token = "0x600DF42")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
public HHPHNJPMILF()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600DF43 RID: 57155 RVA: 0x003368F4 File Offset: 0x00334AF4
|
|
[Token(Token = "0x600DF43")]
|
|
[Address(RVA = "0x1AEDC30", Offset = "0x1AECC30", VA = "0x181AEDC30")]
|
|
internal void <PublishInvention>g__ShowPublishedInventionDetailsOnce|2()
|
|
{
|
|
if (!this.hasShownPublishedInventionDetails)
|
|
{
|
|
MakerPenPaletteInventionPublishingScreen makerPenPaletteInventionPublishingScreen = this.<>4__this;
|
|
this.hasShownPublishedInventionDetails = true;
|
|
WatchUI local = WatchUI.BFPPPLIJIGC;
|
|
long <BHBCCAKKIMJ>k__BackingField = makerPenPaletteInventionPublishingScreen.BFKEFCFNNKH.<BHBCCAKKIMJ>k__BackingField;
|
|
local.ShowInventionDetails(<BHBCCAKKIMJ>k__BackingField, "Makerpen");
|
|
WatchUI <JNBAANDJIAD>k__BackingField = Player.<EGKJPJKLEAI>k__BackingField.playerUI.<JNBAANDJIAD>k__BackingField;
|
|
int num = 0;
|
|
int num2 = 0;
|
|
<JNBAANDJIAD>k__BackingField.PlayAttract(~NotificationManager.HLJEOKDOLPF.Text, num2, num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x040090BC RID: 37052
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40090BC")]
|
|
public bool hasShownPublishedInventionDetails;
|
|
|
|
// Token: 0x040090BD RID: 37053
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40090BD")]
|
|
public MakerPenPaletteInventionPublishingScreen <>4__this;
|
|
}
|
|
}
|
|
}
|