public KillTile ( int i, int j, bool &fail, bool &effectOnly, bool &noItem ) : void | ||
i | int | |
j | int | |
fail | bool | |
effectOnly | bool | |
noItem | bool | |
리턴 | void |
//in Terraria.WorldGen.KillTile before if (!effectOnly && !WorldGen.stopDrops) add // TileLoader.KillTile(i, j, tile.type, ref fail, ref effectOnly, ref noItem); public static void KillTile(int i, int j, int type, ref bool fail, ref bool effectOnly, ref bool noItem) { ModTile modTile = GetTile(type); if (modTile != null) { modTile.KillTile(i, j, ref fail, ref effectOnly, ref noItem); } foreach (GlobalTile globalTile in globalTiles) { globalTile.KillTile(i, j, type, ref fail, ref effectOnly, ref noItem); } }