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
Cloud.cs
Go to the documentation of this file.
1using System;
7using Terraria.IO;
9
10namespace Terraria
11{
12 [global::Cpp2ILInjected.Token(Token = "0x2000424")]
13 public class Cloud
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x6002760")]
16 [global::Cpp2ILInjected.Address(RVA = "0x10BD168", Offset = "0x10BD168", Length = "0x164")]
17 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawBG", ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Netplay), Member = "ClientLoopFrameUpdate", ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "RandomizeWeather", ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldFile), Member = "LoadWorld", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Cloud), Member = "addCloud", ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
25 public static void resetClouds()
26 {
27 throw null;
28 }
29
30 [global::Cpp2ILInjected.Token(Token = "0x6002761")]
31 [global::Cpp2ILInjected.Address(RVA = "0x10C5FA0", Offset = "0x10C5FA0", Length = "0xF48")]
32 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
33 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Cloud), Member = "resetClouds", ReturnType = typeof(void))]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Cloud), Member = "UpdateClouds", ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetHostOnly", ReturnType = typeof(bool))]
37 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
38 {
39 typeof(int),
40 typeof(int)
41 }, ReturnType = typeof(int))]
42 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Width", MemberParameters = new object[] { typeof(Asset<Texture2D>) }, ReturnType = typeof(int))]
43 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Height", MemberParameters = new object[] { typeof(Asset<Texture2D>) }, ReturnType = typeof(int))]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_gameMenu", ReturnType = typeof(bool))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenWidth", ReturnType = typeof(int))]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenHeight", ReturnType = typeof(int))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Cloud), Member = "RollRareCloud", ReturnType = typeof(int))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
51 {
52 typeof(int),
53 typeof(int),
54 typeof(int),
55 typeof(int)
56 }, ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "Intersects", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(bool))]
58 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 70)]
59 public static void addCloud()
60 {
61 throw null;
62 }
63
64 [global::Cpp2ILInjected.Token(Token = "0x6002762")]
65 [global::Cpp2ILInjected.Address(RVA = "0x10C6EE8", Offset = "0x10C6EE8", Length = "0x210")]
66 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
67 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Cloud), Member = "addCloud", ReturnType = typeof(void))]
68 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
70 {
71 typeof(int),
72 typeof(int)
73 }, ReturnType = typeof(int))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
75 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
76 private static int RollRareCloud()
77 {
78 throw null;
79 }
80
81 [global::Cpp2ILInjected.Token(Token = "0x6002763")]
82 [global::Cpp2ILInjected.Address(RVA = "0x10C70F8", Offset = "0x10C70F8", Length = "0xF4")]
83 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
84 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawSurfaceBG", ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
87 {
88 typeof(int),
89 typeof(int),
90 typeof(int),
91 typeof(int)
92 }, ReturnType = typeof(void))]
94 {
95 throw null;
96 }
97
98 [global::Cpp2ILInjected.Token(Token = "0x6002764")]
99 [global::Cpp2ILInjected.Address(RVA = "0x10C71EC", Offset = "0x10C71EC", Length = "0x8")]
100 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "MemberwiseClone", ReturnType = typeof(object))]
102 public object Clone()
103 {
104 throw null;
105 }
106
107 [global::Cpp2ILInjected.Token(Token = "0x6002765")]
108 [global::Cpp2ILInjected.Address(RVA = "0x10C71F4", Offset = "0x10C71F4", Length = "0x424")]
109 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
110 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoUpdate", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawMenu", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetHostOnly", ReturnType = typeof(bool))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Cloud), Member = "Update", ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Cloud), Member = "addCloud", ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
117 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 24)]
118 public static void UpdateClouds()
119 {
120 throw null;
121 }
122
123 [global::Cpp2ILInjected.Token(Token = "0x6002766")]
124 [global::Cpp2ILInjected.Address(RVA = "0x10C7618", Offset = "0x10C7618", Length = "0x59C")]
125 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
126 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Cloud), Member = "UpdateClouds", ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_gameMenu", ReturnType = typeof(bool))]
129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenPosition", ReturnType = typeof(Vector2))]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenLastPosition", ReturnType = typeof(Vector2))]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_bgAlphaFrontLayer", ReturnType = typeof(float[]))]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Width", MemberParameters = new object[] { typeof(Asset<Texture2D>) }, ReturnType = typeof(int))]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenWidth", ReturnType = typeof(int))]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
135 {
136 typeof(int),
137 typeof(int)
138 }, ReturnType = typeof(int))]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Height", MemberParameters = new object[] { typeof(Asset<Texture2D>) }, ReturnType = typeof(int))]
140 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 19)]
141 public void Update()
142 {
143 throw null;
144 }
145
146 [global::Cpp2ILInjected.Token(Token = "0x6002767")]
147 [global::Cpp2ILInjected.Address(RVA = "0x10C7BB4", Offset = "0x10C7BB4", Length = "0x8")]
148 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "Initialize_Entities", ReturnType = typeof(void))]
149 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
150 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
151 public Cloud()
152 {
153 throw null;
154 }
155
156 // Note: this type is marked as 'beforefieldinit'.
157 [global::Cpp2ILInjected.Token(Token = "0x6002768")]
158 [global::Cpp2ILInjected.Address(RVA = "0x10C7BBC", Offset = "0x10C7BBC", Length = "0x70")]
159 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
160 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = ".ctor", ReturnType = typeof(void))]
161 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
162 static Cloud()
163 {
164 throw null;
165 }
166
167 [global::Cpp2ILInjected.Token(Token = "0x400339B")]
168 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
170
171 [global::Cpp2ILInjected.Token(Token = "0x400339C")]
172 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
173 public float scale;
174
175 [global::Cpp2ILInjected.Token(Token = "0x400339D")]
176 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
177 public float rotation;
178
179 [global::Cpp2ILInjected.Token(Token = "0x400339E")]
180 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
181 public float rSpeed;
182
183 [global::Cpp2ILInjected.Token(Token = "0x400339F")]
184 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
185 public float sSpeed;
186
187 [global::Cpp2ILInjected.Token(Token = "0x40033A0")]
188 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
189 public bool active;
190
191 [global::Cpp2ILInjected.Token(Token = "0x40033A1")]
192 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2C")]
194
195 [global::Cpp2ILInjected.Token(Token = "0x40033A2")]
196 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
197 public int type;
198
199 [global::Cpp2ILInjected.Token(Token = "0x40033A3")]
200 [global::Cpp2ILInjected.FieldOffset(Offset = "0x34")]
201 public int width;
202
203 [global::Cpp2ILInjected.Token(Token = "0x40033A4")]
204 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
205 public int height;
206
207 [global::Cpp2ILInjected.Token(Token = "0x40033A5")]
208 [global::Cpp2ILInjected.FieldOffset(Offset = "0x3C")]
209 public float Alpha;
210
211 [global::Cpp2ILInjected.Token(Token = "0x40033A6")]
212 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
213 public bool kill;
214
215 [global::Cpp2ILInjected.Token(Token = "0x40033A7")]
216 private static UnifiedRandom rand;
217 }
218}
class f__AnonymousType0<< Count > j__TPar
bool active
Definition Cloud.cs:189
SpriteEffects spriteDir
Definition Cloud.cs:193
static void resetClouds()
Definition Cloud.cs:25
float scale
Definition Cloud.cs:173
object Clone()
Definition Cloud.cs:102
static void addCloud()
Definition Cloud.cs:59
float rotation
Definition Cloud.cs:177
void Update()
Definition Cloud.cs:141
static UnifiedRandom rand
Definition Cloud.cs:216
float Alpha
Definition Cloud.cs:209
Vector2 position
Definition Cloud.cs:169
static void UpdateClouds()
Definition Cloud.cs:118
float sSpeed
Definition Cloud.cs:185
static Cloud()
Definition Cloud.cs:162
float rSpeed
Definition Cloud.cs:181
Color cloudColor(Color bgColor)
Definition Cloud.cs:93
static int RollRareCloud()
Definition Cloud.cs:76