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.
1
using
System
;
2
using
System.Runtime.CompilerServices
;
3
using
Cpp2IlInjected
;
4
using
ReLogic.Content.Sources
;
5
6
namespace
ReLogic.Content
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
{
16
[
CompilerGenerated
]
17
get
18
{
19
return
this.<
Name
>
k__BackingField
;
20
}
21
[
CompilerGenerated
]
22
private
set
23
{
24
this.<
Name
>
k__BackingField
=
value
;
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
41
public
AssetState
State
42
{
43
[
CompilerGenerated
]
44
get
45
{
46
return
this.<
State
>
k__BackingField
;
47
}
48
[
CompilerGenerated
]
49
private
set
50
{
51
this.<
State
>
k__BackingField
=
value
;
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
{
60
[
CompilerGenerated
]
61
get
62
{
63
return
this.<
IsDisposed
>
k__BackingField
;
64
}
65
[
CompilerGenerated
]
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
74
public
IContentSource
Source
75
{
76
[
CompilerGenerated
]
77
get
78
{
79
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
80
}
81
[
CompilerGenerated
]
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
{
92
[
CompilerGenerated
]
93
get
94
{
95
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
96
}
97
[
CompilerGenerated
]
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
132
internal
void
SubmitLoadedContent
(T
value
,
IContentSource
source
)
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
168
[
CompilerGenerated
]
169
private
string <Name>
k__BackingField
;
170
171
// Token: 0x04008CF2 RID: 36082
172
[
CompilerGenerated
]
173
private
AssetState <State>
k__BackingField
;
174
175
// Token: 0x04008CF3 RID: 36083
176
[
CompilerGenerated
]
177
private
bool <IsDisposed>
k__BackingField
;
178
179
// Token: 0x04008CF4 RID: 36084
180
[
CompilerGenerated
]
181
private
IContentSource <Source>
k__BackingField
;
182
183
// Token: 0x04008CF5 RID: 36085
184
[
CompilerGenerated
]
185
private
T <Value>
k__BackingField
;
186
}
187
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
ReLogic.Content.Asset.Dispose
void Dispose()
Definition
Asset.cs:154
ReLogic.Content.Asset.k__BackingField
T< Value > k__BackingField
Definition
Asset.cs:185
ReLogic.Content.Asset.SubmitLoadedContent
void SubmitLoadedContent(T value, IContentSource source)
Definition
Asset.cs:132
ReLogic.Content.Asset.k__BackingField
AssetState< State > k__BackingField
Definition
Asset.cs:173
ReLogic.Content.Asset.Value
T Value
Definition
Asset.cs:91
ReLogic.Content.Asset.k__BackingField
string< Name > k__BackingField
Definition
Asset.cs:169
ReLogic.Content.Asset.Empty
static readonly Asset< T > Empty
Definition
Asset.cs:165
ReLogic.Content.Asset.k__BackingField
IContentSource< Source > k__BackingField
Definition
Asset.cs:181
ReLogic.Content.Asset.ActionUnityLoad
void ActionUnityLoad()
Definition
Asset.cs:104
ReLogic.Content.Asset.IsDisposed
bool IsDisposed
Definition
Asset.cs:59
ReLogic.Content.Asset.Source
IContentSource Source
Definition
Asset.cs:75
ReLogic.Content.Asset.IsLoaded
bool IsLoaded
Definition
Asset.cs:31
ReLogic.Content.Asset.Unload
void Unload()
Definition
Asset.cs:123
ReLogic.Content.Asset.Asset
Asset(string name)
Definition
Asset.cs:112
ReLogic.Content.Asset.Asset
static Asset()
Definition
Asset.cs:160
ReLogic.Content.Asset.Dispose
void Dispose(bool disposing)
Definition
Asset.cs:149
ReLogic.Content.Asset.k__BackingField
bool< IsDisposed > k__BackingField
Definition
Asset.cs:177
ReLogic.Content.Asset.Name
string Name
Definition
Asset.cs:15
ReLogic.Content.Asset.State
AssetState State
Definition
Asset.cs:42
ReLogic.Content.Asset.SetToLoadingState
void SetToLoadingState()
Definition
Asset.cs:144
ReLogic.Content.Asset
Definition
Asset.cs:10
ReLogic.Content.IAsset
Definition
IAsset.cs:8
ReLogic.Content.Sources.IContentSource
Definition
IContentSource.cs:9
System.IDisposable
Definition
IDisposable.cs:7
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
ReLogic.Content.Sources
Definition
FileSystemContentSource.cs:7
ReLogic.Content.AssetState
AssetState
Definition
AssetState.cs:7
ReLogic.Content
Definition
Asset.cs:7
System.Runtime.CompilerServices
Definition
AsyncMethodBuilderAttribute.cs:4
System.ExceptionArgument.value
@ value
System.ExceptionArgument.source
@ source
System.ExceptionArgument.name
@ name
System.ConsoleKey.T
@ T
System
Definition
__ComObject.cs:4
source
ReLogic
Content
Asset.cs
Generated by
1.10.0