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

◆ PlaceInWorld()

static void Terraria.ModLoader.WallLoader.PlaceInWorld ( int i,
int j,
Item item )
inlinestatic

Definition at line 346 of file WallLoader.cs.

347 {
348 int type = item.createWall;
349 if (type >= 0)
350 {
352 for (int k = 0; k < hookPlaceInWorld.Length; k++)
353 {
354 hookPlaceInWorld[k](i, j, type, item);
355 }
356 GetWall(type)?.PlaceInWorld(i, j, item);
357 }
358 }
static ModWall GetWall(int type)
Gets the ModWall instance with the given type. If no ModWall with the given type exists,...
Definition WallLoader.cs:83
static Action< int, int, int, Item >[] HookPlaceInWorld
Definition WallLoader.cs:65

References Terraria.Item.createWall, Terraria.ModLoader.WallLoader.GetWall(), and Terraria.ModLoader.WallLoader.HookPlaceInWorld.

Referenced by Terraria.Player.PlaceThing_Walls().

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