From 04779c2a77eb03e2d582d102640d7cdf58723484 Mon Sep 17 00:00:00 2001 From: Zach H Date: Sun, 11 Dec 2016 13:22:39 -0500 Subject: [PATCH] protobuf warnings fixed (#2313) --- common/pb/admin_commands.proto | 1 + common/pb/card_attributes.proto | 1 + common/pb/color.proto | 1 + common/pb/command_attach_card.proto | 1 + common/pb/command_change_zone_properties.proto | 1 + common/pb/command_concede.proto | 1 + common/pb/command_create_arrow.proto | 1 + common/pb/command_create_counter.proto | 1 + common/pb/command_create_token.proto | 1 + common/pb/command_deck_del.proto | 1 + common/pb/command_deck_del_dir.proto | 1 + common/pb/command_deck_download.proto | 1 + common/pb/command_deck_list.proto | 1 + common/pb/command_deck_new_dir.proto | 1 + common/pb/command_deck_select.proto | 1 + common/pb/command_deck_upload.proto | 1 + common/pb/command_del_counter.proto | 1 + common/pb/command_delete_arrow.proto | 1 + common/pb/command_draw_cards.proto | 1 + common/pb/command_dump_zone.proto | 1 + common/pb/command_flip_card.proto | 1 + common/pb/command_game_say.proto | 1 + common/pb/command_inc_card_counter.proto | 1 + common/pb/command_inc_counter.proto | 1 + common/pb/command_kick_from_game.proto | 1 + common/pb/command_leave_game.proto | 1 + common/pb/command_move_card.proto | 1 + common/pb/command_mulligan.proto | 1 + common/pb/command_next_turn.proto | 1 + common/pb/command_ready_start.proto | 1 + common/pb/command_replay_delete_match.proto | 1 + common/pb/command_replay_download.proto | 1 + common/pb/command_replay_list.proto | 1 + common/pb/command_replay_modify_match.proto | 1 + common/pb/command_reveal_cards.proto | 1 + common/pb/command_roll_die.proto | 1 + common/pb/command_set_active_phase.proto | 1 + common/pb/command_set_card_attr.proto | 1 + common/pb/command_set_card_counter.proto | 1 + common/pb/command_set_counter.proto | 1 + common/pb/command_set_sideboard_lock.proto | 1 + common/pb/command_set_sideboard_plan.proto | 1 + common/pb/command_shuffle.proto | 1 + common/pb/command_stop_dump_zone.proto | 1 + common/pb/command_undo_draw.proto | 1 + common/pb/commands.proto | 1 + common/pb/context_concede.proto | 1 + common/pb/context_connection_state_changed.proto | 1 + common/pb/context_deck_select.proto | 1 + common/pb/context_move_card.proto | 1 + common/pb/context_mulligan.proto | 1 + common/pb/context_ping_changed.proto | 1 + common/pb/context_ready_start.proto | 1 + common/pb/context_set_sideboard_lock.proto | 1 + common/pb/context_undo_draw.proto | 1 + common/pb/event_add_to_list.proto | 1 + common/pb/event_attach_card.proto | 1 + common/pb/event_change_zone_properties.proto | 1 + common/pb/event_connection_closed.proto | 1 + common/pb/event_create_arrow.proto | 1 + common/pb/event_create_counter.proto | 1 + common/pb/event_create_token.proto | 1 + common/pb/event_del_counter.proto | 1 + common/pb/event_delete_arrow.proto | 1 + common/pb/event_destroy_card.proto | 1 + common/pb/event_draw_cards.proto | 1 + common/pb/event_dump_zone.proto | 1 + common/pb/event_flip_card.proto | 1 + common/pb/event_game_closed.proto | 1 + common/pb/event_game_host_changed.proto | 1 + common/pb/event_game_joined.proto | 1 + common/pb/event_game_say.proto | 1 + common/pb/event_game_state_changed.proto | 1 + common/pb/event_join.proto | 1 + common/pb/event_join_room.proto | 1 + common/pb/event_kicked.proto | 2 ++ common/pb/event_leave.proto | 1 + common/pb/event_leave_room.proto | 1 + common/pb/event_list_games.proto | 1 + common/pb/event_list_rooms.proto | 1 + common/pb/event_move_card.proto | 1 + common/pb/event_notify_user.proto | 1 + common/pb/event_player_properties_changed.proto | 1 + common/pb/event_remove_from_list.proto | 1 + common/pb/event_replay_added.proto | 1 + common/pb/event_reveal_cards.proto | 1 + common/pb/event_roll_die.proto | 1 + common/pb/event_room_say.proto | 1 + common/pb/event_server_complete_list.proto | 1 + common/pb/event_server_identification.proto | 1 + common/pb/event_server_message.proto | 1 + common/pb/event_server_shutdown.proto | 1 + common/pb/event_set_active_phase.proto | 1 + common/pb/event_set_active_player.proto | 1 + common/pb/event_set_card_attr.proto | 1 + common/pb/event_set_card_counter.proto | 1 + common/pb/event_set_counter.proto | 1 + common/pb/event_shuffle.proto | 1 + common/pb/event_stop_dump_zone.proto | 1 + common/pb/event_user_joined.proto | 1 + common/pb/event_user_left.proto | 1 + common/pb/event_user_message.proto | 1 + common/pb/game_commands.proto | 1 + common/pb/game_event.proto | 1 + common/pb/game_event_container.proto | 1 + common/pb/game_event_context.proto | 1 + common/pb/game_replay.proto | 1 + common/pb/isl_message.proto | 1 + common/pb/moderator_commands.proto | 1 + common/pb/move_card_to_zone.proto | 1 + common/pb/response.proto | 1 + common/pb/response_activate.proto | 1 + common/pb/response_adjust_mod.proto | 1 + common/pb/response_ban_history.proto | 1 + common/pb/response_deck_download.proto | 1 + common/pb/response_deck_list.proto | 1 + common/pb/response_deck_upload.proto | 1 + common/pb/response_dump_zone.proto | 1 + common/pb/response_get_games_of_user.proto | 1 + common/pb/response_get_user_info.proto | 1 + common/pb/response_join_room.proto | 1 + common/pb/response_list_users.proto | 1 + common/pb/response_login.proto | 1 + common/pb/response_register.proto | 1 + common/pb/response_replay_download.proto | 1 + common/pb/response_replay_list.proto | 1 + common/pb/response_viewlog_history.proto | 1 + common/pb/response_warn_history.proto | 1 + common/pb/response_warn_list.proto | 1 + common/pb/room_commands.proto | 1 + common/pb/room_event.proto | 1 + common/pb/server_message.proto | 1 + common/pb/serverinfo_arrow.proto | 1 + common/pb/serverinfo_ban.proto | 1 + common/pb/serverinfo_card.proto | 1 + common/pb/serverinfo_cardcounter.proto | 1 + common/pb/serverinfo_chat_message.proto | 1 + common/pb/serverinfo_counter.proto | 1 + common/pb/serverinfo_deckstorage.proto | 1 + common/pb/serverinfo_game.proto | 1 + common/pb/serverinfo_gametype.proto | 1 + common/pb/serverinfo_player.proto | 1 + common/pb/serverinfo_playerping.proto | 1 + common/pb/serverinfo_playerproperties.proto | 1 + common/pb/serverinfo_replay.proto | 1 + common/pb/serverinfo_replay_match.proto | 1 + common/pb/serverinfo_room.proto | 1 + common/pb/serverinfo_user.proto | 1 + common/pb/serverinfo_warning.proto | 1 + common/pb/serverinfo_zone.proto | 1 + common/pb/session_commands.proto | 1 + common/pb/session_event.proto | 1 + 152 files changed, 153 insertions(+) diff --git a/common/pb/admin_commands.proto b/common/pb/admin_commands.proto index b9caae25f..9d5e54149 100644 --- a/common/pb/admin_commands.proto +++ b/common/pb/admin_commands.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; message AdminCommand { enum AdminCommandType { UPDATE_SERVER_MESSAGE = 1000; diff --git a/common/pb/card_attributes.proto b/common/pb/card_attributes.proto index ecd309424..ac23ca0d3 100644 --- a/common/pb/card_attributes.proto +++ b/common/pb/card_attributes.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; enum CardAttribute { AttrTapped = 1; AttrAttacking = 2; diff --git a/common/pb/color.proto b/common/pb/color.proto index 0bfabe7c1..8a0e838a0 100644 --- a/common/pb/color.proto +++ b/common/pb/color.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; message color { optional uint32 r = 1; optional uint32 g = 2; diff --git a/common/pb/command_attach_card.proto b/common/pb/command_attach_card.proto index b6052b078..654e57c5f 100644 --- a/common/pb/command_attach_card.proto +++ b/common/pb/command_attach_card.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_AttachCard { extend GameCommand { diff --git a/common/pb/command_change_zone_properties.proto b/common/pb/command_change_zone_properties.proto index 8db604b60..f89e36aaa 100644 --- a/common/pb/command_change_zone_properties.proto +++ b/common/pb/command_change_zone_properties.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_ChangeZoneProperties { diff --git a/common/pb/command_concede.proto b/common/pb/command_concede.proto index 05740546e..5ac742352 100644 --- a/common/pb/command_concede.proto +++ b/common/pb/command_concede.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_Concede { extend GameCommand { diff --git a/common/pb/command_create_arrow.proto b/common/pb/command_create_arrow.proto index 067bcab3c..550480313 100644 --- a/common/pb/command_create_arrow.proto +++ b/common/pb/command_create_arrow.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; import "color.proto"; diff --git a/common/pb/command_create_counter.proto b/common/pb/command_create_counter.proto index 99d63a1f2..d60fbdc21 100644 --- a/common/pb/command_create_counter.proto +++ b/common/pb/command_create_counter.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; import "color.proto"; diff --git a/common/pb/command_create_token.proto b/common/pb/command_create_token.proto index f3da81509..9fc61b70e 100644 --- a/common/pb/command_create_token.proto +++ b/common/pb/command_create_token.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_CreateToken { extend GameCommand { diff --git a/common/pb/command_deck_del.proto b/common/pb/command_deck_del.proto index de9daaa7d..a231ca087 100644 --- a/common/pb/command_deck_del.proto +++ b/common/pb/command_deck_del.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_commands.proto"; message Command_DeckDel { diff --git a/common/pb/command_deck_del_dir.proto b/common/pb/command_deck_del_dir.proto index 28eb75f6d..3364cac42 100644 --- a/common/pb/command_deck_del_dir.proto +++ b/common/pb/command_deck_del_dir.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_commands.proto"; message Command_DeckDelDir { diff --git a/common/pb/command_deck_download.proto b/common/pb/command_deck_download.proto index 355182639..19dda1528 100644 --- a/common/pb/command_deck_download.proto +++ b/common/pb/command_deck_download.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_commands.proto"; message Command_DeckDownload { diff --git a/common/pb/command_deck_list.proto b/common/pb/command_deck_list.proto index 069a775b2..43f1b0e01 100644 --- a/common/pb/command_deck_list.proto +++ b/common/pb/command_deck_list.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_commands.proto"; message Command_DeckList { diff --git a/common/pb/command_deck_new_dir.proto b/common/pb/command_deck_new_dir.proto index 010767d74..b6e24afcd 100644 --- a/common/pb/command_deck_new_dir.proto +++ b/common/pb/command_deck_new_dir.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_commands.proto"; message Command_DeckNewDir { diff --git a/common/pb/command_deck_select.proto b/common/pb/command_deck_select.proto index 574bb3983..d79bf37e4 100644 --- a/common/pb/command_deck_select.proto +++ b/common/pb/command_deck_select.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_DeckSelect { extend GameCommand { diff --git a/common/pb/command_deck_upload.proto b/common/pb/command_deck_upload.proto index b0c2eee25..0f250c5f0 100644 --- a/common/pb/command_deck_upload.proto +++ b/common/pb/command_deck_upload.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_commands.proto"; message Command_DeckUpload { diff --git a/common/pb/command_del_counter.proto b/common/pb/command_del_counter.proto index fad289489..8d2689a21 100644 --- a/common/pb/command_del_counter.proto +++ b/common/pb/command_del_counter.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_DelCounter { extend GameCommand { diff --git a/common/pb/command_delete_arrow.proto b/common/pb/command_delete_arrow.proto index 0e86d32cc..ba204989b 100644 --- a/common/pb/command_delete_arrow.proto +++ b/common/pb/command_delete_arrow.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_DeleteArrow { extend GameCommand { diff --git a/common/pb/command_draw_cards.proto b/common/pb/command_draw_cards.proto index 22777f9fa..6851ac00c 100644 --- a/common/pb/command_draw_cards.proto +++ b/common/pb/command_draw_cards.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_DrawCards { extend GameCommand { diff --git a/common/pb/command_dump_zone.proto b/common/pb/command_dump_zone.proto index 342d4197f..07bfe1950 100644 --- a/common/pb/command_dump_zone.proto +++ b/common/pb/command_dump_zone.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_DumpZone { extend GameCommand { diff --git a/common/pb/command_flip_card.proto b/common/pb/command_flip_card.proto index 324cda01c..d825c64f3 100644 --- a/common/pb/command_flip_card.proto +++ b/common/pb/command_flip_card.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_FlipCard { extend GameCommand { diff --git a/common/pb/command_game_say.proto b/common/pb/command_game_say.proto index d9b5166e2..6aa47e0e2 100644 --- a/common/pb/command_game_say.proto +++ b/common/pb/command_game_say.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_GameSay { extend GameCommand { diff --git a/common/pb/command_inc_card_counter.proto b/common/pb/command_inc_card_counter.proto index b6945d0ae..8676fc89d 100644 --- a/common/pb/command_inc_card_counter.proto +++ b/common/pb/command_inc_card_counter.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_IncCardCounter { extend GameCommand { diff --git a/common/pb/command_inc_counter.proto b/common/pb/command_inc_counter.proto index 52f2a7b5d..d99521b7e 100644 --- a/common/pb/command_inc_counter.proto +++ b/common/pb/command_inc_counter.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_IncCounter { extend GameCommand { diff --git a/common/pb/command_kick_from_game.proto b/common/pb/command_kick_from_game.proto index 9683a2665..e95037c71 100644 --- a/common/pb/command_kick_from_game.proto +++ b/common/pb/command_kick_from_game.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_KickFromGame { extend GameCommand { diff --git a/common/pb/command_leave_game.proto b/common/pb/command_leave_game.proto index 2a916c515..afa1e6c4e 100644 --- a/common/pb/command_leave_game.proto +++ b/common/pb/command_leave_game.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_LeaveGame { extend GameCommand { diff --git a/common/pb/command_move_card.proto b/common/pb/command_move_card.proto index aaa9e9c3d..ad3f7c573 100644 --- a/common/pb/command_move_card.proto +++ b/common/pb/command_move_card.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message CardToMove { optional sint32 card_id = 1 [default = -1]; diff --git a/common/pb/command_mulligan.proto b/common/pb/command_mulligan.proto index 0fa9adf9d..f0ffb87cc 100644 --- a/common/pb/command_mulligan.proto +++ b/common/pb/command_mulligan.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_Mulligan { extend GameCommand { diff --git a/common/pb/command_next_turn.proto b/common/pb/command_next_turn.proto index 6c87d2c33..802d63cfc 100644 --- a/common/pb/command_next_turn.proto +++ b/common/pb/command_next_turn.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_NextTurn { extend GameCommand { diff --git a/common/pb/command_ready_start.proto b/common/pb/command_ready_start.proto index ffa5cc794..1d7d203c2 100644 --- a/common/pb/command_ready_start.proto +++ b/common/pb/command_ready_start.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_ReadyStart { extend GameCommand { diff --git a/common/pb/command_replay_delete_match.proto b/common/pb/command_replay_delete_match.proto index f85cf2e3c..33d6d44b0 100644 --- a/common/pb/command_replay_delete_match.proto +++ b/common/pb/command_replay_delete_match.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_commands.proto"; message Command_ReplayDeleteMatch { diff --git a/common/pb/command_replay_download.proto b/common/pb/command_replay_download.proto index d8638f92c..17724e5bb 100644 --- a/common/pb/command_replay_download.proto +++ b/common/pb/command_replay_download.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_commands.proto"; message Command_ReplayDownload { diff --git a/common/pb/command_replay_list.proto b/common/pb/command_replay_list.proto index 2869c88d6..8fbcdc5a4 100644 --- a/common/pb/command_replay_list.proto +++ b/common/pb/command_replay_list.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_commands.proto"; message Command_ReplayList { diff --git a/common/pb/command_replay_modify_match.proto b/common/pb/command_replay_modify_match.proto index 1b4cb84f9..6b342f44a 100644 --- a/common/pb/command_replay_modify_match.proto +++ b/common/pb/command_replay_modify_match.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_commands.proto"; message Command_ReplayModifyMatch { diff --git a/common/pb/command_reveal_cards.proto b/common/pb/command_reveal_cards.proto index f94d61ac2..5c4024bac 100644 --- a/common/pb/command_reveal_cards.proto +++ b/common/pb/command_reveal_cards.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_RevealCards { extend GameCommand { diff --git a/common/pb/command_roll_die.proto b/common/pb/command_roll_die.proto index cdceb5261..bdcc7b51c 100644 --- a/common/pb/command_roll_die.proto +++ b/common/pb/command_roll_die.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_RollDie { extend GameCommand { diff --git a/common/pb/command_set_active_phase.proto b/common/pb/command_set_active_phase.proto index e54e5b38d..ded7d8197 100644 --- a/common/pb/command_set_active_phase.proto +++ b/common/pb/command_set_active_phase.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_SetActivePhase { extend GameCommand { diff --git a/common/pb/command_set_card_attr.proto b/common/pb/command_set_card_attr.proto index 144cb858d..1e1d8664a 100644 --- a/common/pb/command_set_card_attr.proto +++ b/common/pb/command_set_card_attr.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; import "card_attributes.proto"; diff --git a/common/pb/command_set_card_counter.proto b/common/pb/command_set_card_counter.proto index d56714045..5fa9c3ee3 100644 --- a/common/pb/command_set_card_counter.proto +++ b/common/pb/command_set_card_counter.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_SetCardCounter { extend GameCommand { diff --git a/common/pb/command_set_counter.proto b/common/pb/command_set_counter.proto index 0ddf45b11..33cae56a5 100644 --- a/common/pb/command_set_counter.proto +++ b/common/pb/command_set_counter.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_SetCounter { extend GameCommand { diff --git a/common/pb/command_set_sideboard_lock.proto b/common/pb/command_set_sideboard_lock.proto index 815e92b37..5aa6a64ba 100644 --- a/common/pb/command_set_sideboard_lock.proto +++ b/common/pb/command_set_sideboard_lock.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_SetSideboardLock { extend GameCommand { diff --git a/common/pb/command_set_sideboard_plan.proto b/common/pb/command_set_sideboard_plan.proto index 250fb9dac..7ed0d10cb 100644 --- a/common/pb/command_set_sideboard_plan.proto +++ b/common/pb/command_set_sideboard_plan.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; import "move_card_to_zone.proto"; diff --git a/common/pb/command_shuffle.proto b/common/pb/command_shuffle.proto index d0eff7c81..e2e1d5ec6 100644 --- a/common/pb/command_shuffle.proto +++ b/common/pb/command_shuffle.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_Shuffle { extend GameCommand { diff --git a/common/pb/command_stop_dump_zone.proto b/common/pb/command_stop_dump_zone.proto index af5123a2e..1896c9dcb 100644 --- a/common/pb/command_stop_dump_zone.proto +++ b/common/pb/command_stop_dump_zone.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_StopDumpZone { extend GameCommand { diff --git a/common/pb/command_undo_draw.proto b/common/pb/command_undo_draw.proto index 111ff67aa..094289333 100644 --- a/common/pb/command_undo_draw.proto +++ b/common/pb/command_undo_draw.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_commands.proto"; message Command_UndoDraw { extend GameCommand { diff --git a/common/pb/commands.proto b/common/pb/commands.proto index 3076c002d..b417550a3 100644 --- a/common/pb/commands.proto +++ b/common/pb/commands.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_commands.proto"; import "game_commands.proto"; import "room_commands.proto"; diff --git a/common/pb/context_concede.proto b/common/pb/context_concede.proto index 981804475..7b82aa316 100644 --- a/common/pb/context_concede.proto +++ b/common/pb/context_concede.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event_context.proto"; message Context_Concede { diff --git a/common/pb/context_connection_state_changed.proto b/common/pb/context_connection_state_changed.proto index 45d0a43de..c87f8beda 100644 --- a/common/pb/context_connection_state_changed.proto +++ b/common/pb/context_connection_state_changed.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event_context.proto"; message Context_ConnectionStateChanged { diff --git a/common/pb/context_deck_select.proto b/common/pb/context_deck_select.proto index f36c8b6c2..dbd4ce16e 100644 --- a/common/pb/context_deck_select.proto +++ b/common/pb/context_deck_select.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event_context.proto"; message Context_DeckSelect { diff --git a/common/pb/context_move_card.proto b/common/pb/context_move_card.proto index 9a030e481..49bcb77cd 100644 --- a/common/pb/context_move_card.proto +++ b/common/pb/context_move_card.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event_context.proto"; message Context_MoveCard { diff --git a/common/pb/context_mulligan.proto b/common/pb/context_mulligan.proto index fd59e6dac..edcaf9003 100644 --- a/common/pb/context_mulligan.proto +++ b/common/pb/context_mulligan.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event_context.proto"; message Context_Mulligan { diff --git a/common/pb/context_ping_changed.proto b/common/pb/context_ping_changed.proto index 918c30a28..e8f1b0bdb 100644 --- a/common/pb/context_ping_changed.proto +++ b/common/pb/context_ping_changed.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event_context.proto"; message Context_PingChanged { diff --git a/common/pb/context_ready_start.proto b/common/pb/context_ready_start.proto index 67285307d..7a4e60899 100644 --- a/common/pb/context_ready_start.proto +++ b/common/pb/context_ready_start.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event_context.proto"; message Context_ReadyStart { diff --git a/common/pb/context_set_sideboard_lock.proto b/common/pb/context_set_sideboard_lock.proto index 8124005cf..a9a36f8b2 100644 --- a/common/pb/context_set_sideboard_lock.proto +++ b/common/pb/context_set_sideboard_lock.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event_context.proto"; message Context_SetSideboardLock { diff --git a/common/pb/context_undo_draw.proto b/common/pb/context_undo_draw.proto index 340339e80..8b934079f 100644 --- a/common/pb/context_undo_draw.proto +++ b/common/pb/context_undo_draw.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event_context.proto"; message Context_UndoDraw { diff --git a/common/pb/event_add_to_list.proto b/common/pb/event_add_to_list.proto index 3d13cc98b..4a1072e81 100644 --- a/common/pb/event_add_to_list.proto +++ b/common/pb/event_add_to_list.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_event.proto"; import "serverinfo_user.proto"; diff --git a/common/pb/event_attach_card.proto b/common/pb/event_attach_card.proto index 72191debe..a71610f9f 100644 --- a/common/pb/event_attach_card.proto +++ b/common/pb/event_attach_card.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_AttachCard { diff --git a/common/pb/event_change_zone_properties.proto b/common/pb/event_change_zone_properties.proto index 7aabce096..0f1deb6d9 100644 --- a/common/pb/event_change_zone_properties.proto +++ b/common/pb/event_change_zone_properties.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_ChangeZoneProperties { diff --git a/common/pb/event_connection_closed.proto b/common/pb/event_connection_closed.proto index 564f15a89..03018b800 100644 --- a/common/pb/event_connection_closed.proto +++ b/common/pb/event_connection_closed.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_event.proto"; message Event_ConnectionClosed { diff --git a/common/pb/event_create_arrow.proto b/common/pb/event_create_arrow.proto index 81a1250c3..820d3cea9 100644 --- a/common/pb/event_create_arrow.proto +++ b/common/pb/event_create_arrow.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; import "serverinfo_arrow.proto"; diff --git a/common/pb/event_create_counter.proto b/common/pb/event_create_counter.proto index 4142a1e47..5dfca01e1 100644 --- a/common/pb/event_create_counter.proto +++ b/common/pb/event_create_counter.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; import "serverinfo_counter.proto"; diff --git a/common/pb/event_create_token.proto b/common/pb/event_create_token.proto index 8bb7fd154..42c32eff8 100644 --- a/common/pb/event_create_token.proto +++ b/common/pb/event_create_token.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_CreateToken { diff --git a/common/pb/event_del_counter.proto b/common/pb/event_del_counter.proto index 0785d0915..c693fc869 100644 --- a/common/pb/event_del_counter.proto +++ b/common/pb/event_del_counter.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_DelCounter { diff --git a/common/pb/event_delete_arrow.proto b/common/pb/event_delete_arrow.proto index b7767521d..bd165c97f 100644 --- a/common/pb/event_delete_arrow.proto +++ b/common/pb/event_delete_arrow.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_DeleteArrow { diff --git a/common/pb/event_destroy_card.proto b/common/pb/event_destroy_card.proto index d31321f64..8bef22421 100644 --- a/common/pb/event_destroy_card.proto +++ b/common/pb/event_destroy_card.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_DestroyCard { diff --git a/common/pb/event_draw_cards.proto b/common/pb/event_draw_cards.proto index 3b76263a7..cea343a12 100644 --- a/common/pb/event_draw_cards.proto +++ b/common/pb/event_draw_cards.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; import "serverinfo_card.proto"; diff --git a/common/pb/event_dump_zone.proto b/common/pb/event_dump_zone.proto index 5179dc4b1..f3dc08522 100644 --- a/common/pb/event_dump_zone.proto +++ b/common/pb/event_dump_zone.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_DumpZone { diff --git a/common/pb/event_flip_card.proto b/common/pb/event_flip_card.proto index 128c2e7fa..08a5d8c6d 100644 --- a/common/pb/event_flip_card.proto +++ b/common/pb/event_flip_card.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_FlipCard { diff --git a/common/pb/event_game_closed.proto b/common/pb/event_game_closed.proto index f3a10da0a..e400926c1 100644 --- a/common/pb/event_game_closed.proto +++ b/common/pb/event_game_closed.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_GameClosed { diff --git a/common/pb/event_game_host_changed.proto b/common/pb/event_game_host_changed.proto index 397c1fb04..50e3f968f 100644 --- a/common/pb/event_game_host_changed.proto +++ b/common/pb/event_game_host_changed.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_GameHostChanged { diff --git a/common/pb/event_game_joined.proto b/common/pb/event_game_joined.proto index 5e52b5a4b..eaf2894c7 100644 --- a/common/pb/event_game_joined.proto +++ b/common/pb/event_game_joined.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_event.proto"; import "serverinfo_game.proto"; import "serverinfo_gametype.proto"; diff --git a/common/pb/event_game_say.proto b/common/pb/event_game_say.proto index 27385a08d..8aa42eca1 100644 --- a/common/pb/event_game_say.proto +++ b/common/pb/event_game_say.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_GameSay { diff --git a/common/pb/event_game_state_changed.proto b/common/pb/event_game_state_changed.proto index abbbd1eaa..092d45de1 100644 --- a/common/pb/event_game_state_changed.proto +++ b/common/pb/event_game_state_changed.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; import "serverinfo_player.proto"; diff --git a/common/pb/event_join.proto b/common/pb/event_join.proto index ae9a9fa57..1c91dc099 100644 --- a/common/pb/event_join.proto +++ b/common/pb/event_join.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; import "serverinfo_playerproperties.proto"; diff --git a/common/pb/event_join_room.proto b/common/pb/event_join_room.proto index 852614c8a..e575edc41 100644 --- a/common/pb/event_join_room.proto +++ b/common/pb/event_join_room.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "room_event.proto"; import "serverinfo_user.proto"; diff --git a/common/pb/event_kicked.proto b/common/pb/event_kicked.proto index 39bb6de36..e1fd57bdd 100644 --- a/common/pb/event_kicked.proto +++ b/common/pb/event_kicked.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_Kicked { @@ -5,3 +6,4 @@ message Event_Kicked { optional Event_Kicked ext = 1004; } } + diff --git a/common/pb/event_leave.proto b/common/pb/event_leave.proto index 480c8f886..c4a3740f3 100644 --- a/common/pb/event_leave.proto +++ b/common/pb/event_leave.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_Leave { diff --git a/common/pb/event_leave_room.proto b/common/pb/event_leave_room.proto index d894b5939..98dafe2d4 100644 --- a/common/pb/event_leave_room.proto +++ b/common/pb/event_leave_room.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "room_event.proto"; message Event_LeaveRoom { diff --git a/common/pb/event_list_games.proto b/common/pb/event_list_games.proto index e613a7933..b69c7b5c9 100644 --- a/common/pb/event_list_games.proto +++ b/common/pb/event_list_games.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "room_event.proto"; import "serverinfo_game.proto"; diff --git a/common/pb/event_list_rooms.proto b/common/pb/event_list_rooms.proto index 05ddd4ed0..e72d2ba19 100644 --- a/common/pb/event_list_rooms.proto +++ b/common/pb/event_list_rooms.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_event.proto"; import "serverinfo_room.proto"; diff --git a/common/pb/event_move_card.proto b/common/pb/event_move_card.proto index 0d010d942..f6d309f36 100644 --- a/common/pb/event_move_card.proto +++ b/common/pb/event_move_card.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_MoveCard { diff --git a/common/pb/event_notify_user.proto b/common/pb/event_notify_user.proto index 53182ab23..73df1ec28 100644 --- a/common/pb/event_notify_user.proto +++ b/common/pb/event_notify_user.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_event.proto"; message Event_NotifyUser { diff --git a/common/pb/event_player_properties_changed.proto b/common/pb/event_player_properties_changed.proto index a597d5a19..c0feaf532 100644 --- a/common/pb/event_player_properties_changed.proto +++ b/common/pb/event_player_properties_changed.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; import "serverinfo_playerproperties.proto"; diff --git a/common/pb/event_remove_from_list.proto b/common/pb/event_remove_from_list.proto index 1b7de4acd..81bb64ede 100644 --- a/common/pb/event_remove_from_list.proto +++ b/common/pb/event_remove_from_list.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_event.proto"; message Event_RemoveFromList { diff --git a/common/pb/event_replay_added.proto b/common/pb/event_replay_added.proto index 5fcb80712..2efb5f37a 100644 --- a/common/pb/event_replay_added.proto +++ b/common/pb/event_replay_added.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_event.proto"; import "serverinfo_replay_match.proto"; diff --git a/common/pb/event_reveal_cards.proto b/common/pb/event_reveal_cards.proto index 03a42638b..f6742c696 100644 --- a/common/pb/event_reveal_cards.proto +++ b/common/pb/event_reveal_cards.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; import "serverinfo_card.proto"; diff --git a/common/pb/event_roll_die.proto b/common/pb/event_roll_die.proto index 697bbb536..4d99f2be5 100644 --- a/common/pb/event_roll_die.proto +++ b/common/pb/event_roll_die.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_RollDie { diff --git a/common/pb/event_room_say.proto b/common/pb/event_room_say.proto index 32f6f6442..122f0f454 100644 --- a/common/pb/event_room_say.proto +++ b/common/pb/event_room_say.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "room_event.proto"; message Event_RoomSay { diff --git a/common/pb/event_server_complete_list.proto b/common/pb/event_server_complete_list.proto index cf0984342..8adba1fd7 100644 --- a/common/pb/event_server_complete_list.proto +++ b/common/pb/event_server_complete_list.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_event.proto"; import "serverinfo_user.proto"; import "serverinfo_room.proto"; diff --git a/common/pb/event_server_identification.proto b/common/pb/event_server_identification.proto index da6f37943..6548043ec 100644 --- a/common/pb/event_server_identification.proto +++ b/common/pb/event_server_identification.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_event.proto"; message Event_ServerIdentification { diff --git a/common/pb/event_server_message.proto b/common/pb/event_server_message.proto index 04e3881b0..a47d4eb7d 100644 --- a/common/pb/event_server_message.proto +++ b/common/pb/event_server_message.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_event.proto"; message Event_ServerMessage { diff --git a/common/pb/event_server_shutdown.proto b/common/pb/event_server_shutdown.proto index 3618804d8..879ec1ea4 100644 --- a/common/pb/event_server_shutdown.proto +++ b/common/pb/event_server_shutdown.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_event.proto"; message Event_ServerShutdown { diff --git a/common/pb/event_set_active_phase.proto b/common/pb/event_set_active_phase.proto index 5c6507a69..a19dd4b98 100644 --- a/common/pb/event_set_active_phase.proto +++ b/common/pb/event_set_active_phase.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_SetActivePhase { diff --git a/common/pb/event_set_active_player.proto b/common/pb/event_set_active_player.proto index b4b794111..7962ac15e 100644 --- a/common/pb/event_set_active_player.proto +++ b/common/pb/event_set_active_player.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_SetActivePlayer { diff --git a/common/pb/event_set_card_attr.proto b/common/pb/event_set_card_attr.proto index 217c13ae0..aa902fdd4 100644 --- a/common/pb/event_set_card_attr.proto +++ b/common/pb/event_set_card_attr.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; import "card_attributes.proto"; diff --git a/common/pb/event_set_card_counter.proto b/common/pb/event_set_card_counter.proto index f959ca1df..e04262715 100644 --- a/common/pb/event_set_card_counter.proto +++ b/common/pb/event_set_card_counter.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_SetCardCounter { diff --git a/common/pb/event_set_counter.proto b/common/pb/event_set_counter.proto index bbc19ba99..55541a027 100644 --- a/common/pb/event_set_counter.proto +++ b/common/pb/event_set_counter.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_SetCounter { diff --git a/common/pb/event_shuffle.proto b/common/pb/event_shuffle.proto index 1a7b59250..c1fc1afb8 100644 --- a/common/pb/event_shuffle.proto +++ b/common/pb/event_shuffle.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_Shuffle { diff --git a/common/pb/event_stop_dump_zone.proto b/common/pb/event_stop_dump_zone.proto index 2abe3ea25..3e8f16936 100644 --- a/common/pb/event_stop_dump_zone.proto +++ b/common/pb/event_stop_dump_zone.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; message Event_StopDumpZone { diff --git a/common/pb/event_user_joined.proto b/common/pb/event_user_joined.proto index f5c7021ce..15ae93c3f 100644 --- a/common/pb/event_user_joined.proto +++ b/common/pb/event_user_joined.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_event.proto"; import "serverinfo_user.proto"; diff --git a/common/pb/event_user_left.proto b/common/pb/event_user_left.proto index 5c06cc9e3..c857640df 100644 --- a/common/pb/event_user_left.proto +++ b/common/pb/event_user_left.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_event.proto"; message Event_UserLeft { diff --git a/common/pb/event_user_message.proto b/common/pb/event_user_message.proto index bec6080ec..9cf6003d9 100644 --- a/common/pb/event_user_message.proto +++ b/common/pb/event_user_message.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "session_event.proto"; message Event_UserMessage { diff --git a/common/pb/game_commands.proto b/common/pb/game_commands.proto index 3846be165..47d15441d 100644 --- a/common/pb/game_commands.proto +++ b/common/pb/game_commands.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; message GameCommand { enum GameCommandType { KICK_FROM_GAME = 1000; diff --git a/common/pb/game_event.proto b/common/pb/game_event.proto index a71d160a4..09fbe93be 100644 --- a/common/pb/game_event.proto +++ b/common/pb/game_event.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; message GameEvent { enum GameEventType { JOIN = 1000; diff --git a/common/pb/game_event_container.proto b/common/pb/game_event_container.proto index d99bc0798..fd4ca4301 100644 --- a/common/pb/game_event_container.proto +++ b/common/pb/game_event_container.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "game_event.proto"; import "game_event_context.proto"; diff --git a/common/pb/game_event_context.proto b/common/pb/game_event_context.proto index 82e8e635e..98d5047b7 100644 --- a/common/pb/game_event_context.proto +++ b/common/pb/game_event_context.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; message GameEventContext { enum ContextType { READY_START = 1000; diff --git a/common/pb/game_replay.proto b/common/pb/game_replay.proto index 907bbade7..e8a0aa0bc 100644 --- a/common/pb/game_replay.proto +++ b/common/pb/game_replay.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "serverinfo_game.proto"; import "game_event_container.proto"; diff --git a/common/pb/isl_message.proto b/common/pb/isl_message.proto index c9e91552a..125205334 100644 --- a/common/pb/isl_message.proto +++ b/common/pb/isl_message.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; import "session_event.proto"; import "commands.proto"; diff --git a/common/pb/moderator_commands.proto b/common/pb/moderator_commands.proto index 820dfd0a6..d7050ad1b 100644 --- a/common/pb/moderator_commands.proto +++ b/common/pb/moderator_commands.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; message ModeratorCommand { enum ModeratorCommandType { BAN_FROM_SERVER = 1000; diff --git a/common/pb/move_card_to_zone.proto b/common/pb/move_card_to_zone.proto index 8ab75c41a..10ce87c3e 100644 --- a/common/pb/move_card_to_zone.proto +++ b/common/pb/move_card_to_zone.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; message MoveCard_ToZone { optional string card_name = 1; optional string start_zone = 2; diff --git a/common/pb/response.proto b/common/pb/response.proto index 7a97acce8..4648bb384 100644 --- a/common/pb/response.proto +++ b/common/pb/response.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; message Response { enum ResponseCode { RespNotConnected = -1; diff --git a/common/pb/response_activate.proto b/common/pb/response_activate.proto index 68268b225..744023314 100644 --- a/common/pb/response_activate.proto +++ b/common/pb/response_activate.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; message Response_Activate { diff --git a/common/pb/response_adjust_mod.proto b/common/pb/response_adjust_mod.proto index f996113d2..c91493f8f 100644 --- a/common/pb/response_adjust_mod.proto +++ b/common/pb/response_adjust_mod.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; message Response_AdjustMod{ diff --git a/common/pb/response_ban_history.proto b/common/pb/response_ban_history.proto index 0cff75d24..de587d6d9 100644 --- a/common/pb/response_ban_history.proto +++ b/common/pb/response_ban_history.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; import "serverinfo_ban.proto"; diff --git a/common/pb/response_deck_download.proto b/common/pb/response_deck_download.proto index 7c39cd4a9..f1839a9e2 100644 --- a/common/pb/response_deck_download.proto +++ b/common/pb/response_deck_download.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; message Response_DeckDownload { diff --git a/common/pb/response_deck_list.proto b/common/pb/response_deck_list.proto index 8982566e7..bc516a25c 100644 --- a/common/pb/response_deck_list.proto +++ b/common/pb/response_deck_list.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; import "serverinfo_deckstorage.proto"; diff --git a/common/pb/response_deck_upload.proto b/common/pb/response_deck_upload.proto index defb759ee..3648d8777 100644 --- a/common/pb/response_deck_upload.proto +++ b/common/pb/response_deck_upload.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; import "serverinfo_deckstorage.proto"; diff --git a/common/pb/response_dump_zone.proto b/common/pb/response_dump_zone.proto index 1bf1de362..e37288dfb 100644 --- a/common/pb/response_dump_zone.proto +++ b/common/pb/response_dump_zone.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; import "serverinfo_zone.proto"; diff --git a/common/pb/response_get_games_of_user.proto b/common/pb/response_get_games_of_user.proto index daeef56e8..f179bcc62 100644 --- a/common/pb/response_get_games_of_user.proto +++ b/common/pb/response_get_games_of_user.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; import "serverinfo_game.proto"; import "serverinfo_room.proto"; diff --git a/common/pb/response_get_user_info.proto b/common/pb/response_get_user_info.proto index e08901167..fbfaaf217 100644 --- a/common/pb/response_get_user_info.proto +++ b/common/pb/response_get_user_info.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; import "serverinfo_user.proto"; diff --git a/common/pb/response_join_room.proto b/common/pb/response_join_room.proto index a2a85354a..7023c648d 100644 --- a/common/pb/response_join_room.proto +++ b/common/pb/response_join_room.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; import "serverinfo_room.proto"; diff --git a/common/pb/response_list_users.proto b/common/pb/response_list_users.proto index a48c965f0..825ae6f7f 100644 --- a/common/pb/response_list_users.proto +++ b/common/pb/response_list_users.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; import "serverinfo_user.proto"; diff --git a/common/pb/response_login.proto b/common/pb/response_login.proto index 876896f13..673eaa46f 100644 --- a/common/pb/response_login.proto +++ b/common/pb/response_login.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; import "serverinfo_user.proto"; diff --git a/common/pb/response_register.proto b/common/pb/response_register.proto index 62fbaeeae..1137b0b54 100644 --- a/common/pb/response_register.proto +++ b/common/pb/response_register.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; message Response_Register { diff --git a/common/pb/response_replay_download.proto b/common/pb/response_replay_download.proto index e1ecaeea9..d263f8d9b 100644 --- a/common/pb/response_replay_download.proto +++ b/common/pb/response_replay_download.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; message Response_ReplayDownload { diff --git a/common/pb/response_replay_list.proto b/common/pb/response_replay_list.proto index ac065c04c..68e7d41bc 100644 --- a/common/pb/response_replay_list.proto +++ b/common/pb/response_replay_list.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; import "serverinfo_replay_match.proto"; diff --git a/common/pb/response_viewlog_history.proto b/common/pb/response_viewlog_history.proto index 94157dfad..2572d7d22 100644 --- a/common/pb/response_viewlog_history.proto +++ b/common/pb/response_viewlog_history.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; import "serverinfo_chat_message.proto"; diff --git a/common/pb/response_warn_history.proto b/common/pb/response_warn_history.proto index 609d16925..a43180f3b 100644 --- a/common/pb/response_warn_history.proto +++ b/common/pb/response_warn_history.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; import "serverinfo_warning.proto"; diff --git a/common/pb/response_warn_list.proto b/common/pb/response_warn_list.proto index 2c8c46efc..8d893103b 100644 --- a/common/pb/response_warn_list.proto +++ b/common/pb/response_warn_list.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; message Response_WarnList{ diff --git a/common/pb/room_commands.proto b/common/pb/room_commands.proto index cb4051c93..d68728102 100644 --- a/common/pb/room_commands.proto +++ b/common/pb/room_commands.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; message RoomCommand { enum RoomCommandType { LEAVE_ROOM = 1000; diff --git a/common/pb/room_event.proto b/common/pb/room_event.proto index 6774d6e97..b0cb37021 100644 --- a/common/pb/room_event.proto +++ b/common/pb/room_event.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; message RoomEvent { enum RoomEventType { LEAVE_ROOM = 1000; diff --git a/common/pb/server_message.proto b/common/pb/server_message.proto index a0a54ae2c..a9330ab3c 100644 --- a/common/pb/server_message.proto +++ b/common/pb/server_message.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "response.proto"; import "session_event.proto"; import "game_event_container.proto"; diff --git a/common/pb/serverinfo_arrow.proto b/common/pb/serverinfo_arrow.proto index 72afbb66a..cd99bd798 100644 --- a/common/pb/serverinfo_arrow.proto +++ b/common/pb/serverinfo_arrow.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "color.proto"; message ServerInfo_Arrow { diff --git a/common/pb/serverinfo_ban.proto b/common/pb/serverinfo_ban.proto index 5c5d7ba2f..2ad7ffd4d 100644 --- a/common/pb/serverinfo_ban.proto +++ b/common/pb/serverinfo_ban.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; /* * Historical ban information stored in the ban table */ diff --git a/common/pb/serverinfo_card.proto b/common/pb/serverinfo_card.proto index cf3bd3716..4d9a585cd 100644 --- a/common/pb/serverinfo_card.proto +++ b/common/pb/serverinfo_card.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "serverinfo_cardcounter.proto"; message ServerInfo_Card { diff --git a/common/pb/serverinfo_cardcounter.proto b/common/pb/serverinfo_cardcounter.proto index 16bd81349..d1799a65b 100644 --- a/common/pb/serverinfo_cardcounter.proto +++ b/common/pb/serverinfo_cardcounter.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; message ServerInfo_CardCounter { optional sint32 id = 1; optional sint32 value = 2; diff --git a/common/pb/serverinfo_chat_message.proto b/common/pb/serverinfo_chat_message.proto index 393630f30..27d4386e5 100644 --- a/common/pb/serverinfo_chat_message.proto +++ b/common/pb/serverinfo_chat_message.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; /* * Chat communication of a user to a target. * Targets can be users or rooms. diff --git a/common/pb/serverinfo_counter.proto b/common/pb/serverinfo_counter.proto index 0c948acdd..849e3b4e9 100644 --- a/common/pb/serverinfo_counter.proto +++ b/common/pb/serverinfo_counter.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "color.proto"; message ServerInfo_Counter { diff --git a/common/pb/serverinfo_deckstorage.proto b/common/pb/serverinfo_deckstorage.proto index 4709ee921..16e3f28e3 100644 --- a/common/pb/serverinfo_deckstorage.proto +++ b/common/pb/serverinfo_deckstorage.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; message ServerInfo_DeckStorage_File { optional uint32 creation_time = 1; } diff --git a/common/pb/serverinfo_game.proto b/common/pb/serverinfo_game.proto index d91779afc..8ba29eeeb 100644 --- a/common/pb/serverinfo_game.proto +++ b/common/pb/serverinfo_game.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "serverinfo_user.proto"; message ServerInfo_Game { diff --git a/common/pb/serverinfo_gametype.proto b/common/pb/serverinfo_gametype.proto index 1ce21a9ce..a135b89b6 100644 --- a/common/pb/serverinfo_gametype.proto +++ b/common/pb/serverinfo_gametype.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; message ServerInfo_GameType { optional sint32 game_type_id = 1; optional string description = 2; diff --git a/common/pb/serverinfo_player.proto b/common/pb/serverinfo_player.proto index 957117823..69cd4498a 100644 --- a/common/pb/serverinfo_player.proto +++ b/common/pb/serverinfo_player.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "serverinfo_zone.proto"; import "serverinfo_counter.proto"; import "serverinfo_arrow.proto"; diff --git a/common/pb/serverinfo_playerping.proto b/common/pb/serverinfo_playerping.proto index 41a02959e..cb27e0e9b 100644 --- a/common/pb/serverinfo_playerping.proto +++ b/common/pb/serverinfo_playerping.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; message ServerInfo_PlayerPing { optional sint32 player_id = 1; optional sint32 ping_time = 2; diff --git a/common/pb/serverinfo_playerproperties.proto b/common/pb/serverinfo_playerproperties.proto index d15bd0e3c..96f3644a2 100644 --- a/common/pb/serverinfo_playerproperties.proto +++ b/common/pb/serverinfo_playerproperties.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "serverinfo_user.proto"; message ServerInfo_PlayerProperties { diff --git a/common/pb/serverinfo_replay.proto b/common/pb/serverinfo_replay.proto index d9e208571..4b15db18a 100644 --- a/common/pb/serverinfo_replay.proto +++ b/common/pb/serverinfo_replay.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; message ServerInfo_Replay { optional sint32 replay_id = 1 [default = -1]; optional string replay_name = 2; diff --git a/common/pb/serverinfo_replay_match.proto b/common/pb/serverinfo_replay_match.proto index 06a3ebd51..05abeb945 100644 --- a/common/pb/serverinfo_replay_match.proto +++ b/common/pb/serverinfo_replay_match.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "serverinfo_replay.proto"; message ServerInfo_ReplayMatch { diff --git a/common/pb/serverinfo_room.proto b/common/pb/serverinfo_room.proto index 255fdf2e9..571bc6f70 100644 --- a/common/pb/serverinfo_room.proto +++ b/common/pb/serverinfo_room.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "serverinfo_game.proto"; import "serverinfo_user.proto"; import "serverinfo_gametype.proto"; diff --git a/common/pb/serverinfo_user.proto b/common/pb/serverinfo_user.proto index cb1ea273d..5baf091cd 100644 --- a/common/pb/serverinfo_user.proto +++ b/common/pb/serverinfo_user.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; message ServerInfo_User { enum UserLevelFlag { IsNothing = 0; diff --git a/common/pb/serverinfo_warning.proto b/common/pb/serverinfo_warning.proto index 18518dd44..f2efed576 100644 --- a/common/pb/serverinfo_warning.proto +++ b/common/pb/serverinfo_warning.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; /* * Historical warning information stored in the warnings table */ diff --git a/common/pb/serverinfo_zone.proto b/common/pb/serverinfo_zone.proto index a1786b949..d359613c4 100644 --- a/common/pb/serverinfo_zone.proto +++ b/common/pb/serverinfo_zone.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "serverinfo_card.proto"; message ServerInfo_Zone { diff --git a/common/pb/session_commands.proto b/common/pb/session_commands.proto index 689de9bdb..afd85a393 100644 --- a/common/pb/session_commands.proto +++ b/common/pb/session_commands.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; import "serverinfo_user.proto"; message SessionCommand { diff --git a/common/pb/session_event.proto b/common/pb/session_event.proto index 101ae218e..3cce332c0 100644 --- a/common/pb/session_event.proto +++ b/common/pb/session_event.proto @@ -1,3 +1,4 @@ +syntax = "proto2"; message SessionEvent { enum SessionEventType { SERVER_IDENTIFICATION = 500;