tModLoader v2024.10
A mod to make and play Terraria mods
|
Created in the context of a player buying an item from a shop. Very similar to
in functionality. More...
Inherits ItemCreationContext.
Public Member Functions | |
BuyItemCreationContext (Item destinationStack, NPC vendorNPC) | |
Public Attributes | |
Item | DestinationStack |
An item stack that the bought item will be combined with (via OnStack). | |
NPC | VendorNPC |
The NPC that this item was bought from. | |
Created in the context of a player buying an item from a shop. Very similar to
in functionality.