LiteLoaderBDS-1.16.40/LiteLoader/Header/MC/InMemoryFileStorage.hpp
2022-09-21 19:47:03 +08:00

33 lines
953 B
C++

// This Header is auto generated by BDSLiteLoader Toolchain
#pragma once
#define AUTO_GENERATED
#include "../Global.h"
#include "Core.hpp"
#define BEFORE_EXTRA
#undef BEFORE_EXTRA
class InMemoryFileStorage {
#define AFTER_EXTRA
#undef AFTER_EXTRA
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_INMEMORYFILESTORAGE
public:
class InMemoryFileStorage& operator=(class InMemoryFileStorage const &) = delete;
InMemoryFileStorage(class InMemoryFileStorage const &) = delete;
InMemoryFileStorage() = delete;
#endif
public:
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_INMEMORYFILESTORAGE
#endif
MCAPI class std::shared_ptr<class InMemoryFile> createFile(class Core::Path const &);
MCAPI bool deleteFile(class Core::Path const &);
MCAPI bool findFile(class Core::Path const &, class std::shared_ptr<class InMemoryFile> &);
MCAPI void flushToDisk();
MCAPI void populateFileList(std::vector<std::string> &);
MCAPI ~InMemoryFileStorage();
};