进入和离开地图和房间协议合并
This commit is contained in:
@@ -14,41 +14,47 @@ message Map2C_CreateRoomResponse // ICustomRouteResponse
|
||||
repeated MapUnitInfo Units = 2; //房间玩家列表
|
||||
}
|
||||
|
||||
/// 请求网关进入房间
|
||||
message C2G_EnterRoomRequest // IRequest,G2C_EnterRoomResponse
|
||||
{
|
||||
string RoomCode = 1; //房间代码
|
||||
}
|
||||
/// 请求网关进入房间响应
|
||||
message G2C_EnterRoomResponse // IResponse
|
||||
{
|
||||
string RoomCode = 1; //房间代码
|
||||
repeated MapUnitInfo Units = 2; //房间玩家列表
|
||||
}
|
||||
|
||||
|
||||
/// 请求网关离开房间
|
||||
/// 请求网关离开房间(离开房间,但是不离开地图)
|
||||
message C2G_ExitRoomRequest // IRequest,G2C_ExitRoomResponse
|
||||
{
|
||||
string RoomCode = 1; //房间代码
|
||||
}
|
||||
|
||||
/// 请求网关进入离开响应
|
||||
message G2C_ExitRoomResponse // IResponse
|
||||
{
|
||||
string RoomCode = 1; //房间代码
|
||||
}
|
||||
|
||||
|
||||
message C2Map_EnterMapRequest // ICustomRouteRequest,Map2C_EnterMapResponse,MapRoute
|
||||
/// 请求网关进入地图
|
||||
message C2G_EnterMapRequest // IRequest,G2C_EnterMapResponse
|
||||
{
|
||||
int32 MapId = 1;//地图id
|
||||
string RoomId = 2;//房间id,如果联机则有
|
||||
string RoomCode = 1; //房间代码
|
||||
int32 MapId = 2; //地图id
|
||||
}
|
||||
|
||||
message Map2C_EnterMapResponse // ICustomRouteResponse
|
||||
/// 请求网关进入房间响应
|
||||
message G2C_EnterMapResponse // IResponse
|
||||
{
|
||||
int32 MapId = 1; //地图id
|
||||
string RoomCode = 2; //房间代码
|
||||
repeated MapUnitInfo Units = 3; //房间玩家列表
|
||||
}
|
||||
|
||||
|
||||
// // 请求进入地图
|
||||
// message C2Map_EnterMapRequest // ICustomRouteRequest,Map2C_EnterMapResponse,MapRoute
|
||||
// {
|
||||
// int32 MapId = 1;//地图id
|
||||
// string RoomCode = 2;//房间id,如果是进入房间
|
||||
// }
|
||||
|
||||
|
||||
// message Map2C_EnterMapResponse // ICustomRouteResponse
|
||||
// {
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
|
||||
/// 通知客户端切换地图
|
||||
@@ -57,11 +63,3 @@ message Map2C_ChangeMap // ICustomRouteMessage,MapRoute
|
||||
int32 MapId = 1; //地图id
|
||||
int32 Node = 2; //站位节点
|
||||
}
|
||||
|
||||
|
||||
// ///新邮件推送
|
||||
// message S2C_HaveMail // ICustomRouteMessage,SocialRoute
|
||||
// {
|
||||
// MailInfo Mail = 1;
|
||||
// string Key = 2;
|
||||
// }
|
||||
Reference in New Issue
Block a user