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
Shadow.cs
Go to the documentation of this file.
1using System;
6
7namespace UnityEngine.UI
8{
9 [AddComponentMenu("UI/Effects/Shadow", 80)]
10 [global::Cpp2ILInjected.Token(Token = "0x2000086")]
11 public class Shadow : BaseMeshEffect
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x6000532")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1FE2B10", Offset = "0x1FE2B10", Length = "0x28")]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Outline), Member = ".ctor", ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
17 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BaseMeshEffect), Member = ".ctor", ReturnType = typeof(void))]
18 protected Shadow()
19 {
20 throw null;
21 }
22
23 [global::Cpp2ILInjected.Token(Token = "0x17000155")]
25 {
26 [global::Cpp2ILInjected.Token(Token = "0x6000533")]
27 [global::Cpp2ILInjected.Address(RVA = "0x1FE2B38", Offset = "0x1FE2B38", Length = "0xC")]
28 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
29 get
30 {
31 throw null;
32 }
33 [global::Cpp2ILInjected.Token(Token = "0x6000534")]
34 [global::Cpp2ILInjected.Address(RVA = "0x1FE2B44", Offset = "0x1FE2B44", Length = "0xCC")]
35 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BaseMeshEffect), Member = "get_graphic", ReturnType = typeof(Graphic))]
37 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Object), Member = "op_Inequality", MemberParameters = new object[]
38 {
41 }, ReturnType = typeof(bool))]
42 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
43 set
44 {
45 throw null;
46 }
47 }
48
49 [global::Cpp2ILInjected.Token(Token = "0x17000156")]
51 {
52 [global::Cpp2ILInjected.Token(Token = "0x6000535")]
53 [global::Cpp2ILInjected.Address(RVA = "0x1FE2C10", Offset = "0x1FE2C10", Length = "0x8")]
54 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
55 get
56 {
57 throw null;
58 }
59 [global::Cpp2ILInjected.Token(Token = "0x6000536")]
60 [global::Cpp2ILInjected.Address(RVA = "0x1FE2C18", Offset = "0x1FE2C18", Length = "0xFC")]
61 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
62 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BaseMeshEffect), Member = "get_graphic", ReturnType = typeof(Graphic))]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Object), Member = "op_Inequality", MemberParameters = new object[]
65 {
68 }, ReturnType = typeof(bool))]
69 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
70 set
71 {
72 throw null;
73 }
74 }
75
76 [global::Cpp2ILInjected.Token(Token = "0x17000157")]
77 public bool useGraphicAlpha
78 {
79 [global::Cpp2ILInjected.Token(Token = "0x6000537")]
80 [global::Cpp2ILInjected.Address(RVA = "0x1FE2D14", Offset = "0x1FE2D14", Length = "0x8")]
81 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
82 get
83 {
84 throw null;
85 }
86 [global::Cpp2ILInjected.Token(Token = "0x6000538")]
87 [global::Cpp2ILInjected.Address(RVA = "0x1FE2D1C", Offset = "0x1FE2D1C", Length = "0xB0")]
88 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BaseMeshEffect), Member = "get_graphic", ReturnType = typeof(Graphic))]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Object), Member = "op_Inequality", MemberParameters = new object[]
91 {
94 }, ReturnType = typeof(bool))]
95 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
96 set
97 {
98 throw null;
99 }
100 }
101
102 [global::Cpp2ILInjected.Token(Token = "0x6000539")]
103 [global::Cpp2ILInjected.Address(RVA = "0x1FE2DCC", Offset = "0x1FE2DCC", Length = "0x300")]
104 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
105 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Outline), Member = "ModifyMesh", MemberParameters = new object[] { typeof(VertexHelper) }, ReturnType = typeof(void))]
106 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Shadow), Member = "ApplyShadow", MemberParameters = new object[]
107 {
110 typeof(int),
111 typeof(int),
112 typeof(float),
113 typeof(float)
114 }, ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Shadow), Member = "ModifyMesh", MemberParameters = new object[] { typeof(VertexHelper) }, ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<UIVertex>), Member = "get_Capacity", ReturnType = typeof(int))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<UIVertex>), Member = "set_Capacity", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<UIVertex>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<UIVertex>), Member = "set_Item", MemberParameters = new object[]
121 {
122 typeof(int),
124 }, ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
126 protected void ApplyShadowZeroAlloc(List<UIVertex> verts, Color32 color, int start, int end, float x, float y)
127 {
128 throw null;
129 }
130
131 [global::Cpp2ILInjected.Token(Token = "0x600053A")]
132 [global::Cpp2ILInjected.Address(RVA = "0x1FE30CC", Offset = "0x1FE30CC", Length = "0x8")]
133 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Shadow), Member = "ApplyShadowZeroAlloc", MemberParameters = new object[]
135 {
138 typeof(int),
139 typeof(int),
140 typeof(float),
141 typeof(float)
142 }, ReturnType = typeof(void))]
143 protected void ApplyShadow(List<UIVertex> verts, Color32 color, int start, int end, float x, float y)
144 {
145 throw null;
146 }
147
148 [global::Cpp2ILInjected.Token(Token = "0x600053B")]
149 [global::Cpp2ILInjected.Address(RVA = "0x1FE30D4", Offset = "0x1FE30D4", Length = "0x3D0")]
150 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
151 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CollectionPool<object, UIVertex>), Member = "Get", ReturnType = "TCollection")]
153 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(VertexHelper), Member = "GetUIVertexStream", MemberParameters = new object[] { typeof(List<UIVertex>) }, ReturnType = typeof(void))]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Shadow), Member = "ApplyShadowZeroAlloc", MemberParameters = new object[]
155 {
158 typeof(int),
159 typeof(int),
160 typeof(float),
161 typeof(float)
162 }, ReturnType = typeof(void))]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(VertexHelper), Member = "Clear", ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(VertexHelper), Member = "AddUIVertexTriangleStream", MemberParameters = new object[] { typeof(List<UIVertex>) }, ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CollectionPool<object, UIVertex>), Member = "Release", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
166 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
167 public override void ModifyMesh(VertexHelper vh)
168 {
169 throw null;
170 }
171
173 [global::Cpp2ILInjected.Token(Token = "0x400026B")]
174 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
176
178 [global::Cpp2ILInjected.Token(Token = "0x400026C")]
179 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
181
183 [global::Cpp2ILInjected.Token(Token = "0x400026D")]
184 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
185 private bool m_UseGraphicAlpha;
186
187 [global::Cpp2ILInjected.Token(Token = "0x400026E")]
188 private const float kMaxEffectDistance = 600f;
189 }
190}
class f__AnonymousType0<< Count > j__TPar
void ApplyShadowZeroAlloc(List< UIVertex > verts, Color32 color, int start, int end, float x, float y)
Definition Shadow.cs:126
const float kMaxEffectDistance
Definition Shadow.cs:188
Vector2 m_EffectDistance
Definition Shadow.cs:180
Vector2 effectDistance
Definition Shadow.cs:51
override void ModifyMesh(VertexHelper vh)
Definition Shadow.cs:167
void ApplyShadow(List< UIVertex > verts, Color32 color, int start, int end, float x, float y)
Definition Shadow.cs:143