GC-Proto/proto/ShopCardProduct.proto

24 lines
461 B
Protocol Buffer
Raw Normal View History

2022-11-06 15:30:21 +03:00
syntax = "proto3";
2023-01-28 18:50:00 +03:00
option java_package = "emu.grasscutter.net.proto";
2022-11-06 15:30:21 +03:00
2023-01-28 17:00:48 +03:00
import "ItemParam.proto";
2022-11-06 15:30:21 +03:00
message ShopCardProduct {
2023-01-28 17:00:48 +03:00
message ResinCard {
repeated ItemParam baseItemList = 1;
repeated ItemParam perDayItemList = 2;
}
2022-12-05 15:02:30 +03:00
2023-01-28 17:00:48 +03:00
string productId = 1;
string priceTier = 2;
uint32 mcoinBase = 3;
uint32 hcoinPerDay = 4;
uint32 days = 5;
uint32 remainRewardDays = 6;
uint32 cardProductType = 7;
2023-01-29 07:22:25 +03:00
oneof extra_card_data {
2023-01-28 17:00:48 +03:00
ResinCard resin_card = 101;
}
2022-11-06 15:30:21 +03:00
}