Files
2026-04-10 22:50:51 +02:00

210 lines
5.8 KiB
C#

using System;
using System.Collections.Generic;
using Cpp2IlInjected;
using Photon.Pun;
using RecRoom.Persistence;
namespace RecRoom.Core.Creation.Circuits
{
// Token: 0x0200322F RID: 12847
[Token(Token = "0x200322F")]
public class CircuitGroupManager : BaseBigDataNetworkingManager<IGEENOIHBEN>
{
// Token: 0x06016148 RID: 90440 RVA: 0x00526F84 File Offset: 0x00525184
[Token(Token = "0x6016148")]
[Address(RVA = "0x11A5C20", Offset = "0x11A4A20", VA = "0x1811A5C20", Slot = "19")]
protected override bool DGNHPBGGLMJ(PDEKIHFJKHJ KACDIBJMJEM)
{
IGHGEPCFGJL cfkcgeecgjc = KACDIBJMJEM.CFKCGEECGJC;
if (cfkcgeecgjc == 0)
{
}
return cfkcgeecgjc.MAFNFEHMLCH != 0;
}
// Token: 0x06016149 RID: 90441 RVA: 0x00526FB0 File Offset: 0x005251B0
[Token(Token = "0x6016149")]
[Address(RVA = "0x11A5C60", Offset = "0x11A4A60", VA = "0x1811A5C60", Slot = "15")]
protected override IGEENOIHBEN HJPHHANPEDE()
{
int num;
IGEENOIHBEN igeenoihben;
do
{
num = 0;
bool flag = !string.IsNullOrEmpty(NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.DGKBJDOJGJO);
igeenoihben = new IGEENOIHBEN();
List<CircuitGroup> allCircuitGroups = CircuitGroup.AllCircuitGroups;
bool flag2;
if (flag2)
{
while (!flag2)
{
}
IGEENOIHBEN.AKOCKBJFJOL.PCECDKNIGDC pcecdknigdc = new IGEENOIHBEN.AKOCKBJFJOL.PCECDKNIGDC();
PhotonView photonView;
int viewIdField = photonView.viewIdField;
pcecdknigdc.NNNGLLGCGGD = viewIdField;
bool flag3;
if (flag && flag3)
{
pcecdknigdc.KEJIBJKBCPC = true;
}
IGHGEPCFGJL ighgepcfgjl;
pcecdknigdc.ONMEFHFCOGF = ighgepcfgjl;
igeenoihben.EJCLGDHLELF.Add(pcecdknigdc);
}
}
while (num != 0);
return igeenoihben;
}
// Token: 0x0601614A RID: 90442 RVA: 0x00527058 File Offset: 0x00525258
[Token(Token = "0x601614A")]
[Address(RVA = "0x11A5660", Offset = "0x11A4460", VA = "0x1811A5660", Slot = "20")]
protected override void BHCDELJHHHG(COINPCHOMPP HDJKJMGKPIM, DBFIJENOPDA KGADGOFNJDC, IGEENOIHBEN BMJFPFPNMJL, Dictionary<Guid, PDEKIHFJKHJ> KMONPDHBAPE)
{
int num;
do
{
num = 0;
Dictionary<CircuitGroup, CircuitGroupManager.MBIJKFMAMHK> dictionary = new Dictionary();
IEnumerator<IGEENOIHBEN.AKOCKBJFJOL.PCECDKNIGDC> enumerator = BMJFPFPNMJL.EJCLGDHLELF.GetEnumerator();
if (enumerator != 0)
{
if (num < enumerator)
{
num += num;
if (num == enumerator)
{
goto IL_60;
}
num++;
}
int num2 = 0;
PhotonView photonView;
if (!(photonView != num2))
{
continue;
}
CircuitGroup circuitGroup = photonView.GetComponent<CircuitGroup>();
int num3 = 0;
int num4 = 0;
if (!(circuitGroup != num4))
{
continue;
}
int num5 = 0;
dictionary.Add(circuitGroup, num3);
IL_60:
circuitGroup += circuitGroup;
num5 += 19;
PersistenceView persistenceView = circuitGroup.persistenceView;
int num6 = 0;
bool flag;
if (!flag)
{
goto IL_CB;
}
dictionary.Add(circuitGroup, num6);
}
if (enumerator != 0)
{
}
if (num != 0)
{
goto IL_FB;
}
if (num != -1)
{
}
bool flag2;
if (flag2)
{
}
num++;
if (num != 0)
{
goto IL_101;
}
if (num != -1)
{
}
bool flag3;
if (flag3)
{
}
}
while (num != 0);
return;
IL_CB:
Exception ex = new Exception("Failed to load room data.");
throw new NullReferenceException();
IL_FB:
throw new NullReferenceException();
IL_101:
throw new NullReferenceException();
}
// Token: 0x0601614B RID: 90443 RVA: 0x0052716C File Offset: 0x0052536C
[Token(Token = "0x601614B")]
[Address(RVA = "0x11A5610", Offset = "0x11A4410", VA = "0x1811A5610", Slot = "16")]
protected override bool ALBKONKHHOL(IGEENOIHBEN BMJFPFPNMJL)
{
bool flag;
return BMJFPFPNMJL == 0 || BMJFPFPNMJL.EJCLGDHLELF == 0 || flag;
}
// Token: 0x0601614C RID: 90444 RVA: 0x0052718C File Offset: 0x0052538C
[Token(Token = "0x601614C")]
[Address(RVA = "0x11A5FA0", Offset = "0x11A4DA0", VA = "0x1811A5FA0", Slot = "17")]
protected override void MPAIIGKHDLC(IGEENOIHBEN BMJFPFPNMJL)
{
PhotonView photonView = base.JDHMIOJKLCK;
DGLOJCGDOGG.LFLFMIMNCON<IGEENOIHBEN> lflfmimncon = new DGLOJCGDOGG.LFLFMIMNCON(this.RpcDeserializeCircuitGroups);
photonView.RpcOthers<IGEENOIHBEN>(lflfmimncon, BMJFPFPNMJL);
}
// Token: 0x0601614D RID: 90445 RVA: 0x005271BC File Offset: 0x005253BC
[Token(Token = "0x601614D")]
[Address(RVA = "0x11A5EE0", Offset = "0x11A4CE0", VA = "0x1811A5EE0", Slot = "18")]
protected override void KCKMLILMFHM(IGEENOIHBEN BMJFPFPNMJL, AGAJMBPABDL IEKDDPPNFPF)
{
PhotonView photonView = base.JDHMIOJKLCK;
DGLOJCGDOGG.LFLFMIMNCON<IGEENOIHBEN> lflfmimncon = new DGLOJCGDOGG.LFLFMIMNCON(this.RpcDeserializeCircuitGroups);
photonView.RpcPlayer<IGEENOIHBEN>(IEKDDPPNFPF, lflfmimncon, BMJFPFPNMJL);
}
// Token: 0x0601614E RID: 90446 RVA: 0x005271EC File Offset: 0x005253EC
[Token(Token = "0x601614E")]
[Address(RVA = "0x11A6040", Offset = "0x11A4E40", VA = "0x1811A6040")]
[NFOMENMAOIA]
private void RpcDeserializeCircuitGroups(IGEENOIHBEN BMJFPFPNMJL)
{
base.BFKPJHCDHBA(BMJFPFPNMJL);
}
// Token: 0x0601614F RID: 90447 RVA: 0x00527200 File Offset: 0x00525400
[Token(Token = "0x601614F")]
[Address(RVA = "0x11A6090", Offset = "0x11A4E90", VA = "0x1811A6090")]
public CircuitGroupManager()
{
}
// Token: 0x02003230 RID: 12848
[Token(Token = "0x2003230")]
private struct MBIJKFMAMHK
{
// Token: 0x0400E7C9 RID: 59337
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400E7C9")]
public IGHGEPCFGJL ABADFLCBFIJ;
// Token: 0x0400E7CA RID: 59338
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x400E7CA")]
public bool KEHECPKKJPN;
}
}
}