servatrice/common/pb/command_create_arrow.proto
Gavin Bisesi 0734b81e6e Remove 'syntax = proto2' from .proto files.
That marker is only recognized by pb3-compatible compilers, meaning that
tools which are otherwise compatible with our files break on them.
Notably, this includes hprotoc (for haskell).
2016-01-14 08:09:40 -05:00

15 lines
496 B
Protocol Buffer

import "game_commands.proto";
import "color.proto";
message Command_CreateArrow {
extend GameCommand {
optional Command_CreateArrow ext = 1011;
}
optional sint32 start_player_id = 1 [default = -1];
optional string start_zone = 2;
optional sint32 start_card_id = 3 [default = -1];
optional sint32 target_player_id = 4 [default = -1];
optional string target_zone = 5;
optional sint32 target_card_id = 6 [default = -1];
optional color arrow_color = 7;
}