tModLoader v2024.10
A mod to make and play Terraria mods
|
Used when opening bags or gifts. Passed to Player.QuickSpawnItem(IEntitySource, Item, int) More...
Inherits IEntitySource.
Public Member Functions | |
EntitySource_ItemOpen (Player player, int itemType, string? context=null) | |
Properties | |
string? | Context [get] |
Additional context identifier, particularly useful for set bonuses or accessory affects. See ItemSourceID and ProjectileSourceID for vanilla uses More... | |
int | ItemType [get] |
The type of item being opened | |
Player | Player [get] |
The player opening the item | |
Properties inherited from IEntitySource | |
string? | Context [get] |
Additional context identifier, particularly useful for set bonuses or accessory affects. See ItemSourceID and ProjectileSourceID for vanilla uses More... | |
Used when opening bags or gifts. Passed to Player.QuickSpawnItem(IEntitySource, Item, int)
|
get |
Additional context identifier, particularly useful for set bonuses or accessory affects. See ItemSourceID and ProjectileSourceID for vanilla uses
Implements IEntitySource.