定义
This commit is contained in:
@@ -1,3 +1,86 @@
|
||||
syntax = "proto3";
|
||||
package Fantasy.Network.Message;
|
||||
|
||||
////////////// ******** 物品信息 *******/////////////
|
||||
|
||||
///请求背包列表
|
||||
message C2Game_GetItemsRequest // ICustomRouteRequest,Game2C_GetItemsResponse,GameRoute
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
///请求背包列表响应
|
||||
message Game2C_GetItemsResponse // ICustomRouteResponse
|
||||
{
|
||||
repeated ItemInfo Items = 1; //物品信息
|
||||
repeated ItemBindInfo Rigs = 2; //钓组信息
|
||||
}
|
||||
|
||||
///请求使用物品
|
||||
message C2Game_UseItemRequest // ICustomRouteRequest,Game2C_UseItemResponse,GameRoute
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
///请求使用物品响应
|
||||
message Game2C_UseItemResponse // ICustomRouteResponse
|
||||
{
|
||||
}
|
||||
|
||||
///物品变化
|
||||
message Game2C_ItemChange // ICustomRouteMessage,GameRoute
|
||||
{
|
||||
int32 Type = 1; //变化类型 0.新增 1,更新 -1删除
|
||||
repeated ItemInfo Items = 2; //物品信息
|
||||
repeated int64 Removes = 3; //移除物品(移除时有)
|
||||
}
|
||||
|
||||
|
||||
////////////// ******** 鱼护 *******/////////////
|
||||
|
||||
///请求鱼护列表
|
||||
message C2Game_GetFishsRequest // ICustomRouteRequest,Game2C_GetFishsResponse,GameRoute
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
///请求鱼护列表响应
|
||||
message Game2C_GetFishsResponse // ICustomRouteResponse
|
||||
{
|
||||
repeated FishInfo Fishs = 1;
|
||||
}
|
||||
|
||||
///鱼护变化
|
||||
message Game2C_FishChange // ICustomRouteMessage,GameRoute
|
||||
{
|
||||
int32 Type = 1; //变化类型 0.新增 1,更新 -1删除
|
||||
repeated FishInfo Fishs = 2; //物品信息
|
||||
repeated int64 Removes = 3; //移除物品(移除时有)
|
||||
}
|
||||
|
||||
///请求出售
|
||||
message C2Game_SellFishRequest // ICustomRouteRequest,Game2C_SellFishResponse,GameRoute
|
||||
{
|
||||
repeated int64 Ids = 1; //出售id
|
||||
}
|
||||
|
||||
///请求出售响应
|
||||
message Game2C_SellFishResponse // ICustomRouteResponse
|
||||
{
|
||||
repeated AwardInfo Awards = 1; //奖励
|
||||
}
|
||||
|
||||
|
||||
////////////// ******** 商店 *******/////////////
|
||||
|
||||
///请求购买
|
||||
message C2Game_BuyRequest // ICustomRouteRequest,Game2C_GetFishsResponse,GameRoute
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
///请求购买响应
|
||||
message Game2C_BuyResponse // ICustomRouteResponse
|
||||
{
|
||||
repeated AwardInfo Awards = 1; //奖励
|
||||
}
|
||||
Reference in New Issue
Block a user