tiangong serecttreasure commit

dev_chengFeng
jiaoyangna 2020-08-27 19:41:51 +08:00
parent fa3003fdc6
commit 9ed09dc1d2
1 changed files with 7 additions and 1 deletions

View File

@ -59,7 +59,13 @@ function this.SetSingleRewardState(id,state)
end
function this.GetAllRewardData()
return rewardData
local temp = {}
for k,v in ipairs(rewardData) do
if v.ActivityId == 1 then
table.insert(temp,v)
end
end
return temp
end
--红点检测
function this.RedPointState(singleRewardData,TreasrueState)