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

◆ Perform()

override bool Terraria.WorldBuilding.Shapes.Tail.Perform ( Point origin,
GenAction action )
inline

Definition at line 183 of file Shapes.cs.

184 {
185 //IL_0037: Unknown result type (might be due to invalid IL or missing references)
186 //IL_003c: Unknown result type (might be due to invalid IL or missing references)
187 //IL_003e: Unknown result type (might be due to invalid IL or missing references)
188 //IL_0043: Unknown result type (might be due to invalid IL or missing references)
189 Vector2D val = new Vector2D((double)(origin.X << 4), (double)(origin.Y << 4));
190 return Utils.PlotTileTale(val, val + _endOffset, _width, (int x, int y) => UnitApply(action, origin, x, y) || !_quitOnFail);
191 }
bool UnitApply(GenAction action, Point origin, int x, int y, params object[] args)
Definition GenShape.cs:13

References Terraria.WorldBuilding.Shapes.Tail._endOffset, Terraria.WorldBuilding.GenShape._quitOnFail, Terraria.WorldBuilding.Shapes.Tail._width, System.action, Terraria.Utils.PlotTileTale(), Terraria.WorldBuilding.GenShape.UnitApply(), Microsoft.Xna.Framework.Point.X, and Microsoft.Xna.Framework.Point.Y.