403 lines
14 KiB
C#
403 lines
14 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
// Token: 0x020005E4 RID: 1508
|
|
[Token(Token = "0x20005E4")]
|
|
public class GameScoreboardFooterView : ProjectorUIElementView
|
|
{
|
|
// Token: 0x170007D2 RID: 2002
|
|
// (get) Token: 0x06002CF2 RID: 11506 RVA: 0x000B6C40 File Offset: 0x000B4E40
|
|
[Token(Token = "0x170007D2")]
|
|
public bool IACEAIDALKK
|
|
{
|
|
[Token(Token = "0x6002CF2")]
|
|
[Address(RVA = "0x195D4A0", Offset = "0x195C4A0", VA = "0x18195D4A0")]
|
|
get
|
|
{
|
|
if (!NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.allowDevsAndCommunityTeamToStartWhileWaitingForPlayers)
|
|
{
|
|
}
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002CF3 RID: 11507 RVA: 0x000B6C64 File Offset: 0x000B4E64
|
|
[Token(Token = "0x6002CF3")]
|
|
[Address(RVA = "0x195C680", Offset = "0x195B680", VA = "0x18195C680")]
|
|
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: 0x06002CF4 RID: 11508 RVA: 0x000B7378 File Offset: 0x000B5578
|
|
[Token(Token = "0x6002CF4")]
|
|
[Address(RVA = "0x140C8A0", Offset = "0x140B8A0", VA = "0x18140C8A0")]
|
|
public GameScoreboardFooterView()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400243E RID: 9278
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x400243E")]
|
|
[SerializeField]
|
|
[Header("Text")]
|
|
private GameObject configRow;
|
|
|
|
// Token: 0x0400243F RID: 9279
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x400243F")]
|
|
[SerializeField]
|
|
private Text configText;
|
|
|
|
// Token: 0x04002440 RID: 9280
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x4002440")]
|
|
[SerializeField]
|
|
[Header("Buttons")]
|
|
private GameObject buttonRow;
|
|
|
|
// Token: 0x04002441 RID: 9281
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4002441")]
|
|
[SerializeField]
|
|
private GameScoreboardFooterView.ButtonColumnView joinGameButtonColumn;
|
|
|
|
// Token: 0x04002442 RID: 9282
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x4002442")]
|
|
[SerializeField]
|
|
private GameScoreboardFooterView.ButtonColumnView startGameButtonColumn;
|
|
|
|
// Token: 0x04002443 RID: 9283
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x4002443")]
|
|
[SerializeField]
|
|
private GameScoreboardFooterView.ButtonColumnView startOverGameButtonColumn;
|
|
|
|
// Token: 0x04002444 RID: 9284
|
|
[FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x4002444")]
|
|
[SerializeField]
|
|
private Button startGameEarlyButton;
|
|
|
|
// Token: 0x04002445 RID: 9285
|
|
[FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x4002445")]
|
|
[SerializeField]
|
|
private GameScoreboardFooterView.ButtonColumnView switchTeamButtonColumn;
|
|
|
|
// Token: 0x04002446 RID: 9286
|
|
[FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x4002446")]
|
|
[SerializeField]
|
|
private GameScoreboardFooterView.ButtonColumnView switchNextMapButtonColumn;
|
|
|
|
// Token: 0x04002447 RID: 9287
|
|
[FieldOffset(Offset = "0xE8")]
|
|
[Token(Token = "0x4002447")]
|
|
[SerializeField]
|
|
private GameObject nextMapLabelColumn;
|
|
|
|
// Token: 0x04002448 RID: 9288
|
|
[FieldOffset(Offset = "0xF0")]
|
|
[Token(Token = "0x4002448")]
|
|
[SerializeField]
|
|
private Text nextMapLabelText;
|
|
|
|
// Token: 0x04002449 RID: 9289
|
|
[FieldOffset(Offset = "0xF8")]
|
|
[Token(Token = "0x4002449")]
|
|
[SerializeField]
|
|
private GameScoreboardFooterView.ButtonColumnView viewResultsButtonColumn;
|
|
|
|
// Token: 0x0400244A RID: 9290
|
|
[FieldOffset(Offset = "0x110")]
|
|
[Token(Token = "0x400244A")]
|
|
[SerializeField]
|
|
private Tooltip startGameButtonTooltip;
|
|
|
|
// Token: 0x0400244B RID: 9291
|
|
[Token(Token = "0x400244B")]
|
|
private const string JCLIGMDNIFP = "JOINING...";
|
|
|
|
// Token: 0x0400244C RID: 9292
|
|
[Token(Token = "0x400244C")]
|
|
private const string HADLPMEHMCC = "JOIN";
|
|
|
|
// Token: 0x0400244D RID: 9293
|
|
[Token(Token = "0x400244D")]
|
|
private const string HOELKGAABBN = "SPECTATE";
|
|
|
|
// Token: 0x0400244E RID: 9294
|
|
[Token(Token = "0x400244E")]
|
|
private const string CHNGLINOIDA = "NEXT";
|
|
|
|
// Token: 0x0400244F RID: 9295
|
|
[Token(Token = "0x400244F")]
|
|
private const string BENEJCBDPOD = "RESULTS";
|
|
|
|
// Token: 0x04002450 RID: 9296
|
|
[Token(Token = "0x4002450")]
|
|
private const string AGIDJMJJMNN = "START";
|
|
|
|
// Token: 0x04002451 RID: 9297
|
|
[Token(Token = "0x4002451")]
|
|
private const string BHCDECIEFKI = "CONTINUE";
|
|
|
|
// Token: 0x04002452 RID: 9298
|
|
[Token(Token = "0x4002452")]
|
|
private const string DIOEBAIIDNJ = " required to start";
|
|
|
|
// Token: 0x020005E5 RID: 1509
|
|
[Token(Token = "0x20005E5")]
|
|
[Serializable]
|
|
private struct ButtonColumnView
|
|
{
|
|
// Token: 0x04002453 RID: 9299
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4002453")]
|
|
public GameObject ButtonColumn;
|
|
|
|
// Token: 0x04002454 RID: 9300
|
|
[FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x4002454")]
|
|
public Button Button;
|
|
|
|
// Token: 0x04002455 RID: 9301
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4002455")]
|
|
public Text ButtonText;
|
|
}
|
|
}
|