terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Star.cs
Go to the documentation of this file.
1using System;
7
8namespace Terraria
9{
10 [global::Cpp2ILInjected.Token(Token = "0x200045C")]
11 public class Star
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x6002A32")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1170060", Offset = "0x1170060", Length = "0x19C")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "UpdateTime_StartNight", MemberParameters = new object[] { typeof(ref bool) }, ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
18 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
19 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
20 {
21 typeof(int),
22 typeof(int)
23 }, ReturnType = typeof(int))]
24 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
25 public static void NightSetup()
26 {
27 throw null;
28 }
29
30 [global::Cpp2ILInjected.Token(Token = "0x6002A33")]
31 [global::Cpp2ILInjected.Address(RVA = "0x11701FC", Offset = "0x11701FC", Length = "0x1F0")]
32 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
33 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_148_StarSpawner", ReturnType = typeof(void))]
34 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
35 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
36 public static void StarFall(float positionX)
37 {
38 throw null;
39 }
40
41 [global::Cpp2ILInjected.Token(Token = "0x6002A34")]
42 [global::Cpp2ILInjected.Address(RVA = "0x11704A8", Offset = "0x11704A8", Length = "0x594")]
43 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
44 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "Initialize_AlmostEverything", ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoUpdate", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawSunAndMoon", MemberParameters = new object[]
47 {
51 typeof(float)
52 }, ReturnType = typeof(void))]
53 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Star), Member = "UpdateStars", ReturnType = typeof(void))]
54 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "clearWorld", ReturnType = typeof(void))]
55 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FastRandom), Member = "CreateWithRandomSeed", ReturnType = typeof(FastRandom))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FastRandom), Member = "Next", MemberParameters = new object[]
58 {
59 typeof(int),
60 typeof(int)
61 }, ReturnType = typeof(int))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FastRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
64 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 21)]
65 public static void SpawnStars(int s = -1)
66 {
67 throw null;
68 }
69
70 [global::Cpp2ILInjected.Token(Token = "0x6002A35")]
71 [global::Cpp2ILInjected.Address(RVA = "0x11703EC", Offset = "0x11703EC", Length = "0xBC")]
72 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoUpdate", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "UpdateMenu", ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
77 {
78 typeof(int),
79 typeof(int)
80 }, ReturnType = typeof(int))]
81 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
82 public void Fall()
83 {
84 throw null;
85 }
86
87 [global::Cpp2ILInjected.Token(Token = "0x6002A36")]
88 [global::Cpp2ILInjected.Address(RVA = "0x1170A44", Offset = "0x1170A44", Length = "0x2A0")]
89 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
90 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Star), Member = "UpdateStars", ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
93 {
95 typeof(float)
96 }, ReturnType = typeof(Vector2))]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Division", MemberParameters = new object[]
98 {
100 typeof(float)
101 }, ReturnType = typeof(Vector2))]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
103 {
106 }, ReturnType = typeof(Vector2))]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Length", ReturnType = typeof(float))]
108 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
109 public void Update()
110 {
111 throw null;
112 }
113
114 [global::Cpp2ILInjected.Token(Token = "0x6002A37")]
115 [global::Cpp2ILInjected.Address(RVA = "0x1170CE4", Offset = "0x1170CE4", Length = "0x188")]
116 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoUpdate", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
118 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawMenu", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Star), Member = "SpawnStars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Star), Member = "Update", ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
123 public static void UpdateStars()
124 {
125 throw null;
126 }
127
128 [global::Cpp2ILInjected.Token(Token = "0x6002A38")]
129 [global::Cpp2ILInjected.Address(RVA = "0x1170A3C", Offset = "0x1170A3C", Length = "0x8")]
130 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
132 public Star()
133 {
134 throw null;
135 }
136
137 // Note: this type is marked as 'beforefieldinit'.
138 [global::Cpp2ILInjected.Token(Token = "0x6002A39")]
139 [global::Cpp2ILInjected.Address(RVA = "0x1170E6C", Offset = "0x1170E6C", Length = "0x50")]
140 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
141 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
142 static Star()
143 {
144 throw null;
145 }
146
147 [global::Cpp2ILInjected.Token(Token = "0x4003732")]
148 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
150
151 [global::Cpp2ILInjected.Token(Token = "0x4003733")]
152 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
153 public float scale;
154
155 [global::Cpp2ILInjected.Token(Token = "0x4003734")]
156 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
157 public float rotation;
158
159 [global::Cpp2ILInjected.Token(Token = "0x4003735")]
160 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
161 public int type;
162
163 [global::Cpp2ILInjected.Token(Token = "0x4003736")]
164 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
165 public float twinkle;
166
167 [global::Cpp2ILInjected.Token(Token = "0x4003737")]
168 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
169 public float twinkleSpeed;
170
171 [global::Cpp2ILInjected.Token(Token = "0x4003738")]
172 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2C")]
173 public float rotationSpeed;
174
175 [global::Cpp2ILInjected.Token(Token = "0x4003739")]
176 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
177 public bool falling;
178
179 [global::Cpp2ILInjected.Token(Token = "0x400373A")]
180 [global::Cpp2ILInjected.FieldOffset(Offset = "0x31")]
181 public bool hidden;
182
183 [global::Cpp2ILInjected.Token(Token = "0x400373B")]
184 [global::Cpp2ILInjected.FieldOffset(Offset = "0x34")]
186
187 [global::Cpp2ILInjected.Token(Token = "0x400373C")]
188 [global::Cpp2ILInjected.FieldOffset(Offset = "0x3C")]
189 public int fallTime;
190
191 [global::Cpp2ILInjected.Token(Token = "0x400373D")]
192 public static bool dayCheck;
193
194 [global::Cpp2ILInjected.Token(Token = "0x400373E")]
195 public static float starfallBoost;
196
197 [global::Cpp2ILInjected.Token(Token = "0x400373F")]
198 public static int starFallCount;
199
200 [global::Cpp2ILInjected.Token(Token = "0x4003740")]
201 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
202 public float fadeIn;
203 }
204}
class f__AnonymousType0<< Count > j__TPar
float twinkleSpeed
Definition Star.cs:169
static void NightSetup()
Definition Star.cs:25
void Update()
Definition Star.cs:109
static float starfallBoost
Definition Star.cs:195
bool hidden
Definition Star.cs:181
float scale
Definition Star.cs:153
static Star()
Definition Star.cs:142
void Fall()
Definition Star.cs:82
static void SpawnStars(int s=-1)
Definition Star.cs:65
Vector2 position
Definition Star.cs:149
float fadeIn
Definition Star.cs:202
float twinkle
Definition Star.cs:165
static int starFallCount
Definition Star.cs:198
static bool dayCheck
Definition Star.cs:192
static void UpdateStars()
Definition Star.cs:123
int fallTime
Definition Star.cs:189
static void StarFall(float positionX)
Definition Star.cs:36
Vector2 fallSpeed
Definition Star.cs:185
bool falling
Definition Star.cs:177
float rotationSpeed
Definition Star.cs:173
float rotation
Definition Star.cs:157