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
Asset.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x02000B39 RID: 2873
9 public sealed class Asset<T> : IAsset, IDisposable where T : class
10 {
11 // Token: 0x1700090F RID: 2319
12 // (get) Token: 0x060053BD RID: 21437 RVA: 0x00284EB0 File Offset: 0x002830B0
13 // (set) Token: 0x060053BE RID: 21438 RVA: 0x00284EC4 File Offset: 0x002830C4
14 public string Name
15 {
17 get
18 {
19 return this.<Name>k__BackingField;
20 }
22 private set
23 {
25 }
26 }
27
28 // Token: 0x17000910 RID: 2320
29 // (get) Token: 0x060053BF RID: 21439 RVA: 0x000021DB File Offset: 0x000003DB
30 public bool IsLoaded
31 {
32 get
33 {
34 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
35 }
36 }
37
38 // Token: 0x17000911 RID: 2321
39 // (get) Token: 0x060053C0 RID: 21440 RVA: 0x00284ED8 File Offset: 0x002830D8
40 // (set) Token: 0x060053C1 RID: 21441 RVA: 0x00284EEC File Offset: 0x002830EC
42 {
44 get
45 {
46 return this.<State>k__BackingField;
47 }
49 private set
50 {
52 }
53 }
54
55 // Token: 0x17000912 RID: 2322
56 // (get) Token: 0x060053C2 RID: 21442 RVA: 0x00284F00 File Offset: 0x00283100
57 // (set) Token: 0x060053C3 RID: 21443 RVA: 0x00284F14 File Offset: 0x00283114
58 public bool IsDisposed
59 {
61 get
62 {
63 return this.<IsDisposed>k__BackingField;
64 }
66 private set
67 {
68 }
69 }
70
71 // Token: 0x17000913 RID: 2323
72 // (get) Token: 0x060053C4 RID: 21444 RVA: 0x000021DB File Offset: 0x000003DB
73 // (set) Token: 0x060053C5 RID: 21445 RVA: 0x00284F24 File Offset: 0x00283124
75 {
77 get
78 {
79 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
80 }
82 private set
83 {
84 }
85 }
86
87 // Token: 0x17000914 RID: 2324
88 // (get) Token: 0x060053C6 RID: 21446 RVA: 0x000021DB File Offset: 0x000003DB
89 // (set) Token: 0x060053C7 RID: 21447 RVA: 0x00284F34 File Offset: 0x00283134
90 public T Value
91 {
93 get
94 {
95 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
96 }
98 private set
99 {
100 }
101 }
102
103 // Token: 0x060053C8 RID: 21448 RVA: 0x00284F44 File Offset: 0x00283144
104 public void ActionUnityLoad()
105 {
106 if (!true)
107 {
108 }
109 }
110
111 // Token: 0x060053C9 RID: 21449 RVA: 0x00284F54 File Offset: 0x00283154
112 internal Asset(string name)
113 {
114 }
115
116 // Token: 0x060053CA RID: 21450 RVA: 0x000021DB File Offset: 0x000003DB
117 public static explicit operator T(Asset<T> asset)
118 {
119 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
120 }
121
122 // Token: 0x060053CB RID: 21451 RVA: 0x00284F68 File Offset: 0x00283168
123 internal void Unload()
124 {
125 if (this != null)
126 {
127 return;
128 }
129 }
130
131 // Token: 0x060053CC RID: 21452 RVA: 0x00284F7C File Offset: 0x0028317C
133 {
134 while (value == null)
135 {
136 }
137 if (this != null)
138 {
139 return;
140 }
141 }
142
143 // Token: 0x060053CD RID: 21453 RVA: 0x00284F90 File Offset: 0x00283190
144 internal void SetToLoadingState()
145 {
146 }
147
148 // Token: 0x060053CE RID: 21454 RVA: 0x00284FA0 File Offset: 0x002831A0
149 private void Dispose(bool disposing)
150 {
151 }
152
153 // Token: 0x060053CF RID: 21455 RVA: 0x00284FB8 File Offset: 0x002831B8
154 public void Dispose()
155 {
156 }
157
158 // Token: 0x060053D0 RID: 21456 RVA: 0x00284FC8 File Offset: 0x002831C8
159 // Note: this type is marked as 'beforefieldinit'.
160 static Asset()
161 {
162 }
163
164 // Token: 0x04008CF0 RID: 36080
165 public static readonly Asset<T> Empty;
166
167 // Token: 0x04008CF1 RID: 36081
169 private string <Name>k__BackingField;
170
171 // Token: 0x04008CF2 RID: 36082
173 private AssetState <State>k__BackingField;
174
175 // Token: 0x04008CF3 RID: 36083
177 private bool <IsDisposed>k__BackingField;
178
179 // Token: 0x04008CF4 RID: 36084
181 private IContentSource <Source>k__BackingField;
182
183 // Token: 0x04008CF5 RID: 36085
185 private T <Value>k__BackingField;
186 }
187}
class f__AnonymousType0<< Count > j__TPar
T< Value > k__BackingField
Definition Asset.cs:185
void SubmitLoadedContent(T value, IContentSource source)
Definition Asset.cs:132
AssetState< State > k__BackingField
Definition Asset.cs:173
string< Name > k__BackingField
Definition Asset.cs:169
static readonly Asset< T > Empty
Definition Asset.cs:165
IContentSource< Source > k__BackingField
Definition Asset.cs:181
void ActionUnityLoad()
Definition Asset.cs:104
IContentSource Source
Definition Asset.cs:75
Asset(string name)
Definition Asset.cs:112
void Dispose(bool disposing)
Definition Asset.cs:149
bool< IsDisposed > k__BackingField
Definition Asset.cs:177
AssetState State
Definition Asset.cs:42
void SetToLoadingState()
Definition Asset.cs:144