#ifndef RAGNAROK_SOURCE_CONTENTS_STOREBACKUPDATA_H #define RAGNAROK_SOURCE_CONTENTS_STOREBACKUPDATA_H #include "Contents/ItemInfo.h" #include #include namespace Json { class Value; } // The title and vector belong to CMCStoreInfoBackup (+0x3C and +0x58). // Serialization only; applying restored items to an open shop remains UI work. struct StoreBackupData { std::string& title; std::vector& items; void Import(Json::Value& data); void Export(Json::Value& data, const std::list& storeItems) const; }; #endif