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

◆ CreateDust()

static bool Terraria.ModLoader.TileLoader.CreateDust ( int i,
int j,
int type,
ref int dustType )
inlinestatic

Definition at line 548 of file TileLoader.cs.

549 {
551 for (int k = 0; k < hookCreateDust.Length; k++)
552 {
553 if (!hookCreateDust[k](i, j, type, ref dustType))
554 {
555 return false;
556 }
557 }
558 return GetTile(type)?.CreateDust(i, j, ref dustType) ?? true;
559 }
static ModTile GetTile(int type)
Gets the ModTile instance with the given type. If no ModTile with the given type exists,...
delegate bool DelegateCreateDust(int i, int j, int type, ref int dustType)
static DelegateCreateDust[] HookCreateDust
Definition TileLoader.cs:69

References Terraria.ModLoader.TileLoader.DelegateCreateDust(), Terraria.ModLoader.TileLoader.GetTile(), and Terraria.ModLoader.TileLoader.HookCreateDust.

Referenced by Terraria.WorldGen.KillTile_MakeTileDust().

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