TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ InheritSource()

static ? IEntitySource Terraria.Entity.InheritSource ( Entity entity)
inlinestaticinherited

Definition at line 379 of file Entity.cs.

380 {
381 if (entity == null)
382 {
383 return GetSource_None();
384 }
385 return entity.GetSource_FromThis();
386 }
static ? IEntitySource GetSource_None()
Definition Entity.cs:374

References Terraria.Entity.GetSource_FromThis(), and Terraria.Entity.GetSource_None().

Referenced by Terraria.GameContent.PortalHelper.AddPortal(), Terraria.Player.Counterweight(), and Terraria.Player.OnHit_Inner().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: