From eed7b3fad234e81db0b8922d8f85bd880951d686 Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Sat, 9 Dec 2017 01:35:27 -0700 Subject: [PATCH] Document what TSPlayer.SendTileSquare does --- TShockAPI/TSPlayer.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/TShockAPI/TSPlayer.cs b/TShockAPI/TSPlayer.cs index e2eedd1a..39dbb551 100644 --- a/TShockAPI/TSPlayer.cs +++ b/TShockAPI/TSPlayer.cs @@ -808,6 +808,15 @@ namespace TShockAPI } } + /// Sends a tile square at a location with a given size. + /// Typically used to revert changes by Bouncer through sending the + /// "old" version of modified data back to a client. + /// Prevents desync issues. + /// + /// The x coordinate to send. + /// The y coordinate to send. + /// The size square set of tiles to send. + /// Status if the tile square was sent successfully (i.e. no exceptions). public virtual bool SendTileSquare(int x, int y, int size = 10) { try