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

◆ NewGoreDirect() [1/2]

static Gore Terraria.Gore.NewGoreDirect ( IEntitySource source,
Vector2 Position,
Vector2 Velocity,
int Type,
float Scale = 1f )
inlinestatic

Spawns a gore with given properties.

Parameters
sourceRecommend using M:Terraria.Entity.GetSource_Death(System.String) or M:Terraria.Entity.GetSource_FromThis(System.String)" as the spawn source</param> <param name="Position"></param> <param name="Velocity"></param> <param name="Type"></param> <param name="Scale">
Returns
A reference to the gore

Definition at line 1633 of file Gore.cs.

1634 {
1635 //IL_0006: Unknown result type (might be due to invalid IL or missing references)
1636 //IL_0007: Unknown result type (might be due to invalid IL or missing references)
1637 return Main.gore[NewGore(source, Position, Velocity, Type, Scale)];
1638 }
static int NewGore(Vector2 Position, Vector2 Velocity, int Type, float Scale=1f)
Definition Gore.cs:1594

References Terraria.Main.gore, and Terraria.Gore.NewGore().

+ Here is the call graph for this function: