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

◆ NotifyItemCraft()

static void Terraria.GameContent.Achievements.AchievementsHelper.NotifyItemCraft ( Recipe recipe)
inlinestatic

Definition at line 167 of file AchievementsHelper.cs.

168 {
169 int myPlayer = Main.myPlayer;
170 Item createItem = recipe.createItem;
171 int netID = createItem.netID;
172 int stack = createItem.stack;
173 Item createItem2 = recipe.createItem;
174 bool flag = AchievementsHelper.IsMetalBar(createItem2.type);
175 if (createItem2 == null)
176 {
177 }
178 int myPlayer2 = Main.myPlayer;
179 if (createItem == null)
180 {
181 }
182 LocalUser localUser;
183 uint totalBarsCrafted;
184 if (localUser != null)
185 {
190 if (totalBarsCrafted != 0U)
191 {
192 }
193 return;
194 }
195 if (recipe.requiredTile == null)
196 {
197 }
198 int myPlayer3 = Main.myPlayer;
199 if (totalBarsCrafted == 0U)
200 {
201 }
204 if (localUser2 != null)
205 {
207 totalAnvilCrafting = persistentUserData2.TotalAnvilCrafting;
210 if (totalAnvilCrafting != 0U)
211 {
212 }
213 return;
214 }
215 if (recipe.requiredTile == null)
216 {
217 }
218 int myPlayer4 = Main.myPlayer;
219 if (totalAnvilCrafting == 0U)
220 {
221 }
222 }
class f__AnonymousType0<< Count > j__TPar
PersistentUserData PersistentUserData
Definition LocalUser.cs:223
IPlatformAwardNotifier PlatformAwards
Definition LocalUser.cs:220

References PersistentUserData.PersistentUserData(), Terraria.Recipe.createItem, Terraria.GameContent.Achievements.AchievementsHelper.IsMetalBar(), j__TPar, Terraria.Main.myPlayer, Terraria.Item.netID, LocalUser.PersistentUserData, LocalUser.PlatformAwards, Terraria.Recipe.requiredTile, System.stack, Terraria.Item.stack, PersistentUserData.TotalBarsCrafted, and System.U.

Referenced by Terraria.Recipe.Create().