support v2 and v3 ItemPMT files

This commit is contained in:
Martin Michelsen
2023-10-27 21:08:04 -07:00
parent 7651922dc9
commit 1c2786ef43
26 changed files with 5106 additions and 1943 deletions
-4
View File
@@ -101,19 +101,15 @@ struct ItemData { // 0x14 bytes
} __attribute__((packed));
ItemData();
explicit ItemData(const std::string& orig_description, bool allow_raw_data = true);
ItemData(const ItemData& other);
ItemData& operator=(const ItemData& other);
void parse(const std::string& desc, bool skip_specials);
bool operator==(const ItemData& other) const;
bool operator!=(const ItemData& other) const;
void clear();
std::string hex() const;
std::string name(bool include_color_codes) const;
uint32_t primary_identifier() const;
bool is_wrapped() const;