scripts
This commit is contained in:
@@ -0,0 +1,114 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom.Async;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Core.Screens.UI
|
||||
{
|
||||
// Token: 0x02002A1C RID: 10780
|
||||
[Token(Token = "0x2002A1C")]
|
||||
[StructLayout(3)]
|
||||
public class IsolationWarningScreenLoginUIDialog : BasicScreenLoginUIDialog
|
||||
{
|
||||
// Token: 0x06012D2F RID: 77103 RVA: 0x0047E214 File Offset: 0x0047C414
|
||||
[Token(Token = "0x6012D2F")]
|
||||
[Address(RVA = "0x119F730", Offset = "0x119E130", VA = "0x18119F730", Slot = "10")]
|
||||
public override void Button_Alternative1()
|
||||
{
|
||||
PlatformManager instance = SingletonMonoBehaviour.Instance;
|
||||
IPromise<bool?> promise;
|
||||
if (promise == (ulong)3L && SingletonMonoBehaviour.Instance.GMIKADAHHAB && !SingletonMonoBehaviour.Instance.KMJMKFPDILJ)
|
||||
{
|
||||
this.OPIDHFCAAEB(true, "Configuration Successful!", "Your Xbox privacy settings only allow you to play on the locked server. To change this, customize your Xbox Live privacy setting in Settings > Account > Privacy & online safety > Xbox Live Privacy.\n\nPlease click Continue for us to properly connect you to the Rec Room's Xbox-only server.");
|
||||
return;
|
||||
}
|
||||
bool isCompleted = ((IAsyncResult)this).IsCompleted;
|
||||
}
|
||||
|
||||
// Token: 0x06012D30 RID: 77104 RVA: 0x0047E268 File Offset: 0x0047C468
|
||||
[Token(Token = "0x6012D30")]
|
||||
[Address(RVA = "0x119F880", Offset = "0x119E280", VA = "0x18119F880", Slot = "9")]
|
||||
public override void Button_Default()
|
||||
{
|
||||
int num = 0;
|
||||
this.OPIDHFCAAEB(num != 0, "Success!", "Your account is now on the Primary Server.");
|
||||
}
|
||||
|
||||
// Token: 0x06012D31 RID: 77105 RVA: 0x0047E288 File Offset: 0x0047C488
|
||||
[Token(Token = "0x6012D31")]
|
||||
[Address(RVA = "0x119F8D0", Offset = "0x119E2D0", VA = "0x18119F8D0")]
|
||||
private void OPIDHFCAAEB(bool NEKPNOCCLEM, string JDBKDGCJHMB = "Success!", string NGPMADFHHKP = "Your account is now on the Primary Server.")
|
||||
{
|
||||
SingletonMonoBehaviour.Instance.KMJMKFPDILJ = NEKPNOCCLEM;
|
||||
KMJJGELKNAP.AEJLOEDAMGA(NEKPNOCCLEM);
|
||||
SingletonMonoBehaviour.Instance.LogSiloedMatchingChangedEvent();
|
||||
PlayerPrefs.Save();
|
||||
this.titleText.text = JDBKDGCJHMB;
|
||||
this.messageText.text = NGPMADFHHKP;
|
||||
GameObject[] array = this.objectsToDisable;
|
||||
int num = 0;
|
||||
if (array != 0)
|
||||
{
|
||||
int length = array.Length;
|
||||
if (num < length)
|
||||
{
|
||||
GameObject gameObject = array[num];
|
||||
int num2 = 0;
|
||||
gameObject.SetActive(num2 != 0);
|
||||
num++;
|
||||
}
|
||||
}
|
||||
GameObject[] array2 = this.objectsToEnable;
|
||||
if (array2 != 0)
|
||||
{
|
||||
int length2 = array2.Length;
|
||||
if (num < length2)
|
||||
{
|
||||
array2[num].SetActive(true);
|
||||
num++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06012D32 RID: 77106 RVA: 0x0047E334 File Offset: 0x0047C534
|
||||
[Token(Token = "0x6012D32")]
|
||||
[Address(RVA = "0x119C890", Offset = "0x119B290", VA = "0x18119C890")]
|
||||
public IsolationWarningScreenLoginUIDialog()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400CA0C RID: 51724
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400CA0C")]
|
||||
[SerializeField]
|
||||
private TextMeshProUGUI titleText;
|
||||
|
||||
// Token: 0x0400CA0D RID: 51725
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400CA0D")]
|
||||
[SerializeField]
|
||||
private TextMeshProUGUI messageText;
|
||||
|
||||
// Token: 0x0400CA0E RID: 51726
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400CA0E")]
|
||||
[SerializeField]
|
||||
private GameObject[] objectsToDisable;
|
||||
|
||||
// Token: 0x0400CA0F RID: 51727
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400CA0F")]
|
||||
[SerializeField]
|
||||
private GameObject[] objectsToEnable;
|
||||
|
||||
// Token: 0x0400CA10 RID: 51728
|
||||
[Token(Token = "0x400CA10")]
|
||||
private static string NCOOGKOFHGN = "Success!";
|
||||
|
||||
// Token: 0x0400CA11 RID: 51729
|
||||
[Token(Token = "0x400CA11")]
|
||||
private static string OBBIAPFJJHD = "Your account is now on the Primary Server.";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user