scripts
This commit is contained in:
@@ -0,0 +1,404 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
// Token: 0x020005E1 RID: 1505
|
||||
[Token(Token = "0x20005E1")]
|
||||
[StructLayout(3)]
|
||||
public class GameScoreboardFooterView : ProjectorUIElementView
|
||||
{
|
||||
// Token: 0x170007E6 RID: 2022
|
||||
// (get) Token: 0x06002C88 RID: 11400 RVA: 0x000B9480 File Offset: 0x000B7680
|
||||
[Token(Token = "0x170007E6")]
|
||||
public bool IACEAIDALKK
|
||||
{
|
||||
[Token(Token = "0x6002C88")]
|
||||
[Address(RVA = "0x1CF4490", Offset = "0x1CF2E90", VA = "0x181CF4490")]
|
||||
get
|
||||
{
|
||||
if (!NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.allowDevsAndCommunityTeamToStartWhileWaitingForPlayers)
|
||||
{
|
||||
}
|
||||
bool flag;
|
||||
return flag;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06002C89 RID: 11401 RVA: 0x000B94A4 File Offset: 0x000B76A4
|
||||
[Token(Token = "0x6002C89")]
|
||||
[Address(RVA = "0x1CF3580", Offset = "0x1CF1F80", VA = "0x181CF3580")]
|
||||
public void SetGameModel(PLIDMGKBEAH GKNIHNHGBKC, GIDGPEJECKI PDPLCAPLMEL)
|
||||
{
|
||||
object[] array = new object[4];
|
||||
int mkcjnpbjiag = PDPLCAPLMEL.MKCJNPBJIAG;
|
||||
if (mkcjnpbjiag > 1)
|
||||
{
|
||||
string text = mkcjnpbjiag + " teams of ";
|
||||
}
|
||||
if ("" != 0)
|
||||
{
|
||||
}
|
||||
array[0] = "";
|
||||
int bleifbnicgm = PDPLCAPLMEL.BLEIFBNICGM;
|
||||
if (bleifbnicgm != 0)
|
||||
{
|
||||
}
|
||||
array[1] = bleifbnicgm;
|
||||
if (" player" != 0)
|
||||
{
|
||||
}
|
||||
array[2] = " player";
|
||||
string text2 = "";
|
||||
if (PDPLCAPLMEL.BLEIFBNICGM > 1)
|
||||
{
|
||||
text2 = "s";
|
||||
}
|
||||
if (text2 != 0)
|
||||
{
|
||||
}
|
||||
array[3] = text2;
|
||||
string text3 = string.Concat(array);
|
||||
if (GKNIHNHGBKC <= PLIDMGKBEAH.RESULTS)
|
||||
{
|
||||
GameObject gameObject = this.configRow;
|
||||
int num = 0;
|
||||
gameObject.SetActive(num != 0);
|
||||
string text4 = this.configText.text;
|
||||
ulong num2;
|
||||
this.buttonRow.SetActive(num2 != 0UL);
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView = this.switchNextMapButtonColumn;
|
||||
GameObject gameObject2 = this.nextMapLabelColumn;
|
||||
int num3 = 0;
|
||||
gameObject2.SetActive(num3 != 0);
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView2 = this.viewResultsButtonColumn;
|
||||
bool jbhdekbnaph = PDPLCAPLMEL.JBHDEKBNAPH;
|
||||
ulong num4;
|
||||
this.viewResultsButtonColumn.Button.interactable = num4 != 0UL;
|
||||
string text5 = this.viewResultsButtonColumn.ButtonText.text;
|
||||
NDMHMOJFOKC mdmmdpekicf = PDPLCAPLMEL.MDMMDPEKICF;
|
||||
if (!mdmmdpekicf.HHDKBJLDNPM)
|
||||
{
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView3 = this.joinGameButtonColumn;
|
||||
bool dnaamfhfhbo = mdmmdpekicf.DNAAMFHFHBO;
|
||||
ulong num5;
|
||||
this.joinGameButtonColumn.Button.interactable = num5 != 0UL;
|
||||
string text6 = this.joinGameButtonColumn.ButtonText.text;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView4 = this.startGameButtonColumn;
|
||||
NDMHMOJFOKC mdmmdpekicf2 = PDPLCAPLMEL.MDMMDPEKICF;
|
||||
Button button = this.startGameButtonColumn.Button;
|
||||
bool gacmjjjamob = mdmmdpekicf2.GACMJJJAMOB;
|
||||
button.interactable = gacmjjjamob;
|
||||
if (PDPLCAPLMEL.KKJJGNLJHDG)
|
||||
{
|
||||
}
|
||||
string text7 = this.startGameButtonColumn.ButtonText.text;
|
||||
NDMHMOJFOKC mdmmdpekicf3 = PDPLCAPLMEL.MDMMDPEKICF;
|
||||
Tooltip tooltip = this.startGameButtonTooltip;
|
||||
bool flag = !mdmmdpekicf3.GACMJJJAMOB;
|
||||
tooltip.enabled = flag;
|
||||
Tooltip tooltip2 = this.startGameButtonTooltip;
|
||||
string text8 = text3 + " required to start";
|
||||
tooltip2.Message = text8;
|
||||
GameObject gameObject3 = this.startGameEarlyButton.gameObject;
|
||||
bool canStartGameEarly = this.IACEAIDALKK;
|
||||
gameObject3.SetActive(canStartGameEarly);
|
||||
NDMHMOJFOKC mdmmdpekicf4 = PDPLCAPLMEL.MDMMDPEKICF;
|
||||
Button button2 = this.startGameEarlyButton;
|
||||
bool flag2 = !mdmmdpekicf4.GACMJJJAMOB;
|
||||
button2.interactable = flag2;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView5 = this.startOverGameButtonColumn;
|
||||
bool kkjjgnljhdg = PDPLCAPLMEL.KKJJGNLJHDG;
|
||||
if (PDPLCAPLMEL.MDMMDPEKICF.GACMJJJAMOB)
|
||||
{
|
||||
}
|
||||
}
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView6 = this.startGameButtonColumn;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView7 = this.startOverGameButtonColumn;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView8 = this.switchTeamButtonColumn;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView9 = this.joinGameButtonColumn;
|
||||
NDMHMOJFOKC mdmmdpekicf5 = PDPLCAPLMEL.MDMMDPEKICF;
|
||||
Button button3 = this.joinGameButtonColumn.Button;
|
||||
bool hmpkhgolhno = mdmmdpekicf5.HMPKHGOLHNO;
|
||||
button3.interactable = hmpkhgolhno;
|
||||
Text buttonText = this.joinGameButtonColumn.ButtonText;
|
||||
GameObject gameObject4 = this.configRow;
|
||||
int num6 = 0;
|
||||
gameObject4.SetActive(num6 != 0);
|
||||
ulong num7;
|
||||
this.buttonRow.SetActive(num7 != 0UL);
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView10 = this.viewResultsButtonColumn;
|
||||
bool jbhdekbnaph2 = PDPLCAPLMEL.JBHDEKBNAPH;
|
||||
ulong num8;
|
||||
this.viewResultsButtonColumn.Button.interactable = num8 != 0UL;
|
||||
string text9 = this.viewResultsButtonColumn.ButtonText.text;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView11 = this.joinGameButtonColumn;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView12 = this.switchNextMapButtonColumn;
|
||||
GameObject gameObject5 = this.nextMapLabelColumn;
|
||||
int num9 = 0;
|
||||
gameObject5.SetActive(num9 != 0);
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView13 = this.startGameButtonColumn;
|
||||
Button button4 = this.startGameButtonColumn.Button;
|
||||
int num10 = 0;
|
||||
button4.interactable = num10 != 0;
|
||||
ulong num11;
|
||||
this.startGameButtonTooltip.enabled = num11 != 0UL;
|
||||
Tooltip tooltip3 = this.startGameButtonTooltip;
|
||||
string text10 = text3 + " required to start";
|
||||
tooltip3.Message = text10;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView14 = this.startOverGameButtonColumn;
|
||||
GameObject gameObject6 = this.startGameEarlyButton.gameObject;
|
||||
bool canStartGameEarly2 = this.IACEAIDALKK;
|
||||
gameObject6.SetActive(canStartGameEarly2);
|
||||
Button button5 = this.startGameEarlyButton;
|
||||
bool canStartGameEarly3 = this.IACEAIDALKK;
|
||||
button5.interactable = canStartGameEarly3;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView15 = this.switchTeamButtonColumn;
|
||||
bool flag3 = PDPLCAPLMEL.FBFLBONLBHF;
|
||||
NDMHMOJFOKC mdmmdpekicf6 = PDPLCAPLMEL.MDMMDPEKICF;
|
||||
Button button6 = this.switchTeamButtonColumn.Button;
|
||||
bool ifbjkipbjbh = mdmmdpekicf6.IFBJKIPBJBH;
|
||||
button6.interactable = ifbjkipbjbh;
|
||||
ulong num12;
|
||||
this.configRow.SetActive(num12 != 0UL);
|
||||
string text11 = this.configText.text;
|
||||
NDMHMOJFOKC mdmmdpekicf7 = PDPLCAPLMEL.MDMMDPEKICF;
|
||||
GameObject gameObject7 = this.buttonRow;
|
||||
bool flag4 = !mdmmdpekicf7.HHDKBJLDNPM;
|
||||
gameObject7.SetActive(flag4);
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView16 = this.viewResultsButtonColumn;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView17 = this.startGameButtonColumn;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView18 = this.startOverGameButtonColumn;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView19 = this.joinGameButtonColumn;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView20 = this.switchNextMapButtonColumn;
|
||||
GameObject gameObject8 = this.nextMapLabelColumn;
|
||||
int num13 = 0;
|
||||
gameObject8.SetActive(num13 != 0);
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView21 = this.switchTeamButtonColumn;
|
||||
bool flag5 = PDPLCAPLMEL.FBFLBONLBHF;
|
||||
Button button7 = this.switchTeamButtonColumn.Button;
|
||||
int num14 = 0;
|
||||
button7.interactable = num14 != 0;
|
||||
ulong num15;
|
||||
this.configRow.SetActive(num15 != 0UL);
|
||||
string text12 = this.configText.text;
|
||||
if (PDPLCAPLMEL.ABBDFIHJELG && PDPLCAPLMEL.MDMMDPEKICF.IFBJKIPBJBH)
|
||||
{
|
||||
GameObject gameObject9 = this.buttonRow;
|
||||
NDMHMOJFOKC mdmmdpekicf8 = PDPLCAPLMEL.MDMMDPEKICF;
|
||||
if (mdmmdpekicf8.HHDKBJLDNPM)
|
||||
{
|
||||
goto IL_55B;
|
||||
}
|
||||
string aelmjjhidcc = PDPLCAPLMEL.AELMJJHIDCC;
|
||||
GameObject gameObject10 = this.configRow;
|
||||
bool flag6 = mdmmdpekicf8 == 0;
|
||||
gameObject10.SetActive(flag6);
|
||||
if (mdmmdpekicf8 == 0)
|
||||
{
|
||||
string aelmjjhidcc2 = PDPLCAPLMEL.AELMJJHIDCC;
|
||||
Text text13 = this.configText;
|
||||
string text14 = aelmjjhidcc2.ToUpper();
|
||||
string text15 = text13.text;
|
||||
}
|
||||
}
|
||||
GameObject gameObject11 = this.buttonRow;
|
||||
int num16 = 0;
|
||||
gameObject11.SetActive(num16 != 0);
|
||||
IL_55B:
|
||||
GameObject gameObject12 = this.configRow;
|
||||
int num17 = 0;
|
||||
gameObject12.SetActive(num17 != 0);
|
||||
ulong num18;
|
||||
this.buttonRow.SetActive(num18 != 0UL);
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView22 = this.startGameButtonColumn;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView23 = this.startOverGameButtonColumn;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView24 = this.switchTeamButtonColumn;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView25 = this.switchNextMapButtonColumn;
|
||||
GameObject gameObject13 = this.nextMapLabelColumn;
|
||||
int num19 = 0;
|
||||
gameObject13.SetActive(num19 != 0);
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView26 = this.joinGameButtonColumn;
|
||||
if (!PDPLCAPLMEL.NFEDDGPMEFF)
|
||||
{
|
||||
}
|
||||
bool hmpkhgolhno2 = PDPLCAPLMEL.MDMMDPEKICF.HMPKHGOLHNO;
|
||||
Text buttonText2 = this.joinGameButtonColumn.ButtonText;
|
||||
bool flag7 = hmpkhgolhno2;
|
||||
string text16 = buttonText2.text;
|
||||
this.joinGameButtonColumn.Button.interactable = flag7;
|
||||
GameObject gameObject14 = this.configRow;
|
||||
int num20 = 0;
|
||||
gameObject14.SetActive(num20 != 0);
|
||||
GameObject gameObject15 = this.configRow;
|
||||
int num21 = 0;
|
||||
gameObject15.SetActive(num21 != 0);
|
||||
ulong num22;
|
||||
this.buttonRow.SetActive(num22 != 0UL);
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView27 = this.joinGameButtonColumn;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView28 = this.startGameButtonColumn;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView29 = this.startOverGameButtonColumn;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView30 = this.switchTeamButtonColumn;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView31 = this.switchNextMapButtonColumn;
|
||||
GameObject gameObject16 = this.nextMapLabelColumn;
|
||||
int num23 = 0;
|
||||
gameObject16.SetActive(num23 != 0);
|
||||
ulong num24;
|
||||
gameObject16.SetActive(num24 != 0UL);
|
||||
ulong num25;
|
||||
this.nextMapLabelColumn.SetActive(num25 != 0UL);
|
||||
Text text17 = this.nextMapLabelText;
|
||||
string text19;
|
||||
string text18 = "NEXT MAP: " + text19;
|
||||
string text20 = text17.text;
|
||||
GameScoreboardFooterView.ButtonColumnView buttonColumnView32 = this.viewResultsButtonColumn;
|
||||
bool flag8 = GKNIHNHGBKC != PLIDMGKBEAH.RESULTS_LOCKED;
|
||||
ulong num26;
|
||||
this.viewResultsButtonColumn.Button.interactable = num26 != 0UL;
|
||||
string text21 = this.viewResultsButtonColumn.ButtonText.text;
|
||||
}
|
||||
int num27 = 0;
|
||||
base.AKFAIDJOBLB(num27 != 0);
|
||||
}
|
||||
|
||||
// Token: 0x06002C8A RID: 11402 RVA: 0x000B9BB8 File Offset: 0x000B7DB8
|
||||
[Token(Token = "0x6002C8A")]
|
||||
[Address(RVA = "0x125C7E0", Offset = "0x125B1E0", VA = "0x18125C7E0")]
|
||||
public GameScoreboardFooterView()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400257E RID: 9598
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x400257E")]
|
||||
[SerializeField]
|
||||
[Header("Text")]
|
||||
private GameObject configRow;
|
||||
|
||||
// Token: 0x0400257F RID: 9599
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x400257F")]
|
||||
[SerializeField]
|
||||
private Text configText;
|
||||
|
||||
// Token: 0x04002580 RID: 9600
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4002580")]
|
||||
[SerializeField]
|
||||
[Header("Buttons")]
|
||||
private GameObject buttonRow;
|
||||
|
||||
// Token: 0x04002581 RID: 9601
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x4002581")]
|
||||
[SerializeField]
|
||||
private GameScoreboardFooterView.ButtonColumnView joinGameButtonColumn;
|
||||
|
||||
// Token: 0x04002582 RID: 9602
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x4002582")]
|
||||
[SerializeField]
|
||||
private GameScoreboardFooterView.ButtonColumnView startGameButtonColumn;
|
||||
|
||||
// Token: 0x04002583 RID: 9603
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x98")]
|
||||
[Token(Token = "0x4002583")]
|
||||
[SerializeField]
|
||||
private GameScoreboardFooterView.ButtonColumnView startOverGameButtonColumn;
|
||||
|
||||
// Token: 0x04002584 RID: 9604
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB0")]
|
||||
[Token(Token = "0x4002584")]
|
||||
[SerializeField]
|
||||
private Button startGameEarlyButton;
|
||||
|
||||
// Token: 0x04002585 RID: 9605
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB8")]
|
||||
[Token(Token = "0x4002585")]
|
||||
[SerializeField]
|
||||
private GameScoreboardFooterView.ButtonColumnView switchTeamButtonColumn;
|
||||
|
||||
// Token: 0x04002586 RID: 9606
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD0")]
|
||||
[Token(Token = "0x4002586")]
|
||||
[SerializeField]
|
||||
private GameScoreboardFooterView.ButtonColumnView switchNextMapButtonColumn;
|
||||
|
||||
// Token: 0x04002587 RID: 9607
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xE8")]
|
||||
[Token(Token = "0x4002587")]
|
||||
[SerializeField]
|
||||
private GameObject nextMapLabelColumn;
|
||||
|
||||
// Token: 0x04002588 RID: 9608
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xF0")]
|
||||
[Token(Token = "0x4002588")]
|
||||
[SerializeField]
|
||||
private Text nextMapLabelText;
|
||||
|
||||
// Token: 0x04002589 RID: 9609
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xF8")]
|
||||
[Token(Token = "0x4002589")]
|
||||
[SerializeField]
|
||||
private GameScoreboardFooterView.ButtonColumnView viewResultsButtonColumn;
|
||||
|
||||
// Token: 0x0400258A RID: 9610
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x110")]
|
||||
[Token(Token = "0x400258A")]
|
||||
[SerializeField]
|
||||
private Tooltip startGameButtonTooltip;
|
||||
|
||||
// Token: 0x0400258B RID: 9611
|
||||
[Token(Token = "0x400258B")]
|
||||
private static string JCLIGMDNIFP = "JOINING...";
|
||||
|
||||
// Token: 0x0400258C RID: 9612
|
||||
[Token(Token = "0x400258C")]
|
||||
private static string HADLPMEHMCC = "JOIN";
|
||||
|
||||
// Token: 0x0400258D RID: 9613
|
||||
[Token(Token = "0x400258D")]
|
||||
private static string HOELKGAABBN = "SPECTATE";
|
||||
|
||||
// Token: 0x0400258E RID: 9614
|
||||
[Token(Token = "0x400258E")]
|
||||
private static string CHNGLINOIDA = "NEXT";
|
||||
|
||||
// Token: 0x0400258F RID: 9615
|
||||
[Token(Token = "0x400258F")]
|
||||
private static string BENEJCBDPOD = "RESULTS";
|
||||
|
||||
// Token: 0x04002590 RID: 9616
|
||||
[Token(Token = "0x4002590")]
|
||||
private static string AGIDJMJJMNN = "START";
|
||||
|
||||
// Token: 0x04002591 RID: 9617
|
||||
[Token(Token = "0x4002591")]
|
||||
private static string BHCDECIEFKI = "CONTINUE";
|
||||
|
||||
// Token: 0x04002592 RID: 9618
|
||||
[Token(Token = "0x4002592")]
|
||||
private static string DIOEBAIIDNJ = " required to start";
|
||||
|
||||
// Token: 0x020005E2 RID: 1506
|
||||
[Token(Token = "0x20005E2")]
|
||||
[Serializable]
|
||||
private struct ButtonColumnView
|
||||
{
|
||||
// Token: 0x04002593 RID: 9619
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4002593")]
|
||||
public GameObject ButtonColumn;
|
||||
|
||||
// Token: 0x04002594 RID: 9620
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4002594")]
|
||||
public Button Button;
|
||||
|
||||
// Token: 0x04002595 RID: 9621
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4002595")]
|
||||
public Text ButtonText;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user