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
PlayableAsset.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x0200014B RID: 331
8 [AssetFileNameExtension("playable", new string[] { })]
10 [Serializable]
11 public abstract class PlayableAsset : ScriptableObject
12 {
13 // Token: 0x06000637 RID: 1591
15
16 // Token: 0x1700014F RID: 335
17 // (get) Token: 0x06000638 RID: 1592 RVA: 0x0000B308 File Offset: 0x00009508
18 public virtual double duration
19 {
20 get
21 {
22 /*
23An exception occurred when decompiling this method (06000638)
24
25ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Double UnityEngine.Playables.PlayableAsset::get_duration()
26
27 ---> System.Exception: Basic block has to end with unconditional control flow.
28{
29 IL_0000:
30 brtrue(IL_0000, ldc.i4:bool(1))
31}
32
33 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
34 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
35 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
36 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
37 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
38 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
39 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
40 --- End of inner exception stack trace ---
41 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
42 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
43*/;
44 }
45 }
46
47 // Token: 0x17000150 RID: 336
48 // (get) Token: 0x06000639 RID: 1593 RVA: 0x0000B318 File Offset: 0x00009518
49 public virtual IEnumerable<PlayableBinding> outputs
50 {
51 get
52 {
53 if (!true)
54 {
55 }
56 return 1;
57 }
58 }
59
60 // Token: 0x0600063A RID: 1594 RVA: 0x0000B32C File Offset: 0x0000952C
63 {
64 if (!true)
65 {
66 }
67 Playable @null = Playable.Null;
68 }
69
70 // Token: 0x0600063B RID: 1595 RVA: 0x0000B344 File Offset: 0x00009544
73 {
74 }
75
76 // Token: 0x0600063C RID: 1596 RVA: 0x0000B354 File Offset: 0x00009554
77 protected PlayableAsset()
78 {
79 }
80 }
81}
class f__AnonymousType0<< Count > j__TPar
static void Internal_CreatePlayable(PlayableAsset asset, PlayableGraph graph, GameObject go, IntPtr ptr)
static void Internal_GetPlayableAssetDuration(PlayableAsset asset, IntPtr ptrToDouble)
Playable CreatePlayable(PlayableGraph graph, GameObject owner)