提交进入地图和创建房间相关逻辑和协议

This commit is contained in:
2025-08-27 18:05:55 +08:00
parent f6d85a1e0a
commit 94af0e5ddb
31 changed files with 562 additions and 68 deletions

View File

@@ -66,4 +66,25 @@ message Map2G_EnterRoomResponse // IRouteResponse
{
string RoomCode = 1; //房间代码
repeated MapUnitInfo Units = 2; //房间玩家列表
}
/// 请求离开房间
message G2Map_ExitRoomRequest // IRouteRequest,Map2G_ExiRoomResponse
{
string RoomCode = 1; //房间代码
int64 AccountId = 2; //账号id
}
/// 请求离开房间响应
message Map2G_ExiRoomResponse // IRouteResponse
{
}
/// 通知网关切换地图
message Map2G_ChangeMapMessage // IRouteMessage
{
int32 MapId = 1;
int32 Node = 2; //站位节点
}