协议新增
This commit is contained in:
@@ -105,15 +105,45 @@ message Game2C_SellFishResponse // ICustomRouteResponse
|
||||
|
||||
|
||||
////////////// ******** 商店 *******/////////////
|
||||
///请求商店商品列表
|
||||
message C2Game_GetShopItemsRequest // ICustomRouteRequest,Game2C_GetShopItemsResponse,GameRoute
|
||||
{
|
||||
uint32 Shop = 1;//请求商店列表
|
||||
}
|
||||
|
||||
///请求商店商品列表响应
|
||||
message Game2C_GetShopItemsResponse // ICustomRouteResponse
|
||||
{
|
||||
repeated ShopItemInfo Items = 1; //列表
|
||||
}
|
||||
|
||||
///请求购买
|
||||
message C2Game_BuyRequest // ICustomRouteRequest,Game2C_GetFishsResponse,GameRoute
|
||||
{
|
||||
|
||||
uint32 BuyId = 1;//购买商品id
|
||||
}
|
||||
|
||||
///请求购买响应
|
||||
message Game2C_BuyResponse // ICustomRouteResponse
|
||||
{
|
||||
repeated AwardInfo Awards = 1; //奖励
|
||||
|
||||
}
|
||||
|
||||
///活动奖励推送
|
||||
message Game2C_RewardNotify // ICustomRouteMessage,GameRoute
|
||||
{
|
||||
repeated AwardInfo Awards = 1;
|
||||
}
|
||||
|
||||
////////////// ******** GM *******/////////////
|
||||
///请求执行GM
|
||||
message C2Game_GMRequest // ICustomRouteRequest,Game2C_GMResponse,GameRoute
|
||||
{
|
||||
string Cmd = 1;
|
||||
string Args = 2;
|
||||
}
|
||||
|
||||
///执行GM返回
|
||||
message Game2C_GMResponse // ICustomRouteResponse
|
||||
{
|
||||
}
|
||||
@@ -80,6 +80,15 @@ message ItemInfo
|
||||
int64 GetTime = 5; //获得时间
|
||||
int32 Abrasion = 6; //耐久度
|
||||
}
|
||||
///商店物品信息
|
||||
message ShopItemInfo
|
||||
{
|
||||
uint32 ConfigId = 1; //商品配置id
|
||||
uint32 Price = 2; //价格
|
||||
uint32 Currency = 3; //货币类型
|
||||
uint32 Sort = 4; //排序
|
||||
uint32 Tag = 5; //特殊标签
|
||||
}
|
||||
|
||||
///fish信息
|
||||
message FishInfo
|
||||
|
||||
Reference in New Issue
Block a user