Merge branch 'dev' of http://git.juzugame.com/b6-client/b6-lua into dev
This commit is contained in:
commit
2f8ba2991c
@ -22,11 +22,11 @@ function ItemData:init(data)
|
||||
for _, info in pairs(data.items) do
|
||||
if info.id == GConst.ItemConst.ITEM_ID_GEM then
|
||||
local parmas = {}
|
||||
parmas.gem = info.count
|
||||
parmas.user_gem = info.count
|
||||
CS.ThinkingAnalytics.ThinkingAnalyticsAPI.UserSet(parmas)
|
||||
elseif info.id == GConst.ItemConst.ITEM_ID_GOLD then
|
||||
local parmas = {}
|
||||
parmas.gold = info.count
|
||||
parmas.user_gold = info.count
|
||||
CS.ThinkingAnalytics.ThinkingAnalyticsAPI.UserSet(parmas)
|
||||
end
|
||||
if info.id == GConst.ItemConst.ITEM_ID_VIT then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user