通知客户端 这个英雄是重复获得的

This commit is contained in:
meixiongfeng 2023-02-08 15:31:35 +08:00
parent b64a6358ea
commit de4013d7e9
2 changed files with 2 additions and 1 deletions

View File

@ -363,7 +363,7 @@ func (this *MCompConfigure) GetAllItemConfigure() (item []*cfg.GameItemData) {
return
}
func (this *MCompConfigure) GetAllEquipmentConfigure(equipmentId string) (configure []*cfg.GameEquipData) {
func (this *MCompConfigure) GetAllEquipmentConfigure() (configure []*cfg.GameEquipData) {
if v, err := this.GetConfigure(game_equip); err == nil {
for _, v1 := range v.(*cfg.GameEquip).GetDataMap() {

View File

@ -349,6 +349,7 @@ func (this *apiComp) DrawCard(session comm.IUserSession, req *pb.HeroDrawCardReq
}
}
}
session.SendMsg(string(this.module.GetType()), DrawCard, rsp)
// 任务统计