GC-Proto/proto/ShopGoods.proto

35 lines
882 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";
2023-05-23 13:12:42 +03:00
import "ItemParam.proto";
2024-06-23 18:33:14 +03:00
// 4.7.0
2022-11-06 15:30:21 +03:00
message ShopGoods {
2024-07-22 06:47:23 +03:00
ItemParam goods_item = 6; // OK
uint32 end_time = 3; // OK
uint32 begin_time = 12; // OK
repeated ItemParam cost_item_list = 10; // OK
repeated uint32 pre_goods_id_list = 15; // OK
uint32 goods_id = 11; // OK
uint32 next_refresh_time = 14; // OK
uint32 bought_num = 2; // OK (1x maybe ok too but this limit other, 7=mora)
uint32 buy_limit = 9; // ?
uint32 max_level = 5; // OK
uint32 min_level = 4; // OK
uint32 hcoin = 13; // LOCK
uint32 scoin = 7; // LOCK
uint32 mcoin = 8; // LOCK
//Hcoin: Primogem
//Scoin: Mora
//Mcoin: Genesis crystal
//uint32 secondary_sheet_id = 663;
//uint32 single_limit = 133;
//uint32 discount_id = 150;
//uint32 discount_end_time = 821;
//uint32 discount_begin_time = 410;
2022-11-06 15:30:21 +03:00
}