Corrected proto warnings

This commit is contained in:
woogerboy21 2015-08-25 23:31:09 -04:00
parent 7453385903
commit cfebd53d5d
145 changed files with 1063 additions and 918 deletions

View file

@ -1,38 +1,39 @@
syntax = "proto2";
message AdminCommand { message AdminCommand {
enum AdminCommandType { enum AdminCommandType {
UPDATE_SERVER_MESSAGE = 1000; UPDATE_SERVER_MESSAGE = 1000;
SHUTDOWN_SERVER = 1001; SHUTDOWN_SERVER = 1001;
RELOAD_CONFIG = 1002; RELOAD_CONFIG = 1002;
ADJUST_MOD = 1003; ADJUST_MOD = 1003;
} }
extensions 100 to max; extensions 100 to max;
} }
message Command_UpdateServerMessage { message Command_UpdateServerMessage {
extend AdminCommand { extend AdminCommand {
optional Command_UpdateServerMessage ext = 1000; optional Command_UpdateServerMessage ext = 1000;
} }
} }
message Command_ShutdownServer { message Command_ShutdownServer {
extend AdminCommand { extend AdminCommand {
optional Command_ShutdownServer ext = 1001; optional Command_ShutdownServer ext = 1001;
} }
optional string reason = 1; optional string reason = 1;
optional uint32 minutes = 2; optional uint32 minutes = 2;
} }
message Command_ReloadConfig { message Command_ReloadConfig {
extend AdminCommand { extend AdminCommand {
optional Command_ReloadConfig ext = 1002; optional Command_ReloadConfig ext = 1002;
} }
} }
message Command_AdjustMod { message Command_AdjustMod {
extend AdminCommand { extend AdminCommand {
optional Command_AdjustMod ext = 1003; optional Command_AdjustMod ext = 1003;
} }
required string user_name = 1; required string user_name = 1;
required bool should_be_mod = 2; required bool should_be_mod = 2;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
enum CardAttribute { enum CardAttribute {
AttrTapped = 1; AttrTapped = 1;
AttrAttacking = 2; AttrAttacking = 2;
AttrFaceDown = 3; AttrFaceDown = 3;
AttrColor = 4; AttrColor = 4;
AttrPT = 5; AttrPT = 5;
AttrAnnotation = 6; AttrAnnotation = 6;
AttrDoesntUntap = 7; AttrDoesntUntap = 7;
} }

View file

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

View file

@ -1,13 +1,14 @@
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_AttachCard { message Command_AttachCard {
extend GameCommand { extend GameCommand {
optional Command_AttachCard ext = 1009; optional Command_AttachCard ext = 1009;
} }
optional string start_zone = 1; optional string start_zone = 1;
optional sint32 card_id = 2 [default = -1]; optional sint32 card_id = 2 [default = -1];
optional sint32 target_player_id = 3 [default = -1]; optional sint32 target_player_id = 3 [default = -1];
optional string target_zone = 4; optional string target_zone = 4;
optional sint32 target_card_id = 5 [default = -1]; optional sint32 target_card_id = 5 [default = -1];
} }

View file

@ -1,10 +1,11 @@
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_ChangeZoneProperties { message Command_ChangeZoneProperties {
extend GameCommand { extend GameCommand {
optional Command_ChangeZoneProperties ext = 1031; optional Command_ChangeZoneProperties ext = 1031;
} }
optional string zone_name = 1; optional string zone_name = 1;
optional bool always_reveal_top_card = 10; optional bool always_reveal_top_card = 10;
} }

View file

@ -1,6 +1,7 @@
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_Concede { message Command_Concede {
extend GameCommand { extend GameCommand {
optional Command_Concede ext = 1017; optional Command_Concede ext = 1017;
} }
} }

View file

@ -1,15 +1,16 @@
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
import "color.proto"; import "color.proto";
message Command_CreateArrow { message Command_CreateArrow {
extend GameCommand { extend GameCommand {
optional Command_CreateArrow ext = 1011; optional Command_CreateArrow ext = 1011;
} }
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 sint32 start_card_id = 3 [default = -1]; optional sint32 start_card_id = 3 [default = -1];
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 target_card_id = 6 [default = -1]; optional sint32 target_card_id = 6 [default = -1];
optional color arrow_color = 7; optional color arrow_color = 7;
} }

View file

@ -1,12 +1,13 @@
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
import "color.proto"; import "color.proto";
message Command_CreateCounter { message Command_CreateCounter {
extend GameCommand { extend GameCommand {
optional Command_CreateCounter ext = 1019; optional Command_CreateCounter ext = 1019;
} }
optional string counter_name = 1; optional string counter_name = 1;
optional color counter_color = 2; optional color counter_color = 2;
optional uint32 radius = 3; optional uint32 radius = 3;
optional sint32 value = 4; optional sint32 value = 4;
} }

View file

@ -1,18 +1,19 @@
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_CreateToken { message Command_CreateToken {
extend GameCommand { extend GameCommand {
optional Command_CreateToken ext = 1010; optional Command_CreateToken ext = 1010;
} }
optional string zone = 1; optional string zone = 1;
optional string card_name = 2; optional string card_name = 2;
optional string color = 3; optional string color = 3;
optional string pt = 4; optional string pt = 4;
optional string annotation = 5; optional string annotation = 5;
optional bool destroy_on_zone_change = 6; optional bool destroy_on_zone_change = 6;
optional sint32 x = 7; optional sint32 x = 7;
optional sint32 y = 8; optional sint32 y = 8;
optional string target_zone = 9; optional string target_zone = 9;
optional sint32 target_card_id = 10 [default = -1]; optional sint32 target_card_id = 10 [default = -1];
} }

View file

@ -1,8 +1,9 @@
syntax = "proto2";
import "session_commands.proto"; import "session_commands.proto";
message Command_DeckDel { message Command_DeckDel {
extend SessionCommand { extend SessionCommand {
optional Command_DeckDel ext = 1011; optional Command_DeckDel ext = 1011;
} }
optional sint32 deck_id = 1 [default = -1]; optional sint32 deck_id = 1 [default = -1];
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "session_commands.proto"; import "session_commands.proto";
message Command_DeckDelDir { message Command_DeckDelDir {
extend SessionCommand { extend SessionCommand {
optional Command_DeckDelDir ext = 1010; optional Command_DeckDelDir ext = 1010;
} }
optional string path = 1; optional string path = 1;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "session_commands.proto"; import "session_commands.proto";
message Command_DeckDownload { message Command_DeckDownload {
extend SessionCommand { extend SessionCommand {
optional Command_DeckDownload ext = 1012; optional Command_DeckDownload ext = 1012;
} }
optional sint32 deck_id = 1 [default = -1]; optional sint32 deck_id = 1 [default = -1];
} }

View file

@ -1,7 +1,8 @@
syntax = "proto2";
import "session_commands.proto"; import "session_commands.proto";
message Command_DeckList { message Command_DeckList {
extend SessionCommand { extend SessionCommand {
optional Command_DeckList ext = 1008; optional Command_DeckList ext = 1008;
} }
} }

View file

@ -1,10 +1,11 @@
syntax = "proto2";
import "session_commands.proto"; import "session_commands.proto";
message Command_DeckNewDir { message Command_DeckNewDir {
extend SessionCommand { extend SessionCommand {
optional Command_DeckNewDir ext = 1009; optional Command_DeckNewDir ext = 1009;
} }
optional string path = 1; optional string path = 1;
optional string dir_name = 2; optional string dir_name = 2;
} }

View file

@ -1,8 +1,9 @@
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_DeckSelect { message Command_DeckSelect {
extend GameCommand { extend GameCommand {
optional Command_DeckSelect ext = 1029; optional Command_DeckSelect ext = 1029;
} }
optional string deck = 1; optional string deck = 1;
optional sint32 deck_id = 2 [default = -1]; optional sint32 deck_id = 2 [default = -1];
} }

View file

@ -1,10 +1,11 @@
syntax = "proto2";
import "session_commands.proto"; import "session_commands.proto";
message Command_DeckUpload { message Command_DeckUpload {
extend SessionCommand { extend SessionCommand {
optional Command_DeckUpload ext = 1013; optional Command_DeckUpload ext = 1013;
} }
optional string path = 1; // to upload a new deck optional string path = 1; // to upload a new deck
optional uint32 deck_id = 2; // to replace an existing deck optional uint32 deck_id = 2; // to replace an existing deck
optional string deck_list = 3; optional string deck_list = 3;
} }

View file

@ -1,7 +1,8 @@
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_DelCounter { message Command_DelCounter {
extend GameCommand { extend GameCommand {
optional Command_DelCounter ext = 1021; optional Command_DelCounter ext = 1021;
} }
optional sint32 counter_id = 1 [default = -1]; optional sint32 counter_id = 1 [default = -1];
} }

View file

@ -1,7 +1,8 @@
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_DeleteArrow { message Command_DeleteArrow {
extend GameCommand { extend GameCommand {
optional Command_DeleteArrow ext = 1012; optional Command_DeleteArrow ext = 1012;
} }
optional sint32 arrow_id = 1 [default = -1]; optional sint32 arrow_id = 1 [default = -1];
} }

View file

@ -1,8 +1,9 @@
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_DrawCards { message Command_DrawCards {
extend GameCommand { extend GameCommand {
optional Command_DrawCards ext = 1006; optional Command_DrawCards ext = 1006;
} }
optional uint32 number = 1; optional uint32 number = 1;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_DumpZone { message Command_DumpZone {
extend GameCommand { extend GameCommand {
optional Command_DumpZone ext = 1024; optional Command_DumpZone ext = 1024;
} }
optional sint32 player_id = 1 [default = -1]; optional sint32 player_id = 1 [default = -1];
optional string zone_name = 2; optional string zone_name = 2;
optional sint32 number_cards = 3; optional sint32 number_cards = 3;
} }

View file

@ -1,11 +1,12 @@
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;
} }

View file

@ -1,9 +1,10 @@
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;
} }

View file

@ -1,10 +1,11 @@
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;
} }

View file

@ -1,8 +1,9 @@
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;
} }

View file

@ -1,8 +1,9 @@
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];
} }

View file

@ -1,7 +1,8 @@
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;
} }
} }

View file

@ -1,25 +1,26 @@
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];
} }

View file

@ -1,8 +1,9 @@
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;
} }
} }

View file

@ -1,6 +1,7 @@
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;
} }
} }

View file

@ -1,7 +1,8 @@
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;
} }

View file

@ -1,8 +1,9 @@
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];
} }

View file

@ -1,8 +1,9 @@
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];
} }

View file

@ -1,7 +1,8 @@
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;
} }
} }

View file

@ -1,10 +1,11 @@
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;
} }

View file

@ -1,11 +1,12 @@
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];
} }

View file

@ -1,8 +1,9 @@
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;
} }

View file

@ -1,7 +1,8 @@
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;
} }

View file

@ -1,12 +1,13 @@
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;
} }

View file

@ -1,10 +1,11 @@
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;
} }

View file

@ -1,8 +1,9 @@
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;
} }

View file

@ -1,7 +1,8 @@
import "game_commands.proto"; syntax = "proto2";
import "game_commands.proto";
message Command_SetSideboardLock { message Command_SetSideboardLock {
extend GameCommand { extend GameCommand {
optional Command_SetSideboardLock ext = 1030; optional Command_SetSideboardLock ext = 1030;
} }
optional bool locked = 1; optional bool locked = 1;
} }

View file

@ -1,10 +1,11 @@
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
import "move_card_to_zone.proto"; import "move_card_to_zone.proto";
message Command_SetSideboardPlan { message Command_SetSideboardPlan {
extend GameCommand { extend GameCommand {
optional Command_SetSideboardPlan ext = 1028; optional Command_SetSideboardPlan ext = 1028;
} }
repeated MoveCard_ToZone move_list = 1; repeated MoveCard_ToZone move_list = 1;
} }

View file

@ -1,7 +1,8 @@
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_Shuffle { message Command_Shuffle {
extend GameCommand { extend GameCommand {
optional Command_Shuffle ext = 1003; optional Command_Shuffle ext = 1003;
} }
} }

View file

@ -1,8 +1,9 @@
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_StopDumpZone { message Command_StopDumpZone {
extend GameCommand { extend GameCommand {
optional Command_StopDumpZone ext = 1025; optional Command_StopDumpZone ext = 1025;
} }
optional sint32 player_id = 1; optional sint32 player_id = 1;
optional string zone_name = 2; optional string zone_name = 2;
} }

View file

@ -1,6 +1,7 @@
syntax = "proto2";
import "game_commands.proto"; import "game_commands.proto";
message Command_UndoDraw { message Command_UndoDraw {
extend GameCommand { extend GameCommand {
optional Command_UndoDraw ext = 1007; optional Command_UndoDraw ext = 1007;
} }
} }

View file

@ -1,3 +1,4 @@
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";
@ -5,14 +6,14 @@ import "moderator_commands.proto";
import "admin_commands.proto"; import "admin_commands.proto";
message CommandContainer { message CommandContainer {
optional uint64 cmd_id = 1; optional uint64 cmd_id = 1;
optional uint32 game_id = 10; optional uint32 game_id = 10;
optional uint32 room_id = 20; optional uint32 room_id = 20;
repeated SessionCommand session_command = 100; repeated SessionCommand session_command = 100;
repeated GameCommand game_command = 101; repeated GameCommand game_command = 101;
repeated RoomCommand room_command = 102; repeated RoomCommand room_command = 102;
repeated ModeratorCommand moderator_command = 103; repeated ModeratorCommand moderator_command = 103;
repeated AdminCommand admin_command = 104; repeated AdminCommand admin_command = 104;
} }

View file

@ -1,7 +1,8 @@
syntax = "proto2";
import "game_event_context.proto"; import "game_event_context.proto";
message Context_Concede { message Context_Concede {
extend GameEventContext { extend GameEventContext {
optional Context_Concede ext = 1001; optional Context_Concede ext = 1001;
} }
} }

View file

@ -1,7 +1,8 @@
syntax = "proto2";
import "game_event_context.proto"; import "game_event_context.proto";
message Context_ConnectionStateChanged { message Context_ConnectionStateChanged {
extend GameEventContext { extend GameEventContext {
optional Context_ConnectionStateChanged ext = 1007; optional Context_ConnectionStateChanged ext = 1007;
} }
} }

View file

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

View file

@ -1,7 +1,8 @@
syntax = "proto2";
import "game_event_context.proto"; import "game_event_context.proto";
message Context_MoveCard { message Context_MoveCard {
extend GameEventContext { extend GameEventContext {
optional Context_MoveCard ext = 1004; optional Context_MoveCard ext = 1004;
} }
} }

View file

@ -1,8 +1,9 @@
syntax = "proto2";
import "game_event_context.proto"; import "game_event_context.proto";
message Context_Mulligan { message Context_Mulligan {
extend GameEventContext { extend GameEventContext {
optional Context_Mulligan ext = 1005; optional Context_Mulligan ext = 1005;
} }
optional uint32 number = 1; optional uint32 number = 1;
} }

View file

@ -1,7 +1,8 @@
syntax = "proto2";
import "game_event_context.proto"; import "game_event_context.proto";
message Context_PingChanged { message Context_PingChanged {
extend GameEventContext { extend GameEventContext {
optional Context_PingChanged ext = 1006; optional Context_PingChanged ext = 1006;
} }
} }

View file

@ -1,7 +1,8 @@
syntax = "proto2";
import "game_event_context.proto"; import "game_event_context.proto";
message Context_ReadyStart { message Context_ReadyStart {
extend GameEventContext { extend GameEventContext {
optional Context_ReadyStart ext = 1000; optional Context_ReadyStart ext = 1000;
} }
} }

View file

@ -1,7 +1,8 @@
syntax = "proto2";
import "game_event_context.proto"; import "game_event_context.proto";
message Context_SetSideboardLock { message Context_SetSideboardLock {
extend GameEventContext { extend GameEventContext {
optional Context_SetSideboardLock ext = 1008; optional Context_SetSideboardLock ext = 1008;
} }
} }

View file

@ -1,7 +1,8 @@
syntax = "proto2";
import "game_event_context.proto"; import "game_event_context.proto";
message Context_UndoDraw { message Context_UndoDraw {
extend GameEventContext { extend GameEventContext {
optional Context_UndoDraw ext = 1003; optional Context_UndoDraw ext = 1003;
} }
} }

View file

@ -1,10 +1,11 @@
syntax = "proto2";
import "session_event.proto"; import "session_event.proto";
import "serverinfo_user.proto"; import "serverinfo_user.proto";
message Event_AddToList { message Event_AddToList {
extend SessionEvent { extend SessionEvent {
optional Event_AddToList ext = 1005; optional Event_AddToList ext = 1005;
} }
optional string list_name = 1; optional string list_name = 1;
optional ServerInfo_User user_info = 2; optional ServerInfo_User user_info = 2;
} }

View file

@ -1,12 +1,13 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_AttachCard { message Event_AttachCard {
extend GameEvent { extend GameEvent {
optional Event_AttachCard ext = 2012; optional Event_AttachCard ext = 2012;
} }
optional string start_zone = 1; optional string start_zone = 1;
optional sint32 card_id = 2; optional sint32 card_id = 2;
optional sint32 target_player_id = 3; optional sint32 target_player_id = 3;
optional string target_zone = 4; optional string target_zone = 4;
optional sint32 target_card_id = 5; optional sint32 target_card_id = 5;
} }

View file

@ -1,10 +1,11 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_ChangeZoneProperties { message Event_ChangeZoneProperties {
extend GameEvent { extend GameEvent {
optional Event_ChangeZoneProperties ext = 2020; optional Event_ChangeZoneProperties ext = 2020;
} }
optional string zone_name = 1; optional string zone_name = 1;
optional bool always_reveal_top_card = 10; optional bool always_reveal_top_card = 10;
} }

View file

@ -1,20 +1,21 @@
syntax = "proto2";
import "session_event.proto"; import "session_event.proto";
message Event_ConnectionClosed { message Event_ConnectionClosed {
extend SessionEvent { extend SessionEvent {
optional Event_ConnectionClosed ext = 1002; optional Event_ConnectionClosed ext = 1002;
} }
enum CloseReason { enum CloseReason {
OTHER = 1; OTHER = 1;
SERVER_SHUTDOWN = 2; SERVER_SHUTDOWN = 2;
TOO_MANY_CONNECTIONS = 3; TOO_MANY_CONNECTIONS = 3;
BANNED = 4; BANNED = 4;
USERNAMEINVALID = 5; USERNAMEINVALID = 5;
USER_LIMIT_REACHED = 6; USER_LIMIT_REACHED = 6;
DEMOTED = 7; DEMOTED = 7;
LOGGEDINELSEWERE = 8; LOGGEDINELSEWERE = 8;
} }
optional CloseReason reason = 1; optional CloseReason reason = 1;
optional string reason_str = 2; optional string reason_str = 2;
optional uint32 end_time = 3; optional uint32 end_time = 3;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
import "serverinfo_arrow.proto"; import "serverinfo_arrow.proto";
message Event_CreateArrow { message Event_CreateArrow {
extend GameEvent { extend GameEvent {
optional Event_CreateArrow ext = 2000; optional Event_CreateArrow ext = 2000;
} }
optional ServerInfo_Arrow arrow_info = 1; optional ServerInfo_Arrow arrow_info = 1;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
import "serverinfo_counter.proto"; import "serverinfo_counter.proto";
message Event_CreateCounter { message Event_CreateCounter {
extend GameEvent { extend GameEvent {
optional Event_CreateCounter ext = 2002; optional Event_CreateCounter ext = 2002;
} }
optional ServerInfo_Counter counter_info = 1; optional ServerInfo_Counter counter_info = 1;
} }

View file

@ -1,16 +1,17 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_CreateToken { message Event_CreateToken {
extend GameEvent { extend GameEvent {
optional Event_CreateToken ext = 2013; optional Event_CreateToken ext = 2013;
} }
optional string zone_name = 1; optional string zone_name = 1;
optional sint32 card_id = 2; optional sint32 card_id = 2;
optional string card_name = 3; optional string card_name = 3;
optional string color = 4; optional string color = 4;
optional string pt = 5; optional string pt = 5;
optional string annotation = 6; optional string annotation = 6;
optional bool destroy_on_zone_change = 7; optional bool destroy_on_zone_change = 7;
optional sint32 x = 8; optional sint32 x = 8;
optional sint32 y = 9; optional sint32 y = 9;
} }

View file

@ -1,8 +1,9 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_DelCounter { message Event_DelCounter {
extend GameEvent { extend GameEvent {
optional Event_DelCounter ext = 2004; optional Event_DelCounter ext = 2004;
} }
optional sint32 counter_id = 1; optional sint32 counter_id = 1;
} }

View file

@ -1,8 +1,9 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_DeleteArrow { message Event_DeleteArrow {
extend GameEvent { extend GameEvent {
optional Event_DeleteArrow ext = 2001; optional Event_DeleteArrow ext = 2001;
} }
optional sint32 arrow_id = 1; optional sint32 arrow_id = 1;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_DestroyCard { message Event_DestroyCard {
extend GameEvent { extend GameEvent {
optional Event_DestroyCard ext = 2011; optional Event_DestroyCard ext = 2011;
} }
optional string zone_name = 1; optional string zone_name = 1;
optional uint32 card_id = 2; optional uint32 card_id = 2;
} }

View file

@ -1,10 +1,11 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
import "serverinfo_card.proto"; import "serverinfo_card.proto";
message Event_DrawCards { message Event_DrawCards {
extend GameEvent { extend GameEvent {
optional Event_DrawCards ext = 2005; optional Event_DrawCards ext = 2005;
} }
optional sint32 number = 1; optional sint32 number = 1;
repeated ServerInfo_Card cards = 2; repeated ServerInfo_Card cards = 2;
} }

View file

@ -1,10 +1,11 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_DumpZone { message Event_DumpZone {
extend GameEvent { extend GameEvent {
optional Event_DumpZone ext = 2018; optional Event_DumpZone ext = 2018;
} }
optional sint32 zone_owner_id = 1; optional sint32 zone_owner_id = 1;
optional string zone_name = 2; optional string zone_name = 2;
optional sint32 number_cards = 3; optional sint32 number_cards = 3;
} }

View file

@ -1,11 +1,12 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_FlipCard { message Event_FlipCard {
extend GameEvent { extend GameEvent {
optional Event_FlipCard ext = 2010; optional Event_FlipCard ext = 2010;
} }
optional string zone_name = 1; optional string zone_name = 1;
optional sint32 card_id = 2; optional sint32 card_id = 2;
optional string card_name = 3; optional string card_name = 3;
optional bool face_down = 4; optional bool face_down = 4;
} }

View file

@ -1,7 +1,8 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_GameClosed { message Event_GameClosed {
extend GameEvent { extend GameEvent {
optional Event_GameClosed ext = 1002; optional Event_GameClosed ext = 1002;
} }
} }

View file

@ -1,8 +1,9 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_GameHostChanged { message Event_GameHostChanged {
extend GameEvent { extend GameEvent {
optional Event_GameHostChanged ext = 1003; optional Event_GameHostChanged ext = 1003;
} }
} }

View file

@ -1,15 +1,16 @@
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";
message Event_GameJoined { message Event_GameJoined {
extend SessionEvent { extend SessionEvent {
optional Event_GameJoined ext = 1009; optional Event_GameJoined ext = 1009;
} }
optional ServerInfo_Game game_info = 1; optional ServerInfo_Game game_info = 1;
repeated ServerInfo_GameType game_types = 2; repeated ServerInfo_GameType game_types = 2;
optional sint32 host_id = 3; optional sint32 host_id = 3;
optional sint32 player_id = 4; optional sint32 player_id = 4;
optional bool spectator = 5; optional bool spectator = 5;
optional bool resuming = 6; optional bool resuming = 6;
} }

View file

@ -1,8 +1,9 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_GameSay { message Event_GameSay {
extend GameEvent { extend GameEvent {
optional Event_GameSay ext = 1009; optional Event_GameSay ext = 1009;
} }
optional string message = 1; optional string message = 1;
} }

View file

@ -1,13 +1,14 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
import "serverinfo_player.proto"; import "serverinfo_player.proto";
message Event_GameStateChanged { message Event_GameStateChanged {
extend GameEvent { extend GameEvent {
optional Event_GameStateChanged ext = 1005; optional Event_GameStateChanged ext = 1005;
} }
repeated ServerInfo_Player player_list = 1; repeated ServerInfo_Player player_list = 1;
optional bool game_started = 2; optional bool game_started = 2;
optional sint32 active_player_id = 3; optional sint32 active_player_id = 3;
optional sint32 active_phase = 4; optional sint32 active_phase = 4;
optional uint32 seconds_elapsed = 5; optional uint32 seconds_elapsed = 5;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
import "serverinfo_playerproperties.proto"; import "serverinfo_playerproperties.proto";
message Event_Join { message Event_Join {
extend GameEvent { extend GameEvent {
optional Event_Join ext = 1000; optional Event_Join ext = 1000;
} }
optional ServerInfo_PlayerProperties player_properties = 1; optional ServerInfo_PlayerProperties player_properties = 1;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "room_event.proto"; import "room_event.proto";
import "serverinfo_user.proto"; import "serverinfo_user.proto";
message Event_JoinRoom { message Event_JoinRoom {
extend RoomEvent { extend RoomEvent {
optional Event_JoinRoom ext = 1001; optional Event_JoinRoom ext = 1001;
} }
optional ServerInfo_User user_info = 1; optional ServerInfo_User user_info = 1;
} }

View file

@ -1,7 +1,8 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_Kicked { message Event_Kicked {
extend GameEvent { extend GameEvent {
optional Event_Kicked ext = 1004; optional Event_Kicked ext = 1004;
} }
} }

View file

@ -1,7 +1,8 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_Leave { message Event_Leave {
extend GameEvent { extend GameEvent {
optional Event_Leave ext = 1001; optional Event_Leave ext = 1001;
} }
} }

View file

@ -1,10 +1,11 @@
syntax = "proto2";
import "room_event.proto"; import "room_event.proto";
message Event_LeaveRoom { message Event_LeaveRoom {
extend RoomEvent { extend RoomEvent {
optional Event_LeaveRoom ext = 1000; optional Event_LeaveRoom ext = 1000;
} }
optional string name = 1; optional string name = 1;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "room_event.proto"; import "room_event.proto";
import "serverinfo_game.proto"; import "serverinfo_game.proto";
message Event_ListGames { message Event_ListGames {
extend RoomEvent { extend RoomEvent {
optional Event_ListGames ext = 1003; optional Event_ListGames ext = 1003;
} }
repeated ServerInfo_Game game_list = 1; repeated ServerInfo_Game game_list = 1;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "session_event.proto"; import "session_event.proto";
import "serverinfo_room.proto"; import "serverinfo_room.proto";
message Event_ListRooms { message Event_ListRooms {
extend SessionEvent { extend SessionEvent {
optional Event_ListRooms ext = 1004; optional Event_ListRooms ext = 1004;
} }
repeated ServerInfo_Room room_list = 1; repeated ServerInfo_Room room_list = 1;
} }

View file

@ -1,18 +1,19 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_MoveCard { message Event_MoveCard {
extend GameEvent { extend GameEvent {
optional Event_MoveCard ext = 2009; optional Event_MoveCard ext = 2009;
} }
optional sint32 card_id = 1 [default = -1]; optional sint32 card_id = 1 [default = -1];
optional string card_name = 2; optional string card_name = 2;
optional sint32 start_player_id = 3 [default = -1]; optional sint32 start_player_id = 3 [default = -1];
optional string start_zone = 4; optional string start_zone = 4;
optional sint32 position = 5 [default = -1]; optional sint32 position = 5 [default = -1];
optional sint32 target_player_id = 6 [default = -1]; optional sint32 target_player_id = 6 [default = -1];
optional string target_zone = 7; optional string target_zone = 7;
optional sint32 x = 8 [default = -1]; optional sint32 x = 8 [default = -1];
optional sint32 y = 9 [default = -1]; optional sint32 y = 9 [default = -1];
optional sint32 new_card_id = 10 [default = -1]; optional sint32 new_card_id = 10 [default = -1];
optional bool face_down = 11; optional bool face_down = 11;
} }

View file

@ -1,14 +1,15 @@
syntax = "proto2";
import "session_event.proto"; import "session_event.proto";
message Event_NotifyUser { message Event_NotifyUser {
enum NotificationType { enum NotificationType {
PROMOTED = 1; PROMOTED = 1;
} }
extend SessionEvent { extend SessionEvent {
optional Event_NotifyUser ext = 1010; optional Event_NotifyUser ext = 1010;
} }
optional NotificationType type = 1; optional NotificationType type = 1;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
import "serverinfo_playerproperties.proto"; import "serverinfo_playerproperties.proto";
message Event_PlayerPropertiesChanged { message Event_PlayerPropertiesChanged {
extend GameEvent { extend GameEvent {
optional Event_PlayerPropertiesChanged ext = 1007; optional Event_PlayerPropertiesChanged ext = 1007;
} }
optional ServerInfo_PlayerProperties player_properties = 1; optional ServerInfo_PlayerProperties player_properties = 1;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "session_event.proto"; import "session_event.proto";
message Event_RemoveFromList { message Event_RemoveFromList {
extend SessionEvent { extend SessionEvent {
optional Event_RemoveFromList ext = 1006; optional Event_RemoveFromList ext = 1006;
} }
optional string list_name = 1; optional string list_name = 1;
optional string user_name = 2; optional string user_name = 2;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "session_event.proto"; import "session_event.proto";
import "serverinfo_replay_match.proto"; import "serverinfo_replay_match.proto";
message Event_ReplayAdded { message Event_ReplayAdded {
extend SessionEvent { extend SessionEvent {
optional Event_ReplayAdded ext = 1100; optional Event_ReplayAdded ext = 1100;
} }
optional ServerInfo_ReplayMatch match_info = 1; optional ServerInfo_ReplayMatch match_info = 1;
} }

View file

@ -1,13 +1,14 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
import "serverinfo_card.proto"; import "serverinfo_card.proto";
message Event_RevealCards { message Event_RevealCards {
extend GameEvent { extend GameEvent {
optional Event_RevealCards ext = 2006; optional Event_RevealCards ext = 2006;
} }
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 other_player_id = 3 [default = -1]; optional sint32 other_player_id = 3 [default = -1];
repeated ServerInfo_Card cards = 4; repeated ServerInfo_Card cards = 4;
optional bool grant_write_access = 5; optional bool grant_write_access = 5;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_RollDie { message Event_RollDie {
extend GameEvent { extend GameEvent {
optional Event_RollDie ext = 2008; optional Event_RollDie ext = 2008;
} }
optional uint32 sides = 1; optional uint32 sides = 1;
optional uint32 value = 2; optional uint32 value = 2;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "room_event.proto"; import "room_event.proto";
message Event_RoomSay { message Event_RoomSay {
extend RoomEvent { extend RoomEvent {
optional Event_RoomSay ext = 1002; optional Event_RoomSay ext = 1002;
} }
optional string name = 1; optional string name = 1;
optional string message = 2; optional string message = 2;
} }

View file

@ -1,12 +1,13 @@
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";
message Event_ServerCompleteList { message Event_ServerCompleteList {
extend SessionEvent { extend SessionEvent {
optional Event_ServerCompleteList ext = 600; optional Event_ServerCompleteList ext = 600;
} }
optional uint32 server_id = 1; optional uint32 server_id = 1;
repeated ServerInfo_User user_list = 2; repeated ServerInfo_User user_list = 2;
repeated ServerInfo_Room room_list = 3; repeated ServerInfo_Room room_list = 3;
} }

View file

@ -1,10 +1,11 @@
syntax = "proto2";
import "session_event.proto"; import "session_event.proto";
message Event_ServerIdentification { message Event_ServerIdentification {
extend SessionEvent { extend SessionEvent {
optional Event_ServerIdentification ext = 500; optional Event_ServerIdentification ext = 500;
} }
optional string server_name = 1; optional string server_name = 1;
optional string server_version = 2; optional string server_version = 2;
optional uint32 protocol_version = 3; optional uint32 protocol_version = 3;
} }

View file

@ -1,8 +1,9 @@
syntax = "proto2";
import "session_event.proto"; import "session_event.proto";
message Event_ServerMessage { message Event_ServerMessage {
extend SessionEvent { extend SessionEvent {
optional Event_ServerMessage ext = 1000; optional Event_ServerMessage ext = 1000;
} }
optional string message = 1; optional string message = 1;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "session_event.proto"; import "session_event.proto";
message Event_ServerShutdown { message Event_ServerShutdown {
extend SessionEvent { extend SessionEvent {
optional Event_ServerShutdown ext = 1001; optional Event_ServerShutdown ext = 1001;
} }
optional string reason = 1; optional string reason = 1;
optional uint32 minutes = 2; optional uint32 minutes = 2;
} }

View file

@ -1,8 +1,9 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_SetActivePhase { message Event_SetActivePhase {
extend GameEvent { extend GameEvent {
optional Event_SetActivePhase ext = 2017; optional Event_SetActivePhase ext = 2017;
} }
optional sint32 phase = 1; optional sint32 phase = 1;
} }

View file

@ -1,8 +1,9 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_SetActivePlayer { message Event_SetActivePlayer {
extend GameEvent { extend GameEvent {
optional Event_SetActivePlayer ext = 2016; optional Event_SetActivePlayer ext = 2016;
} }
optional sint32 active_player_id = 1; optional sint32 active_player_id = 1;
} }

View file

@ -1,12 +1,13 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
import "card_attributes.proto"; import "card_attributes.proto";
message Event_SetCardAttr { message Event_SetCardAttr {
extend GameEvent { extend GameEvent {
optional Event_SetCardAttr ext = 2014; optional Event_SetCardAttr ext = 2014;
} }
optional string zone_name = 1; optional string zone_name = 1;
optional sint32 card_id = 2; optional sint32 card_id = 2;
optional CardAttribute attribute = 3; optional CardAttribute attribute = 3;
optional string attr_value = 4; optional string attr_value = 4;
} }

View file

@ -1,11 +1,12 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_SetCardCounter { message Event_SetCardCounter {
extend GameEvent { extend GameEvent {
optional Event_SetCardCounter ext = 2015; optional Event_SetCardCounter ext = 2015;
} }
optional string zone_name = 1; optional string zone_name = 1;
optional sint32 card_id = 2; optional sint32 card_id = 2;
optional sint32 counter_id = 3; optional sint32 counter_id = 3;
optional sint32 counter_value = 4; optional sint32 counter_value = 4;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_SetCounter { message Event_SetCounter {
extend GameEvent { extend GameEvent {
optional Event_SetCounter ext = 2003; optional Event_SetCounter ext = 2003;
} }
optional sint32 counter_id = 1; optional sint32 counter_id = 1;
optional sint32 value = 2; optional sint32 value = 2;
} }

View file

@ -1,8 +1,9 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_Shuffle { message Event_Shuffle {
extend GameEvent { extend GameEvent {
optional Event_Shuffle ext = 2007; optional Event_Shuffle ext = 2007;
} }
optional string zone_name = 1; optional string zone_name = 1;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "game_event.proto"; import "game_event.proto";
message Event_StopDumpZone { message Event_StopDumpZone {
extend GameEvent { extend GameEvent {
optional Event_StopDumpZone ext = 2019; optional Event_StopDumpZone ext = 2019;
} }
optional sint32 zone_owner_id = 1; optional sint32 zone_owner_id = 1;
optional string zone_name = 2; optional string zone_name = 2;
} }

View file

@ -1,9 +1,10 @@
syntax = "proto2";
import "session_event.proto"; import "session_event.proto";
import "serverinfo_user.proto"; import "serverinfo_user.proto";
message Event_UserJoined { message Event_UserJoined {
extend SessionEvent { extend SessionEvent {
optional Event_UserJoined ext = 1007; optional Event_UserJoined ext = 1007;
} }
optional ServerInfo_User user_info = 1; optional ServerInfo_User user_info = 1;
} }

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