Exemple #1
0
func parseStRequestUserGameTimeTimerUserCmd(task *bwtask.BwTask, data []byte) {
	cmd := Cmd.NewStRequestUserGameTimeTimerUserCmd()
	err := task.GetCmd(data, cmd)
	if err != nil {
		task.Error(err.Error())
		return
	}
	//task.Debug("parseStRequestUserGameTimeTimerUserCmd:%d,%d", cmd.ByCmd, cmd.ByParam)
	task.SendCmd(cmd)
}
Exemple #2
0
func parseStGameTimeTimerUserCmd(task *bwtask.BwTask, data []byte) {
	task.Debug("heartBeat")
	cmd := Cmd.NewStGameTimeTimerUserCmd()
	task.SendCmd(cmd)
}