TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches
Terraria.DataStructures.IEntitySource_WithStatsFromItem Interface Reference

Used along with T:Terraria.DataStructures.EntitySource_Parent to indicate that stats from the item should be transferred to spawned entities.
When used to spawn projectiles, a snapshot of the Player and Item stats will be stored on the projectile. See M:Terraria.Projectile.ApplyStatsFromSource(Terraria.DataStructures.IEntitySource) for implementation. More...

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

Properties

Player Player [get]
 The Player using the Item. Equal to P:Terraria.DataStructures.EntitySource_Parent.Entity
 
Item Item [get]
 The item being used.
 

Detailed Description

Used along with T:Terraria.DataStructures.EntitySource_Parent to indicate that stats from the item should be transferred to spawned entities.
When used to spawn projectiles, a snapshot of the Player and Item stats will be stored on the projectile. See M:Terraria.Projectile.ApplyStatsFromSource(Terraria.DataStructures.IEntitySource) for implementation.

Definition at line 7 of file IEntitySource_WithStatsFromItem.cs.


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