3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/platform/Result.h"
7#include "mc/platform/brstd/function_ref.h"
12namespace Core {
class File; }
16namespace Bedrock::Resources {
37 BrpakIndex& operator=(BrpakIndex
const&);
38 BrpakIndex(BrpakIndex
const&);
49 ::std::string archivePath
52 MCNAPI ::Bedrock::Resources::BrpakIndexEntry
const*
findEntry(::std::string_view entryName)
const;
55 ::std::string_view prefix,
61 ::std::string& result,
81 ::std::string archivePath
MCAPI ::Bedrock::Result< void > readEntryData(::Bedrock::Resources::BrpakIndexEntry const &entry, ::std::string &result, ::Core::File &fileHandle, bool validateCrc) const
MCAPI::Bedrock::Resources::BrpakIndexEntry const * findEntry(::std::string_view entryName) const
MCAPI void * $ctor(::std::map< ::std::string, ::Bedrock::Resources::BrpakIndexEntry, ::Bedrock::Resources::BrpakIndex::CaseInsensitiveLess > index, ::std::string archivePath)
static MCAPI ::Bedrock::Result<::Bedrock::Resources::BrpakIndex > buildFromFile(::Core::PathView brpakPath)
MCAPI void forEachInPrefix(::std::string_view prefix, ::brstd::function_ref< void(::std::string const &, ::Bedrock::Resources::BrpakIndexEntry const &)> callback) const
MCAPI BrpakIndex(::std::map< ::std::string, ::Bedrock::Resources::BrpakIndexEntry, ::Bedrock::Resources::BrpakIndex::CaseInsensitiveLess > index, ::std::string archivePath)
Definition function_ref.h:60
Definition BrpakIndexEntry.h:7
Definition BrpakIndex.h:26