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
ArmorShaderDataSet.cs
Go to the documentation of this file.
1using System;
11using Terraria.ID;
13
15{
16 [global::Cpp2ILInjected.Token(Token = "0x2000746")]
17 public class ArmorShaderDataSet
18 {
19 [global::Cpp2ILInjected.Token(Token = "0x6003D5A")]
20 [global::Cpp2ILInjected.Address(RVA = "0x14D6F64", Offset = "0x14D6F64", Length = "0xE0")]
21 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
22 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DyeInitializer), Member = "LoadBasicColorDye", MemberParameters = new object[]
24 {
25 typeof(int),
26 typeof(int),
27 typeof(int),
28 typeof(int),
29 typeof(float),
30 typeof(float),
31 typeof(float),
32 typeof(float),
33 typeof(int)
34 }, ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DyeInitializer), Member = "LoadArmorDyes", ReturnType = typeof(void))]
36 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 72)]
37 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "set_Item", MemberParameters = new object[]
38 {
39 typeof(int),
40 typeof(int)
41 }, ReturnType = typeof(void))]
42 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
44 {
45 throw null;
46 }
47
48 [global::Cpp2ILInjected.Token(Token = "0x6003D5B")]
49 [global::Cpp2ILInjected.Address(RVA = "0x14A0524", Offset = "0x14A0524", Length = "0x138")]
50 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
51 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawNPCDirect", MemberParameters = new object[]
52 {
54 typeof(NPC),
55 typeof(bool),
57 }, ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawNPCDirect", MemberParameters = new object[]
59 {
61 typeof(NPC),
62 typeof(bool),
66 }, ReturnType = typeof(void))]
67 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawProjDirect", MemberParameters = new object[]
68 {
70 typeof(int)
71 }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "EntitySpriteDraw", MemberParameters = new object[]
73 {
78 typeof(float),
82 typeof(float)
83 }, ReturnType = typeof(void))]
84 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "EntitySpriteDraw", MemberParameters = new object[] { typeof(DrawData) }, ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerDrawHelper), Member = "SetShaderForData", MemberParameters = new object[]
86 {
88 typeof(int),
91 }, ReturnType = typeof(bool))]
92 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerDrawHelper), Member = "SetShaderForData", MemberParameters = new object[]
93 {
95 typeof(int),
97 }, ReturnType = typeof(bool))]
98 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 11)]
99 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_pixelShader", ReturnType = typeof(Effect))]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EffectPassCollection), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(EffectPass))]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
102 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
103 public void Apply(int shaderId, Entity entity, DrawData? drawData = null)
104 {
105 throw null;
106 }
107
108 [global::Cpp2ILInjected.Token(Token = "0x6003D5C")]
109 [global::Cpp2ILInjected.Address(RVA = "0x14A065C", Offset = "0x14A065C", Length = "0x148")]
110 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
111 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_pixelShader", ReturnType = typeof(Effect))]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EffectPassCollection), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(EffectPass))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
115 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
116 public void ApplySecondary(int shaderId, Entity entity, DrawData? drawData = null)
117 {
118 throw null;
119 }
120
121 [global::Cpp2ILInjected.Token(Token = "0x6003D5D")]
122 [global::Cpp2ILInjected.Address(RVA = "0x14A07A4", Offset = "0x14A07A4", Length = "0xB8")]
123 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DelegateMethods.Minecart), Member = "SparksMeow", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "ContainsKey", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "TValue")]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
128 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
130 {
131 throw null;
132 }
133
134 [global::Cpp2ILInjected.Token(Token = "0x6003D5E")]
135 [global::Cpp2ILInjected.Address(RVA = "0x14A085C", Offset = "0x14A085C", Length = "0x94")]
136 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Item), Member = "SetDefaults", MemberParameters = new object[]
137 {
138 typeof(int),
139 typeof(bool),
141 }, ReturnType = typeof(void))]
142 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DyeInitializer), Member = "LoadMisc", ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DyeInitializer), Member = "FixRecipes", ReturnType = typeof(void))]
144 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ContentSamples.CommonlyUsedContentSamples), Member = "PrepareAfterEverythingElseLoaded", ReturnType = typeof(void))]
145 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
146 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "ContainsKey", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
147 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "TValue")]
148 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
149 public int GetShaderIdFromItemId(int type)
150 {
151 throw null;
152 }
153
154 [global::Cpp2ILInjected.Token(Token = "0x6003D5F")]
155 [global::Cpp2ILInjected.Address(RVA = "0x14A08F0", Offset = "0x14A08F0", Length = "0xA8")]
156 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
157 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Yoraiz0rEye", ReturnType = typeof(void))]
158 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UpdateArmorSets", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
159 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "SpawnFastRunParticles", ReturnType = typeof(void))]
160 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "JumpMovement", ReturnType = typeof(void))]
161 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "DashMovement", ReturnType = typeof(void))]
162 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "WallslideMovement", ReturnType = typeof(void))]
163 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "DoubleJumpVisuals", ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Update", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "RocketBootVisuals", ReturnType = typeof(void))]
166 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "WingFrame", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
167 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "WingAirVisuals", ReturnType = typeof(void))]
168 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "PlayerFrame", ReturnType = typeof(void))]
169 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "NinjaDodge", ReturnType = typeof(void))]
170 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Hurt", MemberParameters = new object[]
171 {
173 typeof(int),
174 typeof(int),
175 typeof(bool),
176 typeof(bool),
177 typeof(bool),
178 typeof(int),
179 typeof(bool)
180 }, ReturnType = typeof(double))]
181 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "KillMe", MemberParameters = new object[]
182 {
184 typeof(double),
185 typeof(int),
186 typeof(bool)
187 }, ReturnType = typeof(void))]
188 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UpdateMinionTarget", ReturnType = typeof(void))]
189 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI", ReturnType = typeof(void))]
190 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_120_StardustGuardian", ReturnType = typeof(void))]
191 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_067_FreakingPirates", ReturnType = typeof(void))]
192 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_011", ReturnType = typeof(void))]
193 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_026", ReturnType = typeof(void))]
194 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "Kill", ReturnType = typeof(void))]
195 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "UpdateFrame", MemberParameters = new object[]
196 {
197 typeof(Player),
198 typeof(int),
200 }, ReturnType = typeof(void))]
201 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "DoGemMinecartEffect", MemberParameters = new object[]
202 {
203 typeof(Player),
204 typeof(int)
205 }, ReturnType = typeof(void))]
206 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "DoSteamMinecartEffect", MemberParameters = new object[]
207 {
208 typeof(Player),
209 typeof(int)
210 }, ReturnType = typeof(void))]
211 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "DoExhaustMinecartEffect", MemberParameters = new object[]
212 {
213 typeof(Player),
214 typeof(int)
215 }, ReturnType = typeof(void))]
216 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "DoConfettiMinecartEffect", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(void))]
217 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "UpdateEffects", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(void))]
218 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerDrawLayers), Member = "DrawPlayer_07_LeinforsHairShampoo", MemberParameters = new object[] { typeof(ref PlayerDrawSet) }, ReturnType = typeof(void))]
219 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerDrawLayers), Member = "DrawPlayer_14_2_GlassSlipperSparkles", MemberParameters = new object[] { typeof(ref PlayerDrawSet) }, ReturnType = typeof(void))]
220 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ParticleOrchestrator), Member = "Spawn_FlameWaders", MemberParameters = new object[] { typeof(ParticleOrchestraSettings) }, ReturnType = typeof(void))]
221 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ParticleOrchestrator), Member = "Spawn_WallOfFleshGoatMountFlames", MemberParameters = new object[] { typeof(ParticleOrchestraSettings) }, ReturnType = typeof(void))]
222 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 108)]
223 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
224 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
226 {
227 throw null;
228 }
229
230 [global::Cpp2ILInjected.Token(Token = "0x6003D60")]
231 [global::Cpp2ILInjected.Address(RVA = "0x14A0998", Offset = "0x14A0998", Length = "0xC4")]
232 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GameShaders), Member = ".cctor", ReturnType = typeof(void))]
233 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
234 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
235 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = ".ctor", ReturnType = typeof(void))]
236 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
237 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
239 {
240 throw null;
241 }
242
243 [global::Cpp2ILInjected.Token(Token = "0x4007C40")]
244 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
246
247 [global::Cpp2ILInjected.Token(Token = "0x4007C41")]
248 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
250
251 [global::Cpp2ILInjected.Token(Token = "0x4007C42")]
252 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
253 protected int _shaderDataCount;
254 }
255}
class f__AnonymousType0<< Count > j__TPar
ArmorShaderData GetSecondaryShader(int id, Player player)
void Apply(int shaderId, Entity entity, DrawData? drawData=null)
void ApplySecondary(int shaderId, Entity entity, DrawData? drawData=null)