func parseStUserGameTimeTimerUserCmd(task *bwtask.BwTask, data []byte) { cmd := Cmd.NewStUserGameTimeTimerUserCmd() err := task.GetCmd(data, cmd) if err != nil { task.Error(err.Error()) return } cmd.QwGameTime = 0 cmd.Mac = 0 //task.Debug("parseStUserGameTimeTimerUserCmd:%d,%d", cmd.ByCmd, cmd.ByParam) }
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) }
func parseStGameTimeTimerUserCmd(task *bwtask.BwTask, data []byte) { task.Debug("heartBeat") cmd := Cmd.NewStGameTimeTimerUserCmd() task.SendCmd(cmd) }