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

◆ CraftItemDraw()

void GUICraftGuidePopup.CraftItemDraw ( ItemGrid_Layout gridLayout,
int index,
Vector2 position,
float scale )
inline

Definition at line 248 of file GUICraftGuidePopup.cs.

249 {
250 if (this.cursorOver == 0)
251 {
252 }
253 if (!true)
254 {
255 }
256 int num = this.numAvailableGuideRecipes;
257 Item item;
258 int type = item.type;
259 !0 instance;
260 int[] array2;
261 if (type != 0)
262 {
263 if (type == 0)
264 {
265 }
266 int[] array = this.availableGuideRecipe;
267 if (type == 0)
268 {
269 }
270 Main.inventoryScale = scale;
271 int num2 = this.focusGuideRecipe;
273 if (array == null)
274 {
275 }
276 ItemSlot.SetSelectHighlight(true, scale);
277 if (instance == null)
278 {
279 }
281 return;
282 }
284 if (instance != null)
285 {
288 if (array2 == null)
289 {
290 }
292 Vector2 vector = texture2D.Size();
294 Vector2 vector2 = texture2D2.Size();
295 int num3 = 1;
296 if (num3 == 0)
297 {
298 }
299 if (num3 == 0)
300 {
301 }
304 }
305 }
class f__AnonymousType0<< Count > j__TPar
static void SetSelectHighlight(bool hasFocus, float highlightScale=-1f)
Definition ItemSlot.cs:702

References System.array, availableGuideRecipe, cursorOver, focusGuideRecipe, PageControllerLayoutDefinition< T >.Instance, System.item, j__TPar, numAvailableGuideRecipes, Terraria.UI.ItemSlot.SetSelectHighlight(), and Terraria.Item.type.