1
This commit is contained in:
parent
1dc5de96e4
commit
8ecb8439dc
@ -1634,26 +1634,23 @@ void Human::GenBattleReportData(a8::MutableXObject* params)
|
||||
params->SetVal("weapon_topx", stats.weapon_topx);
|
||||
params->SetVal("survival_topx", stats.survival_topx);
|
||||
|
||||
// 222
|
||||
#if 0
|
||||
params->SetVal("hero_stats_uniid", stats.pb_hero_stats.hero_uniid());
|
||||
params->SetVal("hero_stats_name", stats.pb_hero_stats.hero_name());
|
||||
params->SetVal("hero_stats_hero_id", stats.pb_hero_stats.hero_id());
|
||||
params->SetVal("hero_stats_reward_ceg", stats.pb_hero_stats.reward_ceg());
|
||||
params->SetVal("hero_stats_today_get_ceg", stats.pb_hero_stats.today_get_ceg());
|
||||
params->SetVal("hero_stats_ceg_uplimit", stats.pb_hero_stats.ceg_uplimit());
|
||||
params->SetVal("hero_stats_uniid", stats.pb_hero_stats.hero_uniid);
|
||||
params->SetVal("hero_stats_name", stats.pb_hero_stats.hero_name);
|
||||
params->SetVal("hero_stats_hero_id", stats.pb_hero_stats.hero_id);
|
||||
params->SetVal("hero_stats_reward_ceg", stats.pb_hero_stats.reward_ceg);
|
||||
params->SetVal("hero_stats_today_get_ceg", stats.pb_hero_stats.today_get_ceg);
|
||||
params->SetVal("hero_stats_ceg_uplimit", stats.pb_hero_stats.ceg_uplimit);
|
||||
|
||||
for (int i = 0; i < stats.pb_weapons_stats.size(); ++i) {
|
||||
auto& p = stats.pb_weapons_stats.Get(i);
|
||||
auto& p = stats.pb_weapons_stats.at(i);
|
||||
std::string i_str = a8::XValue(i).GetString();
|
||||
params->SetVal("weapon_stats_uniid" + i_str, p.weapon_uniid());
|
||||
params->SetVal("weapon_stats_name" + i_str, p.weapon_name());
|
||||
params->SetVal("weapon_stats_weapon_id" + i_str, p.weapon_id());
|
||||
params->SetVal("weapon_stats_reward_ceg" + i_str, p.reward_ceg());
|
||||
params->SetVal("weapon_stats_today_get_ceg" + i_str, p.today_get_ceg());
|
||||
params->SetVal("weapon_stats_ceg_uplimit" + i_str, p.ceg_uplimit());
|
||||
params->SetVal("weapon_stats_uniid" + i_str, p.weapon_uniid);
|
||||
params->SetVal("weapon_stats_name" + i_str, p.weapon_name);
|
||||
params->SetVal("weapon_stats_weapon_id" + i_str, p.weapon_id);
|
||||
params->SetVal("weapon_stats_reward_ceg" + i_str, p.reward_ceg);
|
||||
params->SetVal("weapon_stats_today_get_ceg" + i_str, p.today_get_ceg);
|
||||
params->SetVal("weapon_stats_ceg_uplimit" + i_str, p.ceg_uplimit);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
{
|
||||
std::shared_ptr<a8::MutableXObject> post_data = a8::MutableXObject::CreateObject();
|
||||
|
Loading…
x
Reference in New Issue
Block a user