【公会】公会成员信息点开报错
parent
f80ac29435
commit
d16ecd259a
|
@ -102,7 +102,7 @@ function GuildMemberInfoPopup:BindEvent()
|
||||||
PopupTipPanel.ShowTip(ActTimeCtrlManager.GetFuncTip(FUNCTION_OPEN_TYPE.GOODFRIEND))
|
PopupTipPanel.ShowTip(ActTimeCtrlManager.GetFuncTip(FUNCTION_OPEN_TYPE.GOODFRIEND))
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if GoodFriendManager.IsInBlackList(this._PlayerId) then
|
if GoodFriendManager.IsInBlackList(this._MemId) then
|
||||||
PopupTipPanel.ShowTip(Language[10817])
|
PopupTipPanel.ShowTip(Language[10817])
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
@ -292,12 +292,11 @@ function this.FormationAdapter(teamInfo)
|
||||||
local frameBtn = Util.GetGameObject(this.Demons[hero.position], "frame")
|
local frameBtn = Util.GetGameObject(this.Demons[hero.position], "frame")
|
||||||
local heroData = {}
|
local heroData = {}
|
||||||
Util.AddOnceClick(frameBtn, function()
|
Util.AddOnceClick(frameBtn, function()
|
||||||
NetManager.ViewHeroInfoRequest(this._PlayerId,hero.heroid,function(msg)
|
NetManager.ViewHeroInfoRequest(this._MemId,hero.heroid,function(msg)
|
||||||
heroData= GoodFriendManager.GetHeroDatas(msg.hero,msg.force,msg.SpecialEffects,msg.guildSkill)
|
heroData= GoodFriendManager.GetHeroDatas(msg.hero,msg.force,msg.SpecialEffects,msg.guildSkill)
|
||||||
GoodFriendManager.InitEquipData(msg.equip,heroData)--HeroManager.GetSingleHeroData(heroData.dynamicId)
|
GoodFriendManager.InitEquipData(msg.equip,heroData)--HeroManager.GetSingleHeroData(heroData.dynamicId)
|
||||||
UIManager.OpenPanel(UIName.RoleInfoPopup, heroData,true)
|
UIManager.OpenPanel(UIName.RoleInfoPopup, heroData,true)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue