1
0

Add DIG_STATUS_CANCELLED packet and add item resend, when a block can't place/break.

This commit is contained in:
Howaner
2014-05-09 23:10:02 +02:00
parent a38d8b6513
commit c8631d9a9b
4 changed files with 79 additions and 36 deletions

View File

@@ -374,6 +374,9 @@ private:
/** Handles the DIG_FINISHED dig packet: */
void HandleBlockDigFinished(int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace, BLOCKTYPE a_OldBlock, NIBBLETYPE a_OldMeta);
/** Handles the DIG_CANCELLED dig packet: */
void HandleBlockDigCancel();
/** Converts the protocol-formatted channel list (NUL-separated) into a proper string vector. */
AStringVector BreakApartPluginChannels(const AString & a_PluginChannels);