Merge branch 'meixiongfeng' of http://git.legu.cc/liwei_3d/go_dreamfactory into meixiongfeng

This commit is contained in:
meixiongfeng 2022-12-02 10:07:13 +08:00
commit 5a91f4c70d

View File

@ -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
}