libspades
Ace of Spades library
PacketChangeTeam Struct Reference

Changes a player's team. More...

#include <protocol.h>

Data Fields

uint8_t packetID
 29 (Client-->Server*) *OpenSpades supports receiving this packet, just with a very glitchy outcome.
 
uint8_t playerID
 The ID of the player who is changing team.
 
uint8_t teamID
 The team the player is changing to.
 

Detailed Description

Changes a player's team.

Field Documentation

◆ teamID

uint8_t PacketChangeTeam::teamID

The team the player is changing to.

This may be 0 for the first team, 1 for the second, and -1 for spectator.


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