Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
color Struct Reference

Public Attributes

optional uint32 r = 1
optional uint32 g = 2
optional uint32 b = 3
optional uint32 a = 4

Detailed Description

Container for a 4 component color code

Member Data Documentation

◆ a

optional uint32 color::a = 4

the opacity component of the color, limited to 256 values

◆ b

optional uint32 color::b = 3

the blue component of the color, limited to 256 values

◆ g

optional uint32 color::g = 2

the green component of the color, limited to 256 values

◆ r

optional uint32 color::r = 1

the red component of the color, limited to 256 values


The documentation for this struct was generated from the following file:
  • libcockatrice_protocol/libcockatrice/protocol/pb/color.proto