diff --git a/modules/reddot/api_getall.go b/modules/reddot/api_getall.go index d6b8eda7a..502c07823 100644 --- a/modules/reddot/api_getall.go +++ b/modules/reddot/api_getall.go @@ -47,9 +47,17 @@ func (this *apiComp) GetAll(session comm.IUserSession, req *pb.ReddotGetAllReq) for k, v := range this.module.sociaty.Reddot(session, comm.Reddot3, comm.Reddot29) { reddot[int32(k)] = v } - // for k, v := range this.module.mail.Reddot(session, comm.Reddot26) { - // reddot[int32(k)] = v - // } + for k, v := range this.module.mail.Reddot(session, comm.Reddot26, comm.Reddot30) { + reddot[int32(k)] = v + } + for k, v := range this.module.viking.Reddot(session, comm.Reddot31) { + reddot[int32(k)] = v + } + + for k, v := range this.module.hunting.Reddot(session, comm.Reddot32) { + reddot[int32(k)] = v + } + session.SendMsg(string(this.module.GetType()), "getall", &pb.ReddotGetAllResp{Reddot: reddot}) return }