通知客户端 这个英雄是重复获得的
This commit is contained in:
parent
b64a6358ea
commit
de4013d7e9
@ -363,7 +363,7 @@ func (this *MCompConfigure) GetAllItemConfigure() (item []*cfg.GameItemData) {
|
|||||||
return
|
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 {
|
if v, err := this.GetConfigure(game_equip); err == nil {
|
||||||
for _, v1 := range v.(*cfg.GameEquip).GetDataMap() {
|
for _, v1 := range v.(*cfg.GameEquip).GetDataMap() {
|
||||||
|
@ -349,6 +349,7 @@ func (this *apiComp) DrawCard(session comm.IUserSession, req *pb.HeroDrawCardReq
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
session.SendMsg(string(this.module.GetType()), DrawCard, rsp)
|
session.SendMsg(string(this.module.GetType()), DrawCard, rsp)
|
||||||
|
|
||||||
// 任务统计
|
// 任务统计
|
||||||
|
Loading…
Reference in New Issue
Block a user