提交进入地图和创建房间相关逻辑和协议
This commit is contained in:
@@ -4,4 +4,5 @@
|
||||
(ë"MultiThread*Gate2KCP8 ś@ŤVH
|
||||
ě"MultiThread*Game@—VH
|
||||
î"MultiThread*Chat@«VH
|
||||
ď"MultiThread*Map@µVH
|
||||
ď"MultiThread*Map@µVH
|
||||
đ"MultiThread*Map@¶VH
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
{"WorksheetNames":[-8419147776733210060,-3495952183970875596,1720330851179383898,5812538452563588342],"Tables":{"-3495952183970875596":1756213540397,"-1088042625810372120":1753532052628,"1720330851179383898":1753711757684,"3730651590607244245":1753532052629,"5812538452563588342":1753532052630}}
|
||||
{"WorksheetNames":[-8419147776733210060,-3495952183970875596,1720330851179383898,3730651590607244245],"Tables":{"-3495952183970875596":1756269765285,"-1088042625810372120":1748918712210,"1720330851179383898":1753770985781,"3730651590607244245":1748918712210,"5812538452563588342":1751250727840}}
|
||||
@@ -4,5 +4,6 @@
|
||||
{"Id":1003,"ProcessConfigId":1,"WorldConfigId":1,"SceneRuntimeMode":"MultiThread","SceneTypeString":"Gate","NetworkProtocol":"KCP","OuterPort":20000,"InnerPort":11021,"SceneType":3},
|
||||
{"Id":1004,"ProcessConfigId":1,"WorldConfigId":1,"SceneRuntimeMode":"MultiThread","SceneTypeString":"Game","NetworkProtocol":null,"OuterPort":0,"InnerPort":11031,"SceneType":4},
|
||||
{"Id":1006,"ProcessConfigId":1,"WorldConfigId":1,"SceneRuntimeMode":"MultiThread","SceneTypeString":"Chat","NetworkProtocol":null,"OuterPort":0,"InnerPort":11051,"SceneType":8},
|
||||
{"Id":1007,"ProcessConfigId":1,"WorldConfigId":1,"SceneRuntimeMode":"MultiThread","SceneTypeString":"Map","NetworkProtocol":null,"OuterPort":0,"InnerPort":11061,"SceneType":5}
|
||||
{"Id":1007,"ProcessConfigId":1,"WorldConfigId":1,"SceneRuntimeMode":"MultiThread","SceneTypeString":"Map","NetworkProtocol":null,"OuterPort":0,"InnerPort":11061,"SceneType":5},
|
||||
{"Id":1008,"ProcessConfigId":1,"WorldConfigId":1,"SceneRuntimeMode":"MultiThread","SceneTypeString":"Map","NetworkProtocol":null,"OuterPort":0,"InnerPort":11062,"SceneType":5}
|
||||
]}
|
||||
|
||||
@@ -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; //站位节点
|
||||
}
|
||||
@@ -27,6 +27,17 @@ message G2C_EnterRoomResponse // IResponse
|
||||
}
|
||||
|
||||
|
||||
/// 请求网关离开房间
|
||||
message C2G_ExitRoomRequest // IRequest,G2C_ExitRoomResponse
|
||||
{
|
||||
string RoomCode = 1; //房间代码
|
||||
}
|
||||
/// 请求网关进入离开响应
|
||||
message G2C_ExitRoomResponse // IResponse
|
||||
{
|
||||
string RoomCode = 1; //房间代码
|
||||
}
|
||||
|
||||
|
||||
message C2Map_EnterMapRequest // ICustomRouteRequest,Map2C_EnterMapResponse,MapRoute
|
||||
{
|
||||
@@ -36,5 +47,5 @@ message C2Map_EnterMapRequest // ICustomRouteRequest,Map2C_EnterMapResponse,MapR
|
||||
|
||||
message Map2C_EnterMapResponse // ICustomRouteResponse
|
||||
{
|
||||
int32 MapId = 1; //地图id
|
||||
|
||||
}
|
||||
@@ -40,6 +40,14 @@ message G2C_RepeatLogin // IMessage
|
||||
}
|
||||
|
||||
|
||||
/// 通知客户端切换地图
|
||||
message G2C_ChangeMap // IMessage
|
||||
{
|
||||
int32 MapId = 1; //地图id
|
||||
int32 Node = 2; //站位节点
|
||||
}
|
||||
|
||||
|
||||
message C2Game_GetRoleInfoRequest // ICustomRouteRequest,Game2C_GetRoleInfoResponse,GameRoute
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user