![]() |
libspades
Ace of Spades library
|
Creates or destroys blocks. More...
#include <protocol.h>
Data Fields | |
| uint8_t | packetID |
13 (Client<->Server) | |
| uint8_t | playerID |
| The ID of the player who created/destroyed the block(s) | |
| uint8_t | actionType |
| The action to be performed on the block. | |
| int32_t | xPosition |
| The X position of the block (left-to-right) | |
| int32_t | yPosition |
| The Y position of the block (forward-to-backward) | |
| int32_t | zPosition |
| The Z position of the block (up-to-down) | |
Creates or destroys blocks.
| uint8_t PacketBlockAction::actionType |
The action to be performed on the block.
Possible values are:
BlockActionTypeGrenadeDestroy = 3