259 lines
8.8 KiB
C#
259 lines
8.8 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020001C1 RID: 449
|
|
[Token(Token = "0x20001C1")]
|
|
[StructLayout(3)]
|
|
public class SceneSpawnPoint : SpawnPoint
|
|
{
|
|
// Token: 0x1700022F RID: 559
|
|
// (get) Token: 0x06000E03 RID: 3587 RVA: 0x0003C9D0 File Offset: 0x0003ABD0
|
|
[Token(Token = "0x1700022F")]
|
|
public virtual bool ONJINKCJPHN
|
|
{
|
|
[Token(Token = "0x6000E03")]
|
|
[Address(RVA = "0x6374D0", Offset = "0x635ED0", VA = "0x1806374D0", Slot = "20")]
|
|
get
|
|
{
|
|
return this.OJKCNJHOFLF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000230 RID: 560
|
|
// (get) Token: 0x06000E04 RID: 3588 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x17000230")]
|
|
public virtual IList<long> HIHNIONINGB
|
|
{
|
|
[Token(Token = "0x6000E04")]
|
|
[Address(RVA = "0x1290700", Offset = "0x128F100", VA = "0x181290700", Slot = "21")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000231 RID: 561
|
|
// (get) Token: 0x06000E05 RID: 3589 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x17000231")]
|
|
public virtual IList<long> KCPOGDOHODM
|
|
{
|
|
[Token(Token = "0x6000E05")]
|
|
[Address(RVA = "0x1290740", Offset = "0x128F140", VA = "0x181290740", Slot = "22")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000232 RID: 562
|
|
// (get) Token: 0x06000E06 RID: 3590 RVA: 0x0003C9E4 File Offset: 0x0003ABE4
|
|
[Token(Token = "0x17000232")]
|
|
protected override Color FFCPDBLFILO
|
|
{
|
|
[Token(Token = "0x6000E06")]
|
|
[Address(RVA = "0x128FEC0", Offset = "0x128E8C0", VA = "0x18128FEC0", Slot = "17")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06000E06)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Color SceneSpawnPoint::DAEHGOIKLFD()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:Color(var_0_05, callgetter:Color(Color::get_red))
|
|
}
|
|
|
|
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: 0x17000233 RID: 563
|
|
// (get) Token: 0x06000E07 RID: 3591 RVA: 0x0003C9F8 File Offset: 0x0003ABF8
|
|
// (set) Token: 0x06000E08 RID: 3592 RVA: 0x0003CA0C File Offset: 0x0003AC0C
|
|
[Token(Token = "0x17000233")]
|
|
private List<List<SceneSpawnPoint.EBBGGPDMFIC>> FKMPLIHEGGD
|
|
{
|
|
[Token(Token = "0x6000E07")]
|
|
[Address(RVA = "0x6361F0", Offset = "0x634BF0", VA = "0x1806361F0")]
|
|
get;
|
|
[Token(Token = "0x6000E08")]
|
|
[Address(RVA = "0x636220", Offset = "0x634C20", VA = "0x180636220")]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x06000E09 RID: 3593 RVA: 0x0003CA20 File Offset: 0x0003AC20
|
|
[Token(Token = "0x6000E09")]
|
|
[Address(RVA = "0x1290300", Offset = "0x128ED00", VA = "0x181290300")]
|
|
private void Start()
|
|
{
|
|
int num = 0;
|
|
if ((this.useDoorId ? 1 : 0) != num && !string.IsNullOrEmpty(this.doorQueryID))
|
|
{
|
|
string text = this.doorQueryID;
|
|
string text2 = IGCCFMFHBBN.IAHDANBDAAM(string.Format("Door.{0}.Query", text));
|
|
this.roomSelectionQuery = text2;
|
|
}
|
|
bool flag;
|
|
if (!string.IsNullOrEmpty(this.roomSelectionQuery))
|
|
{
|
|
List<List<SceneSpawnPoint.EBBGGPDMFIC>> list = new List();
|
|
this.<EFBMLBONBGM>k__BackingField = list;
|
|
string text3 = this.roomSelectionQuery;
|
|
(new char[1])[0] = (char)((uint)124);
|
|
int num2 = 0;
|
|
string[] array;
|
|
int length = array.Length;
|
|
if (num2 < length)
|
|
{
|
|
string text4 = array[num2];
|
|
string[] array2 = text4.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
|
|
if (array2 != 0 && array2.Length != num2)
|
|
{
|
|
List<SceneSpawnPoint.EBBGGPDMFIC> list2 = new List();
|
|
if (num2 < array2.Length)
|
|
{
|
|
string text5 = array2[num2];
|
|
flag = text5.Contains("#");
|
|
if (flag)
|
|
{
|
|
string text6 = text5.Replace("#", "").Replace("recroomoriginal", "rro");
|
|
if (text6.Contains("-"))
|
|
{
|
|
string text7 = text6.Replace("-", "");
|
|
}
|
|
}
|
|
num2++;
|
|
}
|
|
this.<EFBMLBONBGM>k__BackingField.Add(list2);
|
|
}
|
|
num2++;
|
|
}
|
|
}
|
|
string text8 = this.roomSelectionQuery;
|
|
bool flag2 = !flag;
|
|
this.OJKCNJHOFLF = flag2;
|
|
}
|
|
|
|
// Token: 0x06000E0A RID: 3594 RVA: 0x0003CB98 File Offset: 0x0003AD98
|
|
[Token(Token = "0x6000E0A")]
|
|
[Address(RVA = "0x128FEF0", Offset = "0x128E8F0", VA = "0x18128FEF0")]
|
|
public bool HasValidPreviousRoomConfig(long LGGEHGJPMFN, long OINLJPDAJLF, string AJNFNDCJAEH)
|
|
{
|
|
for (;;)
|
|
{
|
|
int num = 0;
|
|
List<List<SceneSpawnPoint.EBBGGPDMFIC>> list = this.<EFBMLBONBGM>k__BackingField;
|
|
if (list == 0)
|
|
{
|
|
goto IL_8C;
|
|
}
|
|
int num2 = 0;
|
|
if (list != 0)
|
|
{
|
|
goto IL_8C;
|
|
}
|
|
(new char[num2])[0] = (char)((uint)32);
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
goto IL_9E;
|
|
}
|
|
List<List<SceneSpawnPoint.EBBGGPDMFIC>> list2 = this.<EFBMLBONBGM>k__BackingField;
|
|
List.Enumerator enumerator;
|
|
if (enumerator != 0)
|
|
{
|
|
break;
|
|
}
|
|
if (1UL != (ulong)(-1L))
|
|
{
|
|
string[] array;
|
|
if (array == (ulong)272L)
|
|
{
|
|
return true;
|
|
}
|
|
if (array == (ulong)270L)
|
|
{
|
|
goto IL_9E;
|
|
}
|
|
}
|
|
if (num == 0)
|
|
{
|
|
goto IL_8C;
|
|
}
|
|
}
|
|
throw new NullReferenceException();
|
|
IL_8C:
|
|
if (this.ONJINKCJPHN || this.PreviousRooms == 0)
|
|
{
|
|
}
|
|
IL_9E:
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06000E0B RID: 3595 RVA: 0x0003CC50 File Offset: 0x0003AE50
|
|
[Token(Token = "0x6000E0B")]
|
|
[Address(RVA = "0x1246BE0", Offset = "0x12455E0", VA = "0x181246BE0")]
|
|
public SceneSpawnPoint()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000B0E RID: 2830
|
|
[Token(Token = "0x4000B0E")]
|
|
public static CIEKCAPKBDL<SceneSpawnPoint> Comparer = new CIEKCAPKBDL();
|
|
|
|
// Token: 0x04000B0F RID: 2831
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4000B0F")]
|
|
private bool OJKCNJHOFLF;
|
|
|
|
// Token: 0x04000B10 RID: 2832
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x71")]
|
|
[Token(Token = "0x4000B10")]
|
|
[Space]
|
|
[SerializeField]
|
|
private bool useDoorId;
|
|
|
|
// Token: 0x04000B11 RID: 2833
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x4000B11")]
|
|
[SerializeField]
|
|
[Tooltip("Use doorId to configure the spawn point based on RecNet Config. This is the same string the TeleportPortal uses.")]
|
|
[OMAIFIIBMNL("useDoorId", true)]
|
|
private string doorQueryID;
|
|
|
|
// Token: 0x04000B12 RID: 2834
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x4000B12")]
|
|
[SerializeField]
|
|
[Tooltip("e.g. #pvp #community")]
|
|
[OMAIFIIBMNL("useDoorId", false)]
|
|
private string roomSelectionQuery;
|
|
|
|
// Token: 0x020001C2 RID: 450
|
|
[Token(Token = "0x20001C2")]
|
|
private struct EBBGGPDMFIC
|
|
{
|
|
// Token: 0x04000B14 RID: 2836
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4000B14")]
|
|
public string NKILHMDECHA;
|
|
|
|
// Token: 0x04000B15 RID: 2837
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x4000B15")]
|
|
public bool BEKFIBKFAMB;
|
|
}
|
|
}
|