mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-23 14:32:27 +08:00
简化配置表读取
This commit is contained in:
@@ -35,9 +35,9 @@ func (m *MessageQueue) SendToGs(appId string, netMsg *NetMsg) {
|
||||
m.netMsgInput <- netMsg
|
||||
}
|
||||
|
||||
func (m *MessageQueue) SendToFight(appId string, netMsg *NetMsg) {
|
||||
netMsg.Topic = m.getTopic(api.FIGHT, appId)
|
||||
netMsg.ServerType = api.FIGHT
|
||||
func (m *MessageQueue) SendToAnticheat(appId string, netMsg *NetMsg) {
|
||||
netMsg.Topic = m.getTopic(api.ANTICHEAT, appId)
|
||||
netMsg.ServerType = api.ANTICHEAT
|
||||
netMsg.AppId = appId
|
||||
originServerType, originServerAppId := m.getOriginServer()
|
||||
netMsg.OriginServerType = originServerType
|
||||
|
||||
Reference in New Issue
Block a user