|
TModLoader v1.4.4.9
TModLoader source code documentation
|
This object encapsulates context information about the source of a particular spawning event of an Item/Projectile/NPC/etc. Aids in facilitating many modding situations and used in various OnSpawn hooks.
The IEntitySource Guideteaches how and why to use this.
More...
Inheritance diagram for Terraria.DataStructures.IEntitySource:
Collaboration diagram for Terraria.DataStructures.IEntitySource:Classes | |
| struct | FallbackSourceRef |
Static Package Functions | |
| static ? IEntitySource | GetGoreFallback () |
| static FallbackSourceRef | PushFallback (IEntitySource source) |
Properties | |
| 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 |
This object encapsulates context information about the source of a particular spawning event of an Item/Projectile/NPC/etc. Aids in facilitating many modding situations and used in various OnSpawn hooks.
The IEntitySource Guide
teaches how and why to use this.
Definition at line 9 of file IEntitySource.cs.