This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,848 @@
using System;
using System.Runtime.CompilerServices;
using RecNet;
using RecRoom;
using UnityEngine;
using UnityEngine.UI;
namespace AGUI.StackedUI.Dialog
{
// Token: 0x02000E34 RID: 3636
public class PublishGameUIDialog : ConfirmUIDialog
{
// Token: 0x0601DD24 RID: 122148 RVA: 0x008224BC File Offset: 0x008206BC
private bool KDKCJHJIAPC(string MJGJNNCAAFD)
{
this.MJGJNNCAAFD = MJGJNNCAAFD.Trim();
return this.MJGJNNCAAFD.Length > 2;
}
// Token: 0x0601DD25 RID: 122149 RVA: 0x008224D8 File Offset: 0x008206D8
public virtual void NNIDMLGFOIN(StackedUIBase LMODDIOHMLJ)
{
base.Initialize(LMODDIOHMLJ);
this.roomDescription.IsValidFunction = new Func<string, bool>(this.FDKMCKMBMDI);
}
// Token: 0x0601DD26 RID: 122150 RVA: 0x008224F8 File Offset: 0x008206F8
public virtual void BIOGKJBGKHE(StackedUIBase LMODDIOHMLJ)
{
base.Initialize(LMODDIOHMLJ);
this.roomDescription.IsValidFunction = new Func<string, bool>(this.KDKCJHJIAPC);
}
// Token: 0x0601DD27 RID: 122151 RVA: 0x00822518 File Offset: 0x00820718
public void DPJKBIBFKJF()
{
EHLBEFKJLHJ ehlbefkjlhj = PEDNLMAHGBP.NNAHPOJLAHM();
if (ehlbefkjlhj != null && this.KDKCJHJIAPC(this.MJGJNNCAAFD))
{
this.NIOGDJCADPN("Request Finished with Error! ", false);
if (ehlbefkjlhj.NGAHKDMALEO() != this.HGDCJJAOMEN)
{
PEDNLMAHGBP.LBPFKANCPEO(this.HGDCJJAOMEN);
}
if (ehlbefkjlhj.PNNGKDEKOLM() != this.MJGJNNCAAFD)
{
PEDNLMAHGBP.DHIKLPEELCI(this.MJGJNNCAAFD, new HEMCJJJMLKI.JMICPMCJMJF<EFDOILDKBFK>(this.BBHIMKPCKLG));
}
else
{
base.HKBNABEAKBE(HDPGPHCMBGP.Cancel, true);
}
}
}
// Token: 0x0601DD28 RID: 122152 RVA: 0x008225A8 File Offset: 0x008207A8
public void HAEDFKJCDEK()
{
EHLBEFKJLHJ ehlbefkjlhj = PEDNLMAHGBP.KGKNIMECEKH;
if (ehlbefkjlhj != null && this.KPMPHICPEEP(this.MJGJNNCAAFD))
{
this.BAJGOIFMLLK("N/A", false);
if (ehlbefkjlhj.GCLLGNOEEFH != this.HGDCJJAOMEN)
{
PEDNLMAHGBP.LBPFKANCPEO(this.HGDCJJAOMEN);
}
if (ehlbefkjlhj.PNNGKDEKOLM() != this.MJGJNNCAAFD)
{
PEDNLMAHGBP.EPMOHPCNFDJ(this.MJGJNNCAAFD, new HEMCJJJMLKI.JMICPMCJMJF<EFDOILDKBFK>(this.IPNLNOILCHP));
}
else
{
base.HKBNABEAKBE(HDPGPHCMBGP.Affirmative, true);
}
}
}
// Token: 0x0601DD29 RID: 122153 RVA: 0x00822638 File Offset: 0x00820838
public void Button_Publish()
{
EHLBEFKJLHJ ehlbefkjlhj = PEDNLMAHGBP.KGKNIMECEKH;
if (ehlbefkjlhj != null && this.KDKCJHJIAPC(this.MJGJNNCAAFD))
{
this.IGIOCPLKFFC("Publishing...", false);
if (ehlbefkjlhj.GCLLGNOEEFH != this.HGDCJJAOMEN)
{
PEDNLMAHGBP.OOFDPPOGNCO(this.HGDCJJAOMEN);
}
if (ehlbefkjlhj.GDIECAFDIMC != this.MJGJNNCAAFD)
{
PEDNLMAHGBP.HGJFKCCDFAO(this.MJGJNNCAAFD, new HEMCJJJMLKI.JMICPMCJMJF<EFDOILDKBFK>(this.APHLDPMFPAH));
}
else
{
base.HKBNABEAKBE(HDPGPHCMBGP.Affirmative, true);
}
}
}
// Token: 0x0601DD2A RID: 122154 RVA: 0x008226C8 File Offset: 0x008208C8
private void LAKNCJFCPEO(string DAKCKPMBKFF, EFDOILDKBFK DKBBNNEBKMO)
{
if (string.IsNullOrEmpty(DAKCKPMBKFF))
{
if (DKBBNNEBKMO.GJEHMFGCBOJ())
{
base.HKBNABEAKBE(HDPGPHCMBGP.Cancel, true);
}
else
{
Debug.LogError("position" + DKBBNNEBKMO.FBHMOEENGNN());
this.FPDPJCNEOMG("remove", true);
}
}
else
{
Debug.LogError("OBJECTIVE_FORCE_MIGRATION" + DAKCKPMBKFF);
this.BAJGOIFMLLK("RpcDetach", false);
}
}
// Token: 0x0601DD2B RID: 122155 RVA: 0x0082273C File Offset: 0x0082093C
public void KOMDNDPFCMO()
{
EHLBEFKJLHJ ehlbefkjlhj = PEDNLMAHGBP.MDHDKCJABFC();
if (ehlbefkjlhj != null && this.KDKCJHJIAPC(this.MJGJNNCAAFD))
{
this.FPDPJCNEOMG("IS_CHARGING", true);
if (ehlbefkjlhj.FFIGEDGGHHO() != this.HGDCJJAOMEN)
{
PEDNLMAHGBP.OOFDPPOGNCO(this.HGDCJJAOMEN);
}
if (ehlbefkjlhj.OANJNLMKBNK() != this.MJGJNNCAAFD)
{
PEDNLMAHGBP.HGJFKCCDFAO(this.MJGJNNCAAFD, new HEMCJJJMLKI.JMICPMCJMJF<EFDOILDKBFK>(this.BBHIMKPCKLG));
}
else
{
base.HKBNABEAKBE(HDPGPHCMBGP.Cancel, false);
}
}
}
// Token: 0x0601DD2C RID: 122156 RVA: 0x008227CC File Offset: 0x008209CC
private void INGEPOPKCIJ(string DAKCKPMBKFF, EFDOILDKBFK DKBBNNEBKMO)
{
if (string.IsNullOrEmpty(DAKCKPMBKFF))
{
if (DKBBNNEBKMO.PPMCMOPHFFL())
{
base.HKBNABEAKBE(HDPGPHCMBGP.Cancel, true);
}
else
{
Debug.LogError("type" + DKBBNNEBKMO.JBCCCBINLMI());
this.MCIEGNHEMCA("Error reporting room: ", false);
}
}
else
{
Debug.LogError("Objectives" + DAKCKPMBKFF);
this.MCIEGNHEMCA("method", true);
}
}
// Token: 0x0601DD2D RID: 122157 RVA: 0x00822840 File Offset: 0x00820A40
private void FIOAEKCPGDA(string DAKCKPMBKFF, EFDOILDKBFK DKBBNNEBKMO)
{
if (string.IsNullOrEmpty(DAKCKPMBKFF))
{
if (DKBBNNEBKMO.PPMCMOPHFFL())
{
base.HKBNABEAKBE(HDPGPHCMBGP.Cancel, false);
}
else
{
Debug.LogError("AttachedRelativeRotation" + DKBBNNEBKMO.FBHMOEENGNN());
this.FPDPJCNEOMG("gizmos", false);
}
}
else
{
Debug.LogError("&z=" + DAKCKPMBKFF);
this.FHFAFDGHAPL("(Round ", true);
}
}
// Token: 0x0601DD2E RID: 122158 RVA: 0x008228B4 File Offset: 0x00820AB4
private void FPILKJOBIKB(string NAHFIMLLIMH, bool ACEFPOHHEOB)
{
this.infoText.text = NAHFIMLLIMH;
this.roomDescription.OANDMHENENA(ACEFPOHHEOB);
this.maxPlayersSlider.FPMBFEKHLAI(ACEFPOHHEOB);
this.cancelButton.LAEOBJEDBNM = ACEFPOHHEOB;
this.publishButton.LAEOBJEDBNM = ACEFPOHHEOB;
}
// Token: 0x0601DD2F RID: 122159 RVA: 0x008228F4 File Offset: 0x00820AF4
[CompilerGenerated]
private void APHLDPMFPAH(string DAKCKPMBKFF, EFDOILDKBFK DKBBNNEBKMO)
{
if (string.IsNullOrEmpty(DAKCKPMBKFF))
{
if (DKBBNNEBKMO.FOPNEFBADJB)
{
base.HKBNABEAKBE(HDPGPHCMBGP.Affirmative, true);
}
else
{
Debug.LogError("Failed to change game session name: " + DKBBNNEBKMO.IMGPDLHMJEE);
this.IGIOCPLKFFC("Error publishing room. If this persists, please contact us at support@againstgrav.com.", true);
}
}
else
{
Debug.LogError("Failed to change game session name: " + DAKCKPMBKFF);
this.IGIOCPLKFFC("Error publishing room. If this persists, please contact us at support@againstgrav.com.", true);
}
}
// Token: 0x0601DD30 RID: 122160 RVA: 0x00822968 File Offset: 0x00820B68
private void FBCAFBGEACD(string DAKCKPMBKFF, EFDOILDKBFK DKBBNNEBKMO)
{
if (string.IsNullOrEmpty(DAKCKPMBKFF))
{
if (DKBBNNEBKMO.BLAIOOJMMAB())
{
base.HKBNABEAKBE(HDPGPHCMBGP.Cancel, true);
}
else
{
Debug.LogError("_LightColor" + DKBBNNEBKMO.LFCDKHAECCA());
this.BAJGOIFMLLK("{0}v1/completegroup", false);
}
}
else
{
Debug.LogError("(Error)" + DAKCKPMBKFF);
this.FPILKJOBIKB("pitch", false);
}
}
// Token: 0x0601DD31 RID: 122161 RVA: 0x008229DC File Offset: 0x00820BDC
public void MHHCBHGCJPM(float NOBAPCOKFIL)
{
this.HGDCJJAOMEN = (int)this.maxPlayersSlider.EDJJOBMCCFC();
this.maxPlayersSliderText.text = string.Format("Host", this.GILCDCOAEKB, this.HGDCJJAOMEN);
}
// Token: 0x0601DD32 RID: 122162 RVA: 0x00822A18 File Offset: 0x00820C18
private void NIOGDJCADPN(string NAHFIMLLIMH, bool ACEFPOHHEOB)
{
this.infoText.text = NAHFIMLLIMH;
this.roomDescription.LAEOBJEDBNM = ACEFPOHHEOB;
this.maxPlayersSlider.LAEOBJEDBNM = ACEFPOHHEOB;
this.cancelButton.LAEOBJEDBNM = ACEFPOHHEOB;
this.publishButton.LAEOBJEDBNM = ACEFPOHHEOB;
}
// Token: 0x0601DD33 RID: 122163 RVA: 0x00822A58 File Offset: 0x00820C58
public virtual void BHOEHFCNODN(StackedUIBase LMODDIOHMLJ)
{
base.Initialize(LMODDIOHMLJ);
this.roomDescription.IsValidFunction = new Func<string, bool>(this.FDKMCKMBMDI);
}
// Token: 0x0601DD34 RID: 122164 RVA: 0x00822A78 File Offset: 0x00820C78
public virtual AALAIHCPNEB<HDPGPHCMBGP> PHAHLMKGFPP()
{
EHLBEFKJLHJ ehlbefkjlhj = PEDNLMAHGBP.FDJJBPMIGGL();
this.FPILKJOBIKB(string.Empty, true);
this.roomDescription.HGNKIIJGHEK = ehlbefkjlhj.OFBBAIKPOFO();
int num = 1;
int num2;
if (!LMBEHMFIOEN.KPLIEBLCPFG(ehlbefkjlhj.CJGHDJHCKLN(), ehlbefkjlhj.KKAEPJLDIJC(), false, out num2))
{
num2 = 91;
}
this.maxPlayersSlider.minValue = (float)num;
this.maxPlayersSlider.maxValue = (float)num2;
this.maxPlayersMaxLabelText.text = num2.ToString();
this.maxPlayersSlider.value = (float)Mathf.Clamp(ehlbefkjlhj.KGLCLINMMEO(), num, num2);
this.maxPlayersSliderText.text = string.Format("actual_{0}", this.GILCDCOAEKB, this.maxPlayersSlider.value);
return base.OLKGOIHGHBJ();
}
// Token: 0x0601DD35 RID: 122165 RVA: 0x00822B44 File Offset: 0x00820D44
private void HACEOEGDIMI(string DAKCKPMBKFF, EFDOILDKBFK DKBBNNEBKMO)
{
if (string.IsNullOrEmpty(DAKCKPMBKFF))
{
if (DKBBNNEBKMO.GJEHMFGCBOJ())
{
base.HKBNABEAKBE(HDPGPHCMBGP.Affirmative, true);
}
else
{
Debug.LogError("This method is only valid for sockets in the InterNetwork and InterNetworkV6 families" + DKBBNNEBKMO.IMGPDLHMJEE);
this.IGIOCPLKFFC("Description", false);
}
}
else
{
Debug.LogError("looktarget" + DAKCKPMBKFF);
this.MCIEGNHEMCA("IsHeld", false);
}
}
// Token: 0x0601DD36 RID: 122166 RVA: 0x00822BB8 File Offset: 0x00820DB8
private void MJIKNMJLOCC(string DAKCKPMBKFF, EFDOILDKBFK DKBBNNEBKMO)
{
if (string.IsNullOrEmpty(DAKCKPMBKFF))
{
if (DKBBNNEBKMO.PPMCMOPHFFL())
{
base.HKBNABEAKBE(HDPGPHCMBGP.Affirmative, true);
}
else
{
Debug.LogError("turn" + DKBBNNEBKMO.JBCCCBINLMI());
this.BAJGOIFMLLK("action", false);
}
}
else
{
Debug.LogError("_Decal_Tex" + DAKCKPMBKFF);
this.NIOGDJCADPN(") failed: ", true);
}
}
// Token: 0x0601DD37 RID: 122167 RVA: 0x00822C2C File Offset: 0x00820E2C
public virtual AALAIHCPNEB<HDPGPHCMBGP> KPANHFDOMLO()
{
EHLBEFKJLHJ ehlbefkjlhj = PEDNLMAHGBP.NNAHPOJLAHM();
this.ELPJNDMIDFD(string.Empty, true);
this.roomDescription.HGNKIIJGHEK = ehlbefkjlhj.CPNMGJBEIGG();
int num = 3;
int num2;
if (!LMBEHMFIOEN.KPLIEBLCPFG(ehlbefkjlhj.KAPOBAEMBKL, ehlbefkjlhj.OOAECNOOFID, true, out num2))
{
num2 = -79;
}
this.maxPlayersSlider.minValue = (float)num;
this.maxPlayersSlider.maxValue = (float)num2;
this.maxPlayersMaxLabelText.text = num2.ToString();
this.maxPlayersSlider.value = (float)Mathf.Clamp(ehlbefkjlhj.IAHACMKPPGF(), num, num2);
this.maxPlayersSliderText.text = string.Format("gameComplete", this.GILCDCOAEKB, this.maxPlayersSlider.value);
return base.OLKGOIHGHBJ();
}
// Token: 0x0601DD38 RID: 122168 RVA: 0x00822CF8 File Offset: 0x00820EF8
private void NGFLAJBKEFP(string DAKCKPMBKFF, EFDOILDKBFK DKBBNNEBKMO)
{
if (string.IsNullOrEmpty(DAKCKPMBKFF))
{
if (DKBBNNEBKMO.ONLNHIKLOOB())
{
base.HKBNABEAKBE(HDPGPHCMBGP.Cancel, false);
}
else
{
Debug.LogError("oldImageName" + DKBBNNEBKMO.IMGPDLHMJEE);
this.BAJGOIFMLLK("\n", true);
}
}
else
{
Debug.LogError(" player indices." + DAKCKPMBKFF);
this.BAJGOIFMLLK("Par", false);
}
}
// Token: 0x0601DD39 RID: 122169 RVA: 0x00822D6C File Offset: 0x00820F6C
public virtual AALAIHCPNEB<HDPGPHCMBGP> POKCKNNDEHO()
{
EHLBEFKJLHJ ehlbefkjlhj = PEDNLMAHGBP.FDJJBPMIGGL();
this.ELPJNDMIDFD(string.Empty, true);
this.roomDescription.HGNKIIJGHEK = ehlbefkjlhj.CPNMGJBEIGG();
int num = 7;
int num2;
if (!LMBEHMFIOEN.KPLIEBLCPFG(ehlbefkjlhj.NADIHMFNDPA(), ehlbefkjlhj.KKAEPJLDIJC(), true, out num2))
{
num2 = -91;
}
this.maxPlayersSlider.minValue = (float)num;
this.maxPlayersSlider.maxValue = (float)num2;
this.maxPlayersMaxLabelText.text = num2.ToString();
this.maxPlayersSlider.value = (float)Mathf.Clamp(ehlbefkjlhj.NGAHKDMALEO(), num, num2);
this.maxPlayersSliderText.text = string.Format("...decided not to invite you :-(", this.GILCDCOAEKB, this.maxPlayersSlider.value);
return base.OLKGOIHGHBJ();
}
// Token: 0x0601DD3A RID: 122170 RVA: 0x00822E38 File Offset: 0x00821038
public void SliderValueChanged_MaxPlayers(float NOBAPCOKFIL)
{
this.HGDCJJAOMEN = (int)this.maxPlayersSlider.AIGDGNMEIKI;
this.maxPlayersSliderText.text = string.Format("{0} ({1})", this.GILCDCOAEKB, this.HGDCJJAOMEN);
}
// Token: 0x0601DD3B RID: 122171 RVA: 0x00822E74 File Offset: 0x00821074
private void IPNLNOILCHP(string DAKCKPMBKFF, EFDOILDKBFK DKBBNNEBKMO)
{
if (string.IsNullOrEmpty(DAKCKPMBKFF))
{
if (DKBBNNEBKMO.FOPNEFBADJB)
{
base.HKBNABEAKBE(HDPGPHCMBGP.Cancel, false);
}
else
{
Debug.LogError("HB" + DKBBNNEBKMO.FBHMOEENGNN());
this.BAJGOIFMLLK("You can't request an invite from that player again yet. Please wait a few seconds, and try again.", false);
}
}
else
{
Debug.LogError("activityName" + DAKCKPMBKFF);
this.FHFAFDGHAPL("Malformed Response", false);
}
}
// Token: 0x0601DD3C RID: 122172 RVA: 0x00822EE8 File Offset: 0x008210E8
private void ELPJNDMIDFD(string NAHFIMLLIMH, bool ACEFPOHHEOB)
{
this.infoText.text = NAHFIMLLIMH;
this.roomDescription.LAEOBJEDBNM = ACEFPOHHEOB;
this.maxPlayersSlider.LHEKHFDNGIE(ACEFPOHHEOB);
this.cancelButton.LAEOBJEDBNM = ACEFPOHHEOB;
this.publishButton.LAEOBJEDBNM = ACEFPOHHEOB;
}
// Token: 0x0601DD3E RID: 122174 RVA: 0x00822F50 File Offset: 0x00821150
private void MCIEGNHEMCA(string NAHFIMLLIMH, bool ACEFPOHHEOB)
{
this.infoText.text = NAHFIMLLIMH;
this.roomDescription.EGOPEKNHMOJ(ACEFPOHHEOB);
this.maxPlayersSlider.FPMBFEKHLAI(ACEFPOHHEOB);
this.cancelButton.LAEOBJEDBNM = ACEFPOHHEOB;
this.publishButton.LAEOBJEDBNM = ACEFPOHHEOB;
}
// Token: 0x0601DD3F RID: 122175 RVA: 0x00822F90 File Offset: 0x00821190
public void BPDAMNHAOAB(float NOBAPCOKFIL)
{
this.HGDCJJAOMEN = (int)this.maxPlayersSlider.AIGDGNMEIKI;
this.maxPlayersSliderText.text = string.Format("SC", this.GILCDCOAEKB, this.HGDCJJAOMEN);
}
// Token: 0x0601DD40 RID: 122176 RVA: 0x00822FCC File Offset: 0x008211CC
public void MNIDNLHACKN(float NOBAPCOKFIL)
{
this.HGDCJJAOMEN = (int)this.maxPlayersSlider.DLNKPHDNKCO();
this.maxPlayersSliderText.text = string.Format("EquipmentPrefabName", this.GILCDCOAEKB, this.HGDCJJAOMEN);
}
// Token: 0x0601DD41 RID: 122177 RVA: 0x00823008 File Offset: 0x00821208
public void DECJJILLKEM(float NOBAPCOKFIL)
{
this.HGDCJJAOMEN = (int)this.maxPlayersSlider.LIHOMAANNAN();
this.maxPlayersSliderText.text = string.Format("_TintColor", this.GILCDCOAEKB, this.HGDCJJAOMEN);
}
// Token: 0x0601DD42 RID: 122178 RVA: 0x00823044 File Offset: 0x00821244
public void PGDLDNPJEPH()
{
EHLBEFKJLHJ ehlbefkjlhj = PEDNLMAHGBP.MDHDKCJABFC();
if (ehlbefkjlhj != null && this.KDKCJHJIAPC(this.MJGJNNCAAFD))
{
this.ELPJNDMIDFD("left", true);
if (ehlbefkjlhj.IAHACMKPPGF() != this.HGDCJJAOMEN)
{
PEDNLMAHGBP.OOFDPPOGNCO(this.HGDCJJAOMEN);
}
if (ehlbefkjlhj.LAIKDIALAPO() != this.MJGJNNCAAFD)
{
PEDNLMAHGBP.DHIKLPEELCI(this.MJGJNNCAAFD, new HEMCJJJMLKI.JMICPMCJMJF<EFDOILDKBFK>(this.BOMGKKNPLIE));
}
else
{
base.HKBNABEAKBE(HDPGPHCMBGP.Affirmative, true);
}
}
}
// Token: 0x0601DD43 RID: 122179 RVA: 0x008230D4 File Offset: 0x008212D4
public void KMFHMHBAKOB()
{
EHLBEFKJLHJ ehlbefkjlhj = PEDNLMAHGBP.KGKNIMECEKH;
if (ehlbefkjlhj != null && this.FDKMCKMBMDI(this.MJGJNNCAAFD))
{
this.FPDPJCNEOMG("Y or B", true);
if (ehlbefkjlhj.FFIGEDGGHHO() != this.HGDCJJAOMEN)
{
PEDNLMAHGBP.LBPFKANCPEO(this.HGDCJJAOMEN);
}
if (ehlbefkjlhj.GDIECAFDIMC != this.MJGJNNCAAFD)
{
PEDNLMAHGBP.HGJFKCCDFAO(this.MJGJNNCAAFD, new HEMCJJJMLKI.JMICPMCJMJF<EFDOILDKBFK>(this.FIOAEKCPGDA));
}
else
{
base.HKBNABEAKBE(HDPGPHCMBGP.Cancel, true);
}
}
}
// Token: 0x0601DD44 RID: 122180 RVA: 0x00823164 File Offset: 0x00821364
private void IGIOCPLKFFC(string NAHFIMLLIMH, bool ACEFPOHHEOB)
{
this.infoText.text = NAHFIMLLIMH;
this.roomDescription.LAEOBJEDBNM = ACEFPOHHEOB;
this.maxPlayersSlider.LAEOBJEDBNM = ACEFPOHHEOB;
this.cancelButton.LAEOBJEDBNM = ACEFPOHHEOB;
this.publishButton.LAEOBJEDBNM = ACEFPOHHEOB;
}
// Token: 0x0601DD45 RID: 122181 RVA: 0x008231A4 File Offset: 0x008213A4
private void KODKNEIDFIE(string NAHFIMLLIMH, bool ACEFPOHHEOB)
{
this.infoText.text = NAHFIMLLIMH;
this.roomDescription.BGEHEBNKMIB(ACEFPOHHEOB);
this.maxPlayersSlider.KDCGCKGNAFN(ACEFPOHHEOB);
this.cancelButton.LAEOBJEDBNM = ACEFPOHHEOB;
this.publishButton.LAEOBJEDBNM = ACEFPOHHEOB;
}
// Token: 0x0601DD46 RID: 122182 RVA: 0x008231E4 File Offset: 0x008213E4
private void FPDPJCNEOMG(string NAHFIMLLIMH, bool ACEFPOHHEOB)
{
this.infoText.text = NAHFIMLLIMH;
this.roomDescription.OANDMHENENA(ACEFPOHHEOB);
this.maxPlayersSlider.DNPIGIPALDH(ACEFPOHHEOB);
this.cancelButton.LAEOBJEDBNM = ACEFPOHHEOB;
this.publishButton.LAEOBJEDBNM = ACEFPOHHEOB;
}
// Token: 0x0601DD47 RID: 122183 RVA: 0x00823224 File Offset: 0x00821424
public void BNIGCJHKAOE()
{
EHLBEFKJLHJ ehlbefkjlhj = PEDNLMAHGBP.NNAHPOJLAHM();
if (ehlbefkjlhj != null && this.KDKCJHJIAPC(this.MJGJNNCAAFD))
{
this.FHFAFDGHAPL("Failed to create room. \"", true);
if (ehlbefkjlhj.NGAHKDMALEO() != this.HGDCJJAOMEN)
{
PEDNLMAHGBP.LBPFKANCPEO(this.HGDCJJAOMEN);
}
if (ehlbefkjlhj.PNNGKDEKOLM() != this.MJGJNNCAAFD)
{
PEDNLMAHGBP.HGJFKCCDFAO(this.MJGJNNCAAFD, new HEMCJJJMLKI.JMICPMCJMJF<EFDOILDKBFK>(this.BOMGKKNPLIE));
}
else
{
base.HKBNABEAKBE(HDPGPHCMBGP.Affirmative, false);
}
}
}
// Token: 0x0601DD48 RID: 122184 RVA: 0x008232B4 File Offset: 0x008214B4
public void ENBIGFNONDD(float NOBAPCOKFIL)
{
this.HGDCJJAOMEN = (int)this.maxPlayersSlider.CJLBMANFLDB();
this.maxPlayersSliderText.text = string.Format("_EmissionColor", this.GILCDCOAEKB, this.HGDCJJAOMEN);
}
// Token: 0x0601DD49 RID: 122185 RVA: 0x008232F0 File Offset: 0x008214F0
public override void Initialize(StackedUIBase LMODDIOHMLJ)
{
base.Initialize(LMODDIOHMLJ);
this.roomDescription.IsValidFunction = new Func<string, bool>(this.KDKCJHJIAPC);
}
// Token: 0x0601DD4A RID: 122186 RVA: 0x00823310 File Offset: 0x00821510
public virtual void LOBALIJBGOL(StackedUIBase LMODDIOHMLJ)
{
base.Initialize(LMODDIOHMLJ);
this.roomDescription.IsValidFunction = new Func<string, bool>(this.KDKCJHJIAPC);
}
// Token: 0x0601DD4B RID: 122187 RVA: 0x00823330 File Offset: 0x00821530
private void FHFAFDGHAPL(string NAHFIMLLIMH, bool ACEFPOHHEOB)
{
this.infoText.text = NAHFIMLLIMH;
this.roomDescription.OANDMHENENA(ACEFPOHHEOB);
this.maxPlayersSlider.LHEKHFDNGIE(ACEFPOHHEOB);
this.cancelButton.LAEOBJEDBNM = ACEFPOHHEOB;
this.publishButton.LAEOBJEDBNM = ACEFPOHHEOB;
}
// Token: 0x0601DD4C RID: 122188 RVA: 0x00823370 File Offset: 0x00821570
public override AALAIHCPNEB<HDPGPHCMBGP> ShowDialog()
{
EHLBEFKJLHJ ehlbefkjlhj = PEDNLMAHGBP.KGKNIMECEKH;
this.IGIOCPLKFFC(string.Empty, true);
this.roomDescription.HGNKIIJGHEK = ehlbefkjlhj.GDIECAFDIMC;
int num = 2;
int num2;
if (!LMBEHMFIOEN.KPLIEBLCPFG(ehlbefkjlhj.KAPOBAEMBKL, ehlbefkjlhj.OOAECNOOFID, true, out num2))
{
num2 = 20;
}
this.maxPlayersSlider.minValue = (float)num;
this.maxPlayersSlider.maxValue = (float)num2;
this.maxPlayersMaxLabelText.text = num2.ToString();
this.maxPlayersSlider.value = (float)Mathf.Clamp(ehlbefkjlhj.GCLLGNOEEFH, num, num2);
this.maxPlayersSliderText.text = string.Format("{0} ({1})", this.GILCDCOAEKB, this.maxPlayersSlider.value);
return base.OLKGOIHGHBJ();
}
// Token: 0x0601DD4D RID: 122189 RVA: 0x0082343C File Offset: 0x0082163C
public virtual AALAIHCPNEB<HDPGPHCMBGP> KKJBJMKGFJC()
{
EHLBEFKJLHJ ehlbefkjlhj = PEDNLMAHGBP.FDJJBPMIGGL();
this.IGIOCPLKFFC(string.Empty, true);
this.roomDescription.HGNKIIJGHEK = ehlbefkjlhj.GDIECAFDIMC;
int num = 1;
int num2;
if (!LMBEHMFIOEN.KPLIEBLCPFG(ehlbefkjlhj.KAPOBAEMBKL, ehlbefkjlhj.OOAECNOOFID, true, out num2))
{
num2 = 102;
}
this.maxPlayersSlider.minValue = (float)num;
this.maxPlayersSlider.maxValue = (float)num2;
this.maxPlayersMaxLabelText.text = num2.ToString();
this.maxPlayersSlider.value = (float)Mathf.Clamp(ehlbefkjlhj.FFIGEDGGHHO(), num, num2);
this.maxPlayersSliderText.text = string.Format(", ", this.GILCDCOAEKB, this.maxPlayersSlider.value);
return base.OLKGOIHGHBJ();
}
// Token: 0x0601DD4E RID: 122190 RVA: 0x00823508 File Offset: 0x00821708
public virtual AALAIHCPNEB<HDPGPHCMBGP> HCCMHIJGFPI()
{
EHLBEFKJLHJ ehlbefkjlhj = PEDNLMAHGBP.KGKNIMECEKH;
this.NIOGDJCADPN(string.Empty, false);
this.roomDescription.DHILGCDPBJK(ehlbefkjlhj.PNNGKDEKOLM());
int num = 8;
int num2;
if (!LMBEHMFIOEN.KPLIEBLCPFG(ehlbefkjlhj.KAPOBAEMBKL, ehlbefkjlhj.NGNCPIDHIGN(), false, out num2))
{
num2 = -50;
}
this.maxPlayersSlider.minValue = (float)num;
this.maxPlayersSlider.maxValue = (float)num2;
this.maxPlayersMaxLabelText.text = num2.ToString();
this.maxPlayersSlider.value = (float)Mathf.Clamp(ehlbefkjlhj.FFIGEDGGHHO(), num, num2);
this.maxPlayersSliderText.text = string.Format("EmoteDisgust", this.GILCDCOAEKB, this.maxPlayersSlider.value);
return base.OLKGOIHGHBJ();
}
// Token: 0x0601DD4F RID: 122191 RVA: 0x008235D4 File Offset: 0x008217D4
private void BAJGOIFMLLK(string NAHFIMLLIMH, bool ACEFPOHHEOB)
{
this.infoText.text = NAHFIMLLIMH;
this.roomDescription.LAEOBJEDBNM = ACEFPOHHEOB;
this.maxPlayersSlider.FPMBFEKHLAI(ACEFPOHHEOB);
this.cancelButton.LAEOBJEDBNM = ACEFPOHHEOB;
this.publishButton.LAEOBJEDBNM = ACEFPOHHEOB;
}
// Token: 0x0601DD50 RID: 122192 RVA: 0x00823614 File Offset: 0x00821814
private void BOMGKKNPLIE(string DAKCKPMBKFF, EFDOILDKBFK DKBBNNEBKMO)
{
if (string.IsNullOrEmpty(DAKCKPMBKFF))
{
if (DKBBNNEBKMO.FOPNEFBADJB)
{
base.HKBNABEAKBE(HDPGPHCMBGP.Cancel, false);
}
else
{
Debug.LogError("." + DKBBNNEBKMO.LFCDKHAECCA());
this.MCIEGNHEMCA("x2", true);
}
}
else
{
Debug.LogError("y" + DAKCKPMBKFF);
this.IGIOCPLKFFC("MaxConnectionPerServer must be greater than 0!", false);
}
}
// Token: 0x0601DD51 RID: 122193 RVA: 0x00823688 File Offset: 0x00821888
public void LKPEHMHDBJO(float NOBAPCOKFIL)
{
this.HGDCJJAOMEN = (int)this.maxPlayersSlider.ILOJEKKMIGO();
this.maxPlayersSliderText.text = string.Format("Hole In One!", this.GILCDCOAEKB, this.HGDCJJAOMEN);
}
// Token: 0x0601DD52 RID: 122194 RVA: 0x008236C4 File Offset: 0x008218C4
private void BBHIMKPCKLG(string DAKCKPMBKFF, EFDOILDKBFK DKBBNNEBKMO)
{
if (string.IsNullOrEmpty(DAKCKPMBKFF))
{
if (DKBBNNEBKMO.FOPNEFBADJB)
{
base.HKBNABEAKBE(HDPGPHCMBGP.Affirmative, true);
}
else
{
Debug.LogError("position" + DKBBNNEBKMO.AAMPLIOBINC());
this.NIOGDJCADPN("type", false);
}
}
else
{
Debug.LogError("Bandwidth" + DAKCKPMBKFF);
this.MCIEGNHEMCA("<b>Obscured Cheating Detector</b>", false);
}
}
// Token: 0x0601DD53 RID: 122195 RVA: 0x00823738 File Offset: 0x00821938
public void LBGBNEMGMCL(float NOBAPCOKFIL)
{
this.HGDCJJAOMEN = (int)this.maxPlayersSlider.EDJJOBMCCFC();
this.maxPlayersSliderText.text = string.Format(", o = ", this.GILCDCOAEKB, this.HGDCJJAOMEN);
}
// Token: 0x0601DD54 RID: 122196 RVA: 0x00823774 File Offset: 0x00821974
public void AJPGNBCKCIP(float NOBAPCOKFIL)
{
this.HGDCJJAOMEN = (int)this.maxPlayersSlider.IJJKIGNJHKK();
this.maxPlayersSliderText.text = string.Format("Rtt:{0,4} +/-{1,3}", this.GILCDCOAEKB, this.HGDCJJAOMEN);
}
// Token: 0x0601DD55 RID: 122197 RVA: 0x008237B0 File Offset: 0x008219B0
public virtual AALAIHCPNEB<HDPGPHCMBGP> NGIJPKIBAJH()
{
EHLBEFKJLHJ ehlbefkjlhj = PEDNLMAHGBP.NNAHPOJLAHM();
this.NIOGDJCADPN(string.Empty, true);
this.roomDescription.HGNKIIJGHEK = ehlbefkjlhj.CPNMGJBEIGG();
int num = 3;
int num2;
if (!LMBEHMFIOEN.KPLIEBLCPFG(ehlbefkjlhj.KAPOBAEMBKL, ehlbefkjlhj.OOAECNOOFID, true, out num2))
{
num2 = -75;
}
this.maxPlayersSlider.minValue = (float)num;
this.maxPlayersSlider.maxValue = (float)num2;
this.maxPlayersMaxLabelText.text = num2.ToString();
this.maxPlayersSlider.value = (float)Mathf.Clamp(ehlbefkjlhj.GCLLGNOEEFH, num, num2);
this.maxPlayersSliderText.text = string.Format(" Message: ", this.GILCDCOAEKB, this.maxPlayersSlider.value);
return base.OLKGOIHGHBJ();
}
// Token: 0x0601DD56 RID: 122198 RVA: 0x0082387C File Offset: 0x00821A7C
private bool COLMKBHIOBC(string MJGJNNCAAFD)
{
this.MJGJNNCAAFD = MJGJNNCAAFD.Trim();
return this.MJGJNNCAAFD.Length > 3;
}
// Token: 0x0601DD57 RID: 122199 RVA: 0x00823898 File Offset: 0x00821A98
private bool KPMPHICPEEP(string MJGJNNCAAFD)
{
this.MJGJNNCAAFD = MJGJNNCAAFD.Trim();
return this.MJGJNNCAAFD.Length > 8;
}
// Token: 0x0601DD58 RID: 122200 RVA: 0x008238B4 File Offset: 0x00821AB4
private void OGFKEJABELH(string DAKCKPMBKFF, EFDOILDKBFK DKBBNNEBKMO)
{
if (string.IsNullOrEmpty(DAKCKPMBKFF))
{
if (DKBBNNEBKMO.IDJJOKJHMMF())
{
base.HKBNABEAKBE(HDPGPHCMBGP.Affirmative, false);
}
else
{
Debug.LogError("Oops! You Hit " + DKBBNNEBKMO.PEIDDFCHKPD());
this.KODKNEIDFIE("Success", true);
}
}
else
{
Debug.LogError("Left" + DAKCKPMBKFF);
this.BAJGOIFMLLK("Value", false);
}
}
// Token: 0x0601DD59 RID: 122201 RVA: 0x00823928 File Offset: 0x00821B28
public virtual void PDLGNPMIOME(StackedUIBase LMODDIOHMLJ)
{
base.Initialize(LMODDIOHMLJ);
this.roomDescription.IsValidFunction = new Func<string, bool>(this.FDKMCKMBMDI);
}
// Token: 0x0601DD5A RID: 122202 RVA: 0x00823948 File Offset: 0x00821B48
private bool FDKMCKMBMDI(string MJGJNNCAAFD)
{
this.MJGJNNCAAFD = MJGJNNCAAFD.Trim();
return this.MJGJNNCAAFD.Length > 1;
}
// Token: 0x0601DD5B RID: 122203 RVA: 0x00823964 File Offset: 0x00821B64
public void IIHFPFEJPKD(float NOBAPCOKFIL)
{
this.HGDCJJAOMEN = (int)this.maxPlayersSlider.LIHOMAANNAN();
this.maxPlayersSliderText.text = string.Format("f1779b982f1c09aed3adb3cca563cbc2", this.GILCDCOAEKB, this.HGDCJJAOMEN);
}
// Token: 0x0601DD5C RID: 122204 RVA: 0x008239A0 File Offset: 0x00821BA0
public virtual void CKMFCCFPDJO(StackedUIBase LMODDIOHMLJ)
{
base.Initialize(LMODDIOHMLJ);
this.roomDescription.IsValidFunction = new Func<string, bool>(this.KDKCJHJIAPC);
}
// Token: 0x04004DF2 RID: 19954
[ENMFCLPAKBJ(FOGKDGELKHN.Children, false)]
[SerializeField]
private ValidatedButtonInputField roomDescription;
// Token: 0x04004DF3 RID: 19955
[ENMFCLPAKBJ(FOGKDGELKHN.Children, false)]
[SerializeField]
private Slider3D maxPlayersSlider;
// Token: 0x04004DF4 RID: 19956
[SerializeField]
private Text maxPlayersSliderText;
// Token: 0x04004DF5 RID: 19957
[SerializeField]
private Text maxPlayersMaxLabelText;
// Token: 0x04004DF6 RID: 19958
[SerializeField]
private Text infoText;
// Token: 0x04004DF7 RID: 19959
[SerializeField]
private Button3D cancelButton;
// Token: 0x04004DF8 RID: 19960
[SerializeField]
private Button3D publishButton;
// Token: 0x04004DF9 RID: 19961
private string GILCDCOAEKB = "Maximum players";
// Token: 0x04004DFA RID: 19962
private string MJGJNNCAAFD = string.Empty;
// Token: 0x04004DFB RID: 19963
private int HGDCJJAOMEN = 8;
}
}