Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ UpdateInterface()

static void Terraria.UI.ItemSlot.UpdateInterface ( )
inlinestatic

Definition at line 271 of file ItemSlot.cs.

272 {
273 if (!Main.playerInventory || Main.player[Main.myPlayer].talkNPC == -1)
274 {
276 }
277 for (int i = 0; i < inventoryGlowTime.Length; i++)
278 {
279 if (inventoryGlowTime[i] > 0)
280 {
282 if (inventoryGlowTime[i] == 0)
283 {
284 inventoryGlowHue[i] = 0f;
285 }
286 }
287 }
288 for (int j = 0; j < inventoryGlowTimeChest.Length; j++)
289 {
290 if (inventoryGlowTimeChest[j] > 0)
291 {
294 {
295 inventoryGlowHueChest[j] = 0f;
296 }
297 }
298 }
300 }
static float[] inventoryGlowHueChest
Definition ItemSlot.cs:141
static bool forceClearGlowsOnChest
Definition ItemSlot.cs:147
static int[] inventoryGlowTime
Definition ItemSlot.cs:139
static int[] inventoryGlowTimeChest
Definition ItemSlot.cs:143
static int _customCurrencyForSavings
Definition ItemSlot.cs:145
static float[] inventoryGlowHue
Definition ItemSlot.cs:137

References Terraria.UI.ItemSlot._customCurrencyForSavings, Terraria.UI.ItemSlot.forceClearGlowsOnChest, Terraria.UI.ItemSlot.inventoryGlowHue, Terraria.UI.ItemSlot.inventoryGlowHueChest, Terraria.UI.ItemSlot.inventoryGlowTime, Terraria.UI.ItemSlot.inventoryGlowTimeChest, Terraria.Main.myPlayer, Terraria.Main.player, and Terraria.Main.playerInventory.

Referenced by Terraria.Main.DoUpdate().