Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
GetItemSettings.cs
Go to the documentation of this file.
1using System;
2
3namespace Terraria;
4
5public struct GetItemSettings
6{
8
10
12
14
16
18
20
22
24
25 public readonly bool LongText;
26
27 public readonly bool NoText;
28
29 public readonly bool CanGoIntoVoidVault;
30
31 public readonly Action<Item> StepAfterHandlingSlotNormally;
32
33 public GetItemSettings(bool LongText = false, bool NoText = false, bool CanGoIntoVoidVault = false, Action<Item> StepAfterHandlingSlotNormally = null)
34 {
35 this.LongText = LongText;
36 this.NoText = NoText;
37 this.CanGoIntoVoidVault = CanGoIntoVoidVault;
38 this.StepAfterHandlingSlotNormally = StepAfterHandlingSlotNormally;
39 }
40
42 {
44 {
46 }
47 }
48
49 private static void MakeNewAndShiny(Item item)
50 {
51 item.newAndShiny = true;
52 }
53}
readonly bool CanGoIntoVoidVault
static GetItemSettings GetItemInDropItemCheck
static GetItemSettings LootAllSettings
static GetItemSettings PickupItemFromWorld
static GetItemSettings ItemCreatedFromItemUsage
static GetItemSettings InventoryUIToInventorySettingsShowAsNew
GetItemSettings(bool LongText=false, bool NoText=false, bool CanGoIntoVoidVault=false, Action< Item > StepAfterHandlingSlotNormally=null)
static GetItemSettings NPCEntityToPlayerInventorySettings
readonly Action< Item > StepAfterHandlingSlotNormally
void HandlePostAction(Item item)
static GetItemSettings InventoryEntityToPlayerInventorySettings
static void MakeNewAndShiny(Item item)
static GetItemSettings LootAllSettingsRegularChest
static GetItemSettings InventoryUIToInventorySettings