syntax = "proto3"; option go_package = ".;pb"; import "items/items_db.proto"; //查询用户背包请求 message Pack_Getlist_Req { int32 IType = 1; //道具类型 } //查询用户背包请求 回应 message Pack_Getlist_Resp { repeated DB_UserItemData Grids = 1; //用户背包列表 } //使用物品请求 message Pack_UseItem_Req { int32 GridId = 1; //格子Id int32 ItemId = 2; //物品Id uint32 Amount = 3; //使用数量 } //使用物品请求 回应 message Pack_UseItem_Resp { } //出售道具请求sailitem message Pack_SellItem_Req { int32 GridId = 1; //格子Id int32 ItemId = 2; //物品Id uint32 Amount = 3; //使用数量 } //出售道具请求 回应 message Pack_SellItem_Resp { }