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
Singleton.cs
Go to the documentation of this file.
1
using
System
;
2
using
Cpp2IlInjected
;
3
using
UnityEngine
;
4
5
// Token: 0x02000063 RID: 99
6
public
abstract
class
Singleton
<T> :
ScriptableObject
where
T :
Singleton
<T>,
new
()
7
{
8
// Token: 0x06000209 RID: 521 RVA: 0x00005FB0 File Offset: 0x000041B0
9
public
Singleton
()
10
{
11
}
12
13
// Token: 0x17000073 RID: 115
14
// (get) Token: 0x0600020A RID: 522 RVA: 0x000021DB File Offset: 0x000003DB
15
public
static
T
Instance
16
{
17
get
18
{
19
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
20
}
21
}
22
23
// Token: 0x0600020B RID: 523 RVA: 0x00005FC4 File Offset: 0x000041C4
24
public
static
void
Create
()
25
{
26
}
27
28
// Token: 0x0600020C RID: 524 RVA: 0x00005FD8 File Offset: 0x000041D8
29
private
static
void
CreateOnMainThread
(
object
resourceId
)
30
{
31
if
(
resourceId
!=
null
)
32
{
33
}
34
}
35
36
// Token: 0x0600020D RID: 525 RVA: 0x00005FF0 File Offset: 0x000041F0
37
public
static
void
Create
(
string
resourceId
)
38
{
39
bool
isMainThread
=
DrPlatform
.
IsMainThread
;
40
bool
isPlaying =
Application
.
isPlaying
;
41
}
42
43
// Token: 0x0600020E RID: 526 RVA: 0x00006060 File Offset: 0x00004260
44
public
static
void
Destroy
()
45
{
46
}
47
48
// Token: 0x0600020F RID: 527 RVA: 0x00006074 File Offset: 0x00004274
49
private
void
OnEnable
()
50
{
51
if
(!
true
)
52
{
53
return
;
54
}
55
}
56
57
// Token: 0x06000210 RID: 528 RVA: 0x00006088 File Offset: 0x00004288
58
private
void
OnDisable
()
59
{
60
if
(
true
)
61
{
62
return
;
63
}
64
}
65
66
// Token: 0x06000211 RID: 529 RVA: 0x0000609C File Offset: 0x0000429C
67
private
static
void
Cleanup
()
68
{
69
string
text
;
70
Debug
.
Log
(
text
);
71
}
72
73
// Token: 0x06000212 RID: 530 RVA: 0x000060B0 File Offset: 0x000042B0
74
public
virtual
void
Init
()
75
{
76
}
77
78
// Token: 0x06000213 RID: 531 RVA: 0x000060C0 File Offset: 0x000042C0
79
public
virtual
void
Shutdown
()
80
{
81
}
82
83
// Token: 0x040001F7 RID: 503
84
private
static
T
_instance
;
85
86
// Token: 0x040001F8 RID: 504
87
private
static
bool
_initialised
;
88
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
DrPlatform.IsMainThread
static bool IsMainThread
Definition
DrPlatform.cs:107
DrPlatform
Definition
DrPlatform.cs:12
Singleton.CreateOnMainThread
static void CreateOnMainThread(object resourceId)
Definition
Singleton.cs:29
Singleton.Singleton
Singleton()
Definition
Singleton.cs:9
Singleton.OnEnable
void OnEnable()
Definition
Singleton.cs:49
Singleton.Instance
static T Instance
Definition
Singleton.cs:16
Singleton.Create
static void Create(string resourceId)
Definition
Singleton.cs:37
Singleton.Init
virtual void Init()
Definition
Singleton.cs:74
Singleton.Cleanup
static void Cleanup()
Definition
Singleton.cs:67
Singleton.Create
static void Create()
Definition
Singleton.cs:24
Singleton._instance
static T _instance
Definition
Singleton.cs:84
Singleton._initialised
static bool _initialised
Definition
Singleton.cs:87
Singleton.Shutdown
virtual void Shutdown()
Definition
Singleton.cs:79
Singleton.OnDisable
void OnDisable()
Definition
Singleton.cs:58
Singleton.Destroy
static void Destroy()
Definition
Singleton.cs:44
Singleton
Definition
Singleton.cs:7
UnityEngine.Application.isPlaying
static bool isPlaying
Definition
Application.cs:46
UnityEngine.Application
Definition
Application.cs:29
UnityEngine.Debug.Log
static void Log(object message)
Definition
Debug.cs:51
UnityEngine.Debug
Definition
Debug.cs:11
UnityEngine.ScriptableObject
Definition
ScriptableObject.cs:15
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.ExceptionArgument.text
@ text
System
Definition
__ComObject.cs:4
UnityEngine
Definition
_AndroidJNIHelper.cs:6
source
Singleton.cs
Generated by
1.10.0