Decompile fn_04238 (CMCStoreInfoBackup::ExportData)
Batch #11414 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_04238 CMCStoreInfoBackup::ExportData: logic confirmed by peer review Peer-reviewed-by: Yommy, KWDev, dori Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
d5e4beb432
commit
2cb029bed4
1 changed files with 3 additions and 1 deletions
|
|
@ -73,7 +73,9 @@ void CMCStoreInfoBackup::ExportData(Json::Value& data) const {
|
|||
data["Title"] = ToUtf8(this->title, g_textCodePage);
|
||||
Json::Value values;
|
||||
|
||||
for (const ITEM_INFO& item : g_session.unknown_1758) {
|
||||
const int itemCount = g_session.GetList9Size();
|
||||
for (int itemIndex = 0; itemIndex < itemCount; ++itemIndex) {
|
||||
const ITEM_INFO item = g_session.GetItem1758At(itemIndex);
|
||||
Json::Value value;
|
||||
value["ID"] = std::atoi(item.itemId.c_str());
|
||||
value["Count"] = item.quantity;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue