GC-Proto/proto/MaterialDeleteInfo.proto

29 lines
603 B
Protocol Buffer
Raw Normal View History

2022-11-06 15:30:21 +03:00
syntax = "proto3";
2023-01-28 17:00:48 +03:00
option java_package = "emu.grasscutter.net.proto";
2023-01-28 17:00:48 +03:00
message MaterialDeleteInfo {
message CountDownDelete {
map<uint32, uint32> deleteTimeNumMap = 1;
uint32 configCountDownTime = 2;
}
message DateTimeDelete {
uint32 deleteTime = 1;
}
message DelayWeekCountDownDelete {
map<uint32, uint32> deleteTimeNumMap = 1;
uint32 configDelayWeek = 2;
uint32 configCountDownTime = 3;
}
2022-12-05 15:02:30 +03:00
2023-01-28 17:00:48 +03:00
bool hasDeleteConfig = 1;
2023-01-29 06:17:24 +03:00
oneof delete_info {
2023-01-28 17:00:48 +03:00
CountDownDelete count_down_delete = 2;
DateTimeDelete date_delete = 3;
DelayWeekCountDownDelete delay_week_count_down_delete = 4;
}
2022-11-06 15:30:21 +03:00
}