v 0.15 OBT: hard income/outcome

Задача на аналитику: 

Задача на разработку: SPRW-24134 - Analytics: Hard in resource movement Verified

Основная таблица в Google Spreadsheets

В таблице может быть удобнее смотреть изменения.

Смотреть лист res_movement, в блоке соответствующей версии.

Таблица

Добавить

transaction_type = buy_hard --- покупка харды в магазине за реал

event_idsoft_context_rmhard_context_rmmovementtransaction_typetransactiontransaction_idresource_typeresourceresource_amount
abcd12345672000020incomebuy_hard{offer_id}{transaction_id}hardhard50


transaction_type = buy_battlepass -- покупка баттлпасса за харду

event_idsoft_context_rmhard_context_rmmovementtransaction_typetransactionresource_typeresourceresource_amount
abcd12345672000020outcomebuy_battlepass{battlepass_season}hardhard50


transaction_type = buy_battlepass_level -- покупка за харду уровню баттлпасса, в transaction -- уровень БП, который был куплен

event_idsoft_context_rmhard_context_rmmovementtransaction_typetransactionresource_typeresourceresource_amount
abcd12345672000020outcomebuy_battlepass_level{level}hardhard50


transaction_type = buy_daily_deal_all -- покупка всех daily deal -предметов за харду, трекать надо каждый предмет отдельно. Пилот дан для примера.

event_idsoft_context_rmhard_context_rmmovementtransaction_typetransactionresource_typeresourceresource_amountequip_params
abcd12345672000020outcomebuy_daily_deal_allbuy_daily_deal_allhardhard1000
abcd12345672000020incomebuy_daily_deal_allbuy_daily_deal_allpilot{pilot_name}1{"instance_id":"qwerty12", "pilot_name":"Pilot", "level":1, "rarity":"common"}


transaction_type = reroll_daily_deal -- реролл daily deal за харду

event_idsoft_context_rmhard_context_rmmovementtransaction_typetransactionresource_typeresourceresource_amount
abcd12345672000020outcomereroll_daily_dealreroll_daily_dealhardhard10


transaction_type = buy_premium -- покупка премиума за харду, в transaction пишем, какой премиум (по длительности) был куплен

event_idsoft_context_rmhard_context_rmmovementtransaction_typetransactionresource_typeresourceresource_amount
abcd12345672000020outcomebuy_premium{premium_id}hardhard50


transaction_type = buy_offer --- покупка оффера в магазине за харду, если пользователь покупает пак в оффере, то пишем в приход все содержимое пака, трекать надо каждый предмет отдельно. Пилот дан для примера.

event_idsoft_context_rmhard_context_rmmovementtransaction_typetransactionresource_typeresourceresource_amountresource_sourceequip_params
abcd12345672000020outcomeshop_offer{offer_id}hardhard500

abcd12345672000020incomeshop_offer{offer_id}softsoft2000

abcd12345672000020incomeshop_offer{offer_id}pilot{pilot_name}1
{"instance_id":"qwerty12", "pilot_name":"Pilot", "level":1, "rarity":"common"}