tModLoader v2024.10
A mod to make and play Terraria mods
|
Contains settings for the popup text shown when using Player.GetItem(int, Terraria.Item, Terraria.GetItemSettings). The contained static fields can be used to match vanilla behavior for various actions. LongText:
NoText: If true
, no PopupText will spawn.
CanGoIntoVoidVault: If true
, the item can be placed into the Void Vault.
More...
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< Item > | StepAfterHandlingSlotNormally |
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 | LootAllSettingsRegularChest = new GetItemSettings(LongText: false, NoText: false, CanGoIntoVoidVault: true) |
static GetItemSettings | NPCEntityToPlayerInventorySettings = new GetItemSettings(LongText: true) |
static GetItemSettings | PickupItemFromWorld = new GetItemSettings(LongText: false, NoText: false, CanGoIntoVoidVault: true) |
Contains settings for the popup text shown when using Player.GetItem(int, Terraria.Item, Terraria.GetItemSettings). The contained static fields can be used to match vanilla behavior for various actions.
LongText:
NoText: If true
, no PopupText will spawn.
CanGoIntoVoidVault: If true
, the item can be placed into the Void Vault.