gm刷冲描述修改 ,特权特权激活修改

china/dev_fengTi
wangzhenxing 2023-08-07 20:10:34 +08:00
parent f591f0c76e
commit 56cdd1b8d3
2 changed files with 3 additions and 2 deletions

View File

@ -178,7 +178,7 @@ function this.RefreshItemNum()
Util.SetGray(this.btnFastExplore, fastBuyNum == 0 and freeTimes == 0)
--local isActive = PrivilegeManager.GetPrivilegeOpenStatusById(12)
local isActive =OperatingManager.IsBuyGift(2202)
local isActive =OperatingManager.IsBuyGift(2202) or ActivityGiftManager.GetActivityInfo(ActivityTypeDef.shuaChongTeQuan,2202).state>0
--Util.SetGray(this.privilegeIcon, not isActive)
this.privilegeTimeBg:SetActive(false)
--this.privilegeGo:SetActive(not isActive)

View File

@ -65,11 +65,12 @@ function GMShuaChongTeQuan:InitComponent()
local activityId=_TabData[_index].id
local recharge=ConfigManager.GetConfigData(ConfigName.RechargeCommodityConfig,activityId)
local len= #recharge.OpenPrivilege
local lv=recharge.BTVIPlevel[1][2]
local lv=_index --recharge.BTVIPlevel[1][2]
local len=#recharge.OpenPrivilege
local mission=ActivityGiftManager.GetActivityInfo(ActivityTypeDef.shuaChongTeQuan,activityId)
local state=mission.state
if state==0 then
self.payTxt.text=recharge.Price..""
self.hint2Txt.gameObject:SetActive(true)