LeviLamina
Loading...
Searching...
No Matches
PhotoStorage Class Reference

Public Member Functions

MCAPI PhotoStorage (::Core::Path const &baseDir)
MCAPI_C bool _addValidFile (::Core::Path path)
MCAPI_C bool _isValidFile (::Core::Path file)
MCAPI_C bool _readFile (::Core::Path path, ::std::string &resultData)
MCAPI void _readManifest ()
MCAPI_C bool _writeFile (::Core::Path path, ::std::string const &photoData)
MCAPI_C void _writeManifest ()
MCAPI_C void getLoosePhotos (::Player &owner, ::std::vector<::Core::PathBuffer<::std::string > > &result)
MCAPI_C ::Core::PathBuffer<::std::string > getPath (::PhotoStorageContainer const &container)
MCAPI_C void getPhoto (::PhotoStorageContainer const &container, ::std::string const &photoName, ::std::string &resultData)
MCAPI_C ::Core::PathBuffer<::std::string > getPhotoPath (::Actor const &owner) const
MCAPI_C void setValidLoosePhoto (::PhotoStorageContainer const &container, ::std::string const &photoName)
MCAPI_C void storePhoto (::PhotoStorageContainer const &container, ::std::string const &photoName, ::std::string const &photoData)
MCAPI_C ::Core::PathBuffer<::Core::BasicStackString< char, 1024 > > storePhotoFront (::Player &owner, ::PhotoStorageContainer const &container, ::std::string const &photoName, ::std::string const &photoData)
MCAPI void * $ctor (::Core::Path const &baseDir)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI_C ::Core::PathBuffer<::std::string > getScreenshotFilename ()
static MCAPI ::std::string const & BOOKS_DIR ()
static MCAPI ::std::string const & MANIFEST_NAME ()
static MCAPI ::std::string const & PHOTOITEM_DIR ()
static MCAPI ::std::string const & PHOTO_DIR ()

Public Attributes

::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > mBaseDir
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > mBookDir
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > mPhotoDir
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > mPhotoItemDir
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > mManifestDir
::ll::TypedStorage< 8, 64, ::std::unordered_set<::std::string > > mChecksums

The documentation for this class was generated from the following file: