terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
SceneManager.cs
Go to the documentation of this file.
1using System;
9
11{
12 // Token: 0x02000123 RID: 291
14 [NativeHeader("Runtime/Export/SceneManager/SceneManager.bindings.h")]
15 public class SceneManager
16 {
17 // Token: 0x14000004 RID: 4
18 // (add) Token: 0x060005CE RID: 1486 RVA: 0x0000A600 File Offset: 0x00008800
19 // (remove) Token: 0x060005CF RID: 1487 RVA: 0x0000A620 File Offset: 0x00008820
21 {
23 add
24 {
25 if (!true)
26 {
27 }
29 if (@delegate != null && @delegate == null)
30 {
31 return;
32 }
33 if (!true)
34 {
35 }
36 }
38 remove
39 {
40 if (!true)
41 {
42 }
44 if (@delegate != null && @delegate == null)
45 {
46 return;
47 }
48 if (!true)
49 {
50 }
51 }
52 }
53
54 // Token: 0x060005D0 RID: 1488 RVA: 0x0000A640 File Offset: 0x00008840
56 public static void LoadScene(string sceneName)
57 {
58 if (!true)
59 {
60 }
61 }
62
63 // Token: 0x060005D1 RID: 1489 RVA: 0x0000A650 File Offset: 0x00008850
64 public static Scene LoadScene(string sceneName, LoadSceneParameters parameters)
65 {
66 if (!true)
67 {
68 }
69 throw new MissingMethodException();
70 }
71
72 // Token: 0x060005D2 RID: 1490 RVA: 0x0000A670 File Offset: 0x00008870
75 {
76 if (!true)
77 {
78 }
79 if (true)
80 {
81 if (!true)
82 {
83 }
84 return;
85 }
86 }
87
88 // Token: 0x060005D3 RID: 1491 RVA: 0x0000A688 File Offset: 0x00008888
90 private static void Internal_SceneUnloaded(Scene scene)
91 {
92 if (!true)
93 {
94 }
95 }
96
97 // Token: 0x060005D4 RID: 1492 RVA: 0x0000A69C File Offset: 0x0000889C
100 {
101 if (!true)
102 {
103 }
104 }
105
106 // Token: 0x17000144 RID: 324
107 // (get) Token: 0x060005D5 RID: 1493 RVA: 0x0000A6B0 File Offset: 0x000088B0
108 public static int sceneCount
109 {
110 [StaticAccessor("GetSceneManager()", StaticAccessorType.Dot)]
111 [NativeHeader("Runtime/SceneManager/SceneManager.h")]
112 [NativeMethod("GetSceneCount")]
113 get
114 {
115 throw new MissingMethodException();
116 }
117 }
118
119 // Token: 0x060005D6 RID: 1494 RVA: 0x0000A6C4 File Offset: 0x000088C4
120 [StaticAccessor("SceneManagerBindings", StaticAccessorType.DoubleColon)]
122 public static Scene GetSceneAt(int index)
123 {
124 if (!true)
125 {
126 }
127 throw new MissingMethodException();
128 }
129
130 // Token: 0x060005D7 RID: 1495 RVA: 0x0000A6DC File Offset: 0x000088DC
132 {
133 if (!true)
134 {
135 }
136 if (true)
137 {
139 return;
140 }
141 }
142
143 // Token: 0x060005D8 RID: 1496 RVA: 0x0000A6F8 File Offset: 0x000088F8
145 internal static AsyncOperation LoadFirstScene_Internal(bool async)
146 {
147 /*
148An exception occurred when decompiling this method (060005D8)
149
150ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.AsyncOperation UnityEngine.SceneManagement.SceneManager::LoadFirstScene_Internal(System.Boolean)
151
152 ---> System.Exception: Basic block has to end with unconditional control flow.
153{
154 IL_0003:
155 stloc:SceneManagerAPI(var_0_08, callgetter:SceneManagerAPI(SceneManagerAPI::get_ActiveAPI))
156}
157
158 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
159 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
160 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
161 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
162 --- End of inner exception stack trace ---
163 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
164 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 1683
165*/;
166 }
167
168 // Token: 0x060005D9 RID: 1497 RVA: 0x0000A710 File Offset: 0x00008910
169 // Note: this type is marked as 'beforefieldinit'.
171 {
172 }
173
174 // Token: 0x060005DA RID: 1498 RVA: 0x0000A720 File Offset: 0x00008920
175 private static void GetSceneAt_Injected(int index, [Out] Scene ret)
176 {
177 throw new MissingMethodException();
178 }
179
180 // Token: 0x040004E2 RID: 1250
184
185 // Token: 0x040004E3 RID: 1251
189
190 // Token: 0x040004E4 RID: 1252
194
195 // Token: 0x040004E5 RID: 1253
196 internal static bool s_AllowLoadScene;
197 }
198}
class f__AnonymousType0<< Count > j__TPar
static void GetSceneAt_Injected(int index, [Out] Scene ret)
static Scene LoadScene(string sceneName, LoadSceneParameters parameters)
static UnityAction< Scene > sceneUnloaded
static void Internal_SceneUnloaded(Scene scene)
static void Internal_SceneLoaded(Scene scene, LoadSceneMode mode)
static AsyncOperation LoadSceneAsyncNameIndexInternal(string sceneName, int sceneBuildIndex, LoadSceneParameters parameters, bool mustCompleteNextFrame)
static AsyncOperation LoadFirstScene_Internal(bool async)
static UnityAction< Scene, LoadSceneMode > sceneLoaded
static void Internal_ActiveSceneChanged(Scene previousActiveScene, Scene newActiveScene)
static UnityAction< Scene, Scene > activeSceneChanged
static void LoadScene(string sceneName)