21 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mBaseDir;
22 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mBookDir;
23 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mPhotoDir;
24 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mPhotoItemDir;
25 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mManifestDir;
26 ::ll::TypedStorage<8, 64, ::std::unordered_set<::std::string>> mChecksums;
36 MCAPI
explicit PhotoStorage(
::Core::Path const& baseDir);
50 MCAPI ::Core::PathBuffer<::std::string> getPhotoPath(
::Actor const& owner)
const;
52 MCAPI ::Core::PathBuffer<::std::string> getPhotoPathRelative(
::Actor& owner);
58 MCAPI
void storePhoto(
60 ::std::string
const& photoName,
61 ::std::string
const& photoData
64 MCAPI ::Core::PathBuffer<::Core::BasicStackString<char, 1024>> storePhotoFront(
67 ::std::string
const& photoName,
68 ::std::string
const& photoData
72 MCAPI ~PhotoStorage();
78 MCAPI static ::std::string
const& BOOKS_DIR();
80 MCAPI static ::std::string
const& MANIFEST_NAME();
82 MCAPI static ::std::string
const& PHOTOITEM_DIR();
84 MCAPI static ::std::string
const& PHOTO_DIR();