![]() |
libspades
Ace of Spades library
|
Changes the client player's HP. More...
#include <protocol.h>
Data Fields | |
| uint8_t | packetID |
5 (Client<--Server) | |
| uint8_t | HP |
| The amount of HP to change the client player to. | |
| uint8_t | type |
| The reason for the damage. | |
| float | sourceX |
| The X position of the damage source (left-to-right) | |
| float | sourceY |
| The Y position of the damage source (forward-to-backward) | |
| float | sourceZ |
| The Z position of the damage source (up-to-down) | |
Changes the client player's HP.
| uint8_t PacketSetHP::type |
The reason for the damage.
Possible values are: