libspades
Ace of Spades library
PacketWeaponInput Struct Reference

Changes the weapon inputs of a player. More...

#include <protocol.h>

Data Fields

uint8_t packetID
 4 (Client<->Server)
 
uint8_t playerID
 The ID of the player whose weapon input is changing.
 
uint8_t weaponInput
 The weapon input state.
 

Detailed Description

Changes the weapon inputs of a player.

Field Documentation

◆ weaponInput

uint8_t PacketWeaponInput::weaponInput

The weapon input state.

Possible values (ORed together) are:

  • WeaponInputTypePrimary = 1,
  • WeaponInputTypeSecondary = 2

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