Пример #1
0
func handleRegist(client *NetCore.Client, msg *NetCore.NetMsg) bool {
	client.CancelWaitRegist()
	client.HeartBeat()
	return true
}
Пример #2
0
func handleHeartBeat2(client *NetCore.Client, msg *NetCore.NetMsg) bool {
	Logger.Info(LogConf.NetCoreCommen, client.Idx, "handleHeartBeat xx client Idx: %d cmd: %d", client.Idx, msg.Cmd)
	client.HeartBeat()
	return true
}