640 lines
27 KiB
C#
640 lines
27 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using Photon.Pun;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x0200019B RID: 411
|
|
[Token(Token = "0x200019B")]
|
|
[Serializable]
|
|
public class SceneSpawnManager : KCIGBIPBBBJ
|
|
{
|
|
// Token: 0x17000210 RID: 528
|
|
// (get) Token: 0x06000D11 RID: 3345 RVA: 0x000392E8 File Offset: 0x000374E8
|
|
[Token(Token = "0x17000210")]
|
|
private SceneSpawnPoint[] SceneSpawnPoints
|
|
{
|
|
[Token(Token = "0x6000D11")]
|
|
[Address(RVA = "0x1259C30", Offset = "0x1258C30", VA = "0x181259C30")]
|
|
get
|
|
{
|
|
if (this._sceneSpawnPoints == (ulong)0L)
|
|
{
|
|
SceneSpawnPoint[] array = global::UnityEngine.Object.FindObjectsOfType<SceneSpawnPoint>();
|
|
this._sceneSpawnPoints = array;
|
|
}
|
|
return this._sceneSpawnPoints;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000D12 RID: 3346 RVA: 0x00039314 File Offset: 0x00037514
|
|
[Token(Token = "0x6000D12")]
|
|
[Address(RVA = "0x1258A40", Offset = "0x1257A40", VA = "0x181258A40", Slot = "4")]
|
|
public void IHGCLBJNCCH(RecRoomSceneManager LJPBCKELDPM)
|
|
{
|
|
this.sceneManager = LJPBCKELDPM;
|
|
OKNNKFGFODL djbdakdckkh = KKPBCOOONNK.DJBDAKDCKKH;
|
|
Action action = new Action(this.GCAIMGAHPFD);
|
|
KKPBCOOONNK.DJBDAKDCKKH = OKNNKFGFODL.BPJDFPACLMK(djbdakdckkh, action);
|
|
}
|
|
|
|
// Token: 0x06000D13 RID: 3347 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6000D13")]
|
|
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "5")]
|
|
public void DJFDPJKOGMJ()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000D14 RID: 3348 RVA: 0x00039348 File Offset: 0x00037548
|
|
[Token(Token = "0x6000D14")]
|
|
[Address(RVA = "0x1258C10", Offset = "0x1257C10", VA = "0x181258C10", Slot = "6")]
|
|
public void JCINJNBJMGN()
|
|
{
|
|
OKNNKFGFODL djbdakdckkh = KKPBCOOONNK.DJBDAKDCKKH;
|
|
Action action = new Action(this.GCAIMGAHPFD);
|
|
KKPBCOOONNK.DJBDAKDCKKH = OKNNKFGFODL.GMNMHGMFGOL(djbdakdckkh, action);
|
|
}
|
|
|
|
// Token: 0x06000D15 RID: 3349 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6000D15")]
|
|
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "7")]
|
|
public void OPEMIFENIJM()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000D16 RID: 3350 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6000D16")]
|
|
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "8")]
|
|
public void DFGGGKEBGHP()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x17000211 RID: 529
|
|
// (get) Token: 0x06000D17 RID: 3351 RVA: 0x00039374 File Offset: 0x00037574
|
|
// (set) Token: 0x06000D18 RID: 3352 RVA: 0x00039388 File Offset: 0x00037588
|
|
[Token(Token = "0x17000211")]
|
|
public static SceneSpawnManager.CDJBDDCENLA LocalPlayerSpawnState
|
|
{
|
|
[Token(Token = "0x6000D17")]
|
|
[Address(RVA = "0x1259BD0", Offset = "0x1258BD0", VA = "0x181259BD0")]
|
|
get;
|
|
[Token(Token = "0x6000D18")]
|
|
[Address(RVA = "0x1259CA0", Offset = "0x1258CA0", VA = "0x181259CA0")]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x06000D19 RID: 3353 RVA: 0x0003939C File Offset: 0x0003759C
|
|
[Token(Token = "0x6000D19")]
|
|
[Address(RVA = "0x1258EC0", Offset = "0x1257EC0", VA = "0x181258EC0")]
|
|
public void JNHGBOEMANA(AGAJMBPABDL BJGOFOEKLMC)
|
|
{
|
|
int num = 0;
|
|
if (KKPBCOOONNK.BNNCCCFFALC)
|
|
{
|
|
RecRoomSceneManager <OCDLBPHJMOP>k__BackingField = RecRoomSceneManager.<OCDLBPHJMOP>k__BackingField;
|
|
long num2 = BJGOFOEKLMC.MGPCFIJCHNB("prev_room");
|
|
long num3 = BJGOFOEKLMC.MGPCFIJCHNB("prev_subroom");
|
|
string text = BJGOFOEKLMC.MGPCFIJCHNB("prev_room_tags");
|
|
SceneSpawnPoint sceneSpawnPoint = this.DDDHPKBAOGL(num2, num3, text);
|
|
int num4 = 0;
|
|
if (sceneSpawnPoint == num4)
|
|
{
|
|
Debug.LogError("Could not spawn player because a spawn point could not be acquired.");
|
|
throw new NullReferenceException();
|
|
}
|
|
sceneSpawnPoint.MasterUse();
|
|
Transform firstAvailableSpawnTransform = sceneSpawnPoint.GetFirstAvailableSpawnTransform(num, num);
|
|
PhotonView photonView = this.sceneManager.JDHMIOJKLCK;
|
|
DGLOJCGDOGG.FGGIMKCCBDA<Vector3, Quaternion> fggimkccbda = new DGLOJCGDOGG.FGGIMKCCBDA(this.sceneManager.RpcSpawnNewPlayer);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000D1A RID: 3354 RVA: 0x00039440 File Offset: 0x00037640
|
|
[Token(Token = "0x6000D1A")]
|
|
[Address(RVA = "0x1259300", Offset = "0x1258300", VA = "0x181259300")]
|
|
public void LBABGAGPCMO(Vector3 DDHPAFKBMON, Quaternion IGPENJBJADK)
|
|
{
|
|
this.OOPIDJPKNNA();
|
|
RecRoomSceneManager recRoomSceneManager = this.sceneManager;
|
|
SceneSpawnManager.CBJIPAPLALM cbjipaplalm;
|
|
cbjipaplalm.System.IDisposable.Dispose();
|
|
float z = DDHPAFKBMON.z;
|
|
cbjipaplalm.<>1__state = (int)((ulong)0L);
|
|
cbjipaplalm.<>4__this = this;
|
|
cbjipaplalm.position.z = z;
|
|
Coroutine coroutine = recRoomSceneManager.StartCoroutine(cbjipaplalm);
|
|
this.spawnNewPlayerCoroutine = coroutine;
|
|
}
|
|
|
|
// Token: 0x06000D1B RID: 3355 RVA: 0x00039498 File Offset: 0x00037698
|
|
[Token(Token = "0x6000D1B")]
|
|
[Address(RVA = "0x1259730", Offset = "0x1258730", VA = "0x181259730")]
|
|
public void OGNBDGAKCBF(bool CBICJJKFKBF)
|
|
{
|
|
PhotonView photonView = this.sceneManager.JDHMIOJKLCK;
|
|
DGLOJCGDOGG.FGGIMKCCBDA<bool, EEAEPAPIPJB> fggimkccbda = new DGLOJCGDOGG.FGGIMKCCBDA(this.sceneManager.RpcMasterRequestPlayerRespawn);
|
|
photonView.RpcMaster<bool>(fggimkccbda, CBICJJKFKBF);
|
|
}
|
|
|
|
// Token: 0x06000D1C RID: 3356 RVA: 0x000394D4 File Offset: 0x000376D4
|
|
[Token(Token = "0x6000D1C")]
|
|
[Address(RVA = "0x1258490", Offset = "0x1257490", VA = "0x181258490")]
|
|
public void COLFLMFDLJF(AGAJMBPABDL IEKDDPPNFPF, bool CBICJJKFKBF)
|
|
{
|
|
int num = 0;
|
|
if (KKPBCOOONNK.BNNCCCFFALC && IEKDDPPNFPF != 0)
|
|
{
|
|
int num2 = 0;
|
|
int num3 = 0;
|
|
int num4 = 0;
|
|
SceneSpawnPoint sceneSpawnPoint = this.DDDHPKBAOGL((long)num4, (long)num3, num2);
|
|
int num5 = 0;
|
|
if (sceneSpawnPoint == num5)
|
|
{
|
|
string ohafdcgemef = IEKDDPPNFPF.OHAFDCGEMEF;
|
|
Debug.LogError("Spawn Point is null. Cannot spawn player " + ohafdcgemef);
|
|
throw new NullReferenceException();
|
|
}
|
|
sceneSpawnPoint.MasterUse();
|
|
Transform firstAvailableSpawnTransform = sceneSpawnPoint.GetFirstAvailableSpawnTransform(num, num);
|
|
PhotonView photonView = this.sceneManager.JDHMIOJKLCK;
|
|
DGLOJCGDOGG.BNALDBHFCMB<Vector3, Quaternion, PhotonView, bool> bnaldbhfcmb = new DGLOJCGDOGG.BNALDBHFCMB(this.sceneManager.RpcRespawnPlayer);
|
|
PhotonView parent = sceneSpawnPoint.parent;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000D1D RID: 3357 RVA: 0x00039570 File Offset: 0x00037770
|
|
[Token(Token = "0x6000D1D")]
|
|
[Address(RVA = "0x1258E30", Offset = "0x1257E30", VA = "0x181258E30")]
|
|
private IEnumerator JKENDDEDGAK(Vector3 DDHPAFKBMON, Quaternion IGPENJBJADK)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06000D1D)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator SceneSpawnManager::JKENDDEDGAK(UnityEngine.Vector3,UnityEngine.Quaternion)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(CBJIPAPLALM::System.IDisposable.Dispose, ldloc:CBJIPAPLALM(var_0))
|
|
stloc:float32(var_1_0C, ldfld:float32(Vector3::z, ldloc:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](DDHPAFKBMON)))
|
|
stfld:SceneSpawnManager(CBJIPAPLALM::<>4__this, ldloc:CBJIPAPLALM(var_0), ldloc:SceneSpawnManager(this))
|
|
stfld:int32(CBJIPAPLALM::<>1__state, ldloc:CBJIPAPLALM(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
stfld:float32(Vector3::z, ldfld:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](CBJIPAPLALM::position, ldloc:CBJIPAPLALM(var_0)), ldloc:float32(var_1_0C))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06000D1E RID: 3358 RVA: 0x000395A8 File Offset: 0x000377A8
|
|
[Token(Token = "0x6000D1E")]
|
|
[Address(RVA = "0x1258DC0", Offset = "0x1257DC0", VA = "0x181258DC0")]
|
|
private IEnumerator JICKBPPAJLK(string JDBKDGCJHMB, Func<bool> DEJKPAGNNOI)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06000D1E)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator SceneSpawnManager::JICKBPPAJLK(System.String,System.Func`1<System.Boolean>)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(JJKCBAHFEIM::System.IDisposable.Dispose, ldloc:JJKCBAHFEIM(var_0))
|
|
stfld:string(JJKCBAHFEIM::title, ldloc:JJKCBAHFEIM(var_0), ldloc:string(JDBKDGCJHMB))
|
|
stfld:int32(JJKCBAHFEIM::<>1__state, ldloc:JJKCBAHFEIM(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
stfld:class [mscorlib]System.Func`1<bool>(JJKCBAHFEIM::untilFunc, ldloc:JJKCBAHFEIM(var_0), ldloc:class [mscorlib]System.Func`1<bool>(DEJKPAGNNOI))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06000D1F RID: 3359 RVA: 0x000395D4 File Offset: 0x000377D4
|
|
[Token(Token = "0x6000D1F")]
|
|
[Address(RVA = "0x1258D50", Offset = "0x1257D50", VA = "0x181258D50")]
|
|
private IEnumerator JICKBPPAJLK(Func<string> JDBKDGCJHMB, Func<bool> DEJKPAGNNOI)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06000D1F)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator SceneSpawnManager::JICKBPPAJLK(System.Func`1<System.String>,System.Func`1<System.Boolean>)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(GPMMADOHFKK::System.IDisposable.Dispose, ldloc:GPMMADOHFKK(var_0))
|
|
stfld:class [mscorlib]System.Func`1<string>(GPMMADOHFKK::title, ldloc:GPMMADOHFKK(var_0), ldloc:class [mscorlib]System.Func`1<string>(JDBKDGCJHMB))
|
|
stfld:int32(GPMMADOHFKK::<>1__state, ldloc:GPMMADOHFKK(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
stfld:class [mscorlib]System.Func`1<bool>(GPMMADOHFKK::untilFunc, ldloc:GPMMADOHFKK(var_0), ldloc:class [mscorlib]System.Func`1<bool>(DEJKPAGNNOI))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06000D20 RID: 3360 RVA: 0x00039600 File Offset: 0x00037800
|
|
[Token(Token = "0x6000D20")]
|
|
[Address(RVA = "0x1259A60", Offset = "0x1258A60", VA = "0x181259A60")]
|
|
private void OOPIDJPKNNA()
|
|
{
|
|
Coroutine coroutine = this.spawnNewPlayerCoroutine;
|
|
if (coroutine != 0)
|
|
{
|
|
this.sceneManager.StopCoroutine(coroutine);
|
|
this.spawnNewPlayerCoroutine = (ulong)0L;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000D21 RID: 3361 RVA: 0x00039634 File Offset: 0x00037834
|
|
[Token(Token = "0x6000D21")]
|
|
[Address(RVA = "0x12588E0", Offset = "0x12578E0", VA = "0x1812588E0")]
|
|
private void GCAIMGAHPFD()
|
|
{
|
|
this.OOPIDJPKNNA();
|
|
}
|
|
|
|
// Token: 0x06000D22 RID: 3362 RVA: 0x00039648 File Offset: 0x00037848
|
|
[Token(Token = "0x6000D22")]
|
|
[Address(RVA = "0x12593C0", Offset = "0x12583C0", VA = "0x1812593C0")]
|
|
public void LDBAPDPFPCC(SceneSpawnPoint AFNKLLAKKJN)
|
|
{
|
|
List<SceneSpawnPoint> list = this.dynamicSpawnPoints;
|
|
if (this._sceneSpawnPoints == (ulong)0L)
|
|
{
|
|
SceneSpawnPoint[] array = global::UnityEngine.Object.FindObjectsOfType<SceneSpawnPoint>();
|
|
this._sceneSpawnPoints = array;
|
|
}
|
|
SceneSpawnPoint[] sceneSpawnPoints = this._sceneSpawnPoints;
|
|
int num = 0;
|
|
int length = sceneSpawnPoints.Length;
|
|
if (num < length)
|
|
{
|
|
SceneSpawnPoint sceneSpawnPoint = sceneSpawnPoints[num];
|
|
num++;
|
|
sceneSpawnPoint.SpawnPointEnabled = false;
|
|
}
|
|
this.dynamicSpawnPoints.Add(AFNKLLAKKJN);
|
|
AFNKLLAKKJN.SpawnPointEnabled = true;
|
|
}
|
|
|
|
// Token: 0x06000D23 RID: 3363 RVA: 0x000396B8 File Offset: 0x000378B8
|
|
[Token(Token = "0x6000D23")]
|
|
[Address(RVA = "0x12594D0", Offset = "0x12584D0", VA = "0x1812594D0")]
|
|
public void LIGHOAFFKIL(SceneSpawnPoint[] NDMFPANDOCB)
|
|
{
|
|
int num = 0;
|
|
int num2 = 0;
|
|
int length = NDMFPANDOCB.Length;
|
|
if (num2 < length)
|
|
{
|
|
SceneSpawnPoint sceneSpawnPoint = NDMFPANDOCB[num];
|
|
List<SceneSpawnPoint> list = this.dynamicSpawnPoints;
|
|
if (this._sceneSpawnPoints == (ulong)0L)
|
|
{
|
|
SceneSpawnPoint[] array = global::UnityEngine.Object.FindObjectsOfType<SceneSpawnPoint>();
|
|
this._sceneSpawnPoints = array;
|
|
}
|
|
SceneSpawnPoint[] sceneSpawnPoints = this._sceneSpawnPoints;
|
|
int num3 = 0;
|
|
if (num3 < sceneSpawnPoints.Length)
|
|
{
|
|
sceneSpawnPoints[num3].SpawnPointEnabled = false;
|
|
num3++;
|
|
}
|
|
this.dynamicSpawnPoints.Add(sceneSpawnPoint);
|
|
num++;
|
|
sceneSpawnPoint.SpawnPointEnabled = true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000D24 RID: 3364 RVA: 0x00039748 File Offset: 0x00037948
|
|
[Token(Token = "0x6000D24")]
|
|
[Address(RVA = "0x1259630", Offset = "0x1258630", VA = "0x181259630")]
|
|
public void LPMGKAFDMAG(SceneSpawnPoint AFNKLLAKKJN)
|
|
{
|
|
List<SceneSpawnPoint> list = this.dynamicSpawnPoints;
|
|
if (this._sceneSpawnPoints == (ulong)0L)
|
|
{
|
|
SceneSpawnPoint[] array = global::UnityEngine.Object.FindObjectsOfType<SceneSpawnPoint>();
|
|
this._sceneSpawnPoints = array;
|
|
}
|
|
SceneSpawnPoint[] sceneSpawnPoints = this._sceneSpawnPoints;
|
|
int num = 0;
|
|
int length = sceneSpawnPoints.Length;
|
|
if (num < length)
|
|
{
|
|
SceneSpawnPoint sceneSpawnPoint = sceneSpawnPoints[num];
|
|
num++;
|
|
sceneSpawnPoint.SpawnPointEnabled = true;
|
|
}
|
|
bool flag = this.dynamicSpawnPoints.Remove(AFNKLLAKKJN);
|
|
}
|
|
|
|
// Token: 0x06000D25 RID: 3365 RVA: 0x000397B4 File Offset: 0x000379B4
|
|
[Token(Token = "0x6000D25")]
|
|
[Address(RVA = "0x12588F0", Offset = "0x12578F0", VA = "0x1812588F0")]
|
|
public void HPALJOPGFBH(SceneSpawnPoint[] NDMFPANDOCB)
|
|
{
|
|
int num = 0;
|
|
int num2 = 0;
|
|
int length = NDMFPANDOCB.Length;
|
|
if (num2 < length)
|
|
{
|
|
SceneSpawnPoint sceneSpawnPoint = NDMFPANDOCB[num];
|
|
List<SceneSpawnPoint> list = this.dynamicSpawnPoints;
|
|
if (this._sceneSpawnPoints == (ulong)0L)
|
|
{
|
|
SceneSpawnPoint[] array = global::UnityEngine.Object.FindObjectsOfType<SceneSpawnPoint>();
|
|
this._sceneSpawnPoints = array;
|
|
}
|
|
SceneSpawnPoint[] sceneSpawnPoints = this._sceneSpawnPoints;
|
|
int num3 = 0;
|
|
if (num3 < sceneSpawnPoints.Length)
|
|
{
|
|
sceneSpawnPoints[num3].SpawnPointEnabled = true;
|
|
num3++;
|
|
}
|
|
bool flag = this.dynamicSpawnPoints.Remove(sceneSpawnPoint);
|
|
num++;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000D26 RID: 3366 RVA: 0x00039840 File Offset: 0x00037A40
|
|
[Token(Token = "0x6000D26")]
|
|
[Address(RVA = "0x12588C0", Offset = "0x12578C0", VA = "0x1812588C0")]
|
|
public void DMHGDALHPAK(object PIHIPPPPEBI)
|
|
{
|
|
this.spawnNotificationRestrictionFlag.BPAJKKAGPKB(PIHIPPPPEBI);
|
|
}
|
|
|
|
// Token: 0x06000D27 RID: 3367 RVA: 0x00039860 File Offset: 0x00037A60
|
|
[Token(Token = "0x6000D27")]
|
|
[Address(RVA = "0x12597E0", Offset = "0x12587E0", VA = "0x1812597E0")]
|
|
public void OIOBADIAOCE(object PIHIPPPPEBI)
|
|
{
|
|
this.spawnNotificationRestrictionFlag.BIHKNNPGGKP(PIHIPPPPEBI);
|
|
}
|
|
|
|
// Token: 0x06000D28 RID: 3368 RVA: 0x00039880 File Offset: 0x00037A80
|
|
[Token(Token = "0x6000D28")]
|
|
[Address(RVA = "0x12586B0", Offset = "0x12576B0", VA = "0x1812586B0")]
|
|
public SceneSpawnPoint DDDHPKBAOGL(long OIFKOLNGHKF = 0L, long KCCIJMIKOJC = 0L, [Optional] string DMBBPGBFDAH)
|
|
{
|
|
List<SceneSpawnPoint> list = this.dynamicSpawnPoints;
|
|
int num = 0;
|
|
SceneSpawnPoint sceneSpawnPoint = this.KJBKIMKLDFD(list, KCCIJMIKOJC, KCCIJMIKOJC, DMBBPGBFDAH);
|
|
int num2 = 0;
|
|
if (num == num2 && this._sceneSpawnPoints == (ulong)0L)
|
|
{
|
|
SceneSpawnPoint[] array = global::UnityEngine.Object.FindObjectsOfType<SceneSpawnPoint>();
|
|
this._sceneSpawnPoints = array;
|
|
}
|
|
int num3 = 0;
|
|
SceneSpawnPoint sceneSpawnPoint2;
|
|
if (!(sceneSpawnPoint2 == num3))
|
|
{
|
|
return sceneSpawnPoint2;
|
|
}
|
|
Debug.Log("Could not find a spawn point configured for this player. Spawning at default scene spawn point anyway.");
|
|
SceneSpawnPoint[] array2 = global::UnityEngine.Object.FindObjectsOfType<SceneSpawnPoint>();
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06000D29 RID: 3369 RVA: 0x000398F0 File Offset: 0x00037AF0
|
|
[Token(Token = "0x6000D29")]
|
|
[Address(RVA = "0x1259180", Offset = "0x1258180", VA = "0x181259180")]
|
|
private SceneSpawnPoint KJBKIMKLDFD(IList<SceneSpawnPoint> NDMFPANDOCB, long OIFKOLNGHKF, long KCCIJMIKOJC, string DMBBPGBFDAH)
|
|
{
|
|
int num = 0;
|
|
int num2 = 0;
|
|
if (num == num2)
|
|
{
|
|
}
|
|
SceneSpawnPoint sceneSpawnPoint;
|
|
return sceneSpawnPoint;
|
|
}
|
|
|
|
// Token: 0x06000D2A RID: 3370 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6000D2A")]
|
|
[Address(RVA = "0x1258B10", Offset = "0x1257B10", VA = "0x181258B10")]
|
|
private SceneSpawnPoint IJDBHNJPGND(IList<SceneSpawnPoint> NDMFPANDOCB, long LGGEHGJPMFN = 0L, long OINLJPDAJLF = 0L, [Optional] string DMBBPGBFDAH)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06000D2B RID: 3371 RVA: 0x00039934 File Offset: 0x00037B34
|
|
[Token(Token = "0x6000D2B")]
|
|
[Address(RVA = "0x1259800", Offset = "0x1258800", VA = "0x181259800")]
|
|
private void OMGAPAPLAHM(IList<SceneSpawnPoint> NDMFPANDOCB, long LGGEHGJPMFN, long OINLJPDAJLF, string DMBBPGBFDAH, List<SceneSpawnManager.KGNKEPJHHIN> DNKOFEOBAPO)
|
|
{
|
|
int num = 0;
|
|
int num2 = 0;
|
|
if ((long)num2 < LGGEHGJPMFN)
|
|
{
|
|
num2 += num2;
|
|
if ((long)num2 == LGGEHGJPMFN)
|
|
{
|
|
goto IL_33;
|
|
}
|
|
num2++;
|
|
}
|
|
int num3 = 0;
|
|
if (num2 >= num)
|
|
{
|
|
return;
|
|
}
|
|
if (num2 < num3)
|
|
{
|
|
num2 += num2;
|
|
if (num2 == num3)
|
|
{
|
|
goto IL_33;
|
|
}
|
|
num2++;
|
|
}
|
|
decimal num4;
|
|
bool flag;
|
|
if (num4 == 0 || !flag)
|
|
{
|
|
goto IL_3B;
|
|
}
|
|
IL_33:
|
|
if (!flag)
|
|
{
|
|
}
|
|
IL_3B:
|
|
num2++;
|
|
}
|
|
|
|
// Token: 0x06000D2C RID: 3372 RVA: 0x00039988 File Offset: 0x00037B88
|
|
[Token(Token = "0x6000D2C")]
|
|
[Address(RVA = "0x1259B30", Offset = "0x1258B30", VA = "0x181259B30")]
|
|
public SceneSpawnManager()
|
|
{
|
|
List<SceneSpawnPoint> list = new List();
|
|
this.dynamicSpawnPoints = list;
|
|
List<SceneSpawnManager.KGNKEPJHHIN> list2 = new List();
|
|
this.filteredSpawnPoints = list2;
|
|
AOLMGGAPKEH aolmggapkeh = new AOLMGGAPKEH();
|
|
this.spawnNotificationRestrictionFlag = aolmggapkeh;
|
|
this.DJFDPJKOGMJ();
|
|
}
|
|
|
|
// Token: 0x06000D2D RID: 3373 RVA: 0x0000220F File Offset: 0x0000040F
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
[Token(Token = "0x6000D2D")]
|
|
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0")]
|
|
static SceneSpawnManager()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x04000A40 RID: 2624
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000A40")]
|
|
private RecRoomSceneManager sceneManager;
|
|
|
|
// Token: 0x04000A41 RID: 2625
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000A41")]
|
|
private List<SceneSpawnPoint> dynamicSpawnPoints;
|
|
|
|
// Token: 0x04000A42 RID: 2626
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000A42")]
|
|
private List<SceneSpawnManager.KGNKEPJHHIN> filteredSpawnPoints;
|
|
|
|
// Token: 0x04000A43 RID: 2627
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000A43")]
|
|
private AOLMGGAPKEH spawnNotificationRestrictionFlag;
|
|
|
|
// Token: 0x04000A44 RID: 2628
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4000A44")]
|
|
private Coroutine spawnNewPlayerCoroutine;
|
|
|
|
// Token: 0x04000A45 RID: 2629
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4000A45")]
|
|
private SceneSpawnPoint[] _sceneSpawnPoints;
|
|
|
|
// Token: 0x04000A47 RID: 2631
|
|
[Token(Token = "0x4000A47")]
|
|
public const string PREVIOUSACTIVITY_PROPERTY = "prev_activity";
|
|
|
|
// Token: 0x04000A48 RID: 2632
|
|
[Token(Token = "0x4000A48")]
|
|
public const string PREVIOUSROOM_PROPERTY = "prev_room";
|
|
|
|
// Token: 0x04000A49 RID: 2633
|
|
[Token(Token = "0x4000A49")]
|
|
public const string PREVIOUSSUBROOM_PROPERTY = "prev_subroom";
|
|
|
|
// Token: 0x04000A4A RID: 2634
|
|
[Token(Token = "0x4000A4A")]
|
|
public const string PREVIOUSROOM_TAGS_PROPERTY = "prev_room_tags";
|
|
|
|
// Token: 0x0200019C RID: 412
|
|
[Token(Token = "0x200019C")]
|
|
private struct KGNKEPJHHIN
|
|
{
|
|
// Token: 0x04000A4B RID: 2635
|
|
[Token(Token = "0x4000A4B")]
|
|
public static SceneSpawnManager.KGNKEPJHHIN.KNFOHGJIELO IOENNHAHEOB = new SceneSpawnManager.KGNKEPJHHIN.KNFOHGJIELO();
|
|
|
|
// Token: 0x04000A4C RID: 2636
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4000A4C")]
|
|
public SceneSpawnPoint AFNKLLAKKJN;
|
|
|
|
// Token: 0x04000A4D RID: 2637
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x4000A4D")]
|
|
public bool KMIOPAGNJCK;
|
|
|
|
// Token: 0x0200019D RID: 413
|
|
[Token(Token = "0x200019D")]
|
|
public class KNFOHGJIELO : IComparer<SceneSpawnManager.KGNKEPJHHIN>
|
|
{
|
|
// Token: 0x06000D2F RID: 3375 RVA: 0x000399DC File Offset: 0x00037BDC
|
|
[Token(Token = "0x6000D2F")]
|
|
[Address(RVA = "0x124AEF0", Offset = "0x1249EF0", VA = "0x18124AEF0", Slot = "4")]
|
|
public int Compare(SceneSpawnManager.KGNKEPJHHIN IPHIIJNAEON, SceneSpawnManager.KGNKEPJHHIN FOJLJNMAJLC)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06000D30 RID: 3376 RVA: 0x000399F2 File Offset: 0x00037BF2
|
|
[Token(Token = "0x6000D30")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
public KNFOHGJIELO()
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0200019E RID: 414
|
|
[Token(Token = "0x200019E")]
|
|
public enum CDJBDDCENLA
|
|
{
|
|
// Token: 0x04000A4F RID: 2639
|
|
[Token(Token = "0x4000A4F")]
|
|
Uninitialized,
|
|
// Token: 0x04000A50 RID: 2640
|
|
[Token(Token = "0x4000A50")]
|
|
NotRunning,
|
|
// Token: 0x04000A51 RID: 2641
|
|
[Token(Token = "0x4000A51")]
|
|
WaitingForRoomLoadState,
|
|
// Token: 0x04000A52 RID: 2642
|
|
[Token(Token = "0x4000A52")]
|
|
WaitingForClusterLod,
|
|
// Token: 0x04000A53 RID: 2643
|
|
[Token(Token = "0x4000A53")]
|
|
WaitingForRoomKeys,
|
|
// Token: 0x04000A54 RID: 2644
|
|
[Token(Token = "0x4000A54")]
|
|
WaitingForBigData,
|
|
// Token: 0x04000A55 RID: 2645
|
|
[Token(Token = "0x4000A55")]
|
|
Instantiating,
|
|
// Token: 0x04000A56 RID: 2646
|
|
[Token(Token = "0x4000A56")]
|
|
WaitingForCameraFade,
|
|
// Token: 0x04000A57 RID: 2647
|
|
[Token(Token = "0x4000A57")]
|
|
WaitingForDelay,
|
|
// Token: 0x04000A58 RID: 2648
|
|
[Token(Token = "0x4000A58")]
|
|
SpawnedWaitingForFade,
|
|
// Token: 0x04000A59 RID: 2649
|
|
[Token(Token = "0x4000A59")]
|
|
SpawnedAndFadedIn
|
|
}
|
|
}
|