TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches
Terraria.DataStructures.EntitySource_OverfullInventory Class Reference

Used when attempting to add an item to the player's inventory, but it cannot fit so it spawns in the world instead.
Used in vanilla when a fished item can't fit in the player's inventory. More...

+ Inheritance diagram for Terraria.DataStructures.EntitySource_OverfullInventory:
+ Collaboration diagram for Terraria.DataStructures.EntitySource_OverfullInventory:

Public Member Functions

 EntitySource_OverfullInventory (Player player, string? context=null)
 

Static Package Functions

static ? IEntitySource GetGoreFallback ()
 
static FallbackSourceRef PushFallback (IEntitySource source)
 

Properties

Player Player [get]
 
string? Context [get]
 Additional context identifier, particularly useful for set bonuses or accessory affects. See T:Terraria.ID.ItemSourceID and T:Terraria.ID.ProjectileSourceID for vanilla uses.
 

Static Private Attributes

static ? IEntitySource _goreFallback
 

Detailed Description

Used when attempting to add an item to the player's inventory, but it cannot fit so it spawns in the world instead.
Used in vanilla when a fished item can't fit in the player's inventory.

Definition at line 7 of file EntitySource_OverfullInventory.cs.


The documentation for this class was generated from the following file: