mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
new protos
This commit is contained in:
parent
f31d30bf84
commit
a1076f9859
6 changed files with 33 additions and 0 deletions
|
|
@ -37,6 +37,8 @@ set(PROTO_FILES
|
||||||
command_replay_list.proto
|
command_replay_list.proto
|
||||||
command_replay_download.proto
|
command_replay_download.proto
|
||||||
command_replay_modify_match.proto
|
command_replay_modify_match.proto
|
||||||
|
command_replay_get_code.proto
|
||||||
|
command_replay_submit_code.proto
|
||||||
command_reveal_cards.proto
|
command_reveal_cards.proto
|
||||||
command_reverse_turn.proto
|
command_reverse_turn.proto
|
||||||
command_roll_die.proto
|
command_roll_die.proto
|
||||||
|
|
@ -130,6 +132,7 @@ set(PROTO_FILES
|
||||||
response_password_salt.proto
|
response_password_salt.proto
|
||||||
response_register.proto
|
response_register.proto
|
||||||
response_replay_download.proto
|
response_replay_download.proto
|
||||||
|
response_replay_get_code.proto
|
||||||
response_replay_list.proto
|
response_replay_list.proto
|
||||||
response_viewlog_history.proto
|
response_viewlog_history.proto
|
||||||
response_warn_history.proto
|
response_warn_history.proto
|
||||||
|
|
|
||||||
9
common/pb/command_replay_get_code.proto
Normal file
9
common/pb/command_replay_get_code.proto
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
syntax = "proto2";
|
||||||
|
import "session_commands.proto";
|
||||||
|
|
||||||
|
message Command_ReplayGetCode {
|
||||||
|
extend SessionCommand {
|
||||||
|
optional Command_ReplayGetCode ext = 1104;
|
||||||
|
}
|
||||||
|
optional sint32 game_id = 1 [default = -1];
|
||||||
|
}
|
||||||
9
common/pb/command_replay_submit_code.proto
Normal file
9
common/pb/command_replay_submit_code.proto
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
syntax = "proto2";
|
||||||
|
import "session_commands.proto";
|
||||||
|
|
||||||
|
message Command_ReplaySubmitCode {
|
||||||
|
extend SessionCommand {
|
||||||
|
optional Command_ReplaySubmitCode ext = 1105;
|
||||||
|
}
|
||||||
|
optional string replay_code = 1;
|
||||||
|
}
|
||||||
|
|
@ -65,6 +65,7 @@ message Response {
|
||||||
GET_ADMIN_NOTES = 1018;
|
GET_ADMIN_NOTES = 1018;
|
||||||
REPLAY_LIST = 1100;
|
REPLAY_LIST = 1100;
|
||||||
REPLAY_DOWNLOAD = 1101;
|
REPLAY_DOWNLOAD = 1101;
|
||||||
|
REPLAY_GET_CODE = 1102;
|
||||||
}
|
}
|
||||||
required uint64 cmd_id = 1;
|
required uint64 cmd_id = 1;
|
||||||
optional ResponseCode response_code = 2;
|
optional ResponseCode response_code = 2;
|
||||||
|
|
|
||||||
9
common/pb/response_replay_get_code.proto
Normal file
9
common/pb/response_replay_get_code.proto
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
syntax = "proto2";
|
||||||
|
import "response.proto";
|
||||||
|
|
||||||
|
message Response_ReplayGetCode {
|
||||||
|
extend Response {
|
||||||
|
optional Response_ReplayGetCode ext = 1102;
|
||||||
|
}
|
||||||
|
optional string replay_code = 1;
|
||||||
|
}
|
||||||
|
|
@ -31,6 +31,8 @@ message SessionCommand {
|
||||||
REPLAY_DOWNLOAD = 1101;
|
REPLAY_DOWNLOAD = 1101;
|
||||||
REPLAY_MODIFY_MATCH = 1102;
|
REPLAY_MODIFY_MATCH = 1102;
|
||||||
REPLAY_DELETE_MATCH = 1103;
|
REPLAY_DELETE_MATCH = 1103;
|
||||||
|
REPLAY_GET_CODE = 1104;
|
||||||
|
REPLAY_SUBMIT_CODE = 1105;
|
||||||
}
|
}
|
||||||
extensions 100 to max;
|
extensions 100 to max;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue