![]() |
libspades
Ace of Spades library
|
Creates a grenade somewhere in the world. More...
#include <protocol.h>
Data Fields | |
| uint8_t | packetID |
6 (Client<->Server) | |
| uint8_t | playerID |
| The ID of the player who threw the grenade. | |
| float | fuseLength |
| The time in seconds from grenade creation until it detonates. | |
| float | xPosition |
| The X position to spawn the grenade (left-to-right) | |
| float | yPosition |
| The Y position to spawn the grenade (forward-to-backward) | |
| float | zPosition |
| The Z position to spawn the grenade (up-to-down) | |
| float | xVelocity |
| The X velocity of the grenade (left-to-right) | |
| float | yVelocity |
| The Y velocity of the grenade (forward-to-backward) | |
| float | zVelocity |
| The Z velocity of the grenade (up-to-down) | |
Creates a grenade somewhere in the world.
| float PacketGrenade::fuseLength |
The time in seconds from grenade creation until it detonates.