2024-10-05 15:24:54 -05:00
|
|
|
syntax = "proto2";
|
2024-09-29 22:03:50 -05:00
|
|
|
|
|
|
|
|
package blitzkit;
|
|
|
|
|
|
2025-01-14 14:38:41 -06:00
|
|
|
import "packages/core/src/protos/i18n.proto";
|
|
|
|
|
|
2024-09-29 22:03:50 -05:00
|
|
|
message ConsumableDefinitions {
|
|
|
|
|
map<uint32, Consumable> consumables = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message Consumable {
|
2024-10-05 15:24:54 -05:00
|
|
|
required uint32 id = 1;
|
2025-01-14 14:38:41 -06:00
|
|
|
required I18nString name = 2;
|
2024-10-05 15:24:54 -05:00
|
|
|
required uint32 cooldown = 3;
|
2024-10-05 23:20:04 -05:00
|
|
|
optional float duration = 4;
|
2024-10-05 15:24:54 -05:00
|
|
|
required bool game_mode_exclusive = 5;
|
2024-09-29 22:03:50 -05:00
|
|
|
repeated ConsumableTankFilter include = 6;
|
|
|
|
|
repeated ConsumableTankFilter exclude = 7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message ConsumableTankFilter {
|
|
|
|
|
oneof filter_type {
|
2024-09-30 22:35:37 -05:00
|
|
|
ConsumableTankTierFilter tiers = 1;
|
2024-09-29 22:03:50 -05:00
|
|
|
ConsumableTankIdsFilter ids = 2;
|
2024-09-30 22:35:37 -05:00
|
|
|
ConsumableTankCategoryFilter categories = 3;
|
|
|
|
|
ConsumableTankNationFilter nations = 4;
|
2024-09-29 22:03:50 -05:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message ConsumableTankTierFilter {
|
2024-11-20 10:21:17 -06:00
|
|
|
required uint32 min = 1;
|
|
|
|
|
required uint32 max = 2;
|
2024-09-29 22:03:50 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message ConsumableTankIdsFilter {
|
|
|
|
|
repeated uint32 ids = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message ConsumableTankCategoryFilter {
|
|
|
|
|
repeated ConsumableTankCategoryFilterCategory categories = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
enum ConsumableTankCategoryFilterCategory {
|
2024-10-02 10:21:16 -05:00
|
|
|
CONSUMABLE_TANK_CATEGORY_FILTER_CATEGORY_CLIP = 0;
|
2024-09-29 22:03:50 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message ConsumableTankNationFilter {
|
|
|
|
|
repeated string nations = 1;
|
|
|
|
|
}
|