syntax = "proto3"; import "ShopGoods.proto"; message BuyGoodsReq { enum CmdId { option allow_alias = true; NONE = 0; CMD_ID = 703; ENET_CHANNEL_ID = 0; ENET_IS_RELIABLE = 1; IS_ALLOW_CLIENT = 1; } uint32 shopType = 1; ShopGoods goods = 2; uint32 buyCount = 3; }