mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 16:24:45 -07:00
replays expire after two weeks, lock can be toggled to prevent that
This commit is contained in:
parent
a876a0bf5f
commit
acb03c2bf2
15 changed files with 127 additions and 23 deletions
|
|
@ -32,6 +32,7 @@ SET(PROTO_FILES
|
|||
command_ready_start.proto
|
||||
command_replay_list.proto
|
||||
command_replay_download.proto
|
||||
command_replay_modify_match.proto
|
||||
command_reveal_cards.proto
|
||||
command_roll_die.proto
|
||||
command_set_active_phase.proto
|
||||
|
|
|
|||
10
common/pb/command_replay_modify_match.proto
Normal file
10
common/pb/command_replay_modify_match.proto
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import "session_commands.proto";
|
||||
|
||||
message Command_ReplayModifyMatch {
|
||||
extend SessionCommand {
|
||||
optional Command_ReplayModifyMatch ext = 1102;
|
||||
}
|
||||
optional sint32 game_id = 1 [default = -1];
|
||||
optional bool do_not_hide = 2;
|
||||
}
|
||||
|
||||
|
|
@ -9,4 +9,5 @@ message ServerInfo_ReplayMatch {
|
|||
optional uint32 length = 5;
|
||||
optional string game_name = 6;
|
||||
repeated string player_names = 7;
|
||||
optional bool do_not_hide = 8;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ message SessionCommand {
|
|||
JOIN_ROOM = 1015;
|
||||
REPLAY_LIST = 1100;
|
||||
REPLAY_DOWNLOAD = 1101;
|
||||
REPLAY_MODIFY_MATCH = 1102;
|
||||
}
|
||||
extensions 100 to max;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue