新增逻辑
This commit is contained in:
@@ -4,39 +4,56 @@ package Fantasy.Network.Message;
|
||||
|
||||
//************** 进入 离开 **********************
|
||||
///用户进入地图
|
||||
message Map2C_RoleEnterRoomNotify // ICustomRouteMessage,MapRoute
|
||||
message Map2C_RoleEnterRoomNotify // ICustomRouteMessage,GameRoute
|
||||
{
|
||||
MapUnitInfo Info = 2;
|
||||
}
|
||||
|
||||
///用户离开地图
|
||||
message Map2C_RoleExitRoomNotify // ICustomRouteMessage,MapRoute
|
||||
message Map2C_RoleExitRoomNotify // ICustomRouteMessage,GameRoute
|
||||
{
|
||||
int64 Id = 1;//离开人员
|
||||
}
|
||||
|
||||
//************** 物品变化 **********************
|
||||
|
||||
/// 请求拿起物品
|
||||
message C2Map_TakeItemRequest // ICustomRouteRequest,Map2C_TakeItemResponse,GameRoute
|
||||
{
|
||||
int32 Id = 1; //物品id
|
||||
bool Task = 2; //拿起
|
||||
}
|
||||
|
||||
/// 请求拿起物品响应
|
||||
message Map2C_TakeItemResponse // ICustomRouteResponse
|
||||
{
|
||||
int32 Id = 1; //物品id
|
||||
bool Task = 2; //拿起
|
||||
}
|
||||
|
||||
|
||||
//************** 参数变化 **********************
|
||||
message C2Map_RolePropertyChange // ICustomRouteMessage,MapRoute
|
||||
message C2Map_RolePropertyChange // ICustomRouteMessage,GameRoute
|
||||
{
|
||||
repeated KeyValueInt64 Propertys = 1; //变化的属性信息
|
||||
}
|
||||
|
||||
///玩家状态变化同步
|
||||
message Map2C_RoleStateNotify // ICustomRouteMessage,MapRoute
|
||||
message Map2C_RoleStateNotify // ICustomRouteMessage,GameRoute
|
||||
{
|
||||
int64 Id = 1;
|
||||
UnitStateInfo State = 2;
|
||||
}
|
||||
|
||||
///玩家钓组变化
|
||||
message Map2C_RoleGearChangeNotify // ICustomRouteMessage,MapRoute
|
||||
message Map2C_RoleGearChangeNotify // ICustomRouteMessage,GameRoute
|
||||
{
|
||||
int64 Id = 1;
|
||||
repeated GearInfo Gears = 2; //钓组数据
|
||||
}
|
||||
|
||||
//玩家属性值变化
|
||||
message Map2C_RolePropertyChangeNotify // ICustomRouteMessage,MapRoute
|
||||
message Map2C_RolePropertyChangeNotify // ICustomRouteMessage,GameRoute
|
||||
{
|
||||
int64 Id = 1;
|
||||
repeated KeyValueInt64 Propertys = 2; //变化的属性信息
|
||||
@@ -47,7 +64,7 @@ message Map2C_RolePropertyChangeNotify // ICustomRouteMessage,MapRoute
|
||||
//************** 移动 旋转 **********************
|
||||
|
||||
// 角色移动
|
||||
message C2Map_Move // ICustomRouteMessage,MapRoute
|
||||
message C2Map_Move // ICustomRouteMessage,GameRoute
|
||||
{
|
||||
Vector3Info Position = 1; //当前位置
|
||||
Vector3Info Rotation = 2; //角色方向
|
||||
@@ -58,14 +75,14 @@ message C2Map_Move // ICustomRouteMessage,MapRoute
|
||||
}
|
||||
|
||||
// 角色朝向变化
|
||||
message C2Map_Look // ICustomRouteMessage,MapRoute
|
||||
message C2Map_Look // ICustomRouteMessage,GameRoute
|
||||
{
|
||||
Vector3Info Rotation = 1; //角色方向
|
||||
int64 Timestamp = 2; // 时间点
|
||||
}
|
||||
|
||||
///玩家移动推送
|
||||
message Map2C_MoveNotify // ICustomRouteMessage,MapRoute
|
||||
message Map2C_MoveNotify // ICustomRouteMessage,GameRoute
|
||||
{
|
||||
int64 Id = 1; // id
|
||||
Vector3Info Position = 2; //当前位置
|
||||
@@ -77,9 +94,11 @@ message Map2C_MoveNotify // ICustomRouteMessage,MapRoute
|
||||
}
|
||||
|
||||
///玩家旋转推送
|
||||
message Map2C_LookeNotify // ICustomRouteMessage,MapRoute
|
||||
message Map2C_LookeNotify // ICustomRouteMessage,GameRoute
|
||||
{
|
||||
int64 Id = 1; // id
|
||||
Vector3Info Rotation = 2; //角色方向
|
||||
int64 Timestamp = 3; // 时间点
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user