mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-20 02:45:52 +01:00
[BREAKING CHANGE] proto auto compiled by gradle (#226)
* [BREAK] proto auto compiled by gradle * [BREAK] move proto to submodule * update gitmodules * [BREAK] move proto to submodule * move proto to submodule * fix merge conflict * fix github action after merging * fix merge conflicts and del submodule * upload the proto
This commit is contained in:
23
proto/ShopCardProduct.proto
Executable file
23
proto/ShopCardProduct.proto
Executable file
@@ -0,0 +1,23 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "ItemParam.proto";
|
||||
|
||||
message ShopCardProduct {
|
||||
message ResinCard {
|
||||
repeated ItemParam base_item_list = 1;
|
||||
repeated ItemParam per_day_item_list = 2;
|
||||
}
|
||||
|
||||
oneof ExtraCardData {
|
||||
ResinCard resin_card = 101;
|
||||
}
|
||||
string product_id = 1;
|
||||
string price_tier = 2;
|
||||
uint32 mcoin_base = 3;
|
||||
uint32 hcoin_per_day = 4;
|
||||
uint32 days = 5;
|
||||
uint32 remain_reward_days = 6;
|
||||
uint32 card_product_type = 7;
|
||||
}
|
||||
Reference in New Issue
Block a user