oh dear
This commit is contained in:
@@ -0,0 +1,219 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom.Persistence;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x02000E51 RID: 3665
|
||||
[Token(Token = "0x2000E51")]
|
||||
public class FCIMFMPIBFE : IDisposable
|
||||
{
|
||||
// Token: 0x17000ECB RID: 3787
|
||||
// (get) Token: 0x06005542 RID: 21826 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x17000ECB")]
|
||||
public bool BNHHCOJOBLP
|
||||
{
|
||||
[Token(Token = "0x6005542")]
|
||||
[Address(RVA = "0x111F720", Offset = "0x111E520", VA = "0x18111F720")]
|
||||
get
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06005543 RID: 21827 RVA: 0x001323D8 File Offset: 0x001305D8
|
||||
[Token(Token = "0x6005543")]
|
||||
[Address(RVA = "0x4A42C0", Offset = "0x4A30C0", VA = "0x1804A42C0")]
|
||||
public FCIMFMPIBFE(string CJKJPAAIKNI)
|
||||
{
|
||||
this.CJKJPAAIKNI = CJKJPAAIKNI;
|
||||
}
|
||||
|
||||
// Token: 0x06005544 RID: 21828 RVA: 0x001323F4 File Offset: 0x001305F4
|
||||
[Token(Token = "0x6005544")]
|
||||
[Address(RVA = "0x1365D40", Offset = "0x1364B40", VA = "0x181365D40")]
|
||||
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: 0x06005545 RID: 21829 RVA: 0x001324E8 File Offset: 0x001306E8
|
||||
[Token(Token = "0x6005545")]
|
||||
[Address(RVA = "0x1365B10", Offset = "0x1364910", VA = "0x181365B10", 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: 0x06005546 RID: 21830 RVA: 0x00132524 File Offset: 0x00130724
|
||||
[Token(Token = "0x6005546")]
|
||||
[Address(RVA = "0x1366010", Offset = "0x1364E10", VA = "0x181366010")]
|
||||
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: 0x06005547 RID: 21831 RVA: 0x00132564 File Offset: 0x00130764
|
||||
[Token(Token = "0x6005547")]
|
||||
[Address(RVA = "0x1365A90", Offset = "0x1364890", VA = "0x181365A90")]
|
||||
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: 0x06005548 RID: 21832 RVA: 0x001325A4 File Offset: 0x001307A4
|
||||
[Token(Token = "0x6005548")]
|
||||
[Address(RVA = "0x1366060", Offset = "0x1364E60", VA = "0x181366060")]
|
||||
private void NBKEHAHCCCL()
|
||||
{
|
||||
Action dphcbjlmdjd = this.DPHCBJLMDJD;
|
||||
this.BPFJLKLFHFA();
|
||||
if (dphcbjlmdjd != 0)
|
||||
{
|
||||
dphcbjlmdjd();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06005549 RID: 21833 RVA: 0x001325CC File Offset: 0x001307CC
|
||||
[Token(Token = "0x6005549")]
|
||||
[Address(RVA = "0x1365CD0", Offset = "0x1364AD0", VA = "0x181365CD0")]
|
||||
private void GMBOKMPJEAC(string LICNAIGLFCP)
|
||||
{
|
||||
Action<string> lmmmpmgemoj = this.LMMMPMGEMOJ;
|
||||
this.BPFJLKLFHFA();
|
||||
if (lmmmpmgemoj != 0)
|
||||
{
|
||||
lmmmpmgemoj(LICNAIGLFCP);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600554A RID: 21834 RVA: 0x001325F4 File Offset: 0x001307F4
|
||||
[Token(Token = "0x600554A")]
|
||||
[Address(RVA = "0x1365BA0", Offset = "0x13649A0", VA = "0x181365BA0")]
|
||||
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: 0x0600554B RID: 21835 RVA: 0x00132658 File Offset: 0x00130858
|
||||
[Token(Token = "0x600554B")]
|
||||
[Address(RVA = "0x1365960", Offset = "0x1364760", VA = "0x181365960")]
|
||||
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: 0x04003B24 RID: 15140
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4003B24")]
|
||||
private JJEKJGALHKO NKLGAGCHGPM;
|
||||
|
||||
// Token: 0x04003B25 RID: 15141
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4003B25")]
|
||||
private Action KOGPNFDMBOF;
|
||||
|
||||
// Token: 0x04003B26 RID: 15142
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4003B26")]
|
||||
private Action<string> CMBCFDHIJAA;
|
||||
|
||||
// Token: 0x04003B27 RID: 15143
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4003B27")]
|
||||
private Action DPHCBJLMDJD;
|
||||
|
||||
// Token: 0x04003B28 RID: 15144
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4003B28")]
|
||||
private Action<string> LMMMPMGEMOJ;
|
||||
|
||||
// Token: 0x04003B29 RID: 15145
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4003B29")]
|
||||
private readonly string CJKJPAAIKNI;
|
||||
}
|
||||
Reference in New Issue
Block a user