LeviLamina
Loading...
Searching...
No Matches
ZippedEncryptedFilesAccessStrategy.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/file/PathBuffer.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8#include "mc/resources/EncryptedFileAccessStrategy.h"
9#include "mc/resources/PackAccessStrategyType.h"
10
11// auto generated forward declare list
12// clang-format off
13class ContentIdentity;
17namespace Core { class Path; }
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 2
38 virtual ::ResourceLocation const& getPackLocation() const /*override*/;
39
40 // vIndex: 7
41 virtual bool hasFolder(::Core::Path const& packRelativePath) const /*override*/;
42
43 // vIndex: 9
44 virtual void forEachIn(
45 ::Core::Path const& packRelativePath,
46 ::std::function<void(::Core::Path const&)> callback,
47 bool recurseAnyways
48 ) const /*override*/;
49
50 // vIndex: 11
51 virtual ::PackAccessStrategyType getStrategyType() const /*override*/;
52
53 // vIndex: 12
54 virtual ::Core::PathBuffer<::std::string> const& getSubPath() const /*override*/;
55
56 // vIndex: 13
57 virtual bool supportsSignatureVerification() const /*override*/;
58
59 // vIndex: 14
60 virtual ::std::unique_ptr<::PackAccessStrategy> createSubPack(::Core::Path const& subPath) const /*override*/;
61
62 // vIndex: 22
63 virtual ::std::string _getContentsFile() /*override*/;
64
65 // vIndex: 23
66 virtual ::std::string _getEncryptedAssetStream(::Core::Path const& packRelativePath) const /*override*/;
67
68 // vIndex: 0
69 virtual ~ZippedEncryptedFilesAccessStrategy() /*override*/ = default;
70 // NOLINTEND
71
72public:
73 // member functions
74 // NOLINTBEGIN
76 ::ResourceLocation const& archiveLocation,
77 ::ContentIdentity const& contentIdentity,
78 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const> const& keyProvider,
79 ::Core::Path const& subPath,
80 ::std::unique_ptr<::PackAccessStrategy> zipSubPack
81 );
82 // NOLINTEND
83
84public:
85 // constructor thunks
86 // NOLINTBEGIN
87 MCNAPI void* $ctor(
88 ::ResourceLocation const& archiveLocation,
89 ::ContentIdentity const& contentIdentity,
90 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const> const& keyProvider,
91 ::Core::Path const& subPath,
92 ::std::unique_ptr<::PackAccessStrategy> zipSubPack
93 );
94 // NOLINTEND
95
96public:
97 // virtual function thunks
98 // NOLINTBEGIN
99 MCNAPI ::ResourceLocation const& $getPackLocation() const;
100
101 MCNAPI bool $hasFolder(::Core::Path const& packRelativePath) const;
102
103 MCNAPI void $forEachIn(
104 ::Core::Path const& packRelativePath,
105 ::std::function<void(::Core::Path const&)> callback,
106 bool recurseAnyways
107 ) const;
108
109 MCNAPI ::PackAccessStrategyType $getStrategyType() const;
110
111 MCNAPI ::Core::PathBuffer<::std::string> const& $getSubPath() const;
112
114
115 MCNAPI ::std::unique_ptr<::PackAccessStrategy> $createSubPack(::Core::Path const& subPath) const;
116
117 MCNAPI ::std::string $_getContentsFile();
118
119 MCNAPI ::std::string $_getEncryptedAssetStream(::Core::Path const& packRelativePath) const;
120 // NOLINTEND
121
122public:
123 // vftables
124 // NOLINTBEGIN
125 MCNAPI static void** $vftable();
126 // NOLINTEND
127};
Definition ContentIdentity.h:8
Definition Path.h:17
Definition EncryptedFileAccessStrategy.h:20
Definition IContentKeyProvider.h:13
Definition PackAccessStrategy.h:20
Definition Path.h:16
Definition ResourceLocation.h:14
Definition ZippedEncryptedFilesAccessStrategy.h:20
MCAPI ZippedEncryptedFilesAccessStrategy(::ResourceLocation const &archiveLocation, ::ContentIdentity const &contentIdentity, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > const &keyProvider, ::Core::Path const &subPath, ::std::unique_ptr<::PackAccessStrategy > zipSubPack)
MCAPI::ResourceLocation const & $getPackLocation() const
MCAPI void $forEachIn(::Core::Path const &packRelativePath, ::std::function< void(::Core::Path const &)> callback, bool recurseAnyways) const
MCAPI::PackAccessStrategyType $getStrategyType() const
MCAPI bool $hasFolder(::Core::Path const &packRelativePath) const
static MCAPI void ** $vftable()
MCAPI bool $supportsSignatureVerification() const
MCAPI ::std::unique_ptr<::PackAccessStrategy > $createSubPack(::Core::Path const &subPath) const
MCAPI::std::string $_getEncryptedAssetStream(::Core::Path const &packRelativePath) const
MCAPI::std::string $_getContentsFile()
MCAPI void * $ctor(::ResourceLocation const &archiveLocation, ::ContentIdentity const &contentIdentity, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > const &keyProvider, ::Core::Path const &subPath, ::std::unique_ptr<::PackAccessStrategy > zipSubPack)
MCAPI ::Core::PathBuffer<::std::string > const & $getSubPath() const
Definition Alias.h:14