terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ ActionResearch()

void GUIResearch.ActionResearch ( )
inlineprivate

Definition at line 230 of file GUIResearch.cs.

231 {
232 int num = 1;
234 bool isAir = researchItem.IsAir;
235 if (num == 0)
236 {
237 }
238 int type = researchItem.type;
239 if (num == 0)
240 {
241 }
243 int type2 = researchItem.type;
245 int stack = researchItem.stack;
246 int type3 = researchItem.type;
247 if (stack == 0)
248 {
249 }
250 if (stack != 0)
251 {
253 if (stack == 0)
254 {
255 }
256 return;
257 }
258 if (stack == 0)
259 {
260 }
262 int type4 = researchItem.type;
264 int stack2 = researchItem.stack;
266 long num2 = 0L;
267 researchItem.TurnToAir(num2 != 0L);
268 if (stack2 == 0)
269 {
270 }
271 Recipe.FindRecipes(false);
272 }
class f__AnonymousType0<< Count > j__TPar
Item GetResearchItem()
bool IsAir
Definition Item.cs:1820
static CreativeUnlocksTracker LocalPlayerCreativeTracker
Definition Main.cs:5295
static void FindRecipes(bool canDelayCheck=false)
Definition Recipe.cs:204

References Terraria.Recipe.FindRecipes(), GetResearchItem(), Terraria.GameContent.Creative.ItemsSacrificedUnlocksTracker.GetSacrificeCount(), Terraria.Item.IsAir, Terraria.GameContent.Creative.CreativeUnlocksTracker.ItemSacrifices, j__TPar, System.L, Terraria.Main.LocalPlayerCreativeTracker, Terraria.GameContent.Creative.ItemsSacrificedUnlocksTracker.RegisterItemSacrifice(), Terraria.GameContent.NetModules.NetCreativeUnlocksPlayerReportModule.SerializeSacrificeRequest(), and System.stack.

Referenced by DrawMainButtons().