商店刷新
parent
d88f58b835
commit
7035b62cc4
|
@ -38,6 +38,9 @@ enum MessageType{
|
|||
ARENA_DEFENSE_RESPONSE = 10015;
|
||||
|
||||
// B 10100
|
||||
BUY_STORE_ITEM_REQUEST = 10100; // 购买商店物品
|
||||
BUY_STORE_ITEM_RESPONSE = 10101;
|
||||
|
||||
// C 10200
|
||||
COOK_FOOD_REQUEST = 10200; // 制作美食
|
||||
COOK_FOOD_RESPONSE = 10201;
|
||||
|
@ -186,6 +189,10 @@ enum MessageType{
|
|||
|
||||
SECRETBOX_RANDOM_REQUEST = 11811; //秘盒抽取
|
||||
SECRETBOX_RANDOM_RESPONSE = 11812;
|
||||
|
||||
STORE_GOODS_REFRESH_REQUEST = 11813; //商店刷新
|
||||
STORE_GOODS_REFRESH_RESPONSE= 11814;
|
||||
|
||||
// T 11900
|
||||
TRIGGER_EVENT_REQUEST = 11900; //
|
||||
TRIGGER_EVENT_RESPONSE = 11901;
|
||||
|
|
|
@ -166,6 +166,24 @@ import "CommonProto.proto";
|
|||
optional Drop extrarReward =2; //额外奖励
|
||||
}
|
||||
|
||||
message GetStoreInfos{
|
||||
message GetStoreInfosResponse{
|
||||
repeated StoreInfo StoreInfo = 1; //商店信息
|
||||
}
|
||||
}
|
||||
|
||||
message BuyStoreItemRequest{
|
||||
optional int32 storeId =1;//商店id
|
||||
optional int32 itemId =2; //物品id
|
||||
optional int32 itemNum =3; //物品数量
|
||||
}
|
||||
|
||||
message BuyStoreItemResponse{
|
||||
optional Drop drop = 1; //抽取到的物品
|
||||
}
|
||||
|
||||
message StoreGoodsRefreshRequest{
|
||||
optional int32 type =1; //0:手动刷新 1: 自动刷新
|
||||
optional int32 storeId = 2; //商店id
|
||||
}
|
||||
message StoreGoodsRefreshResponse{
|
||||
optional StoreInfo StoreInfo = 1; //商店信息
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue