tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.GetItemSettings Struct Reference

Public Member Functions

 GetItemSettings (bool LongText=false, bool NoText=false, bool CanGoIntoVoidVault=false, Action< Item > StepAfterHandlingSlotNormally=null)
 
void HandlePostAction (Item item)
 

Public Attributes

readonly bool CanGoIntoVoidVault
 
readonly bool LongText
 
readonly bool NoText
 
readonly Action< ItemStepAfterHandlingSlotNormally
 

Static Public Attributes

static GetItemSettings GetItemInDropItemCheck = new GetItemSettings(LongText: false, NoText: true)
 
static GetItemSettings InventoryEntityToPlayerInventorySettings = new GetItemSettings(LongText: false, NoText: true)
 
static GetItemSettings InventoryUIToInventorySettings = default(GetItemSettings)
 
static GetItemSettings InventoryUIToInventorySettingsShowAsNew = new GetItemSettings(LongText: false, NoText: true, CanGoIntoVoidVault: false, MakeNewAndShiny)
 
static GetItemSettings ItemCreatedFromItemUsage = default(GetItemSettings)
 
static GetItemSettings LootAllSettings = default(GetItemSettings)
 
static GetItemSettings NPCEntityToPlayerInventorySettings = new GetItemSettings(LongText: true)
 
static GetItemSettings PickupItemFromWorld = new GetItemSettings(LongText: false, NoText: false, CanGoIntoVoidVault: true)