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 { message AdminCommand {
enum AdminCommandType { enum AdminCommandType {
UPDATE_SERVER_MESSAGE = 1000; UPDATE_SERVER_MESSAGE = 1000;

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

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