#pragma once #include #include #include #include namespace nx { class FacBinary : public fnd::ISerialisable { 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& getFsaRightsList() const; void setFsaRightsList(const fnd::List& list); 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"; // raw binary fnd::Vec mRawBinary; // variables fnd::List mFsaRights; fnd::List mContentOwnerIdList; fnd::List mSaveDataOwnerIdList; }; }