libspades
Ace of Spades library
PacketSetColour Struct Reference

Changes the block colour of a player. More...

#include <protocol.h>

Data Fields

uint8_t packetID
 8 (Client<->Server)
 
uint8_t playerID
 The ID of the player whose block colour has changed.
 
uint8_t blue
 The blue colour value of the player's block.
 
uint8_t green
 The green colour value of the player's block.
 
uint8_t red
 The red colour value of the player's block.
 

Detailed Description

Changes the block colour of a player.

Todo
sRGB or linear RGB?

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