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
UIItemSlot.cs
Go to the documentation of this file.
1using System;
4using Terraria.UI;
5
7{
8 // Token: 0x02000AB1 RID: 2737
9 public class UIItemSlot : UIElement
10 {
11 // Token: 0x060050BE RID: 20670 RVA: 0x0027E21C File Offset: 0x0027C41C
13 {
14 if (!true)
15 {
16 }
17 base..ctor();
21 }
22
23 // Token: 0x060050BF RID: 20671 RVA: 0x0027E248 File Offset: 0x0027C448
24 private void HandleItemSlotLogic()
25 {
27 {
29 int num = 1;
31 Vector2 position = this._itemArray.position;
33 if (position == null)
34 {
35 }
39 Item[] itemArray = this._itemArray;
40 if (itemSlotContext != 0 && itemSlotContext == 0)
41 {
43 }
44 }
45 }
46
47 // Token: 0x060050C0 RID: 20672 RVA: 0x0027E2B4 File Offset: 0x0027C4B4
48 protected override void DrawSelf(SpriteBatch spriteBatch)
49 {
50 Vector2 position = this._itemArray.position;
51 float x = this._dimensions.X;
52 int num = 16976;
53 if (num == 0)
54 {
55 }
56 if (num == 0)
57 {
58 }
59 float inventoryScale = Main.inventoryScale;
61 if (num == 0)
62 {
63 }
64 }
65
66 // Token: 0x04008978 RID: 35192
67 private Item[] _itemArray;
68
69 // Token: 0x04008979 RID: 35193
70 private int _itemIndex;
71
72 // Token: 0x0400897A RID: 35194
73 private int _itemSlotContext;
74 }
75}
class f__AnonymousType0<< Count > j__TPar
Vector2 position
Definition Entity.cs:460
override void DrawSelf(SpriteBatch spriteBatch)
Definition UIItemSlot.cs:48
UIItemSlot(Item[] itemArray, int itemIndex, int itemSlotContext)
Definition UIItemSlot.cs:12
static float inventoryScale
Definition Main.cs:2253
static Player LocalPlayer
Definition Main.cs:5267
UIElement< Parent > k__BackingField
CalculatedStyle _dimensions