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).
This commit is contained in:
Gavin Bisesi 2016-01-14 08:08:25 -05:00
parent 5350302969
commit 0734b81e6e
152 changed files with 5 additions and 157 deletions

View file

@ -1,4 +1,3 @@
syntax = "proto2";
message AdminCommand {
enum AdminCommandType {
UPDATE_SERVER_MESSAGE = 1000;

View file

@ -1,4 +1,3 @@
syntax = "proto2";
enum CardAttribute {
AttrTapped = 1;
AttrAttacking = 2;

View file

@ -1,4 +1,3 @@
syntax = "proto2";
message color {
optional uint32 r = 1;
optional uint32 g = 2;

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_AttachCard {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_ChangeZoneProperties {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_Concede {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
import "color.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
import "color.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_CreateToken {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_commands.proto";
message Command_DeckDel {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_commands.proto";
message Command_DeckDelDir {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_commands.proto";
message Command_DeckDownload {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_commands.proto";
message Command_DeckList {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_commands.proto";
message Command_DeckNewDir {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_DeckSelect {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_commands.proto";
message Command_DeckUpload {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_DelCounter {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_DeleteArrow {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_DrawCards {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_DumpZone {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_FlipCard {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_GameSay {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_IncCardCounter {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_IncCounter {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_KickFromGame {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_LeaveGame {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message CardToMove {
optional sint32 card_id = 1 [default = -1];

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_Mulligan {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_NextTurn {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_ReadyStart {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_commands.proto";
message Command_ReplayDeleteMatch {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_commands.proto";
message Command_ReplayDownload {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_commands.proto";
message Command_ReplayList {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_commands.proto";
message Command_ReplayModifyMatch {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_RevealCards {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_RollDie {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_SetActivePhase {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
import "card_attributes.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_SetCardCounter {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_SetCounter {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_SetSideboardLock {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
import "move_card_to_zone.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_Shuffle {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_StopDumpZone {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_commands.proto";
message Command_UndoDraw {
extend GameCommand {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_commands.proto";
import "game_commands.proto";
import "room_commands.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event_context.proto";
message Context_Concede {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event_context.proto";
message Context_ConnectionStateChanged {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event_context.proto";
message Context_DeckSelect {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event_context.proto";
message Context_MoveCard {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event_context.proto";
message Context_Mulligan {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event_context.proto";
message Context_PingChanged {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event_context.proto";
message Context_ReadyStart {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event_context.proto";
message Context_SetSideboardLock {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event_context.proto";
message Context_UndoDraw {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_event.proto";
import "serverinfo_user.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_AttachCard {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_ChangeZoneProperties {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_event.proto";
message Event_ConnectionClosed {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
import "serverinfo_arrow.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
import "serverinfo_counter.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_CreateToken {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_DelCounter {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_DeleteArrow {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_DestroyCard {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
import "serverinfo_card.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_DumpZone {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_FlipCard {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_GameClosed {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_GameHostChanged {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_event.proto";
import "serverinfo_game.proto";
import "serverinfo_gametype.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_GameSay {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
import "serverinfo_player.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
import "serverinfo_playerproperties.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "room_event.proto";
import "serverinfo_user.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_Kicked {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_Leave {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "room_event.proto";
message Event_LeaveRoom {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "room_event.proto";
import "serverinfo_game.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_event.proto";
import "serverinfo_room.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_MoveCard {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_event.proto";
message Event_NotifyUser {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
import "serverinfo_playerproperties.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_event.proto";
message Event_RemoveFromList {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_event.proto";
import "serverinfo_replay_match.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
import "serverinfo_card.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_RollDie {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "room_event.proto";
message Event_RoomSay {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_event.proto";
import "serverinfo_user.proto";
import "serverinfo_room.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_event.proto";
message Event_ServerIdentification {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_event.proto";
message Event_ServerMessage {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_event.proto";
message Event_ServerShutdown {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_SetActivePhase {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_SetActivePlayer {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
import "card_attributes.proto";

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_SetCardCounter {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_SetCounter {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_Shuffle {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "game_event.proto";
message Event_StopDumpZone {

View file

@ -1,4 +1,3 @@
syntax = "proto2";
import "session_event.proto";
import "serverinfo_user.proto";

Some files were not shown because too many files have changed in this diff Show more