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
|
for _, info in pairs(data.items) do
|
||||||
if info.id == GConst.ItemConst.ITEM_ID_GEM then
|
if info.id == GConst.ItemConst.ITEM_ID_GEM then
|
||||||
local parmas = {}
|
local parmas = {}
|
||||||
parmas.gem = info.count
|
parmas.user_gem = info.count
|
||||||
CS.ThinkingAnalytics.ThinkingAnalyticsAPI.UserSet(parmas)
|
CS.ThinkingAnalytics.ThinkingAnalyticsAPI.UserSet(parmas)
|
||||||
elseif info.id == GConst.ItemConst.ITEM_ID_GOLD then
|
elseif info.id == GConst.ItemConst.ITEM_ID_GOLD then
|
||||||
local parmas = {}
|
local parmas = {}
|
||||||
parmas.gold = info.count
|
parmas.user_gold = info.count
|
||||||
CS.ThinkingAnalytics.ThinkingAnalyticsAPI.UserSet(parmas)
|
CS.ThinkingAnalytics.ThinkingAnalyticsAPI.UserSet(parmas)
|
||||||
end
|
end
|
||||||
if info.id == GConst.ItemConst.ITEM_ID_VIT then
|
if info.id == GConst.ItemConst.ITEM_ID_VIT then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user