进入和离开地图和房间协议合并

This commit is contained in:
2025-09-09 00:17:50 +08:00
parent ebb1a467c4
commit a2c5b61ba8
16 changed files with 228 additions and 287 deletions

View File

@@ -2,7 +2,7 @@ syntax = "proto3";
package Fantasy.Network.Message;
//************** 进入 离开 **********************
///用户进入地图
message Map2C_RoleEnterRoomNotify // ICustomRouteMessage,MapRoute
{
@@ -15,6 +15,8 @@ message Map2C_RoleExitRoomNotify // ICustomRouteMessage,MapRoute
int64 Id = 1;//离开人员
}
//************** 参数变化 **********************
///玩家状态变化同步
message Map2C_RoleStateNotify // ICustomRouteMessage,MapRoute
{
@@ -22,21 +24,21 @@ message Map2C_RoleStateNotify // ICustomRouteMessage,MapRoute
UnitStateInfo State = 2;
}
///玩家钓组状态变化
message Map2C_RoleGearStateNotify // ICustomRouteMessage,MapRoute
{
int64 Id = 1;
UnitFishingInfo State = 2;
}
///玩家钓组变化
message Map2C_RoleGearChangeNotify // ICustomRouteMessage,MapRoute
{
int64 Id = 1;
GearInfo Gears = 2; //钓组数据
repeated GearInfo Gears = 2; //钓组数据
}
//************** 移动 旋转 **********************
//玩家属性值变化
message Map2C_RolePropertyChangeNotify // ICustomRouteMessage,MapRoute
{
repeated KeyValueInt32 Propertys = 1; //变化的属性信息
}
//************** 移动 旋转 **********************
// 角色移动
message C2Map_Move // ICustomRouteMessage,MapRoute
{