Commit cfebd53d authored by woogerboy21's avatar woogerboy21
Browse files

Corrected proto warnings

parent 74533859
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_FlipCard { message Command_FlipCard {
extend GameCommand { extend GameCommand {
optional Command_FlipCard ext = 1008; optional Command_FlipCard ext = 1008;
} }
optional string zone = 1; optional string zone = 1;
optional sint32 card_id = 2 [default = -1]; optional sint32 card_id = 2 [default = -1];
optional bool face_down = 3; optional bool face_down = 3;
} }
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_GameSay { message Command_GameSay {
extend GameCommand { extend GameCommand {
optional Command_GameSay ext = 1002; optional Command_GameSay ext = 1002;
} }
optional string message = 1; optional string message = 1;
} }
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_IncCardCounter { message Command_IncCardCounter {
extend GameCommand { extend GameCommand {
optional Command_IncCardCounter ext = 1015; optional Command_IncCardCounter ext = 1015;
} }
optional string zone = 1; optional string zone = 1;
optional sint32 card_id = 2 [default = -1]; optional sint32 card_id = 2 [default = -1];
optional sint32 counter_id = 3 [default = -1]; optional sint32 counter_id = 3 [default = -1];
optional sint32 counter_delta = 4; optional sint32 counter_delta = 4;
} }
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_IncCounter { message Command_IncCounter {
extend GameCommand { extend GameCommand {
optional Command_IncCounter ext = 1018; optional Command_IncCounter ext = 1018;
} }
optional sint32 counter_id = 1 [default = -1]; optional sint32 counter_id = 1 [default = -1];
optional sint32 delta = 2; optional sint32 delta = 2;
} }
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_KickFromGame { message Command_KickFromGame {
extend GameCommand { extend GameCommand {
optional Command_KickFromGame ext = 1000; optional Command_KickFromGame ext = 1000;
} }
optional sint32 player_id = 1 [default = -1]; optional sint32 player_id = 1 [default = -1];
} }
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_LeaveGame { message Command_LeaveGame {
extend GameCommand { extend GameCommand {
optional Command_LeaveGame ext = 1001; optional Command_LeaveGame ext = 1001;
} }
} }
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];
optional bool face_down = 2; optional bool face_down = 2;
optional string pt = 3; optional string pt = 3;
optional bool tapped = 4; optional bool tapped = 4;
} }
message ListOfCardsToMove { message ListOfCardsToMove {
repeated CardToMove card = 1; repeated CardToMove card = 1;
} }
message Command_MoveCard { message Command_MoveCard {
extend GameCommand { extend GameCommand {
optional Command_MoveCard ext = 1027; optional Command_MoveCard ext = 1027;
} }
optional sint32 start_player_id = 1 [default = -1]; optional sint32 start_player_id = 1 [default = -1];
optional string start_zone = 2; optional string start_zone = 2;
optional ListOfCardsToMove cards_to_move = 3; optional ListOfCardsToMove cards_to_move = 3;
optional sint32 target_player_id = 4 [default = -1]; optional sint32 target_player_id = 4 [default = -1];
optional string target_zone = 5; optional string target_zone = 5;
optional sint32 x = 6 [default = -1]; optional sint32 x = 6 [default = -1];
optional sint32 y = 7 [default = -1]; optional sint32 y = 7 [default = -1];
} }
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_Mulligan { message Command_Mulligan {
extend GameCommand { extend GameCommand {
optional Command_Mulligan ext = 1004; optional Command_Mulligan ext = 1004;
} }
} }
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_NextTurn { message Command_NextTurn {
extend GameCommand { extend GameCommand {
optional Command_NextTurn ext = 1022; optional Command_NextTurn ext = 1022;
} }
} }
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_ReadyStart { message Command_ReadyStart {
extend GameCommand { extend GameCommand {
optional Command_ReadyStart ext = 1016; optional Command_ReadyStart ext = 1016;
} }
optional bool ready = 1; optional bool ready = 1;
} }
syntax = "proto2";
import "session_commands.proto"; import "session_commands.proto";
message Command_ReplayDeleteMatch { message Command_ReplayDeleteMatch {
extend SessionCommand { extend SessionCommand {
optional Command_ReplayDeleteMatch ext = 1103; optional Command_ReplayDeleteMatch ext = 1103;
} }
optional sint32 game_id = 1 [default = -1]; optional sint32 game_id = 1 [default = -1];
} }
syntax = "proto2";
import "session_commands.proto"; import "session_commands.proto";
message Command_ReplayDownload { message Command_ReplayDownload {
extend SessionCommand { extend SessionCommand {
optional Command_ReplayDownload ext = 1101; optional Command_ReplayDownload ext = 1101;
} }
optional sint32 replay_id = 1 [default = -1]; optional sint32 replay_id = 1 [default = -1];
} }
syntax = "proto2";
import "session_commands.proto"; import "session_commands.proto";
message Command_ReplayList { message Command_ReplayList {
extend SessionCommand { extend SessionCommand {
optional Command_ReplayList ext = 1100; optional Command_ReplayList ext = 1100;
} }
} }
syntax = "proto2";
import "session_commands.proto"; import "session_commands.proto";
message Command_ReplayModifyMatch { message Command_ReplayModifyMatch {
extend SessionCommand { extend SessionCommand {
optional Command_ReplayModifyMatch ext = 1102; optional Command_ReplayModifyMatch ext = 1102;
} }
optional sint32 game_id = 1 [default = -1]; optional sint32 game_id = 1 [default = -1];
optional bool do_not_hide = 2; optional bool do_not_hide = 2;
} }
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_RevealCards { message Command_RevealCards {
extend GameCommand { extend GameCommand {
optional Command_RevealCards ext = 1026; optional Command_RevealCards ext = 1026;
} }
optional string zone_name = 1; optional string zone_name = 1;
optional sint32 card_id = 2 [default = -1]; optional sint32 card_id = 2 [default = -1];
optional sint32 player_id = 3 [default = -1]; optional sint32 player_id = 3 [default = -1];
optional bool grant_write_access = 4; optional bool grant_write_access = 4;
optional sint32 top_cards = 5 [default = -1]; optional sint32 top_cards = 5 [default = -1];
} }
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_RollDie { message Command_RollDie {
extend GameCommand { extend GameCommand {
optional Command_RollDie ext = 1005; optional Command_RollDie ext = 1005;
} }
optional uint32 sides = 1; optional uint32 sides = 1;
} }
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_SetActivePhase { message Command_SetActivePhase {
extend GameCommand { extend GameCommand {
optional Command_SetActivePhase ext = 1023; optional Command_SetActivePhase ext = 1023;
} }
optional uint32 phase = 1; optional uint32 phase = 1;
} }
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
import "card_attributes.proto"; import "card_attributes.proto";
message Command_SetCardAttr { message Command_SetCardAttr {
extend GameCommand { extend GameCommand {
optional Command_SetCardAttr ext = 1013; optional Command_SetCardAttr ext = 1013;
} }
optional string zone = 1; optional string zone = 1;
optional sint32 card_id = 2 [default = -1]; optional sint32 card_id = 2 [default = -1];
optional CardAttribute attribute = 3; optional CardAttribute attribute = 3;
optional string attr_value = 4; optional string attr_value = 4;
} }
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_SetCardCounter { message Command_SetCardCounter {
extend GameCommand { extend GameCommand {
optional Command_SetCardCounter ext = 1014; optional Command_SetCardCounter ext = 1014;
} }
optional string zone = 1; optional string zone = 1;
optional sint32 card_id = 2 [default = -1]; optional sint32 card_id = 2 [default = -1];
optional sint32 counter_id = 3 [default = -1]; optional sint32 counter_id = 3 [default = -1];
optional sint32 counter_value = 4; optional sint32 counter_value = 4;
} }
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_SetCounter { message Command_SetCounter {
extend GameCommand { extend GameCommand {
optional Command_SetCounter ext = 1020; optional Command_SetCounter ext = 1020;
} }
optional sint32 counter_id = 1 [default = -1]; optional sint32 counter_id = 1 [default = -1];
optional sint32 value = 2; optional sint32 value = 2;
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment