#pragma once #include #include #include namespace nx { class FacBinary : public FacHeader { public: FacBinary(); FacBinary(const FacBinary& other); void operator=(const FacBinary& other); bool operator==(const FacBinary& other) const; bool operator!=(const FacBinary& other) const; // export/import binary void toBytes(); void fromBytes(const byte_t* bytes, size_t len); const fnd::Vec& getBytes() const; // variables void clear(); const fnd::List& getContentOwnerIdList() const; void setContentOwnerIdList(const fnd::List& list); const fnd::List& getSaveDataOwnerIdList() const; void setSaveDataOwnerIdList(const fnd::List& list); private: const std::string kModuleName = "FAC_BINARY"; static const uint32_t kFacFormatVersion = 1; // raw binary fnd::Vec mRawBinary; // variables fnd::List mContentOwnerIdList; fnd::List mSaveDataOwnerIdList; }; }