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: 8
41 virtual bool hasFolder(::Core::Path const& packRelativePath) const /*override*/;
42
43 // vIndex: 12
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: 14
51 virtual ::PackAccessStrategyType getStrategyType() const /*override*/;
52
53 // vIndex: 15
54 virtual ::Core::PathBuffer<::std::string> const& getSubPath() const /*override*/;
55
56 // vIndex: 16
57 virtual bool supportsSignatureVerification() const /*override*/;
58
59 // vIndex: 17
60 virtual ::std::unique_ptr<::PackAccessStrategy> createSubPack(::Core::Path const& subPath) const /*override*/;
61
62 // vIndex: 26
63 virtual ::std::string _getContentsFile() /*override*/;
64
65 // vIndex: 27
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 // static functions
86 // NOLINTBEGIN
87 MCAPI static ::std::string _getRawContentsFile(::Core::Path const& pathToPack, ::Core::Path const& subPath);
88 // NOLINTEND
89
90public:
91 // constructor thunks
92 // NOLINTBEGIN
93 MCAPI void* $ctor(
94 ::ResourceLocation const& archiveLocation,
95 ::ContentIdentity const& contentIdentity,
96 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const> const& keyProvider,
97 ::Core::Path const& subPath,
98 ::std::unique_ptr<::PackAccessStrategy> zipSubPack
99 );
100 // NOLINTEND
101
102public:
103 // destructor thunk
104 // NOLINTBEGIN
105
106 // NOLINTEND
107
108public:
109 // virtual function thunks
110 // NOLINTBEGIN
111 MCAPI ::ResourceLocation const& $getPackLocation() const;
112
113 MCAPI bool $hasFolder(::Core::Path const& packRelativePath) const;
114
115 MCAPI void $forEachIn(
116 ::Core::Path const& packRelativePath,
117 ::std::function<void(::Core::Path const&)> callback,
118 bool recurseAnyways
119 ) const;
120
121 MCFOLD ::PackAccessStrategyType $getStrategyType() const;
122
123 MCFOLD ::Core::PathBuffer<::std::string> const& $getSubPath() const;
124
125 MCFOLD bool $supportsSignatureVerification() const;
126
127 MCAPI ::std::unique_ptr<::PackAccessStrategy> $createSubPack(::Core::Path const& subPath) const;
128
129 MCAPI ::std::string $_getContentsFile();
130
131 MCAPI ::std::string $_getEncryptedAssetStream(::Core::Path const& packRelativePath) const;
132 // NOLINTEND
133
134public:
135 // vftables
136 // NOLINTBEGIN
137 MCAPI static void** $vftable();
138 // NOLINTEND
139};
Definition ContentIdentity.h:10
Definition Path.h:15
Definition EncryptedFileAccessStrategy.h:19
Definition IContentKeyProvider.h:13
Definition PackAccessStrategy.h:20
Definition Path.h:16
Definition ResourceLocation.h:15
Definition ZippedEncryptedFilesAccessStrategy.h:20
Definition Alias.h:14