libspades
Ace of Spades library
PacketWeaponReload Struct Reference

Informs the client that a player has reloaded their weapon. More...

#include <protocol.h>

Data Fields

uint8_t packetID
 28 (Client<->Server)
 
uint8_t playerID
 The ID of the player who has reloaded.
 
uint8_t magazineAmmo
 The magazine (in-gun) ammunition count of the player who has reloaded.
 
uint8_t reserveAmmo
 The reserve ammunition count of the player who has reloaded.
 

Detailed Description

Informs the client that a player has reloaded their weapon.

For players other than the client player, this is usually used to play sounds.


The documentation for this struct was generated from the following file: