服务器玩家在线信息同步

This commit is contained in:
flswld committed 2023-03-17 14:30:49 +08:00
1 parent 658b577c20
commit 7de1d2e765
19 files changed
+286 -77

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ func NewMessageQueue(serverType string, appId string, rpcClient *rpc.Client) (r
r.rpcClient = rpcClient
if serverType == api.GATE {
go r.runGateTcpMqServer()
} else {
} else if serverType == api.GS || serverType == api.ANTICHEAT || serverType == api.PATHFINDING {
go r.runGateTcpMqClient()
}
go r.recvHandler()