Cockatrice/libs/protocol/pb/color.proto
Lukas Brübach 1d1de904e0 Add a wrapper.
Took 35 minutes
2025-10-04 23:49:11 +02:00

16 lines
442 B
Protocol Buffer

syntax = "proto2";
// Container for a 4 component color code
message color {
// the red component of the color, limited to 256 values
optional uint32 r = 1;
// the green component of the color, limited to 256 values
optional uint32 g = 2;
// the blue component of the color, limited to 256 values
optional uint32 b = 3;
// the opacity component of the color, limited to 256 values
optional uint32 a = 4;
}