挑战副本修改

dev_chengFeng
yuanshuai 2022-04-18 00:03:41 +08:00
parent bd3bed7e41
commit f8f14d06e9
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ end
function ChallengeCopyPanel:RefreshRedPotShow()
local tabs = Util.GetGameObject(this.tabBox,"box").transform
for i = 1,tabs.childCount do
Util.GetGameObject(tabs:GetChild(i-1),"Redpot").gameObject:SetActive(freeTime>0)
Util.GetGameObject(tabs:GetChild(i-1),"Redpot").gameObject:SetActive(CarbonManager.challengeCopyDataTable[i].openState==1 and freeTime>0)
end
CheckRedPointStatus(RedPointType.HeroExplore)
end

View File

@ -128,7 +128,7 @@ function this.RegisterMessage(network)
socket:RegistNetMessage(MessageTypeProto_pb.SendFourChallengeInfoIndication, this.SendFourChallengeInfoIndication)
socket:RegistNetMessage(MessageTypeProto_pb.ChallengeInfoIndication, this.SendChallengeCopyInfoIndication)
socket:RegistNetMessage(MessageTypeProto_pb.CHALLENGE_INFO_INDICATION, this.SendChallengeCopyInfoIndication)
-- 充值成功订单推送
socket:RegistNetMessage(MessageTypeProto_pb.RECHARGE_SUCCESS_INDICATION, this.RechargeSuccessOrder)
-- 礼包拍脸推送