v 0.12 CBT: battlepass_tokens
Задача на аналитику:
Задача на разработку:
Основная таблица в Google Spreadsheets
В таблице может быть удобнее смотреть изменения.
Смотреть лист res_movement, в блоке соответствующей версии.
Добавить
buy_battlepass -- покупка баттлпасса
| event_id | soft_context_rm | hard_context_rm | soft_paid_context_rm | hard_paid_context_rm | movement | transaction_type | transaction | transaction_id | resource_type | resource | resource_amount | resource_source | equip_params |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| abcd1234567 | 20000 | 20 | 0 | 0 | outcome | buy_battlepass | {battlepass_seson} | hard | hard | 50 |
buy_battlepass_level -- покупка за валюту уровню баттлпасса
| event_id | soft_context_rm | hard_context_rm | soft_paid_context_rm | hard_paid_context_rm | movement | transaction_type | transaction | transaction_id | resource_type | resource | resource_amount | resource_source | equip_params |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| abcd1234567 | 20000 | 20 | 0 | 0 | outcome | buy_battlepass_level | buy_battlepass_level | hard | hard | 50 |
battlepass_reward -- получение батлпасс-токенов за уровень баттлпасса
| event_id | soft_context_rm | hard_context_rm | soft_paid_context_rm | hard_paid_context_rm | movement | transaction_type | transaction | transaction_id | resource_type | resource | resource_amount | resource_source | equip_params |
| abcd1234567 | 20000 | 20 | 0 | 0 | income | battlepass_reward | battlepass_reward | battlepass_token | battlepass_token | 50 |
battlepass_compensation -- списание остатков токенов и начисление валюты (при завершении сезона баттлпасса)
| event_id | soft_context_rm | hard_context_rm | soft_paid_context_rm | hard_paid_context_rm | movement | transaction_type | transaction | transaction_id | resource_type | resource | resource_amount | resource_source | equip_params |
| abcd1234567 | 20000 | 20 | 0 | 0 | outcome | battlepass_compensation | battlepass_compensation | battlepass_token | battlepass_token | 50 | |||
| abcd1234567 | 20000 | 20 | 0 | 0 | income | battlepass_compensation | battlepass_compensation | hard | hard | 10 |
buy_battlepass_content -- покупка предметов в магазине баттлпасса за баттлпасс-токены
| event_id | soft_context_rm | hard_context_rm | soft_paid_context_rm | hard_paid_context_rm | movement | transaction_type | transaction | transaction_id | resource_type | resource | resource_amount | resource_source | equip_params |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| abcd1234567 | 20000 | 20 | 0 | 0 | income | buy_battlepass_content | buy_battlepass_content | battlepass_token | battlepass_token | 50 | |||
| abcd1234567 | 20000 | 20 | 0 | 0 | income | buy_battlepass_content | buy_battlepass_content | pilot | pilot_name | 100 | { "instance_id":"qwerty12", "pilot_name":"Pilot", "level":1, "rarity":"common" } |
operator_api -- начисление/списание баттлпасс токенов при повышении уровня из админки
| event_id | soft_context_rm | hard_context_rm | soft_paid_context_rm | hard_paid_context_rm | movement | transaction_type | transaction | transaction_id | resource_type | resource | resource_amount | resource_source | equip_params |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| abcd1234567 | 0 | 0 | 0 | 0 | income | operator_api | operator_api | {transaction_id} | battlepass_token | battlepass_token | 20000 |
transaction_type = quest_reward -- награда за выполнение квеста
| event_id | soft_context_rm | hard_context_rm | soft_paid_context_rm | hard_paid_context_rm | movement | transaction_type | transaction | transaction_id | resource_type | resource | resource_amount | resource_source | equip_params |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| abcd1234567 | 20000 | 20 | 0 | 0 | income | quest_reward | quest_reward | {quest_id} | intel | intel | 50 |
transaction_type = reroll_quest -- реролл квеста за харду, в transaction_id идентификатор квеста, который заменили
| event_id | soft_context_rm | hard_context_rm | soft_paid_context_rm | hard_paid_context_rm | movement | transaction_type | transaction | transaction_id | resource_type | resource | resource_amount | resource_source | equip_params |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| abcd1234567 | 20000 | 20 | 0 | 0 | outcome | reroll_quest | reroll_quest | {quest_id} | hard | hard | 5 |
transaction_type = buy_daily_deal – покупка daily deal предметов в магазине
| event_id | soft_context_rm | hard_context_rm | soft_paid_context_rm | hard_paid_context_rm | movement | transaction_type | transaction | transaction_id | resource_type | resource | resource_amount | resource_source | equip_params |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| abcd1234567 | 20000 | 20 | 0 | 0 | outcome | buy_daily_deal | buy_daily_deal | soft | soft | 1000 | |||
| abcd1234567 | 20000 | 20 | 0 | 0 | income | buy_daily_deal | buy_daily_deal | pilot | pilot_name | 1 | { "instance_id":"qwerty12", "pilot_name":"Pilot", "level":1, "rarity":"common" } |
transaction_type = reroll_daily_deal -- реролл daily deal за валюту
| event_id | soft_context_rm | hard_context_rm | soft_paid_context_rm | hard_paid_context_rm | movement | transaction_type | transaction | transaction_id | resource_type | resource | resource_amount | resource_source | equip_params |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| abcd1234567 | 20000 | 20 | 0 | 0 | outcome | reroll_daily_deal | reroll_daily_deal | hard | hard | 10 |