You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hexmap/proto/action.proto

27 lines
461 B

syntax = "proto3";
import "coords.proto";
option go_package = "git.reya.zone/reya/hexmap/server/action";
message CellSetColorPB {
fixed32 color = 1;
StorageCoordinatesPB at = 2;
}
message UserSetActiveColorPB {
fixed32 color = 1;
}
message ClientActionPB {
oneof action {
CellSetColorPB cell_set_color = 1;
UserSetActiveColorPB user_set_active_color = 2;
}
}
message ServerActionPB {
oneof action {
ClientActionPB client = 1;
}
}