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
ScreenDarkness.cs
Go to the documentation of this file.
1using System;
6
8{
9 [global::Cpp2ILInjected.Token(Token = "0x2000A57")]
10 public class ScreenDarkness
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x6004E33")]
13 [global::Cpp2ILInjected.Address(RVA = "0x8D3F38", Offset = "0x8D3F38", Length = "0x44C")]
14 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoUpdate", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
17 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
18 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_MountedCenter", ReturnType = typeof(Vector2))]
19 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "Distance", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(float))]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
21 {
22 typeof(int),
23 typeof(int),
24 typeof(int)
25 }, ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Multiply", MemberParameters = new object[]
27 {
29 typeof(float)
30 }, ReturnType = typeof(Color))]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Remap", MemberParameters = new object[]
32 {
33 typeof(float),
34 typeof(float),
35 typeof(float),
36 typeof(float),
37 typeof(float),
38 typeof(bool)
39 }, ReturnType = typeof(float))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MathHelper), Member = "Lerp", MemberParameters = new object[]
41 {
42 typeof(float),
43 typeof(float),
44 typeof(float)
45 }, ReturnType = typeof(float))]
46 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 21)]
47 public static void Update()
48 {
49 throw null;
50 }
51
52 [global::Cpp2ILInjected.Token(Token = "0x6004E34")]
53 [global::Cpp2ILInjected.Address(RVA = "0x8D4384", Offset = "0x8D4384", Length = "0x1E8")]
54 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Multiply", MemberParameters = new object[]
58 {
60 typeof(float)
61 }, ReturnType = typeof(Color))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenWidth", ReturnType = typeof(int))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenHeight", ReturnType = typeof(int))]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
65 {
66 typeof(int),
67 typeof(int),
68 typeof(int),
69 typeof(int)
70 }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle?), Member = ".ctor", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
73 {
78 }, ReturnType = typeof(void))]
79 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
80 public static void DrawBack(SpriteBatch spriteBatch)
81 {
82 throw null;
83 }
84
85 [global::Cpp2ILInjected.Token(Token = "0x6004E35")]
86 [global::Cpp2ILInjected.Address(RVA = "0x8D456C", Offset = "0x8D456C", Length = "0x1E4")]
87 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
88 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
89 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Multiply", MemberParameters = new object[]
91 {
93 typeof(float)
94 }, ReturnType = typeof(Color))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenWidth", ReturnType = typeof(int))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenHeight", ReturnType = typeof(int))]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
98 {
99 typeof(int),
100 typeof(int),
101 typeof(int),
102 typeof(int)
103 }, ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle?), Member = ".ctor", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
106 {
111 }, ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
113 public static void DrawFront(SpriteBatch spriteBatch)
114 {
115 throw null;
116 }
117
118 [global::Cpp2ILInjected.Token(Token = "0x6004E36")]
119 [global::Cpp2ILInjected.Address(RVA = "0x8D4750", Offset = "0x8D4750", Length = "0x8")]
120 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
123 {
124 throw null;
125 }
126
127 // Note: this type is marked as 'beforefieldinit'.
128 [global::Cpp2ILInjected.Token(Token = "0x6004E37")]
129 [global::Cpp2ILInjected.Address(RVA = "0x8D4758", Offset = "0x8D4758", Length = "0x68")]
130 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
132 {
133 typeof(int),
134 typeof(int),
135 typeof(int)
136 }, ReturnType = typeof(void))]
137 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
139 {
140 throw null;
141 }
142
143 [global::Cpp2ILInjected.Token(Token = "0x40086E1")]
144 public static float screenObstruction;
145
146 [global::Cpp2ILInjected.Token(Token = "0x40086E2")]
147 public static Color frontColor;
148 }
149}
class f__AnonymousType0<< Count > j__TPar
static void DrawBack(SpriteBatch spriteBatch)
static void DrawFront(SpriteBatch spriteBatch)