协议修改

This commit is contained in:
2025-09-25 23:22:07 +08:00
parent ddffaac7b3
commit 5218bc7585
16 changed files with 159 additions and 125 deletions

View File

@@ -6,7 +6,7 @@ package Fantasy.Network.Message;
///用户进入地图
message Map2C_RoleEnterRoomNotify // ICustomRouteMessage,MapRoute
{
MapUnitInfo Info = 1;
MapUnitInfo Info = 2;
}
///用户离开地图
@@ -16,6 +16,10 @@ message Map2C_RoleExitRoomNotify // ICustomRouteMessage,MapRoute
}
//************** 参数变化 **********************
message C2Map_RolePropertyChange // ICustomRouteMessage,MapRoute
{
repeated KeyValueInt64 Propertys = 1; //变化的属性信息
}
///玩家状态变化同步
message Map2C_RoleStateNotify // ICustomRouteMessage,MapRoute
@@ -34,9 +38,12 @@ message Map2C_RoleGearChangeNotify // ICustomRouteMessage,MapRoute
//玩家属性值变化
message Map2C_RolePropertyChangeNotify // ICustomRouteMessage,MapRoute
{
repeated KeyValueInt32 Propertys = 1; //变化的属性信息
int64 Id = 1;
repeated KeyValueInt64 Propertys = 2; //变化的属性信息
}
//************** 移动 旋转 **********************
// 角色移动
@@ -46,7 +53,8 @@ message C2Map_Move // ICustomRouteMessage,MapRoute
Vector3Info Rotation = 2; //角色方向
Vector3Info Direction = 3; // 移动方向
bool IsStop = 4; // 是否是停止移动
int64 Timestamp = 5; // 时间点
bool IsRun = 5;
int64 Timestamp = 6; // 时间点
}
// 角色朝向变化