using System; using Photon; using UnityEngine; namespace RecRoom.Activities.Arena { // Token: 0x02000002 RID: 2 [RequireComponent(typeof(PhotonView))] [RequireComponent(typeof(ArenaEncounterSpawner))] public class ArenaBase : global::Photon.MonoBehaviour { // Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250 private float MGLPIIPDJPG() { float num = ((this.GOAKACCDPFO() != this.ILDHNHBHHDA()) ? this.captureDuration : this.returnToOwningTeamDuration); return Mathf.InverseLerp(num, 221f, this.KGIIHAPCDJE.HHOBFCDNIEP()); } // Token: 0x06000002 RID: 2 RVA: 0x00002098 File Offset: 0x00000298 private void AMCDAJGCPNM() { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.DNMLEJIGEOK(this.OPBFIONFPJL(this.IOMGALHEGJH()), this.OPBFIONFPJL(this.OLODFOEFOIF()), this.KNKECFCGKNK(), this.captureRadius); } if (IHFKMIAHBFP.HCHIDMOLLAD) { IPBDFPEPNIM ipbdfpepnim; ArenaBase.EADGPJONBOF eadgpjonbof = this.KHKIFMJDLNP(this.AMDNFICACJI(), out ipbdfpepnim); if (eadgpjonbof == (ArenaBase.EADGPJONBOF)7) { return; } if (eadgpjonbof == ArenaBase.EADGPJONBOF.NONE) { if (ipbdfpepnim != this.HNAPIPFCFPM()) { this.EMJMPDOOPFB(1176f); } this.INMJMPEDIFA(ipbdfpepnim); this.MPBOONGEHDM.BKBFIGCPIMI(7); return; } } } // Token: 0x06000003 RID: 3 RVA: 0x00002138 File Offset: 0x00000338 private void NPIKHIDEFAE() { if (this.captureCenter != null) { Gizmos.color = Color.white; Gizmos.DrawWireSphere(this.captureCenter.position, this.captureRadius); } } // Token: 0x06000004 RID: 4 RVA: 0x0000216C File Offset: 0x0000036C public void JIMJMMENHDF() { if (IHFKMIAHBFP.HCHIDMOLLAD) { if (this.canChangeTeam) { this.LPIIAPNLHHH(this.defaultTeam); } this.MPBOONGEHDM.BKBFIGCPIMI(2); } } // Token: 0x06000005 RID: 5 RVA: 0x0000219C File Offset: 0x0000039C private IPBDFPEPNIM IOMGALHEGJH() { return this.HDAHDEHNFLA.CPIBGJLHLBL(); } // Token: 0x06000006 RID: 6 RVA: 0x000021AC File Offset: 0x000003AC private void BBECHOJOGFG(ushort CHJBIHILBFO, ushort BNCBHHCPCLE) { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.CDHEKMJCOCJ(); } if (IHFKMIAHBFP.HCHIDMOLLAD) { this.encounterSpawner.CAECHDDHNGL(); } } // Token: 0x06000007 RID: 7 RVA: 0x000021E0 File Offset: 0x000003E0 private void PDANJGLGCOJ(ushort OIMHGOONBEB, ushort LPFGCCKCIEB) { if (this.blueTeamPortal != null) { this.blueTeamPortal.JOEPFGLNGAJ = true; } if (this.redTeamPortal != null) { this.redTeamPortal.AANNGPIKPNK(false); } } // Token: 0x06000008 RID: 8 RVA: 0x0000221C File Offset: 0x0000041C private IPBDFPEPNIM OLODFOEFOIF() { return this.CLENGEPEDKJ.CPIBGJLHLBL(); } // Token: 0x06000009 RID: 9 RVA: 0x0000222C File Offset: 0x0000042C private float MNONNGPFMPN() { float num = ((this.AMDNFICACJI() != this.AKBLEMAOPEM()) ? this.captureDuration : this.returnToOwningTeamDuration); return Mathf.Lerp(num, 1057f, this.KNKECFCGKNK()); } // Token: 0x0600000A RID: 10 RVA: 0x00002270 File Offset: 0x00000470 private void ADEADKCLNGP(ushort OIMHGOONBEB, ushort LPFGCCKCIEB) { if (this.blueTeamPortal != null) { this.blueTeamPortal.BEMLEEHGDAP(true); } if (this.redTeamPortal != null) { this.redTeamPortal.AANNGPIKPNK(false); } } // Token: 0x0600000B RID: 11 RVA: 0x000022AC File Offset: 0x000004AC protected virtual void POMCHIPOPEA() { base.MICFHMAIGIB(); this.GPNMOEDBBBI = base.GetComponentInChildren(false); if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.CFMOJLNDEHM(this.baseName); } this.CLENGEPEDKJ = new LHLLJPPCDKA(this, "[TutorialCamera]", this.defaultTeam, IKCAJLLAFML.MASTER, new Action(this.OCOIFBODAPJ)); this.HDAHDEHNFLA = new LHLLJPPCDKA(this, "Friends", IPBDFPEPNIM.INVALID, IKCAJLLAFML.AUTHORITY, null); this.LGPJMDDABEC = new LHLLJPPCDKA(this, "Caught Exception: ", 747f, IKCAJLLAFML.AUTHORITY, null); this.KGIIHAPCDJE = new AONMNAEOJAL(this, "Error serializing DrawingSurface {0}: Data already specified.", IKCAJLLAFML.AUTHORITY); this.MPBOONGEHDM = new PNONBEAIBHA("oncompletetarget", IKCAJLLAFML.MASTER); this.MPBOONGEHDM.AGLMMKOFICI(0, new ANMJLCILKDJ.NCMAEMHOHDG(this.PMOCBGDHNFN), null, null); this.MPBOONGEHDM.AGLMMKOFICI(1, null, null, new ANMJLCILKDJ.PLBLFEEANOO(this.AOIKGFACGAO)); this.MPBOONGEHDM.AGLMMKOFICI(5, new ANMJLCILKDJ.NCMAEMHOHDG(this.PGKIPHLLONF), new ANMJLCILKDJ.NCMAEMHOHDG(this.LLLAIOPIMPL), new ANMJLCILKDJ.PLBLFEEANOO(this.NLJIOMEKCIN)); this.MPBOONGEHDM.AGLMMKOFICI(5, new ANMJLCILKDJ.NCMAEMHOHDG(this.FANKDEBNPAB), new ANMJLCILKDJ.NCMAEMHOHDG(this.PDANJGLGCOJ), new ANMJLCILKDJ.PLBLFEEANOO(this.HCJDDADCGGJ)); } // Token: 0x0600000C RID: 12 RVA: 0x000023F8 File Offset: 0x000005F8 private float FAGMDNGFPHJ() { float num = ((this.AMDNFICACJI() != this.AKBLEMAOPEM()) ? this.captureDuration : this.returnToOwningTeamDuration); return Mathf.Lerp(num, 1399f, this.ONMBDDJPHIC); } // Token: 0x0600000D RID: 13 RVA: 0x0000243C File Offset: 0x0000063C private float KNKECFCGKNK() { return this.LGPJMDDABEC.CPIBGJLHLBL(); } // Token: 0x0600000E RID: 14 RVA: 0x0000244C File Offset: 0x0000064C private void EAAAMFELFHJ() { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.LHDOLDIKNIK(this.OMKFIIOOMJB(this.AMDNFICACJI()), this.AMHOEMFJPOP(this.LNHKLFGCKML()), this.PCPMJEOLGHG(), this.captureRadius); } if (IHFKMIAHBFP.HCHIDMOLLAD) { IPBDFPEPNIM ipbdfpepnim; ArenaBase.EADGPJONBOF eadgpjonbof = this.FBJKKKKNJFL(this.GOAKACCDPFO(), out ipbdfpepnim); if (eadgpjonbof == ArenaBase.EADGPJONBOF.NONE) { return; } if (eadgpjonbof == ArenaBase.EADGPJONBOF.NONE) { if (ipbdfpepnim != this.IPCPNMBHAOD) { this.ONMBDDJPHIC = 1369f; } this.INMJMPEDIFA(ipbdfpepnim); this.MPBOONGEHDM.BKBFIGCPIMI(6); return; } } } // Token: 0x0600000F RID: 15 RVA: 0x000024EC File Offset: 0x000006EC private void AFHONODNDGN(float NOBAPCOKFIL) { this.LGPJMDDABEC.MEAINJPIECA(NOBAPCOKFIL); } // Token: 0x06000010 RID: 16 RVA: 0x000024FC File Offset: 0x000006FC private void FNPEIFPGHMD() { if (this.captureCenter != null) { Gizmos.color = Color.white; Gizmos.DrawWireSphere(this.captureCenter.position, this.captureRadius); } } // Token: 0x06000011 RID: 17 RVA: 0x00002530 File Offset: 0x00000730 private Color NIAOGGCEALK(IPBDFPEPNIM CLCIODCPAFC) { if (CLCIODCPAFC == IPBDFPEPNIM.INVALID) { return Color.white; } return PBMLOBHPIMG.OMKFIIOOMJB(CLCIODCPAFC); } // Token: 0x17000001 RID: 1 // (get) Token: 0x0600001B RID: 27 RVA: 0x000028AC File Offset: 0x00000AAC // (set) Token: 0x06000012 RID: 18 RVA: 0x00002548 File Offset: 0x00000748 private IPBDFPEPNIM NMLMFHLNBEK { get { return this.CLENGEPEDKJ.CPIBGJLHLBL(); } set { this.CLENGEPEDKJ.MEAINJPIECA(value); } } // Token: 0x06000013 RID: 19 RVA: 0x00002558 File Offset: 0x00000758 private bool BGLEFJLPGBL(LNJFBGIBLHA JEFGMHBLLKI) { if (!this.CINLOIHJMOM.DPOLNGGBMDH.AKDEIFDDDDJ(JEFGMHBLLKI)) { return true; } Player player = JEFGMHBLLKI.JHJGDFHNBLO(); return !(player == null) && !(this.captureCenter == null) && (player.FGLFIJLGCKD - this.captureCenter.position).sqrMagnitude <= this.captureRadius * this.captureRadius; } // Token: 0x06000014 RID: 20 RVA: 0x000025D4 File Offset: 0x000007D4 private void AMFJDFJIJJC() { if (this.captureCenter != null) { Gizmos.color = Color.white; Gizmos.DrawWireSphere(this.captureCenter.position, this.captureRadius); } } // Token: 0x06000015 RID: 21 RVA: 0x00002608 File Offset: 0x00000808 protected virtual void DDDJHGJFIJL() { base.IPAPMGBLCNF(); this.GPNMOEDBBBI = base.GetComponentInChildren(false); if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.IHBIGFBFPBD(this.baseName); } this.CLENGEPEDKJ = new LHLLJPPCDKA(this, "HTTP Update Delegator", this.defaultTeam, IKCAJLLAFML.MASTER, new Action(this.NAHHFPLLGOG)); this.HDAHDEHNFLA = new LHLLJPPCDKA(this, "Using WebSocket to connect NameServer (AuthMode is AuthOnceWss).", IPBDFPEPNIM.INVALID, IKCAJLLAFML.MASTER, null); this.LGPJMDDABEC = new LHLLJPPCDKA(this, "Error initializing PSN platform: ", 562f, IKCAJLLAFML.AUTHORITY, null); this.KGIIHAPCDJE = new AONMNAEOJAL(this, "detach", IKCAJLLAFML.MASTER); this.MPBOONGEHDM = new PNONBEAIBHA("looktarget", IKCAJLLAFML.MASTER); this.MPBOONGEHDM.AGLMMKOFICI(0, new ANMJLCILKDJ.NCMAEMHOHDG(this.PMOCBGDHNFN), null, null); this.MPBOONGEHDM.AGLMMKOFICI(1, null, null, new ANMJLCILKDJ.PLBLFEEANOO(this.EJNGJOBDPMO)); this.MPBOONGEHDM.AGLMMKOFICI(2, new ANMJLCILKDJ.NCMAEMHOHDG(this.PNGCLOAFDEI), new ANMJLCILKDJ.NCMAEMHOHDG(this.OEONKEMHIFP), new ANMJLCILKDJ.PLBLFEEANOO(this.EKGEOHCBPFB)); this.MPBOONGEHDM.AGLMMKOFICI(4, new ANMJLCILKDJ.NCMAEMHOHDG(this.FANKDEBNPAB), new ANMJLCILKDJ.NCMAEMHOHDG(this.PCDABOLJMBB), new ANMJLCILKDJ.PLBLFEEANOO(this.HCJDDADCGGJ)); } // Token: 0x06000016 RID: 22 RVA: 0x00002754 File Offset: 0x00000954 private float PMMOELJGKKP() { float num = ((this.IPCPNMBHAOD != this.OLAEBFMLMJE()) ? this.captureDuration : this.returnToOwningTeamDuration); return Mathf.InverseLerp(num, 35f, this.KGIIHAPCDJE.POIPDEMLJBO()); } // Token: 0x06000017 RID: 23 RVA: 0x0000279C File Offset: 0x0000099C private void FJLFKGAPAEB(IPBDFPEPNIM NOBAPCOKFIL) { this.HDAHDEHNFLA.MEAINJPIECA(NOBAPCOKFIL); } // Token: 0x06000018 RID: 24 RVA: 0x000027AC File Offset: 0x000009AC public void JIIANKAIDKA(ArenaManager CINLOIHJMOM) { this.CINLOIHJMOM = CINLOIHJMOM; if (this.redTeamPortal != null) { this.redTeamPortal.BEMLEEHGDAP(false); } if (this.blueTeamPortal != null) { this.blueTeamPortal.AANNGPIKPNK(false); } this.MPBOONGEHDM.FLHFCMCNLEK(this, 0); } // Token: 0x06000019 RID: 25 RVA: 0x00002808 File Offset: 0x00000A08 private IPBDFPEPNIM ADPHNGLLPLJ() { return this.HDAHDEHNFLA.CPIBGJLHLBL(); } // Token: 0x0600001A RID: 26 RVA: 0x00002818 File Offset: 0x00000A18 private ArenaBase.EADGPJONBOF KLPBHMKBBPI(IPBDFPEPNIM HJKBCDIFAEF, out IPBDFPEPNIM FOEDJDKCGCD) { ArenaBase.EADGPJONBOF eadgpjonbof = ArenaBase.EADGPJONBOF.NONE; FOEDJDKCGCD = IPBDFPEPNIM.INVALID; if (this.CINLOIHJMOM != null) { LNJFBGIBLHA[] array = this.CINLOIHJMOM.NKCBOCMOBCA.MBFGHAJFLFJ(); for (int i = 0; i < array.Length; i += 0) { if (this.FOGCDIEKDJL(array[i])) { IPBDFPEPNIM ipbdfpepnim = this.CINLOIHJMOM.NKCBOCMOBCA.KKPAEEHBNGE(array[i]); if (eadgpjonbof == ArenaBase.EADGPJONBOF.NONE) { FOEDJDKCGCD = ipbdfpepnim; eadgpjonbof = ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM; } else if (FOEDJDKCGCD != ipbdfpepnim) { FOEDJDKCGCD = IPBDFPEPNIM.INVALID; eadgpjonbof = ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM; break; } } } } return eadgpjonbof; } // Token: 0x17000002 RID: 2 // (get) Token: 0x0600001C RID: 28 RVA: 0x000028BC File Offset: 0x00000ABC // (set) Token: 0x0600005A RID: 90 RVA: 0x0000409C File Offset: 0x0000229C private IPBDFPEPNIM IPCPNMBHAOD { get { return this.HDAHDEHNFLA.CPIBGJLHLBL(); } set { this.HDAHDEHNFLA.MEAINJPIECA(value); } } // Token: 0x0600001D RID: 29 RVA: 0x000028CC File Offset: 0x00000ACC private void KFLEIJNGEFG() { if (this.captureCenter != null) { Gizmos.color = Color.white; Gizmos.DrawWireSphere(this.captureCenter.position, this.captureRadius); } } // Token: 0x0600001E RID: 30 RVA: 0x00002900 File Offset: 0x00000B00 private float PCPMJEOLGHG() { return this.LGPJMDDABEC.CPIBGJLHLBL(); } // Token: 0x0600001F RID: 31 RVA: 0x00002910 File Offset: 0x00000B10 protected virtual void PAALCGEAEDE() { base.IPAPMGBLCNF(); this.GPNMOEDBBBI = base.GetComponentInChildren(true); if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.IHBIGFBFPBD(this.baseName); } this.CLENGEPEDKJ = new LHLLJPPCDKA(this, "enablecolliders", this.defaultTeam, IKCAJLLAFML.AUTHORITY, new Action(this.FEHMLLDNOIM)); this.HDAHDEHNFLA = new LHLLJPPCDKA(this, "DestroyPlayerObjects() failed, cause players can only destroy their own GameObjects. A Master Client can destroy anyone's. This is master: ", IPBDFPEPNIM.INVALID, IKCAJLLAFML.AUTHORITY, null); this.LGPJMDDABEC = new LHLLJPPCDKA(this, "event_type", 1575f, IKCAJLLAFML.MASTER, null); this.KGIIHAPCDJE = new AONMNAEOJAL(this, "Unable to login (code: 1)", IKCAJLLAFML.AUTHORITY); this.MPBOONGEHDM = new PNONBEAIBHA("looktarget", IKCAJLLAFML.MASTER); this.MPBOONGEHDM.AGLMMKOFICI(0, new ANMJLCILKDJ.NCMAEMHOHDG(this.BBECHOJOGFG), null, null); this.MPBOONGEHDM.AGLMMKOFICI(1, null, null, new ANMJLCILKDJ.PLBLFEEANOO(this.NNJJLFJKCKJ)); this.MPBOONGEHDM.AGLMMKOFICI(6, new ANMJLCILKDJ.NCMAEMHOHDG(this.EFDAPJFKKLC), new ANMJLCILKDJ.NCMAEMHOHDG(this.OFFEAFGPCNO), new ANMJLCILKDJ.PLBLFEEANOO(this.IDGAMNAEKKP)); this.MPBOONGEHDM.AGLMMKOFICI(1, new ANMJLCILKDJ.NCMAEMHOHDG(this.KOGLDBKDHHE), new ANMJLCILKDJ.NCMAEMHOHDG(this.BCJDKJEGDFG), new ANMJLCILKDJ.PLBLFEEANOO(this.KFIFCJCBDPI)); } // Token: 0x06000020 RID: 32 RVA: 0x00002A5C File Offset: 0x00000C5C private float DLJCFCMAJAL() { float num = ((this.IPCPNMBHAOD != this.NMLMFHLNBEK) ? this.captureDuration : this.returnToOwningTeamDuration); return Mathf.InverseLerp(num, 0f, this.KGIIHAPCDJE.GDGNJGAADLK); } // Token: 0x06000021 RID: 33 RVA: 0x00002AA4 File Offset: 0x00000CA4 private void PGKIPHLLONF(ushort CHJBIHILBFO, ushort BNCBHHCPCLE) { string text = this.FPGHAMAAFIP(this.IPCPNMBHAOD) + " CAPTURING BASE " + this.baseName; string text2 = null; IPBDFPEPNIM ipbdfpepnim = this.CINLOIHJMOM.NKCBOCMOBCA.KKPAEEHBNGE(IHFKMIAHBFP.JEFGMHBLLKI); if (CHJBIHILBFO == 3 && ipbdfpepnim == this.NMLMFHLNBEK) { text2 = "PORTAL AND ELITE BOTS OFFLINE"; } SingletonMonoBehaviour.NCKMBFBMBFM.Play(ScreenSpaceNotificationManager.DBNGPDFKLEK.Medium, text, text2, 5f, null, false); if (IHFKMIAHBFP.HCHIDMOLLAD) { this.KGIIHAPCDJE.BJOJLPHBGMN(this.LFFEKNBPEKE()); } } // Token: 0x06000022 RID: 34 RVA: 0x00002B30 File Offset: 0x00000D30 public void LMACAJPHDDN(ArenaManager CINLOIHJMOM) { this.CINLOIHJMOM = CINLOIHJMOM; if (this.redTeamPortal != null) { this.redTeamPortal.JOEPFGLNGAJ = true; } if (this.blueTeamPortal != null) { this.blueTeamPortal.JOEPFGLNGAJ = false; } this.MPBOONGEHDM.FLHFCMCNLEK(this, 0); } // Token: 0x06000023 RID: 35 RVA: 0x00002B8C File Offset: 0x00000D8C private ArenaBase.EADGPJONBOF KHKIFMJDLNP(IPBDFPEPNIM HJKBCDIFAEF, out IPBDFPEPNIM FOEDJDKCGCD) { ArenaBase.EADGPJONBOF eadgpjonbof = ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM; FOEDJDKCGCD = IPBDFPEPNIM.INVALID; if (this.CINLOIHJMOM != null) { LNJFBGIBLHA[] array = this.CINLOIHJMOM.NKCBOCMOBCA.MBFGHAJFLFJ(); for (int i = 1; i < array.Length; i += 0) { if (this.KOJJOHACEID(array[i])) { IPBDFPEPNIM ipbdfpepnim = this.CINLOIHJMOM.NKCBOCMOBCA.KKPAEEHBNGE(array[i]); if (eadgpjonbof == ArenaBase.EADGPJONBOF.NONE) { FOEDJDKCGCD = ipbdfpepnim; eadgpjonbof = ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM; } else if (FOEDJDKCGCD != ipbdfpepnim) { FOEDJDKCGCD = IPBDFPEPNIM.INVALID; eadgpjonbof = (ArenaBase.EADGPJONBOF)8; break; } } } } return eadgpjonbof; } // Token: 0x06000024 RID: 36 RVA: 0x00002C20 File Offset: 0x00000E20 protected virtual void DLHCKBDMBAF() { base.DLCHNOFPONJ(); this.GPNMOEDBBBI = base.GetComponentInChildren(true); if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.SetBaseName(this.baseName); } this.CLENGEPEDKJ = new LHLLJPPCDKA(this, "DestroyPlayerObjects() failed, cause players can only destroy their own GameObjects. A Master Client can destroy anyone's. This is master: ", this.defaultTeam, IKCAJLLAFML.MASTER, new Action(this.FNLOKKHNOLL)); this.HDAHDEHNFLA = new LHLLJPPCDKA(this, "Type {0} can't act as an array", IPBDFPEPNIM.INVALID, IKCAJLLAFML.MASTER, null); this.LGPJMDDABEC = new LHLLJPPCDKA(this, "SC", 630f, IKCAJLLAFML.MASTER, null); this.KGIIHAPCDJE = new AONMNAEOJAL(this, "IsDeveloper", IKCAJLLAFML.AUTHORITY); this.MPBOONGEHDM = new PNONBEAIBHA("Unable to connect to game session: ", IKCAJLLAFML.AUTHORITY); this.MPBOONGEHDM.AGLMMKOFICI(1, new ANMJLCILKDJ.NCMAEMHOHDG(this.BBECHOJOGFG), null, null); this.MPBOONGEHDM.AGLMMKOFICI(0, null, null, new ANMJLCILKDJ.PLBLFEEANOO(this.ACCHFCELJBH)); this.MPBOONGEHDM.AGLMMKOFICI(2, new ANMJLCILKDJ.NCMAEMHOHDG(this.PNGCLOAFDEI), new ANMJLCILKDJ.NCMAEMHOHDG(this.OEONKEMHIFP), new ANMJLCILKDJ.PLBLFEEANOO(this.NIMJFPIMBOH)); this.MPBOONGEHDM.AGLMMKOFICI(7, new ANMJLCILKDJ.NCMAEMHOHDG(this.FANKDEBNPAB), new ANMJLCILKDJ.NCMAEMHOHDG(this.PFFLLFMNBGA), new ANMJLCILKDJ.PLBLFEEANOO(this.JFBHCAPAAPD)); } // Token: 0x06000025 RID: 37 RVA: 0x00002D6C File Offset: 0x00000F6C private float LFFEKNBPEKE() { float num = ((this.IPCPNMBHAOD != this.NMLMFHLNBEK) ? this.captureDuration : this.returnToOwningTeamDuration); return Mathf.Lerp(num, 0f, this.ONMBDDJPHIC); } // Token: 0x06000026 RID: 38 RVA: 0x00002DB0 File Offset: 0x00000FB0 private string MKJMFDKJDBO(IPBDFPEPNIM CLCIODCPAFC) { if (CLCIODCPAFC == IPBDFPEPNIM.INVALID) { return "application/octet-stream"; } return PBMLOBHPIMG.FPGHAMAAFIP(CLCIODCPAFC).ToUpper() + "RpcMasterRequestPlayerRespawn"; } // Token: 0x06000027 RID: 39 RVA: 0x00002DD4 File Offset: 0x00000FD4 private void NAHHFPLLGOG() { } // Token: 0x06000028 RID: 40 RVA: 0x00002DD8 File Offset: 0x00000FD8 private bool KJGGHHFJAPM(LNJFBGIBLHA JEFGMHBLLKI) { if (!this.CINLOIHJMOM.DPOLNGGBMDH.AKDEIFDDDDJ(JEFGMHBLLKI)) { return false; } Player player = JEFGMHBLLKI.JHJGDFHNBLO(); return !(player == null) && !(this.captureCenter == null) && (player.FGLFIJLGCKD - this.captureCenter.position).sqrMagnitude <= this.captureRadius * this.captureRadius; } // Token: 0x06000029 RID: 41 RVA: 0x00002E54 File Offset: 0x00001054 private void AKBCAOACBKM(ushort CHJBIHILBFO, ushort BNCBHHCPCLE) { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.IPLBJILKJGK(this.IKKDHJDLEEE(this.OLODFOEFOIF()), this.NIAOGGCEALK(this.ILDHNHBHHDA()), this.captureRadius); } if (this.blueTeamPortal != null) { this.blueTeamPortal.JOEPFGLNGAJ = this.OLODFOEFOIF() != IPBDFPEPNIM.TEAM_2; } if (this.redTeamPortal != null) { this.redTeamPortal.AANNGPIKPNK(this.OLAEBFMLMJE() == IPBDFPEPNIM.TEAM_1); } if (IHFKMIAHBFP.HCHIDMOLLAD) { if (this.canChangeTeam) { this.ONMBDDJPHIC = 789f; } if (this.BMGFJHDKNCO() != IPBDFPEPNIM.INVALID) { this.KGIIHAPCDJE.OOEPCEFMAKA(this.onActivateInitialWaveDelay); } } } // Token: 0x0600002A RID: 42 RVA: 0x00002F28 File Offset: 0x00001128 private void PNGCLOAFDEI(ushort CHJBIHILBFO, ushort BNCBHHCPCLE) { string text = this.IKKDHJDLEEE(this.GOAKACCDPFO()) + "\\b" + this.baseName; string text2 = null; IPBDFPEPNIM ipbdfpepnim = this.CINLOIHJMOM.NKCBOCMOBCA.KKPAEEHBNGE(IHFKMIAHBFP.JEFGMHBLLKI); if (CHJBIHILBFO == 2 && ipbdfpepnim == this.BMGFJHDKNCO()) { text2 = "altimage"; } SingletonMonoBehaviour.NCKMBFBMBFM.ILFGIOEOANG((ScreenSpaceNotificationManager.DBNGPDFKLEK)6, text, text2, 225f, null, false); if (IHFKMIAHBFP.HCHIDMOLLAD) { this.KGIIHAPCDJE.OOEPCEFMAKA(this.MNONNGPFMPN()); } } // Token: 0x0600002B RID: 43 RVA: 0x00002FB4 File Offset: 0x000011B4 private void OJLOCGLGLCJ() { if (this.captureCenter != null) { Gizmos.color = Color.white; Gizmos.DrawWireSphere(this.captureCenter.position, this.captureRadius); } } // Token: 0x0600002C RID: 44 RVA: 0x00002FE8 File Offset: 0x000011E8 private void OFDHIBDHPLF(ushort CHJBIHILBFO, ushort BNCBHHCPCLE) { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.FHFOJKFICMK(this.JDOEMLHANLC(this.OLODFOEFOIF()), this.NIAOGGCEALK(this.OLODFOEFOIF()), this.captureRadius); } if (this.blueTeamPortal != null) { this.blueTeamPortal.BEMLEEHGDAP(this.NMLMFHLNBEK != IPBDFPEPNIM.TEAM_1); } if (this.redTeamPortal != null) { this.redTeamPortal.BEMLEEHGDAP(this.NMLMFHLNBEK != IPBDFPEPNIM.TEAM_1); } if (IHFKMIAHBFP.HCHIDMOLLAD) { if (this.canChangeTeam) { this.AFHONODNDGN(1380f); } if (this.BMGFJHDKNCO() != IPBDFPEPNIM.INVALID) { this.KGIIHAPCDJE.KLIANKEOBGC(this.onActivateInitialWaveDelay); } } } // Token: 0x0600002D RID: 45 RVA: 0x000030BC File Offset: 0x000012BC private ArenaBase.EADGPJONBOF ELEDAGFJKDG(IPBDFPEPNIM HJKBCDIFAEF, out IPBDFPEPNIM FOEDJDKCGCD) { ArenaBase.EADGPJONBOF eadgpjonbof = ArenaBase.EADGPJONBOF.NONE; FOEDJDKCGCD = IPBDFPEPNIM.INVALID; if (this.CINLOIHJMOM != null) { LNJFBGIBLHA[] array = this.CINLOIHJMOM.NKCBOCMOBCA.MBFGHAJFLFJ(); for (int i = 1; i < array.Length; i += 0) { if (this.BGLEFJLPGBL(array[i])) { IPBDFPEPNIM ipbdfpepnim = this.CINLOIHJMOM.NKCBOCMOBCA.KKPAEEHBNGE(array[i]); if (eadgpjonbof == ArenaBase.EADGPJONBOF.NONE) { FOEDJDKCGCD = ipbdfpepnim; eadgpjonbof = ArenaBase.EADGPJONBOF.NONE; } else if (FOEDJDKCGCD != ipbdfpepnim) { FOEDJDKCGCD = IPBDFPEPNIM.INVALID; eadgpjonbof = (ArenaBase.EADGPJONBOF)5; break; } } } } return eadgpjonbof; } // Token: 0x0600002E RID: 46 RVA: 0x00003150 File Offset: 0x00001350 private float AFCDBOEDEOM() { float num = ((this.ADPHNGLLPLJ() != this.OLODFOEFOIF()) ? this.captureDuration : this.returnToOwningTeamDuration); return Mathf.InverseLerp(num, 1094f, this.KGIIHAPCDJE.HHOBFCDNIEP()); } // Token: 0x0600002F RID: 47 RVA: 0x00003198 File Offset: 0x00001398 private void OEONKEMHIFP(ushort OIMHGOONBEB, ushort LPFGCCKCIEB) { if (OIMHGOONBEB == 1) { string text = this.IKKDHJDLEEE(this.AKBLEMAOPEM()) + "Arrow Scale Parent" + this.baseName; string text2 = null; IPBDFPEPNIM ipbdfpepnim = this.CINLOIHJMOM.NKCBOCMOBCA.KKPAEEHBNGE(IHFKMIAHBFP.JEFGMHBLLKI); if (ipbdfpepnim == this.BMGFJHDKNCO()) { text2 = "api/gamesessions/v2/"; } SingletonMonoBehaviour.NCKMBFBMBFM.ICEACNLCOGC(ScreenSpaceNotificationManager.DBNGPDFKLEK.Major, text, text2, 1255f, null, false); } if (IHFKMIAHBFP.HCHIDMOLLAD) { this.ONMBDDJPHIC = this.MGLPIIPDJPG(); } } // Token: 0x06000030 RID: 48 RVA: 0x00003220 File Offset: 0x00001420 private void PCDABOLJMBB(ushort OIMHGOONBEB, ushort LPFGCCKCIEB) { if (this.blueTeamPortal != null) { this.blueTeamPortal.JOEPFGLNGAJ = true; } if (this.redTeamPortal != null) { this.redTeamPortal.JOEPFGLNGAJ = false; } } // Token: 0x06000031 RID: 49 RVA: 0x0000325C File Offset: 0x0000145C private string IKKDHJDLEEE(IPBDFPEPNIM CLCIODCPAFC) { if (CLCIODCPAFC == IPBDFPEPNIM.INVALID) { return "Failed to generate new gift."; } return PBMLOBHPIMG.FPGHAMAAFIP(CLCIODCPAFC).ToUpper() + "DetachObject "; } // Token: 0x06000032 RID: 50 RVA: 0x00003280 File Offset: 0x00001480 private void FANKDEBNPAB(ushort CHJBIHILBFO, ushort BNCBHHCPCLE) { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.MNCFLCODNAL(this.MKJMFDKJDBO(this.ILDHNHBHHDA()), this.AMHOEMFJPOP(this.BMGFJHDKNCO()), this.captureRadius); } if (this.blueTeamPortal != null) { this.blueTeamPortal.BEMLEEHGDAP(this.OLODFOEFOIF() == IPBDFPEPNIM.TEAM_1); } if (this.redTeamPortal != null) { this.redTeamPortal.JOEPFGLNGAJ = this.AKBLEMAOPEM() == IPBDFPEPNIM.TEAM_2; } if (IHFKMIAHBFP.HCHIDMOLLAD) { if (this.canChangeTeam) { this.ONMBDDJPHIC = 1223f; } if (this.AKBLEMAOPEM() != IPBDFPEPNIM.INVALID) { this.KGIIHAPCDJE.MPFFEDHBFMA(this.onActivateInitialWaveDelay); } } } // Token: 0x06000033 RID: 51 RVA: 0x00003354 File Offset: 0x00001554 private void LKHKLKGNGGH(IPBDFPEPNIM NOBAPCOKFIL) { this.CLENGEPEDKJ.MEAINJPIECA(NOBAPCOKFIL); } // Token: 0x06000034 RID: 52 RVA: 0x00003364 File Offset: 0x00001564 private string HCIEMHODHMK(IPBDFPEPNIM CLCIODCPAFC) { if (CLCIODCPAFC == IPBDFPEPNIM.INVALID) { return "scoreToWin"; } return PBMLOBHPIMG.FPGHAMAAFIP(CLCIODCPAFC).ToUpper() + "SHID"; } // Token: 0x06000035 RID: 53 RVA: 0x00003388 File Offset: 0x00001588 private void LLLAIOPIMPL(ushort OIMHGOONBEB, ushort LPFGCCKCIEB) { if (OIMHGOONBEB == 6) { string text = this.IKKDHJDLEEE(this.NMLMFHLNBEK) + "position" + this.baseName; string text2 = null; IPBDFPEPNIM ipbdfpepnim = this.CINLOIHJMOM.NKCBOCMOBCA.KKPAEEHBNGE(IHFKMIAHBFP.JEFGMHBLLKI); if (ipbdfpepnim == this.AKBLEMAOPEM()) { text2 = "RpcAddControlPoint"; } SingletonMonoBehaviour.NCKMBFBMBFM.Play(ScreenSpaceNotificationManager.DBNGPDFKLEK.Major, text, text2, 225f, null, false); } if (IHFKMIAHBFP.HCHIDMOLLAD) { this.ONMBDDJPHIC = this.MGLPIIPDJPG(); } } // Token: 0x06000036 RID: 54 RVA: 0x00003410 File Offset: 0x00001610 public void BCCNAIIEIHG() { if (IHFKMIAHBFP.HCHIDMOLLAD) { this.MPBOONGEHDM.BKBFIGCPIMI(0); } } // Token: 0x06000037 RID: 55 RVA: 0x00003428 File Offset: 0x00001628 private void HIJOFIKNJEE() { this.MPBOONGEHDM.DLBPEOILIFL(); this.KGIIHAPCDJE.NIPOLMNBCFF(); } // Token: 0x06000038 RID: 56 RVA: 0x00003440 File Offset: 0x00001640 private IPBDFPEPNIM AMDNFICACJI() { return this.HDAHDEHNFLA.CPIBGJLHLBL(); } // Token: 0x06000039 RID: 57 RVA: 0x00003450 File Offset: 0x00001650 private IPBDFPEPNIM LNHKLFGCKML() { return this.CLENGEPEDKJ.CPIBGJLHLBL(); } // Token: 0x0600003A RID: 58 RVA: 0x00003460 File Offset: 0x00001660 private void LPIIAPNLHHH(IPBDFPEPNIM NOBAPCOKFIL) { this.CLENGEPEDKJ.MEAINJPIECA(NOBAPCOKFIL); } // Token: 0x0600003B RID: 59 RVA: 0x00003470 File Offset: 0x00001670 private void JGPCLHAOHGI(ushort CHJBIHILBFO, ushort BNCBHHCPCLE) { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.MNCFLCODNAL(this.MKJMFDKJDBO(this.BMGFJHDKNCO()), this.OPBFIONFPJL(this.BMGFJHDKNCO()), this.captureRadius); } if (this.blueTeamPortal != null) { this.blueTeamPortal.BEMLEEHGDAP(this.NMLMFHLNBEK == IPBDFPEPNIM.TEAM_1); } if (this.redTeamPortal != null) { this.redTeamPortal.BEMLEEHGDAP(this.OLODFOEFOIF() != IPBDFPEPNIM.TEAM_1); } if (IHFKMIAHBFP.HCHIDMOLLAD) { if (this.canChangeTeam) { this.AFHONODNDGN(1751f); } if (this.OLAEBFMLMJE() != IPBDFPEPNIM.INVALID) { this.KGIIHAPCDJE.MPFFEDHBFMA(this.onActivateInitialWaveDelay); } } } // Token: 0x0600003D RID: 61 RVA: 0x00003584 File Offset: 0x00001784 private Color IHHDALKNOPN(IPBDFPEPNIM CLCIODCPAFC) { if (CLCIODCPAFC == IPBDFPEPNIM.INVALID) { return Color.white; } return PBMLOBHPIMG.OMKFIIOOMJB(CLCIODCPAFC); } // Token: 0x0600003E RID: 62 RVA: 0x0000359C File Offset: 0x0000179C private void INMJMPEDIFA(IPBDFPEPNIM NOBAPCOKFIL) { this.HDAHDEHNFLA.MEAINJPIECA(NOBAPCOKFIL); } // Token: 0x0600003F RID: 63 RVA: 0x000035AC File Offset: 0x000017AC public void MasterDeactivate() { if (IHFKMIAHBFP.HCHIDMOLLAD) { this.MPBOONGEHDM.BKBFIGCPIMI(0); } } // Token: 0x06000040 RID: 64 RVA: 0x000035C4 File Offset: 0x000017C4 private void LGNHINLJKMN() { this.MPBOONGEHDM.DLBPEOILIFL(); this.KGIIHAPCDJE.JNDAEJOHPHO(); } // Token: 0x06000041 RID: 65 RVA: 0x000035DC File Offset: 0x000017DC public void MasterActivate() { if (IHFKMIAHBFP.HCHIDMOLLAD) { if (this.canChangeTeam) { this.NMLMFHLNBEK = this.defaultTeam; } this.MPBOONGEHDM.BKBFIGCPIMI(3); } } // Token: 0x06000042 RID: 66 RVA: 0x0000360C File Offset: 0x0000180C private void PFFLLFMNBGA(ushort OIMHGOONBEB, ushort LPFGCCKCIEB) { if (this.blueTeamPortal != null) { this.blueTeamPortal.BEMLEEHGDAP(false); } if (this.redTeamPortal != null) { this.redTeamPortal.AANNGPIKPNK(true); } } // Token: 0x06000043 RID: 67 RVA: 0x00003648 File Offset: 0x00001848 private void EJNGJOBDPMO() { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.LHDOLDIKNIK(this.IHHDALKNOPN(this.ADPHNGLLPLJ()), this.OMKFIIOOMJB(this.AKBLEMAOPEM()), this.KNKECFCGKNK(), this.captureRadius); } if (IHFKMIAHBFP.HCHIDMOLLAD) { IPBDFPEPNIM ipbdfpepnim; ArenaBase.EADGPJONBOF eadgpjonbof = this.HNMHHFHEKLI(this.HNAPIPFCFPM(), out ipbdfpepnim); if (eadgpjonbof == (ArenaBase.EADGPJONBOF)7) { return; } if (eadgpjonbof == ArenaBase.EADGPJONBOF.NONE) { if (ipbdfpepnim != this.ADPHNGLLPLJ()) { this.EMJMPDOOPFB(57f); } this.KBMBIHNJHMM(ipbdfpepnim); this.MPBOONGEHDM.BKBFIGCPIMI(4); return; } } } // Token: 0x06000044 RID: 68 RVA: 0x000036E8 File Offset: 0x000018E8 public void ODFANBEIPDO(ArenaManager CINLOIHJMOM) { this.CINLOIHJMOM = CINLOIHJMOM; if (this.redTeamPortal != null) { this.redTeamPortal.AANNGPIKPNK(true); } if (this.blueTeamPortal != null) { this.blueTeamPortal.JOEPFGLNGAJ = false; } this.MPBOONGEHDM.PGELJEHELFN(this, 1); } // Token: 0x06000045 RID: 69 RVA: 0x00003744 File Offset: 0x00001944 private void KFIFCJCBDPI() { if (IHFKMIAHBFP.HCHIDMOLLAD) { if (this.canChangeTeam) { IPBDFPEPNIM ipbdfpepnim; ArenaBase.EADGPJONBOF eadgpjonbof = this.ELEDAGFJKDG(this.LNHKLFGCKML(), out ipbdfpepnim); if (eadgpjonbof == ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM) { this.MPBOONGEHDM.BKBFIGCPIMI(0); return; } if (eadgpjonbof == ArenaBase.EADGPJONBOF.NONE && ipbdfpepnim != this.NMLMFHLNBEK) { this.MBKIGCEGPFO(ipbdfpepnim); this.MPBOONGEHDM.BKBFIGCPIMI(6); return; } } if (this.KGIIHAPCDJE.HFOKKCOENOF() && this.AKBLEMAOPEM() != IPBDFPEPNIM.INVALID) { EncounterDescriptor encounterDescriptor = ((this.LNHKLFGCKML() != IPBDFPEPNIM.TEAM_1) ? this.redTeamEncounterPrefab : this.blueTeamEncounterPrefab); this.encounterSpawner.MasterSpawnEncounter(encounterDescriptor, this.LNHKLFGCKML()); this.KGIIHAPCDJE.PBDGDJIFMOK(this.waveDuration); } } } // Token: 0x06000046 RID: 70 RVA: 0x00003810 File Offset: 0x00001A10 protected override void Awake() { base.Awake(); this.GPNMOEDBBBI = base.GetComponentInChildren(true); if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.SetBaseName(this.baseName); } this.CLENGEPEDKJ = new LHLLJPPCDKA(this, "OT", this.defaultTeam, IKCAJLLAFML.MASTER, new Action(this.FNLOKKHNOLL)); this.HDAHDEHNFLA = new LHLLJPPCDKA(this, "CT", IPBDFPEPNIM.INVALID, IKCAJLLAFML.MASTER, null); this.LGPJMDDABEC = new LHLLJPPCDKA(this, "CA", 0f, IKCAJLLAFML.MASTER, null); this.KGIIHAPCDJE = new AONMNAEOJAL(this, "TIMER", IKCAJLLAFML.MASTER); this.MPBOONGEHDM = new PNONBEAIBHA("SM", IKCAJLLAFML.MASTER); this.MPBOONGEHDM.AGLMMKOFICI(0, new ANMJLCILKDJ.NCMAEMHOHDG(this.PMOCBGDHNFN), null, null); this.MPBOONGEHDM.AGLMMKOFICI(1, null, null, new ANMJLCILKDJ.PLBLFEEANOO(this.NNJJLFJKCKJ)); this.MPBOONGEHDM.AGLMMKOFICI(2, new ANMJLCILKDJ.NCMAEMHOHDG(this.PGKIPHLLONF), new ANMJLCILKDJ.NCMAEMHOHDG(this.AEIMOPHFOND), new ANMJLCILKDJ.PLBLFEEANOO(this.EKGEOHCBPFB)); this.MPBOONGEHDM.AGLMMKOFICI(3, new ANMJLCILKDJ.NCMAEMHOHDG(this.KOGLDBKDHHE), new ANMJLCILKDJ.NCMAEMHOHDG(this.BCJDKJEGDFG), new ANMJLCILKDJ.PLBLFEEANOO(this.HCJDDADCGGJ)); } // Token: 0x06000047 RID: 71 RVA: 0x0000395C File Offset: 0x00001B5C private void NNJJLFJKCKJ() { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.SetContested(this.OMKFIIOOMJB(this.IPCPNMBHAOD), this.OMKFIIOOMJB(this.NMLMFHLNBEK), this.ONMBDDJPHIC, this.captureRadius); } if (IHFKMIAHBFP.HCHIDMOLLAD) { IPBDFPEPNIM ipbdfpepnim; ArenaBase.EADGPJONBOF eadgpjonbof = this.KEDBAOCNJOA(this.IPCPNMBHAOD, out ipbdfpepnim); if (eadgpjonbof == ArenaBase.EADGPJONBOF.ON_MULTIPLE_TEAMS) { return; } if (eadgpjonbof == ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM) { if (ipbdfpepnim != this.IPCPNMBHAOD) { this.ONMBDDJPHIC = 0f; } this.IPCPNMBHAOD = ipbdfpepnim; this.MPBOONGEHDM.BKBFIGCPIMI(2); return; } } } // Token: 0x06000048 RID: 72 RVA: 0x000039FC File Offset: 0x00001BFC private IPBDFPEPNIM GOAKACCDPFO() { return this.HDAHDEHNFLA.CPIBGJLHLBL(); } // Token: 0x06000049 RID: 73 RVA: 0x00003A0C File Offset: 0x00001C0C private ArenaBase.EADGPJONBOF KEDBAOCNJOA(IPBDFPEPNIM HJKBCDIFAEF, out IPBDFPEPNIM FOEDJDKCGCD) { ArenaBase.EADGPJONBOF eadgpjonbof = ArenaBase.EADGPJONBOF.NONE; FOEDJDKCGCD = IPBDFPEPNIM.INVALID; if (this.CINLOIHJMOM != null) { LNJFBGIBLHA[] array = this.CINLOIHJMOM.NKCBOCMOBCA.MBFGHAJFLFJ(); for (int i = 0; i < array.Length; i++) { if (this.KJGGHHFJAPM(array[i])) { IPBDFPEPNIM ipbdfpepnim = this.CINLOIHJMOM.NKCBOCMOBCA.KKPAEEHBNGE(array[i]); if (eadgpjonbof == ArenaBase.EADGPJONBOF.NONE) { FOEDJDKCGCD = ipbdfpepnim; eadgpjonbof = ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM; } else if (FOEDJDKCGCD != ipbdfpepnim) { FOEDJDKCGCD = IPBDFPEPNIM.INVALID; eadgpjonbof = ArenaBase.EADGPJONBOF.ON_MULTIPLE_TEAMS; break; } } } } return eadgpjonbof; } // Token: 0x0600004A RID: 74 RVA: 0x00003AA0 File Offset: 0x00001CA0 public void KHBNPHMBOMC() { if (IHFKMIAHBFP.HCHIDMOLLAD) { if (this.canChangeTeam) { this.LKHKLKGNGGH(this.defaultTeam); } this.MPBOONGEHDM.BKBFIGCPIMI(1); } } // Token: 0x0600004B RID: 75 RVA: 0x00003AD0 File Offset: 0x00001CD0 private void EMJMPDOOPFB(float NOBAPCOKFIL) { this.LGPJMDDABEC.MEAINJPIECA(NOBAPCOKFIL); } // Token: 0x17000003 RID: 3 // (get) Token: 0x06000067 RID: 103 RVA: 0x000044F0 File Offset: 0x000026F0 // (set) Token: 0x0600004C RID: 76 RVA: 0x00003AE0 File Offset: 0x00001CE0 private float ONMBDDJPHIC { get { return this.LGPJMDDABEC.CPIBGJLHLBL(); } set { this.LGPJMDDABEC.MEAINJPIECA(value); } } // Token: 0x0600004D RID: 77 RVA: 0x00003AF0 File Offset: 0x00001CF0 private void AEIMOPHFOND(ushort OIMHGOONBEB, ushort LPFGCCKCIEB) { if (OIMHGOONBEB == 3) { string text = this.FPGHAMAAFIP(this.NMLMFHLNBEK) + " CAPTURED BASE " + this.baseName; string text2 = null; IPBDFPEPNIM ipbdfpepnim = this.CINLOIHJMOM.NKCBOCMOBCA.KKPAEEHBNGE(IHFKMIAHBFP.JEFGMHBLLKI); if (ipbdfpepnim == this.NMLMFHLNBEK) { text2 = "PORTAL AND ELITE BOTS ONLINE"; } SingletonMonoBehaviour.NCKMBFBMBFM.Play(ScreenSpaceNotificationManager.DBNGPDFKLEK.Major, text, text2, 5f, null, false); } if (IHFKMIAHBFP.HCHIDMOLLAD) { this.ONMBDDJPHIC = this.DLJCFCMAJAL(); } } // Token: 0x0600004E RID: 78 RVA: 0x00003B78 File Offset: 0x00001D78 private void GGNKGHLOFLL() { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.DJJAIOIGLMP(this.OMKFIIOOMJB(this.ADPHNGLLPLJ()), this.OMKFIIOOMJB(this.LNHKLFGCKML()), this.HKLJDHKIPIF(), this.captureRadius); } if (IHFKMIAHBFP.HCHIDMOLLAD) { IPBDFPEPNIM ipbdfpepnim; ArenaBase.EADGPJONBOF eadgpjonbof = this.KAICLBJGHLC(this.HNAPIPFCFPM(), out ipbdfpepnim); if (eadgpjonbof != ArenaBase.EADGPJONBOF.NONE || ipbdfpepnim != this.GOAKACCDPFO()) { this.MPBOONGEHDM.BKBFIGCPIMI(1); return; } if (this.KGIIHAPCDJE.CGELFKLLMBA) { this.NMLMFHLNBEK = this.IOMGALHEGJH(); this.MPBOONGEHDM.BKBFIGCPIMI(5); } } } // Token: 0x0600004F RID: 79 RVA: 0x00003C28 File Offset: 0x00001E28 private void GIDAKBMEKKM(IPBDFPEPNIM NOBAPCOKFIL) { this.CLENGEPEDKJ.MEAINJPIECA(NOBAPCOKFIL); } // Token: 0x06000050 RID: 80 RVA: 0x00003C38 File Offset: 0x00001E38 private void EBGKFLMHPMJ(ushort OIMHGOONBEB, ushort LPFGCCKCIEB) { if (OIMHGOONBEB == 3) { string text = this.PCCAPGKNNEM(this.OLODFOEFOIF()) + "z" + this.baseName; string text2 = null; IPBDFPEPNIM ipbdfpepnim = this.CINLOIHJMOM.NKCBOCMOBCA.KKPAEEHBNGE(IHFKMIAHBFP.JEFGMHBLLKI); if (ipbdfpepnim == this.ILDHNHBHHDA()) { text2 = "\t"; } SingletonMonoBehaviour.NCKMBFBMBFM.DHMODMENLCE(ScreenSpaceNotificationManager.DBNGPDFKLEK.Major, text, text2, 1083f, null, true); } if (IHFKMIAHBFP.HCHIDMOLLAD) { this.AFHONODNDGN(this.MGLPIIPDJPG()); } } // Token: 0x06000051 RID: 81 RVA: 0x00003CC0 File Offset: 0x00001EC0 private void PBJJGHHLIHN() { if (this.captureCenter != null) { Gizmos.color = Color.white; Gizmos.DrawWireSphere(this.captureCenter.position, this.captureRadius); } } // Token: 0x06000052 RID: 82 RVA: 0x00003CF4 File Offset: 0x00001EF4 private void OGCLHMBPNLH() { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.SetContested(this.AMHOEMFJPOP(this.GOAKACCDPFO()), this.IHHDALKNOPN(this.AKBLEMAOPEM()), this.ONMBDDJPHIC, this.captureRadius); } if (IHFKMIAHBFP.HCHIDMOLLAD) { IPBDFPEPNIM ipbdfpepnim; ArenaBase.EADGPJONBOF eadgpjonbof = this.HNMHHFHEKLI(this.IPCPNMBHAOD, out ipbdfpepnim); if (eadgpjonbof == (ArenaBase.EADGPJONBOF)5) { return; } if (eadgpjonbof == ArenaBase.EADGPJONBOF.NONE) { if (ipbdfpepnim != this.GOAKACCDPFO()) { this.AFHONODNDGN(543f); } this.INMJMPEDIFA(ipbdfpepnim); this.MPBOONGEHDM.BKBFIGCPIMI(7); return; } } } // Token: 0x06000053 RID: 83 RVA: 0x00003D94 File Offset: 0x00001F94 private void OFFEAFGPCNO(ushort OIMHGOONBEB, ushort LPFGCCKCIEB) { if (OIMHGOONBEB == 1) { string text = this.PCCAPGKNNEM(this.AKBLEMAOPEM()) + "ParticleRoot" + this.baseName; string text2 = null; IPBDFPEPNIM ipbdfpepnim = this.CINLOIHJMOM.NKCBOCMOBCA.KKPAEEHBNGE(IHFKMIAHBFP.JEFGMHBLLKI); if (ipbdfpepnim == this.ILDHNHBHHDA()) { text2 = "CodeOfConduct"; } SingletonMonoBehaviour.NCKMBFBMBFM.LENOAEPNDPE(ScreenSpaceNotificationManager.DBNGPDFKLEK.Major, text, text2, 1079f, null, false); } if (IHFKMIAHBFP.HCHIDMOLLAD) { this.EMJMPDOOPFB(this.LNFLMKJENPI()); } } // Token: 0x06000054 RID: 84 RVA: 0x00003E1C File Offset: 0x0000201C private bool FIDAOBILEHD(LNJFBGIBLHA JEFGMHBLLKI) { if (!this.CINLOIHJMOM.DPOLNGGBMDH.AKDEIFDDDDJ(JEFGMHBLLKI)) { return true; } Player player = JEFGMHBLLKI.JHJGDFHNBLO(); return !(player == null) && !(this.captureCenter == null) && (player.FGLFIJLGCKD - this.captureCenter.position).sqrMagnitude <= this.captureRadius * this.captureRadius; } // Token: 0x06000055 RID: 85 RVA: 0x00003E98 File Offset: 0x00002098 private void JOPHAPFNPNC(ushort CHJBIHILBFO, ushort BNCBHHCPCLE) { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.CPKJIAMJGOJ(); } if (IHFKMIAHBFP.HCHIDMOLLAD) { this.encounterSpawner.MasterDestroyAllActiveEncounters(); } } // Token: 0x06000056 RID: 86 RVA: 0x00003ECC File Offset: 0x000020CC private void ACCHFCELJBH() { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.PCNEKGCLCAN(this.OPBFIONFPJL(this.IOMGALHEGJH()), this.AMHOEMFJPOP(this.LNHKLFGCKML()), this.LFLJHDJNKHC(), this.captureRadius); } if (IHFKMIAHBFP.HCHIDMOLLAD) { IPBDFPEPNIM ipbdfpepnim; ArenaBase.EADGPJONBOF eadgpjonbof = this.HNMHHFHEKLI(this.HNAPIPFCFPM(), out ipbdfpepnim); if (eadgpjonbof == (ArenaBase.EADGPJONBOF)8) { return; } if (eadgpjonbof == ArenaBase.EADGPJONBOF.NONE) { if (ipbdfpepnim != this.IPCPNMBHAOD) { this.ONMBDDJPHIC = 1895f; } this.IPCPNMBHAOD = ipbdfpepnim; this.MPBOONGEHDM.BKBFIGCPIMI(0); return; } } } // Token: 0x06000057 RID: 87 RVA: 0x00003F6C File Offset: 0x0000216C private void PMOCBGDHNFN(ushort CHJBIHILBFO, ushort BNCBHHCPCLE) { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.SetInactive(); } if (IHFKMIAHBFP.HCHIDMOLLAD) { this.encounterSpawner.MasterDestroyAllActiveEncounters(); } } // Token: 0x06000058 RID: 88 RVA: 0x00003FA0 File Offset: 0x000021A0 public void MJHDNBHOFDE() { if (IHFKMIAHBFP.HCHIDMOLLAD) { if (this.canChangeTeam) { this.GIDAKBMEKKM(this.defaultTeam); } this.MPBOONGEHDM.BKBFIGCPIMI(7); } } // Token: 0x06000059 RID: 89 RVA: 0x00003FD0 File Offset: 0x000021D0 private void AFBHMOEOAOI() { if (IHFKMIAHBFP.HCHIDMOLLAD) { if (this.canChangeTeam) { IPBDFPEPNIM ipbdfpepnim; ArenaBase.EADGPJONBOF eadgpjonbof = this.KHKIFMJDLNP(this.BMGFJHDKNCO(), out ipbdfpepnim); if (eadgpjonbof == ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM) { this.MPBOONGEHDM.BKBFIGCPIMI(1); return; } if (eadgpjonbof == ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM && ipbdfpepnim != this.NMLMFHLNBEK) { this.KBMBIHNJHMM(ipbdfpepnim); this.MPBOONGEHDM.BKBFIGCPIMI(3); return; } } if (this.KGIIHAPCDJE.CGELFKLLMBA && this.BMGFJHDKNCO() != IPBDFPEPNIM.INVALID) { EncounterDescriptor encounterDescriptor = ((this.OLAEBFMLMJE() != IPBDFPEPNIM.TEAM_1) ? this.redTeamEncounterPrefab : this.blueTeamEncounterPrefab); this.encounterSpawner.MasterSpawnEncounter(encounterDescriptor, this.BMGFJHDKNCO()); this.KGIIHAPCDJE.OOEPCEFMAKA(this.waveDuration); } } } // Token: 0x0600005B RID: 91 RVA: 0x000040AC File Offset: 0x000022AC private void BCJDKJEGDFG(ushort OIMHGOONBEB, ushort LPFGCCKCIEB) { if (this.blueTeamPortal != null) { this.blueTeamPortal.JOEPFGLNGAJ = true; } if (this.redTeamPortal != null) { this.redTeamPortal.JOEPFGLNGAJ = true; } } // Token: 0x0600005C RID: 92 RVA: 0x000040E8 File Offset: 0x000022E8 private IPBDFPEPNIM HNAPIPFCFPM() { return this.HDAHDEHNFLA.CPIBGJLHLBL(); } // Token: 0x0600005D RID: 93 RVA: 0x000040F8 File Offset: 0x000022F8 private IPBDFPEPNIM ILDHNHBHHDA() { return this.CLENGEPEDKJ.CPIBGJLHLBL(); } // Token: 0x0600005E RID: 94 RVA: 0x00004108 File Offset: 0x00002308 private IPBDFPEPNIM AKBLEMAOPEM() { return this.CLENGEPEDKJ.CPIBGJLHLBL(); } // Token: 0x0600005F RID: 95 RVA: 0x00004118 File Offset: 0x00002318 private void HCJDDADCGGJ() { if (IHFKMIAHBFP.HCHIDMOLLAD) { if (this.canChangeTeam) { IPBDFPEPNIM ipbdfpepnim; ArenaBase.EADGPJONBOF eadgpjonbof = this.KEDBAOCNJOA(this.NMLMFHLNBEK, out ipbdfpepnim); if (eadgpjonbof == ArenaBase.EADGPJONBOF.ON_MULTIPLE_TEAMS) { this.MPBOONGEHDM.BKBFIGCPIMI(1); return; } if (eadgpjonbof == ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM && ipbdfpepnim != this.NMLMFHLNBEK) { this.IPCPNMBHAOD = ipbdfpepnim; this.MPBOONGEHDM.BKBFIGCPIMI(2); return; } } if (this.KGIIHAPCDJE.CGELFKLLMBA && this.NMLMFHLNBEK != IPBDFPEPNIM.INVALID) { EncounterDescriptor encounterDescriptor = ((this.NMLMFHLNBEK != IPBDFPEPNIM.TEAM_1) ? this.redTeamEncounterPrefab : this.blueTeamEncounterPrefab); this.encounterSpawner.MasterSpawnEncounter(encounterDescriptor, this.NMLMFHLNBEK); this.KGIIHAPCDJE.BJOJLPHBGMN(this.waveDuration); } } } // Token: 0x06000060 RID: 96 RVA: 0x000041E4 File Offset: 0x000023E4 private ArenaBase.EADGPJONBOF FBJKKKKNJFL(IPBDFPEPNIM HJKBCDIFAEF, out IPBDFPEPNIM FOEDJDKCGCD) { ArenaBase.EADGPJONBOF eadgpjonbof = ArenaBase.EADGPJONBOF.NONE; FOEDJDKCGCD = IPBDFPEPNIM.INVALID; if (this.CINLOIHJMOM != null) { LNJFBGIBLHA[] array = this.CINLOIHJMOM.NKCBOCMOBCA.MBFGHAJFLFJ(); for (int i = 0; i < array.Length; i++) { if (this.KJGGHHFJAPM(array[i])) { IPBDFPEPNIM ipbdfpepnim = this.CINLOIHJMOM.NKCBOCMOBCA.KKPAEEHBNGE(array[i]); if (eadgpjonbof == ArenaBase.EADGPJONBOF.NONE) { FOEDJDKCGCD = ipbdfpepnim; eadgpjonbof = ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM; } else if (FOEDJDKCGCD != ipbdfpepnim) { FOEDJDKCGCD = IPBDFPEPNIM.INVALID; eadgpjonbof = ArenaBase.EADGPJONBOF.NONE; break; } } } } return eadgpjonbof; } // Token: 0x06000061 RID: 97 RVA: 0x00004278 File Offset: 0x00002478 private float LNFLMKJENPI() { float num = ((this.HNAPIPFCFPM() != this.LNHKLFGCKML()) ? this.captureDuration : this.returnToOwningTeamDuration); return Mathf.InverseLerp(num, 535f, this.KGIIHAPCDJE.HHOBFCDNIEP()); } // Token: 0x06000062 RID: 98 RVA: 0x000042C0 File Offset: 0x000024C0 private void IDGJGAIBOCK() { this.MPBOONGEHDM.DLBPEOILIFL(); this.KGIIHAPCDJE.NIPOLMNBCFF(); } // Token: 0x06000063 RID: 99 RVA: 0x000042D8 File Offset: 0x000024D8 protected virtual void INGMCGGJGMA() { base.LGCNFLACIIH(); this.GPNMOEDBBBI = base.GetComponentInChildren(false); if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.IHBIGFBFPBD(this.baseName); } this.CLENGEPEDKJ = new LHLLJPPCDKA(this, "sequence_number", this.defaultTeam, IKCAJLLAFML.AUTHORITY, new Action(this.FEHMLLDNOIM)); this.HDAHDEHNFLA = new LHLLJPPCDKA(this, "v1/ignore", IPBDFPEPNIM.INVALID, IKCAJLLAFML.MASTER, null); this.LGPJMDDABEC = new LHLLJPPCDKA(this, "SB", 621f, IKCAJLLAFML.MASTER, null); this.KGIIHAPCDJE = new AONMNAEOJAL(this, "wss", IKCAJLLAFML.AUTHORITY); this.MPBOONGEHDM = new PNONBEAIBHA("created_profile", IKCAJLLAFML.AUTHORITY); this.MPBOONGEHDM.AGLMMKOFICI(0, new ANMJLCILKDJ.NCMAEMHOHDG(this.BBECHOJOGFG), null, null); this.MPBOONGEHDM.AGLMMKOFICI(0, null, null, new ANMJLCILKDJ.PLBLFEEANOO(this.NNJJLFJKCKJ)); this.MPBOONGEHDM.AGLMMKOFICI(2, new ANMJLCILKDJ.NCMAEMHOHDG(this.PGKIPHLLONF), new ANMJLCILKDJ.NCMAEMHOHDG(this.LLLAIOPIMPL), new ANMJLCILKDJ.PLBLFEEANOO(this.NIMJFPIMBOH)); this.MPBOONGEHDM.AGLMMKOFICI(4, new ANMJLCILKDJ.NCMAEMHOHDG(this.OFDHIBDHPLF), new ANMJLCILKDJ.NCMAEMHOHDG(this.PDANJGLGCOJ), new ANMJLCILKDJ.PLBLFEEANOO(this.ODCBNLGILKK)); } // Token: 0x06000064 RID: 100 RVA: 0x00004424 File Offset: 0x00002624 private void BHFFIPAMMEE() { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.DHNIDIMPFFN(this.AMHOEMFJPOP(this.ADPHNGLLPLJ()), this.OPBFIONFPJL(this.OLAEBFMLMJE()), this.EIHHMEJPNCB(), this.captureRadius); } if (IHFKMIAHBFP.HCHIDMOLLAD) { IPBDFPEPNIM ipbdfpepnim; ArenaBase.EADGPJONBOF eadgpjonbof = this.KHKIFMJDLNP(this.IOMGALHEGJH(), out ipbdfpepnim); if (eadgpjonbof != ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM || ipbdfpepnim != this.HNAPIPFCFPM()) { this.MPBOONGEHDM.BKBFIGCPIMI(1); return; } if (this.KGIIHAPCDJE.HFOKKCOENOF()) { this.LKHKLKGNGGH(this.ADPHNGLLPLJ()); this.MPBOONGEHDM.BKBFIGCPIMI(0); } } } // Token: 0x06000065 RID: 101 RVA: 0x000044D4 File Offset: 0x000026D4 private void OCOIFBODAPJ() { } // Token: 0x06000066 RID: 102 RVA: 0x000044D8 File Offset: 0x000026D8 private void NEEFJHOFMEE() { this.MPBOONGEHDM.DLBPEOILIFL(); this.KGIIHAPCDJE.KHJKJGDBPMF(); } // Token: 0x06000068 RID: 104 RVA: 0x00004500 File Offset: 0x00002700 private string JDOEMLHANLC(IPBDFPEPNIM CLCIODCPAFC) { if (CLCIODCPAFC == IPBDFPEPNIM.INVALID) { return "Ensure skybox textures are not compressed and have no mipmaps."; } return PBMLOBHPIMG.FPGHAMAAFIP(CLCIODCPAFC).ToUpper() + " Trace: "; } // Token: 0x06000069 RID: 105 RVA: 0x00004524 File Offset: 0x00002724 public void DEJDDCFABBP(ArenaManager CINLOIHJMOM) { this.CINLOIHJMOM = CINLOIHJMOM; if (this.redTeamPortal != null) { this.redTeamPortal.AANNGPIKPNK(false); } if (this.blueTeamPortal != null) { this.blueTeamPortal.AANNGPIKPNK(false); } this.MPBOONGEHDM.FLHFCMCNLEK(this, 1); } // Token: 0x0600006A RID: 106 RVA: 0x00004580 File Offset: 0x00002780 public void PCGOPMEHOCG() { if (IHFKMIAHBFP.HCHIDMOLLAD) { if (this.canChangeTeam) { this.NMLMFHLNBEK = this.defaultTeam; } this.MPBOONGEHDM.BKBFIGCPIMI(5); } } // Token: 0x0600006B RID: 107 RVA: 0x000045B0 File Offset: 0x000027B0 private void KOGLDBKDHHE(ushort CHJBIHILBFO, ushort BNCBHHCPCLE) { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.SetOwned(this.FPGHAMAAFIP(this.NMLMFHLNBEK), this.OMKFIIOOMJB(this.NMLMFHLNBEK), this.captureRadius); } if (this.blueTeamPortal != null) { this.blueTeamPortal.JOEPFGLNGAJ = this.NMLMFHLNBEK != IPBDFPEPNIM.TEAM_1; } if (this.redTeamPortal != null) { this.redTeamPortal.JOEPFGLNGAJ = this.NMLMFHLNBEK != IPBDFPEPNIM.TEAM_2; } if (IHFKMIAHBFP.HCHIDMOLLAD) { if (this.canChangeTeam) { this.ONMBDDJPHIC = 0f; } if (this.NMLMFHLNBEK != IPBDFPEPNIM.INVALID) { this.KGIIHAPCDJE.BJOJLPHBGMN(this.onActivateInitialWaveDelay); } } } // Token: 0x0600006C RID: 108 RVA: 0x00004684 File Offset: 0x00002884 private void FNLOKKHNOLL() { } // Token: 0x0600006D RID: 109 RVA: 0x00004688 File Offset: 0x00002888 private float HKLJDHKIPIF() { float num = ((this.GOAKACCDPFO() != this.OLODFOEFOIF()) ? this.captureDuration : this.returnToOwningTeamDuration); return Mathf.InverseLerp(num, 1840f, this.KGIIHAPCDJE.POIPDEMLJBO()); } // Token: 0x0600006E RID: 110 RVA: 0x000046D0 File Offset: 0x000028D0 private float HLKONCIHLDC() { float num = ((this.IPCPNMBHAOD != this.AKBLEMAOPEM()) ? this.captureDuration : this.returnToOwningTeamDuration); return Mathf.Lerp(num, 1587f, this.ONMBDDJPHIC); } // Token: 0x0600006F RID: 111 RVA: 0x00004714 File Offset: 0x00002914 public void KKJHPGKDDAI(ArenaManager CINLOIHJMOM) { this.CINLOIHJMOM = CINLOIHJMOM; if (this.redTeamPortal != null) { this.redTeamPortal.JOEPFGLNGAJ = false; } if (this.blueTeamPortal != null) { this.blueTeamPortal.BEMLEEHGDAP(false); } this.MPBOONGEHDM.PGELJEHELFN(this, 1); } // Token: 0x06000070 RID: 112 RVA: 0x00004770 File Offset: 0x00002970 private bool FGJJDAHGFNN(LNJFBGIBLHA JEFGMHBLLKI) { if (!this.CINLOIHJMOM.DPOLNGGBMDH.AGGHJBNIMKN(JEFGMHBLLKI)) { return false; } Player player = JEFGMHBLLKI.JHJGDFHNBLO(); return !(player == null) && !(this.captureCenter == null) && (player.FGLFIJLGCKD - this.captureCenter.position).sqrMagnitude <= this.captureRadius * this.captureRadius; } // Token: 0x06000071 RID: 113 RVA: 0x000047EC File Offset: 0x000029EC public void EJCCFHKBIMH() { if (IHFKMIAHBFP.HCHIDMOLLAD) { if (this.canChangeTeam) { this.LPIIAPNLHHH(this.defaultTeam); } this.MPBOONGEHDM.BKBFIGCPIMI(2); } } // Token: 0x06000072 RID: 114 RVA: 0x0000481C File Offset: 0x00002A1C private bool DCFBFDGMNHE(LNJFBGIBLHA JEFGMHBLLKI) { if (!this.CINLOIHJMOM.DPOLNGGBMDH.AGGHJBNIMKN(JEFGMHBLLKI)) { return false; } Player player = JEFGMHBLLKI.JHJGDFHNBLO(); return !(player == null) && !(this.captureCenter == null) && (player.FGLFIJLGCKD - this.captureCenter.position).sqrMagnitude > this.captureRadius * this.captureRadius; } // Token: 0x06000073 RID: 115 RVA: 0x00004898 File Offset: 0x00002A98 private IPBDFPEPNIM OLAEBFMLMJE() { return this.CLENGEPEDKJ.CPIBGJLHLBL(); } // Token: 0x06000074 RID: 116 RVA: 0x000048A8 File Offset: 0x00002AA8 private void ODCBNLGILKK() { if (IHFKMIAHBFP.HCHIDMOLLAD) { if (this.canChangeTeam) { IPBDFPEPNIM ipbdfpepnim; ArenaBase.EADGPJONBOF eadgpjonbof = this.KAICLBJGHLC(this.AKBLEMAOPEM(), out ipbdfpepnim); if (eadgpjonbof == ArenaBase.EADGPJONBOF.ON_MULTIPLE_TEAMS) { this.MPBOONGEHDM.BKBFIGCPIMI(0); return; } if (eadgpjonbof == ArenaBase.EADGPJONBOF.NONE && ipbdfpepnim != this.LNHKLFGCKML()) { this.MBKIGCEGPFO(ipbdfpepnim); this.MPBOONGEHDM.BKBFIGCPIMI(5); return; } } if (this.KGIIHAPCDJE.HFOKKCOENOF() && this.NMLMFHLNBEK != IPBDFPEPNIM.INVALID) { EncounterDescriptor encounterDescriptor = ((this.OLAEBFMLMJE() != IPBDFPEPNIM.TEAM_1) ? this.redTeamEncounterPrefab : this.blueTeamEncounterPrefab); this.encounterSpawner.APPCILIEBCO(encounterDescriptor, this.BMGFJHDKNCO()); this.KGIIHAPCDJE.OOEPCEFMAKA(this.waveDuration); } } } // Token: 0x06000075 RID: 117 RVA: 0x00004974 File Offset: 0x00002B74 private bool KOJJOHACEID(LNJFBGIBLHA JEFGMHBLLKI) { if (!this.CINLOIHJMOM.DPOLNGGBMDH.AGGHJBNIMKN(JEFGMHBLLKI)) { return false; } Player player = JEFGMHBLLKI.JHJGDFHNBLO(); return !(player == null) && !(this.captureCenter == null) && (player.FGLFIJLGCKD - this.captureCenter.position).sqrMagnitude <= this.captureRadius * this.captureRadius; } // Token: 0x06000076 RID: 118 RVA: 0x000049F0 File Offset: 0x00002BF0 private void IDGAMNAEKKP() { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.NENGCCPDCNP(this.OMKFIIOOMJB(this.IOMGALHEGJH()), this.IHHDALKNOPN(this.NMLMFHLNBEK), this.PMMOELJGKKP(), this.captureRadius); } if (IHFKMIAHBFP.HCHIDMOLLAD) { IPBDFPEPNIM ipbdfpepnim; ArenaBase.EADGPJONBOF eadgpjonbof = this.ELEDAGFJKDG(this.ADPHNGLLPLJ(), out ipbdfpepnim); if (eadgpjonbof != ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM || ipbdfpepnim != this.HNAPIPFCFPM()) { this.MPBOONGEHDM.BKBFIGCPIMI(1); return; } if (this.KGIIHAPCDJE.CGELFKLLMBA) { this.GIDAKBMEKKM(this.IPCPNMBHAOD); this.MPBOONGEHDM.BKBFIGCPIMI(5); } } } // Token: 0x06000077 RID: 119 RVA: 0x00004AA0 File Offset: 0x00002CA0 private string FPGHAMAAFIP(IPBDFPEPNIM CLCIODCPAFC) { if (CLCIODCPAFC == IPBDFPEPNIM.INVALID) { return "NEUTRAL"; } return PBMLOBHPIMG.FPGHAMAAFIP(CLCIODCPAFC).ToUpper() + " TEAM"; } // Token: 0x06000078 RID: 120 RVA: 0x00004AC4 File Offset: 0x00002CC4 private float LFLJHDJNKHC() { return this.LGPJMDDABEC.CPIBGJLHLBL(); } // Token: 0x06000079 RID: 121 RVA: 0x00004AD4 File Offset: 0x00002CD4 private Color OMKFIIOOMJB(IPBDFPEPNIM CLCIODCPAFC) { if (CLCIODCPAFC == IPBDFPEPNIM.INVALID) { return Color.white; } return PBMLOBHPIMG.OMKFIIOOMJB(CLCIODCPAFC); } // Token: 0x0600007A RID: 122 RVA: 0x00004AEC File Offset: 0x00002CEC private void KIMAJKHABJI() { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.OPFIDIIMKMN(this.OMKFIIOOMJB(this.IPCPNMBHAOD), this.OMKFIIOOMJB(this.BMGFJHDKNCO()), this.AFCDBOEDEOM(), this.captureRadius); } if (IHFKMIAHBFP.HCHIDMOLLAD) { IPBDFPEPNIM ipbdfpepnim; ArenaBase.EADGPJONBOF eadgpjonbof = this.ELEDAGFJKDG(this.GOAKACCDPFO(), out ipbdfpepnim); if (eadgpjonbof != ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM || ipbdfpepnim != this.ADPHNGLLPLJ()) { this.MPBOONGEHDM.BKBFIGCPIMI(1); return; } if (this.KGIIHAPCDJE.CGELFKLLMBA) { this.GIDAKBMEKKM(this.IPCPNMBHAOD); this.MPBOONGEHDM.BKBFIGCPIMI(0); } } } // Token: 0x0600007B RID: 123 RVA: 0x00004B9C File Offset: 0x00002D9C private bool GPPOKHNNNDK(LNJFBGIBLHA JEFGMHBLLKI) { if (!this.CINLOIHJMOM.DPOLNGGBMDH.AKDEIFDDDDJ(JEFGMHBLLKI)) { return false; } Player player = JEFGMHBLLKI.JHJGDFHNBLO(); return !(player == null) && !(this.captureCenter == null) && (player.FGLFIJLGCKD - this.captureCenter.position).sqrMagnitude > this.captureRadius * this.captureRadius; } // Token: 0x0600007C RID: 124 RVA: 0x00004C18 File Offset: 0x00002E18 private void Update() { this.MPBOONGEHDM.DLBPEOILIFL(); this.KGIIHAPCDJE.KHJKJGDBPMF(); } // Token: 0x0600007D RID: 125 RVA: 0x00004C30 File Offset: 0x00002E30 private void GHHDMHEDEFF(ushort CHJBIHILBFO, ushort BNCBHHCPCLE) { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.DPGBHMJFPMG(this.HCIEMHODHMK(this.LNHKLFGCKML()), this.IHHDALKNOPN(this.NMLMFHLNBEK), this.captureRadius); } if (this.blueTeamPortal != null) { this.blueTeamPortal.JOEPFGLNGAJ = this.OLAEBFMLMJE() != IPBDFPEPNIM.TEAM_2; } if (this.redTeamPortal != null) { this.redTeamPortal.JOEPFGLNGAJ = this.ILDHNHBHHDA() != IPBDFPEPNIM.TEAM_2; } if (IHFKMIAHBFP.HCHIDMOLLAD) { if (this.canChangeTeam) { this.AFHONODNDGN(1386f); } if (this.BMGFJHDKNCO() != IPBDFPEPNIM.INVALID) { this.KGIIHAPCDJE.PBDGDJIFMOK(this.onActivateInitialWaveDelay); } } } // Token: 0x0600007E RID: 126 RVA: 0x00004D04 File Offset: 0x00002F04 private void KPLDKNPCAAB() { this.MPBOONGEHDM.DLBPEOILIFL(); this.KGIIHAPCDJE.JNDAEJOHPHO(); } // Token: 0x0600007F RID: 127 RVA: 0x00004D1C File Offset: 0x00002F1C private void NIMJFPIMBOH() { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.DHNIDIMPFFN(this.NIAOGGCEALK(this.GOAKACCDPFO()), this.IHHDALKNOPN(this.BMGFJHDKNCO()), this.LNFLMKJENPI(), this.captureRadius); } if (IHFKMIAHBFP.HCHIDMOLLAD) { IPBDFPEPNIM ipbdfpepnim; ArenaBase.EADGPJONBOF eadgpjonbof = this.KHKIFMJDLNP(this.ADPHNGLLPLJ(), out ipbdfpepnim); if (eadgpjonbof != ArenaBase.EADGPJONBOF.NONE || ipbdfpepnim != this.IPCPNMBHAOD) { this.MPBOONGEHDM.BKBFIGCPIMI(1); return; } if (this.KGIIHAPCDJE.ALEKFIMMFPH()) { this.LPIIAPNLHHH(this.GOAKACCDPFO()); this.MPBOONGEHDM.BKBFIGCPIMI(2); } } } // Token: 0x06000080 RID: 128 RVA: 0x00004DCC File Offset: 0x00002FCC private void NJLJOGNHANP() { this.MPBOONGEHDM.DLBPEOILIFL(); this.KGIIHAPCDJE.AOKPPLPAKIO(); } // Token: 0x06000081 RID: 129 RVA: 0x00004DE4 File Offset: 0x00002FE4 public void Initialize(ArenaManager CINLOIHJMOM) { this.CINLOIHJMOM = CINLOIHJMOM; if (this.redTeamPortal != null) { this.redTeamPortal.JOEPFGLNGAJ = true; } if (this.blueTeamPortal != null) { this.blueTeamPortal.JOEPFGLNGAJ = true; } this.MPBOONGEHDM.FLHFCMCNLEK(this, 0); } // Token: 0x06000082 RID: 130 RVA: 0x00004E40 File Offset: 0x00003040 private void EKGEOHCBPFB() { if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.SetCapturing(this.OMKFIIOOMJB(this.IPCPNMBHAOD), this.OMKFIIOOMJB(this.NMLMFHLNBEK), this.DLJCFCMAJAL(), this.captureRadius); } if (IHFKMIAHBFP.HCHIDMOLLAD) { IPBDFPEPNIM ipbdfpepnim; ArenaBase.EADGPJONBOF eadgpjonbof = this.KEDBAOCNJOA(this.IPCPNMBHAOD, out ipbdfpepnim); if (eadgpjonbof != ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM || ipbdfpepnim != this.IPCPNMBHAOD) { this.MPBOONGEHDM.BKBFIGCPIMI(1); return; } if (this.KGIIHAPCDJE.CGELFKLLMBA) { this.NMLMFHLNBEK = this.IPCPNMBHAOD; this.MPBOONGEHDM.BKBFIGCPIMI(3); } } } // Token: 0x06000083 RID: 131 RVA: 0x00004EF0 File Offset: 0x000030F0 private void ANAGMGEAKOG() { if (this.captureCenter != null) { Gizmos.color = Color.white; Gizmos.DrawWireSphere(this.captureCenter.position, this.captureRadius); } } // Token: 0x06000084 RID: 132 RVA: 0x00004F24 File Offset: 0x00003124 private void OnDrawGizmos() { if (this.captureCenter != null) { Gizmos.color = Color.white; Gizmos.DrawWireSphere(this.captureCenter.position, this.captureRadius); } } // Token: 0x06000085 RID: 133 RVA: 0x00004F58 File Offset: 0x00003158 private void EFDAPJFKKLC(ushort CHJBIHILBFO, ushort BNCBHHCPCLE) { string text = this.FPGHAMAAFIP(this.IPCPNMBHAOD) + "Done waiting, spawn VRManager" + this.baseName; string text2 = null; IPBDFPEPNIM ipbdfpepnim = this.CINLOIHJMOM.NKCBOCMOBCA.KKPAEEHBNGE(IHFKMIAHBFP.JEFGMHBLLKI); if (CHJBIHILBFO == 2 && ipbdfpepnim == this.AKBLEMAOPEM()) { text2 = "amount"; } SingletonMonoBehaviour.NCKMBFBMBFM.Play(ScreenSpaceNotificationManager.DBNGPDFKLEK.Vital, text, text2, 26f, null, true); if (IHFKMIAHBFP.HCHIDMOLLAD) { this.KGIIHAPCDJE.MPFFEDHBFMA(this.MNONNGPFMPN()); } } // Token: 0x06000086 RID: 134 RVA: 0x00004FE4 File Offset: 0x000031E4 protected virtual void GJGEACMGLKP() { base.MICFHMAIGIB(); this.GPNMOEDBBBI = base.GetComponentInChildren(true); if (this.GPNMOEDBBBI != null) { this.GPNMOEDBBBI.JGHCIJLBMKF(this.baseName); } this.CLENGEPEDKJ = new LHLLJPPCDKA(this, "ReJoinRoom failed. Client is not on Master Server or not yet ready to call operations. Wait for callback: OnJoinedLobby or OnConnectedToMaster.", this.defaultTeam, IKCAJLLAFML.AUTHORITY, new Action(this.NAHHFPLLGOG)); this.HDAHDEHNFLA = new LHLLJPPCDKA(this, "report_category", IPBDFPEPNIM.INVALID, IKCAJLLAFML.MASTER, null); this.LGPJMDDABEC = new LHLLJPPCDKA(this, "
using System;\r\nusing System.Collections.Generic;\r\n\r\nusing UnityEngine;\r\nusing BestHTTP.SignalR;\r\nusing BestHTTP.SignalR.Hubs;\r\nusing BestHTTP.SignalR.Messages;\r\nusing BestHTTP.SignalR.Authentication;\r\n\r\nclass AuthenticationSample : MonoBehaviour\r\n{\r\n    readonly Uri URI = new Uri("https://besthttpsignalr.azurewebsites.net/signalr");\r\n\r\n    #region Private Fields\r\n\r\n    /// <summary>\r\n    /// Reference to the SignalR Connection\r\n    /// </summary>\r\n    Connection signalRConnection;\r\n\r\n    string userName = string.Empty;\r\n    string role = string.Empty;\r\n\r\n    Vector2 scrollPos;\r\n\r\n    #endregion\r\n\r\n    #region Unity Events\r\n\r\n    void Start()\r\n    {\r\n        // Create the SignalR connection, and pass the hubs that we want to connect to\r\n        signalRConnection = new Connection(URI, new BaseHub("noauthhub""Messages"),\r\n                                                new BaseHub("invokeauthhub""Messages Invoked By Admin or Invoker"),\r\n                                                new BaseHub("authhub""Messages Requiring Authentication to Send or Receive"),\r\n                                                new BaseHub("inheritauthhub""Messages Requiring Authentication to Send or Receive Because of Inheritance"),\r\n                                                new BaseHub("incomingauthhub""Messages Requiring Authentication to Send"),\r\n                                                new BaseHub("adminauthhub""Messages Requiring Admin Membership to Send or Receive"),                            \r\n                                                new BaseHub("userandroleauthhub""Messages Requiring Name to be \\"User\\" and Role to be \\"Admin\\" to Send or Receive"));\r\n        \r\n        // Set the authenticator if we have valid fields\r\n        if (!string.IsNullOrEmpty(userName) && !string.IsNullOrEmpty(role))\r\n            signalRConnection.AuthenticationProvider = new HeaderAuthenticator(userName, role);\r\n\r\n        // Set up event handler\r\n        signalRConnection.OnConnected += signalRConnection_OnConnected;\r\n\r\n        // Start to connect to the server.\r\n        signalRConnection.Open();\r\n    }\r\n\r\n    void OnDestroy()\r\n    {\r\n        // Close the connection when we are closing the sample\r\n        signalRConnection.Close();\r\n    }\r\n\r\n    void OnGUI()\r\n    {\r\n        GUIHelper.DrawArea(GUIHelper.ClientArea, true, () =>\r\n        {\r\n            scrollPos = GUILayout.BeginScrollView(scrollPos, falsefalse);\r\n                GUILayout.BeginVertical();\r\n\r\n                if (signalRConnection.AuthenticationProvider == null)\r\n                {\r\n                    GUILayout.BeginHorizontal();\r\n                        GUILayout.Label("Username (Enter 'User'):");\r\n                        userName = GUILayout.TextField(userName, GUILayout.MinWidth(100));\r\n                    GUILayout.EndHorizontal();\r\n\r\n                    GUILayout.BeginHorizontal();\r\n                        GUILayout.Label("Roles (Enter 'Invoker' or 'Admin'):");\r\n                        role = GUILayout.TextField(role, GUILayout.MinWidth(100));\r\n                    GUILayout.EndHorizontal();\r\n\r\n                    if (GUILayout.Button("Log in"))\r\n                        Restart();\r\n                }\r\n\r\n                for (int i = 0; i < signalRConnection.Hubs.Length; ++i)\r\n                    (signalRConnection.Hubs[i] as BaseHub).Draw();\r\n\r\n                GUILayout.EndVertical();\r\n            GUILayout.EndScrollView();\r\n        });\r\n    }\r\n\r\n    #endregion\r\n\r\n    /// <summary>\r\n    /// Called when we successfully connected to the server.\r\n    /// </summary>\r\n    void signalRConnection_OnConnected(Connection manager)\r\n    {\r\n        // call 'InvokedFromClient' on all hubs\r\n        for (int i = 0; i < signalRConnection.Hubs.Length; ++i)\r\n            (signalRConnection.Hubs[i] as BaseHub).InvokedFromClient();\r\n    }\r\n\r\n    /// <summary>\r\n    /// Helper function to do a hard-restart to the server.\r\n    /// </summary>\r\n    void Restart()\r\n    {\r\n        // Clean up\r\n        signalRConnection.OnConnected -= signalRConnection_OnConnected;\r\n\r\n        // Close current connection\r\n        signalRConnection.Close();\r\n        signalRConnection = null;\r\n\r\n        // start again, with authentication if we filled in all input fields\r\n        Start();\r\n\r\n    }\r\n}\r\n\r\n/// <summary>\r\n/// Hub implementation for the authentication demo. All hubs that we connect to has the same server and client side functions.\r\n/// </summary>\r\nclass BaseHub : Hub\r\n{\r\n    #region Private Fields\r\n\r\n    /// <summary>\r\n    /// Hub specific title\r\n    /// </summary>\r\n    private string Title;\r\n\r\n    private GUIMessageList messages = new GUIMessageList();\r\n\r\n    #endregion\r\n\r\n    public BaseHub(string name, string title)\r\n        : base(name)\r\n    {\r\n        this.Title = title;\r\n    }\r\n\r\n    /// <summary>\r\n    /// Called by the Connection class to be able to set up mappings.\r\n    /// </summary>\r\n    public override void Setup()\r\n    {\r\n        // Map the server-callable method names to the real functions.\r\n        On("joined", Joined);\r\n        On("rejoined", Rejoined);\r\n        On("left", Left);\r\n        On("invoked", Invoked);\r\n    }\r\n\r\n    #region Server Called Functions\r\n\r\n    private void Joined(Hub hub, MethodCallMessage methodCall)\r\n    {\r\n        Dictionary<stringobject> AuthInfo = methodCall.Arguments[2] as Dictionary<stringobject>;\r\n        messages.Add(string.[...string is too long...]", 1708f, IKCAJLLAFML.MASTER, null);
			this.KGIIHAPCDJE = new AONMNAEOJAL(this, "Cannot provide a null notification callback.", IKCAJLLAFML.MASTER);
			this.MPBOONGEHDM = new PNONBEAIBHA("", IKCAJLLAFML.MASTER);
			this.MPBOONGEHDM.AGLMMKOFICI(0, new ANMJLCILKDJ.NCMAEMHOHDG(this.JOPHAPFNPNC), null, null);
			this.MPBOONGEHDM.AGLMMKOFICI(1, null, null, new ANMJLCILKDJ.PLBLFEEANOO(this.OGCLHMBPNLH));
			this.MPBOONGEHDM.AGLMMKOFICI(8, new ANMJLCILKDJ.NCMAEMHOHDG(this.EFDAPJFKKLC), new ANMJLCILKDJ.NCMAEMHOHDG(this.AEIMOPHFOND), new ANMJLCILKDJ.PLBLFEEANOO(this.EKGEOHCBPFB));
			this.MPBOONGEHDM.AGLMMKOFICI(5, new ANMJLCILKDJ.NCMAEMHOHDG(this.FANKDEBNPAB), new ANMJLCILKDJ.NCMAEMHOHDG(this.PCDABOLJMBB), new ANMJLCILKDJ.PLBLFEEANOO(this.KFIFCJCBDPI));
		}

		// Token: 0x06000087 RID: 135 RVA: 0x00005130 File Offset: 0x00003330
		protected virtual void AJMAOAOGHFK()
		{
			base.IPAPMGBLCNF();
			this.GPNMOEDBBBI = base.GetComponentInChildren(true);
			if (this.GPNMOEDBBBI != null)
			{
				this.GPNMOEDBBBI.JKAEEFFIMAO(this.baseName);
			}
			this.CLENGEPEDKJ = new LHLLJPPCDKA(this, ", ", this.defaultTeam, IKCAJLLAFML.MASTER, new Action(this.FEHMLLDNOIM));
			this.HDAHDEHNFLA = new LHLLJPPCDKA(this, "Uploading : ", IPBDFPEPNIM.INVALID, IKCAJLLAFML.AUTHORITY, null);
			this.LGPJMDDABEC = new LHLLJPPCDKA(this, "_DATE", 1300f, IKCAJLLAFML.AUTHORITY, null);
			this.KGIIHAPCDJE = new AONMNAEOJAL(this, "FnTable:IVRCompositor_020", IKCAJLLAFML.AUTHORITY);
			this.MPBOONGEHDM = new PNONBEAIBHA("MISSING_TEAM_NAME", IKCAJLLAFML.AUTHORITY);
			this.MPBOONGEHDM.AGLMMKOFICI(1, new ANMJLCILKDJ.NCMAEMHOHDG(this.PMOCBGDHNFN), null, null);
			this.MPBOONGEHDM.AGLMMKOFICI(0, null, null, new ANMJLCILKDJ.PLBLFEEANOO(this.EAAAMFELFHJ));
			this.MPBOONGEHDM.AGLMMKOFICI(6, new ANMJLCILKDJ.NCMAEMHOHDG(this.PNGCLOAFDEI), new ANMJLCILKDJ.NCMAEMHOHDG(this.CAJCMGPIGBJ), new ANMJLCILKDJ.PLBLFEEANOO(this.IDGAMNAEKKP));
			this.MPBOONGEHDM.AGLMMKOFICI(4, new ANMJLCILKDJ.NCMAEMHOHDG(this.JGPCLHAOHGI), new ANMJLCILKDJ.NCMAEMHOHDG(this.PDANJGLGCOJ), new ANMJLCILKDJ.PLBLFEEANOO(this.AFBHMOEOAOI));
		}

		// Token: 0x06000088 RID: 136 RVA: 0x0000527C File Offset: 0x0000347C
		public void GAKBFMFMGAP(ArenaManager CINLOIHJMOM)
		{
			this.CINLOIHJMOM = CINLOIHJMOM;
			if (this.redTeamPortal != null)
			{
				this.redTeamPortal.BEMLEEHGDAP(true);
			}
			if (this.blueTeamPortal != null)
			{
				this.blueTeamPortal.AANNGPIKPNK(false);
			}
			this.MPBOONGEHDM.PGELJEHELFN(this, 1);
		}

		// Token: 0x06000089 RID: 137 RVA: 0x000052D8 File Offset: 0x000034D8
		private void CAJCMGPIGBJ(ushort OIMHGOONBEB, ushort LPFGCCKCIEB)
		{
			if (OIMHGOONBEB == 4)
			{
				string text = this.JDOEMLHANLC(this.ILDHNHBHHDA()) + " CoreSystems" + this.baseName;
				string text2 = null;
				IPBDFPEPNIM ipbdfpepnim = this.CINLOIHJMOM.NKCBOCMOBCA.KKPAEEHBNGE(IHFKMIAHBFP.JEFGMHBLLKI);
				if (ipbdfpepnim == this.OLODFOEFOIF())
				{
					text2 = " Trace: ";
				}
				SingletonMonoBehaviour.NCKMBFBMBFM.ICEACNLCOGC(ScreenSpaceNotificationManager.DBNGPDFKLEK.Vital, text, text2, 811f, null, true);
			}
			if (IHFKMIAHBFP.HCHIDMOLLAD)
			{
				this.ONMBDDJPHIC = this.HKLJDHKIPIF();
			}
		}

		// Token: 0x0600008A RID: 138 RVA: 0x00005360 File Offset: 0x00003560
		private float EIHHMEJPNCB()
		{
			float num = ((this.ADPHNGLLPLJ() != this.ILDHNHBHHDA()) ? this.captureDuration : this.returnToOwningTeamDuration);
			return Mathf.InverseLerp(num, 539f, this.KGIIHAPCDJE.HHOBFCDNIEP());
		}

		// Token: 0x0600008B RID: 139 RVA: 0x000053A8 File Offset: 0x000035A8
		private Color AMHOEMFJPOP(IPBDFPEPNIM CLCIODCPAFC)
		{
			if (CLCIODCPAFC == IPBDFPEPNIM.INVALID)
			{
				return Color.white;
			}
			return PBMLOBHPIMG.OMKFIIOOMJB(CLCIODCPAFC);
		}

		// Token: 0x0600008C RID: 140 RVA: 0x000053C0 File Offset: 0x000035C0
		private void KBMBIHNJHMM(IPBDFPEPNIM NOBAPCOKFIL)
		{
			this.HDAHDEHNFLA.MEAINJPIECA(NOBAPCOKFIL);
		}

		// Token: 0x0600008D RID: 141 RVA: 0x000053D0 File Offset: 0x000035D0
		private void AOIKGFACGAO()
		{
			if (this.GPNMOEDBBBI != null)
			{
				this.GPNMOEDBBBI.DNMLEJIGEOK(this.OMKFIIOOMJB(this.AMDNFICACJI()), this.OMKFIIOOMJB(this.OLODFOEFOIF()), this.PCPMJEOLGHG(), this.captureRadius);
			}
			if (IHFKMIAHBFP.HCHIDMOLLAD)
			{
				IPBDFPEPNIM ipbdfpepnim;
				ArenaBase.EADGPJONBOF eadgpjonbof = this.KAICLBJGHLC(this.IPCPNMBHAOD, out ipbdfpepnim);
				if (eadgpjonbof == (ArenaBase.EADGPJONBOF)4)
				{
					return;
				}
				if (eadgpjonbof == ArenaBase.EADGPJONBOF.NONE)
				{
					if (ipbdfpepnim != this.IPCPNMBHAOD)
					{
						this.AFHONODNDGN(751f);
					}
					this.INMJMPEDIFA(ipbdfpepnim);
					this.MPBOONGEHDM.BKBFIGCPIMI(6);
					return;
				}
			}
		}

		// Token: 0x0600008E RID: 142 RVA: 0x00005470 File Offset: 0x00003670
		private void JFBHCAPAAPD()
		{
			if (IHFKMIAHBFP.HCHIDMOLLAD)
			{
				if (this.canChangeTeam)
				{
					IPBDFPEPNIM ipbdfpepnim;
					ArenaBase.EADGPJONBOF eadgpjonbof = this.FBJKKKKNJFL(this.NMLMFHLNBEK, out ipbdfpepnim);
					if (eadgpjonbof == ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM)
					{
						this.MPBOONGEHDM.BKBFIGCPIMI(0);
						return;
					}
					if (eadgpjonbof == ArenaBase.EADGPJONBOF.NONE && ipbdfpepnim != this.AKBLEMAOPEM())
					{
						this.MBKIGCEGPFO(ipbdfpepnim);
						this.MPBOONGEHDM.BKBFIGCPIMI(0);
						return;
					}
				}
				if (this.KGIIHAPCDJE.OAJDHNPMNCN() && this.OLAEBFMLMJE() != IPBDFPEPNIM.INVALID)
				{
					EncounterDescriptor encounterDescriptor = ((this.AKBLEMAOPEM() != IPBDFPEPNIM.TEAM_1) ? this.redTeamEncounterPrefab : this.blueTeamEncounterPrefab);
					this.encounterSpawner.MasterSpawnEncounter(encounterDescriptor, this.NMLMFHLNBEK);
					this.KGIIHAPCDJE.PBDGDJIFMOK(this.waveDuration);
				}
			}
		}

		// Token: 0x0600008F RID: 143 RVA: 0x0000553C File Offset: 0x0000373C
		private void EJNIGFEGHOA(ushort CHJBIHILBFO, ushort BNCBHHCPCLE)
		{
			string text = this.FPGHAMAAFIP(this.AMDNFICACJI()) + "Yay :)" + this.baseName;
			string text2 = null;
			IPBDFPEPNIM ipbdfpepnim = this.CINLOIHJMOM.NKCBOCMOBCA.KKPAEEHBNGE(IHFKMIAHBFP.JEFGMHBLLKI);
			if (CHJBIHILBFO == 6 && ipbdfpepnim == this.NMLMFHLNBEK)
			{
				text2 = "RequestForPickupItems";
			}
			SingletonMonoBehaviour.NCKMBFBMBFM.ILFGIOEOANG(ScreenSpaceNotificationManager.DBNGPDFKLEK.Vital, text, text2, 799f, null, true);
			if (IHFKMIAHBFP.HCHIDMOLLAD)
			{
				this.KGIIHAPCDJE.BJOJLPHBGMN(this.MNONNGPFMPN());
			}
		}

		// Token: 0x06000090 RID: 144 RVA: 0x000055C8 File Offset: 0x000037C8
		private float ENCNCNFPODB()
		{
			float num = ((this.IOMGALHEGJH() != this.AKBLEMAOPEM()) ? this.captureDuration : this.returnToOwningTeamDuration);
			return Mathf.Lerp(num, 537f, this.KNKECFCGKNK());
		}

		// Token: 0x06000091 RID: 145 RVA: 0x0000560C File Offset: 0x0000380C
		private void MBKIGCEGPFO(IPBDFPEPNIM NOBAPCOKFIL)
		{
			this.HDAHDEHNFLA.MEAINJPIECA(NOBAPCOKFIL);
		}

		// Token: 0x06000092 RID: 146 RVA: 0x0000561C File Offset: 0x0000381C
		private void NLJIOMEKCIN()
		{
			if (this.GPNMOEDBBBI != null)
			{
				this.GPNMOEDBBBI.OPFIDIIMKMN(this.IHHDALKNOPN(this.IOMGALHEGJH()), this.AMHOEMFJPOP(this.LNHKLFGCKML()), this.DLJCFCMAJAL(), this.captureRadius);
			}
			if (IHFKMIAHBFP.HCHIDMOLLAD)
			{
				IPBDFPEPNIM ipbdfpepnim;
				ArenaBase.EADGPJONBOF eadgpjonbof = this.FBJKKKKNJFL(this.ADPHNGLLPLJ(), out ipbdfpepnim);
				if (eadgpjonbof != ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM || ipbdfpepnim != this.ADPHNGLLPLJ())
				{
					this.MPBOONGEHDM.BKBFIGCPIMI(0);
					return;
				}
				if (this.KGIIHAPCDJE.CGELFKLLMBA)
				{
					this.LKHKLKGNGGH(this.IPCPNMBHAOD);
					this.MPBOONGEHDM.BKBFIGCPIMI(1);
				}
			}
		}

		// Token: 0x06000093 RID: 147 RVA: 0x000056CC File Offset: 0x000038CC
		private string PCCAPGKNNEM(IPBDFPEPNIM CLCIODCPAFC)
		{
			if (CLCIODCPAFC == IPBDFPEPNIM.INVALID)
			{
				return "GamePlatform";
			}
			return PBMLOBHPIMG.FPGHAMAAFIP(CLCIODCPAFC).ToUpper() + "Failed to update display name: ";
		}

		// Token: 0x06000094 RID: 148 RVA: 0x000056F0 File Offset: 0x000038F0
		private Color OPBFIONFPJL(IPBDFPEPNIM CLCIODCPAFC)
		{
			if (CLCIODCPAFC == IPBDFPEPNIM.INVALID)
			{
				return Color.white;
			}
			return PBMLOBHPIMG.OMKFIIOOMJB(CLCIODCPAFC);
		}

		// Token: 0x06000095 RID: 149 RVA: 0x00005708 File Offset: 0x00003908
		private bool FOGCDIEKDJL(LNJFBGIBLHA JEFGMHBLLKI)
		{
			if (!this.CINLOIHJMOM.DPOLNGGBMDH.AGGHJBNIMKN(JEFGMHBLLKI))
			{
				return true;
			}
			Player player = JEFGMHBLLKI.JHJGDFHNBLO();
			return !(player == null) && !(this.captureCenter == null) && (player.FGLFIJLGCKD - this.captureCenter.position).sqrMagnitude > this.captureRadius * this.captureRadius;
		}

		// Token: 0x06000096 RID: 150 RVA: 0x00005784 File Offset: 0x00003984
		private ArenaBase.EADGPJONBOF HNMHHFHEKLI(IPBDFPEPNIM HJKBCDIFAEF, out IPBDFPEPNIM FOEDJDKCGCD)
		{
			ArenaBase.EADGPJONBOF eadgpjonbof = ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM;
			FOEDJDKCGCD = IPBDFPEPNIM.INVALID;
			if (this.CINLOIHJMOM != null)
			{
				LNJFBGIBLHA[] array = this.CINLOIHJMOM.NKCBOCMOBCA.MBFGHAJFLFJ();
				for (int i = 1; i < array.Length; i += 0)
				{
					if (this.FIDAOBILEHD(array[i]))
					{
						IPBDFPEPNIM ipbdfpepnim = this.CINLOIHJMOM.NKCBOCMOBCA.KKPAEEHBNGE(array[i]);
						if (eadgpjonbof == ArenaBase.EADGPJONBOF.NONE)
						{
							FOEDJDKCGCD = ipbdfpepnim;
							eadgpjonbof = ArenaBase.EADGPJONBOF.NONE;
						}
						else if (FOEDJDKCGCD != ipbdfpepnim)
						{
							FOEDJDKCGCD = IPBDFPEPNIM.INVALID;
							eadgpjonbof = ArenaBase.EADGPJONBOF.ON_MULTIPLE_TEAMS;
							break;
						}
					}
				}
			}
			return eadgpjonbof;
		}

		// Token: 0x06000097 RID: 151 RVA: 0x00005818 File Offset: 0x00003A18
		private ArenaBase.EADGPJONBOF KAICLBJGHLC(IPBDFPEPNIM HJKBCDIFAEF, out IPBDFPEPNIM FOEDJDKCGCD)
		{
			ArenaBase.EADGPJONBOF eadgpjonbof = ArenaBase.EADGPJONBOF.NONE;
			FOEDJDKCGCD = IPBDFPEPNIM.INVALID;
			if (this.CINLOIHJMOM != null)
			{
				LNJFBGIBLHA[] array = this.CINLOIHJMOM.NKCBOCMOBCA.MBFGHAJFLFJ();
				for (int i = 0; i < array.Length; i += 0)
				{
					if (this.FOGCDIEKDJL(array[i]))
					{
						IPBDFPEPNIM ipbdfpepnim = this.CINLOIHJMOM.NKCBOCMOBCA.KKPAEEHBNGE(array[i]);
						if (eadgpjonbof == ArenaBase.EADGPJONBOF.NONE)
						{
							FOEDJDKCGCD = ipbdfpepnim;
							eadgpjonbof = ArenaBase.EADGPJONBOF.ON_SINGLE_TEAM;
						}
						else if (FOEDJDKCGCD != ipbdfpepnim)
						{
							FOEDJDKCGCD = IPBDFPEPNIM.INVALID;
							eadgpjonbof = ArenaBase.EADGPJONBOF.ON_MULTIPLE_TEAMS;
							break;
						}
					}
				}
			}
			return eadgpjonbof;
		}

		// Token: 0x06000098 RID: 152 RVA: 0x000058AC File Offset: 0x00003AAC
		private void FEHMLLDNOIM()
		{
		}

		// Token: 0x06000099 RID: 153 RVA: 0x000058B0 File Offset: 0x00003AB0
		private IPBDFPEPNIM BMGFJHDKNCO()
		{
			return this.CLENGEPEDKJ.CPIBGJLHLBL();
		}

		// Token: 0x0600009A RID: 154 RVA: 0x000058C0 File Offset: 0x00003AC0
		private void DLCGFBCJOHF()
		{
			if (this.captureCenter != null)
			{
				Gizmos.color = Color.white;
				Gizmos.DrawWireSphere(this.captureCenter.position, this.captureRadius);
			}
		}

		// Token: 0x04000001 RID: 1
		[SerializeField]
		private string baseName;

		// Token: 0x04000002 RID: 2
		[SerializeField]
		[Header("Timing")]
		private float onActivateInitialWaveDelay = 5f;

		// Token: 0x04000003 RID: 3
		[SerializeField]
		private float waveDuration = 60f;

		// Token: 0x04000004 RID: 4
		[Header("Encounters")]
		[SerializeField]
		private EncounterDescriptor blueTeamEncounterPrefab;

		// Token: 0x04000005 RID: 5
		[SerializeField]
		private EncounterDescriptor redTeamEncounterPrefab;

		// Token: 0x04000006 RID: 6
		[SerializeField]
		[Header("Team")]
		private bool canChangeTeam;

		// Token: 0x04000007 RID: 7
		[SerializeField]
		private IPBDFPEPNIM defaultTeam;

		// Token: 0x04000008 RID: 8
		[Header("Capture")]
		[SerializeField]
		private Transform captureCenter;

		// Token: 0x04000009 RID: 9
		[SerializeField]
		private float captureRadius = 5f;

		// Token: 0x0400000A RID: 10
		[SerializeField]
		private float captureDuration = 10f;

		// Token: 0x0400000B RID: 11
		[SerializeField]
		private float returnToOwningTeamDuration = 10f;

		// Token: 0x0400000C RID: 12
		[Header("Portal Doors")]
		[SerializeField]
		private QuestDoor blueTeamPortal;

		// Token: 0x0400000D RID: 13
		[SerializeField]
		private QuestDoor redTeamPortal;

		// Token: 0x0400000E RID: 14
		[ENMFCLPAKBJ(FOGKDGELKHN.Self, false)]
		[SerializeField]
		private ArenaEncounterSpawner encounterSpawner;

		// Token: 0x0400000F RID: 15
		private ArenaManager CINLOIHJMOM;

		// Token: 0x04000010 RID: 16
		private ArenaBaseVisuals GPNMOEDBBBI;

		// Token: 0x04000011 RID: 17
		private PNONBEAIBHA MPBOONGEHDM;

		// Token: 0x04000012 RID: 18
		private AONMNAEOJAL KGIIHAPCDJE;

		// Token: 0x04000013 RID: 19
		private LHLLJPPCDKA CLENGEPEDKJ;

		// Token: 0x04000014 RID: 20
		private LHLLJPPCDKA HDAHDEHNFLA;

		// Token: 0x04000015 RID: 21
		private LHLLJPPCDKA LGPJMDDABEC;

		// Token: 0x02000003 RID: 3
		private enum FBBMOMHACLA
		{
			// Token: 0x04000017 RID: 23
			INACTIVE,
			// Token: 0x04000018 RID: 24
			CONTESTED,
			// Token: 0x04000019 RID: 25
			CAPTURING,
			// Token: 0x0400001A RID: 26
			RUNNING
		}

		// Token: 0x02000004 RID: 4
		private enum EADGPJONBOF
		{
			// Token: 0x0400001C RID: 28
			NONE,
			// Token: 0x0400001D RID: 29
			ON_SINGLE_TEAM,
			// Token: 0x0400001E RID: 30
			ON_MULTIPLE_TEAMS
		}
	}
}