220 lines
6.9 KiB
C#
220 lines
6.9 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Persistence;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000EA1 RID: 3745
|
|
[Token(Token = "0x2000EA1")]
|
|
public class FCIMFMPIBFE : IDisposable
|
|
{
|
|
// Token: 0x17000F10 RID: 3856
|
|
// (get) Token: 0x060056CD RID: 22221 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x17000F10")]
|
|
public bool BNHHCOJOBLP
|
|
{
|
|
[Token(Token = "0x60056CD")]
|
|
[Address(RVA = "0x979820", Offset = "0x978820", VA = "0x180979820")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
|
|
// Token: 0x060056CE RID: 22222 RVA: 0x00135820 File Offset: 0x00133A20
|
|
[Token(Token = "0x60056CE")]
|
|
[Address(RVA = "0xBA0F30", Offset = "0xB9FF30", VA = "0x180BA0F30")]
|
|
public FCIMFMPIBFE(string CJKJPAAIKNI)
|
|
{
|
|
this.CJKJPAAIKNI = CJKJPAAIKNI;
|
|
}
|
|
|
|
// Token: 0x060056CF RID: 22223 RVA: 0x0013583C File Offset: 0x00133A3C
|
|
[Token(Token = "0x60056CF")]
|
|
[Address(RVA = "0x1B542A0", Offset = "0x1B532A0", VA = "0x181B542A0")]
|
|
public DABKFAIHBBP JIAJJMLODDO([Optional] Action KOGPNFDMBOF, [Optional] Action<string> CMBCFDHIJAA, [Optional] Action DPHCBJLMDJD, [Optional] Action<string> LMMMPMGEMOJ)
|
|
{
|
|
if (this.NKLGAGCHGPM == 0)
|
|
{
|
|
if (NetworkedSingletonMonoBehaviour.FFNIFALJLDD)
|
|
{
|
|
RoomPersistenceManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
this.LMMMPMGEMOJ = 0;
|
|
this.KOGPNFDMBOF = KOGPNFDMBOF;
|
|
this.CMBCFDHIJAA = CMBCFDHIJAA;
|
|
this.DPHCBJLMDJD = DPHCBJLMDJD;
|
|
RoomPersistenceManager instance2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action action = new Action(this.KALENKBFKED);
|
|
instance2.NPCNGKGEKMB += action;
|
|
RoomPersistenceManager instance3 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action<string> action2 = new Action(this.DGNOOGDNKKJ);
|
|
instance3.RoomSaveFailureEvent += action2;
|
|
RoomPersistenceManager instance4 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action action3 = new Action(this.NBKEHAHCCCL);
|
|
instance4.OPIHPFLNNMH += action3;
|
|
RoomPersistenceManager instance5 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action<string> action4 = new Action(this.GMBOKMPJEAC);
|
|
instance5.RoomReloadFailureEvent += action4;
|
|
JJEKJGALHKO jjekjgalhko = new JJEKJGALHKO();
|
|
this.NKLGAGCHGPM = jjekjgalhko;
|
|
PMGCJEPKFOF<RoomPersistenceManager.BFEINDMGADF> pmgcjepkfof = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.RequestSaveRoomData();
|
|
}
|
|
}
|
|
if (CMBCFDHIJAA != 0)
|
|
{
|
|
CMBCFDHIJAA("Save failed.");
|
|
}
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060056D0 RID: 22224 RVA: 0x00135930 File Offset: 0x00133B30
|
|
[Token(Token = "0x60056D0")]
|
|
[Address(RVA = "0x1B54070", Offset = "0x1B53070", VA = "0x181B54070", Slot = "4")]
|
|
public void Dispose()
|
|
{
|
|
if (this.NKLGAGCHGPM > (ulong)0L)
|
|
{
|
|
Debug.LogError(this.CJKJPAAIKNI + " was destroyed while saving room data.Any code that is waiting on save promise will never run.");
|
|
}
|
|
this.FDLKDMPLJGF();
|
|
this.BPFJLKLFHFA();
|
|
}
|
|
|
|
// Token: 0x060056D1 RID: 22225 RVA: 0x0013596C File Offset: 0x00133B6C
|
|
[Token(Token = "0x60056D1")]
|
|
[Address(RVA = "0x1B54570", Offset = "0x1B53570", VA = "0x181B54570")]
|
|
private void KALENKBFKED()
|
|
{
|
|
JJEKJGALHKO nklgagchgpm = this.NKLGAGCHGPM;
|
|
if (nklgagchgpm != 0)
|
|
{
|
|
nklgagchgpm.OOOIENHGNCA();
|
|
}
|
|
Action kogpnfdmbof = this.KOGPNFDMBOF;
|
|
this.NKLGAGCHGPM = (ulong)0L;
|
|
this.FDLKDMPLJGF();
|
|
if (kogpnfdmbof != 0)
|
|
{
|
|
kogpnfdmbof();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060056D2 RID: 22226 RVA: 0x001359AC File Offset: 0x00133BAC
|
|
[Token(Token = "0x60056D2")]
|
|
[Address(RVA = "0x1B53FF0", Offset = "0x1B52FF0", VA = "0x181B53FF0")]
|
|
private void DGNOOGDNKKJ(string LICNAIGLFCP)
|
|
{
|
|
JJEKJGALHKO nklgagchgpm = this.NKLGAGCHGPM;
|
|
if (nklgagchgpm != 0)
|
|
{
|
|
nklgagchgpm.OOOIENHGNCA();
|
|
}
|
|
Action<string> cmbcfdhijaa = this.CMBCFDHIJAA;
|
|
this.NKLGAGCHGPM = (ulong)0L;
|
|
this.FDLKDMPLJGF();
|
|
if (cmbcfdhijaa != 0)
|
|
{
|
|
cmbcfdhijaa(LICNAIGLFCP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060056D3 RID: 22227 RVA: 0x001359EC File Offset: 0x00133BEC
|
|
[Token(Token = "0x60056D3")]
|
|
[Address(RVA = "0x1B545C0", Offset = "0x1B535C0", VA = "0x181B545C0")]
|
|
private void NBKEHAHCCCL()
|
|
{
|
|
Action dphcbjlmdjd = this.DPHCBJLMDJD;
|
|
this.BPFJLKLFHFA();
|
|
if (dphcbjlmdjd != 0)
|
|
{
|
|
dphcbjlmdjd();
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060056D4 RID: 22228 RVA: 0x00135A14 File Offset: 0x00133C14
|
|
[Token(Token = "0x60056D4")]
|
|
[Address(RVA = "0x1B54230", Offset = "0x1B53230", VA = "0x181B54230")]
|
|
private void GMBOKMPJEAC(string LICNAIGLFCP)
|
|
{
|
|
Action<string> lmmmpmgemoj = this.LMMMPMGEMOJ;
|
|
this.BPFJLKLFHFA();
|
|
if (lmmmpmgemoj != 0)
|
|
{
|
|
lmmmpmgemoj(LICNAIGLFCP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060056D5 RID: 22229 RVA: 0x00135A3C File Offset: 0x00133C3C
|
|
[Token(Token = "0x60056D5")]
|
|
[Address(RVA = "0x1B54100", Offset = "0x1B53100", VA = "0x181B54100")]
|
|
private void FDLKDMPLJGF()
|
|
{
|
|
if (NetworkedSingletonMonoBehaviour.FFNIFALJLDD)
|
|
{
|
|
RoomPersistenceManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action action = new Action(this.KALENKBFKED);
|
|
instance.NPCNGKGEKMB -= action;
|
|
RoomPersistenceManager instance2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action<string> action2 = new Action(this.DGNOOGDNKKJ);
|
|
instance2.RoomSaveFailureEvent -= action2;
|
|
}
|
|
int num = 0;
|
|
this.KOGPNFDMBOF = num;
|
|
this.CMBCFDHIJAA = num;
|
|
}
|
|
|
|
// Token: 0x060056D6 RID: 22230 RVA: 0x00135AA0 File Offset: 0x00133CA0
|
|
[Token(Token = "0x60056D6")]
|
|
[Address(RVA = "0x1B53EC0", Offset = "0x1B52EC0", VA = "0x181B53EC0")]
|
|
private void BPFJLKLFHFA()
|
|
{
|
|
if (NetworkedSingletonMonoBehaviour.FFNIFALJLDD)
|
|
{
|
|
RoomPersistenceManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action action = new Action(this.NBKEHAHCCCL);
|
|
instance.OPIHPFLNNMH -= action;
|
|
RoomPersistenceManager instance2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action<string> action2 = new Action(this.GMBOKMPJEAC);
|
|
instance2.RoomReloadFailureEvent -= action2;
|
|
}
|
|
int num = 0;
|
|
this.DPHCBJLMDJD = num;
|
|
this.LMMMPMGEMOJ = num;
|
|
}
|
|
|
|
// Token: 0x04003C0E RID: 15374
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4003C0E")]
|
|
private JJEKJGALHKO NKLGAGCHGPM;
|
|
|
|
// Token: 0x04003C0F RID: 15375
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4003C0F")]
|
|
private Action KOGPNFDMBOF;
|
|
|
|
// Token: 0x04003C10 RID: 15376
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4003C10")]
|
|
private Action<string> CMBCFDHIJAA;
|
|
|
|
// Token: 0x04003C11 RID: 15377
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4003C11")]
|
|
private Action DPHCBJLMDJD;
|
|
|
|
// Token: 0x04003C12 RID: 15378
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4003C12")]
|
|
private Action<string> LMMMPMGEMOJ;
|
|
|
|
// Token: 0x04003C13 RID: 15379
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4003C13")]
|
|
private readonly string CJKJPAAIKNI;
|
|
}
|