Cockatrice
2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
color.proto
Go to the documentation of this file.
1
syntax
=
"proto2"
;
2
3
// Container for a 4 component color code
4
message
color
{
5
// the red component of the color, limited to 256 values
6
optional uint32
r
= 1;
7
8
// the green component of the color, limited to 256 values
9
optional uint32
g
= 2;
10
11
// the blue component of the color, limited to 256 values
12
optional uint32
b
= 3;
13
14
// the opacity component of the color, limited to 256 values
15
optional uint32
a
= 4;
16
}
syntax
syntax
Definition
admin_commands.proto:1
color
Definition
color.proto:4
color::a
optional uint32 a
Definition
color.proto:16
color::r
optional uint32 r
Definition
color.proto:7
color::g
optional uint32 g
Definition
color.proto:10
color::b
optional uint32 b
Definition
color.proto:13
libcockatrice_protocol
libcockatrice
protocol
pb
color.proto
Generated by
1.16.1