Files
Fishing2Server/Config/NetworkProtocol/Outer/MapMessage.proto
2025-08-20 23:57:33 +08:00

30 lines
600 B
Protocol Buffer
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
syntax = "proto3";
package Fantasy.Network.Message;
message MapRoleInfo
{
int64 Id;
}
message C2Map_EnterMapRequest // ICustomRouteRequest,Map2C_EnterMapResponse,MapRoute
{
int32 MapId = 1;//地图id
int64 RoomId = 2;//房间id如果联机则有
}
message Map2C_EnterMapResponse // ICustomRouteResponse
{
repeated MapRoleInfo Roles = 1;//地图玩家列表
}
///用户进入地图
message Map2C_RoleEnterMap // ICustomRouteMessage,MapRoute
{
MapRoleInfo Info = 1;
}
///用户离开地图
message Map2C_RoleExitMap // ICustomRouteMessage,MapRoute
{
int64 Id = 1;//离开人员
}