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

◆ AI_155_RemoveRope()

void Terraria.Projectile.AI_155_RemoveRope ( Point start,
Point end )
inlineprivate

Definition at line 54948 of file Projectile.cs.

54949 {
54950 //IL_0000: Unknown result type (might be due to invalid IL or missing references)
54951 //IL_0007: Unknown result type (might be due to invalid IL or missing references)
54952 //IL_0062: Unknown result type (might be due to invalid IL or missing references)
54953 int x = start.X;
54954 for (int num = start.Y; num >= end.Y; num--)
54955 {
54956 Tile tile = Main.tile[x, num];
54957 if (tile.active() && tile.type == 504)
54958 {
54959 WorldGen.KillTile(x, num);
54960 if (Main.netMode != 0)
54961 {
54962 NetMessage.SendData(17, -1, -1, null, 0, x, num);
54963 }
54964 }
54965 }
54966 }

References Terraria.Tile.active(), Terraria.WorldGen.KillTile(), Terraria.Main.netMode, Terraria.NetMessage.SendData(), and Terraria.Main.tile.

+ Here is the call graph for this function: