go_dreamfactory/pb/proto/pack_msg.proto
2022-06-07 19:50:08 +08:00

37 lines
691 B
Protocol Buffer

syntax = "proto3";
option go_package = ".;pb";
import "pack_db.proto";
//查询用户背包请求
message QueryUserPackReq {
int32 IType = 1;
}
//查询用户背包请求 回应
message QueryUserPackResp {
repeated DB_GridData Grids = 1;
}
//使用物品请求
message UseItemReq {
int32 GridId = 1; //格子Id
int32 ItemId = 2; //物品Id
uint32 Amount = 3; //使用数量
}
//使用物品请求 回应
message UseItemResp {
}
//出售道具请求
message SellItemReq {
int32 GridId = 1; //格子Id
int32 ItemId = 2; //物品Id
uint32 Amount = 3; //使用数量
}
//出售道具请求 回应
message SellItemResp {
}