mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
Add a wrapper.
Took 35 minutes
This commit is contained in:
parent
e5f23f1906
commit
1d1de904e0
164 changed files with 25 additions and 34 deletions
16
libs/protocol/pb/color.proto
Normal file
16
libs/protocol/pb/color.proto
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue