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

Use when the parent can be considered the 'owner' or 'responsible for' the effect.
This is the most important entity source. If in doubt, use it. More...

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

Public Member Functions

 EntitySource_Parent (Entity entity, string? context=null)
 

Static Package Functions

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

Properties

Entity Entity [get]
 The entity which is the source of the effect or action. In many cases, it makes sense to consider buffs or effects applied to the parent entity, and make changes to the spawned entity.
 
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

Use when the parent can be considered the 'owner' or 'responsible for' the effect.
This is the most important entity source. If in doubt, use it.

Definition at line 7 of file EntitySource_Parent.cs.


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