服务合并

This commit is contained in:
Bob.Song
2026-03-11 10:15:34 +08:00
parent 945ffe9861
commit c2ec7226c0
68 changed files with 866 additions and 1032 deletions

View File

@@ -4,13 +4,13 @@ package Fantasy.Network.Message;
//************** 进入 离开 **********************
///用户进入地图
message Map2C_RoleEnterRoomNotify // ICustomRouteMessage,GameRoute
message Game2C_RoleEnterRoomNotify // ICustomRouteMessage,GameRoute
{
MapUnitInfo Info = 2;
}
///用户离开地图
message Map2C_RoleExitRoomNotify // ICustomRouteMessage,GameRoute
message Game2C_RoleExitRoomNotify // ICustomRouteMessage,GameRoute
{
int64 Id = 1;//离开人员
}
@@ -18,14 +18,14 @@ message Map2C_RoleExitRoomNotify // ICustomRouteMessage,GameRoute
//************** 物品变化 **********************
/// 请求拿起物品
message C2Map_TakeItemRequest // ICustomRouteRequest,Map2C_TakeItemResponse,GameRoute
message C2Game_TakeItemRequest // ICustomRouteRequest,Game2C_TakeItemResponse,GameRoute
{
int32 Id = 1; //物品id
bool Task = 2; //拿起
}
/// 请求拿起物品响应
message Map2C_TakeItemResponse // ICustomRouteResponse
message Game2C_TakeItemResponse // ICustomRouteResponse
{
int32 Id = 1; //物品id
bool Task = 2; //拿起
@@ -33,27 +33,27 @@ message Map2C_TakeItemResponse // ICustomRouteResponse
//************** 参数变化 **********************
message C2Map_RolePropertyChange // ICustomRouteMessage,GameRoute
message C2Game_RolePropertyChange // ICustomRouteMessage,GameRoute
{
repeated KeyValueInt64 Propertys = 1; //变化的属性信息
}
///玩家状态变化同步
message Map2C_RoleStateNotify // ICustomRouteMessage,GameRoute
message Game2C_RoleStateNotify // ICustomRouteMessage,GameRoute
{
int64 Id = 1;
UnitStateInfo State = 2;
}
///玩家钓组变化
message Map2C_RoleGearChangeNotify // ICustomRouteMessage,GameRoute
message Game2C_RoleGearChangeNotify // ICustomRouteMessage,GameRoute
{
int64 Id = 1;
repeated GearInfo Gears = 2; //钓组数据
}
//玩家属性值变化
message Map2C_RolePropertyChangeNotify // ICustomRouteMessage,GameRoute
message Game2C_RolePropertyChangeNotify // ICustomRouteMessage,GameRoute
{
int64 Id = 1;
repeated KeyValueInt64 Propertys = 2; //变化的属性信息
@@ -64,7 +64,7 @@ message Map2C_RolePropertyChangeNotify // ICustomRouteMessage,GameRoute
//************** 移动 旋转 **********************
// 角色移动
message C2Map_Move // ICustomRouteMessage,GameRoute
message C2Game_Move // ICustomRouteMessage,GameRoute
{
Vector3Info Position = 1; //当前位置
Vector3Info Rotation = 2; //角色方向
@@ -75,14 +75,14 @@ message C2Map_Move // ICustomRouteMessage,GameRoute
}
// 角色朝向变化
message C2Map_Look // ICustomRouteMessage,GameRoute
message C2Game_Look // ICustomRouteMessage,GameRoute
{
Vector3Info Rotation = 1; //角色方向
int64 Timestamp = 2; // 时间点
}
///玩家移动推送
message Map2C_MoveNotify // ICustomRouteMessage,GameRoute
message Game2C_MoveNotify // ICustomRouteMessage,GameRoute
{
int64 Id = 1; // id
Vector3Info Position = 2; //当前位置
@@ -94,7 +94,7 @@ message Map2C_MoveNotify // ICustomRouteMessage,GameRoute
}
///玩家旋转推送
message Map2C_LookeNotify // ICustomRouteMessage,GameRoute
message Game2C_LookeNotify // ICustomRouteMessage,GameRoute
{
int64 Id = 1; // id
Vector3Info Rotation = 2; //角色方向