23class ResourcePackStack {
26 using PackInstanceStack = ::std::vector<::PackInstance>;
31 ::ll::TypedStorage<8, 24, ::std::vector<::PackInstance>> mStack;
32 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PackSourceReport>> mPackSourceReport;
38 Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository const>
const& repo,
48 virtual ~ResourcePackStack();
55 MCNAPI ResourcePackStack(
56 ::std::vector<::PackInstance>
const& packs,
57 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository const>
const& repo
61 MCAPI ResourcePackStack(
62 ::std::vector<::PackInstanceId>
const& identities,
63 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository const>
const& repo,
68 MCNAPI
void _setLoadingReport(::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository const>
const& repo);
77 MCNAPI ::UnextractablePacks
80 MCAPI
void getSplitStacks(::ResourcePackStack& clientStack, ::ResourcePackStack& serverStack)
const;
83 MCNAPI ::std::vector<::PackInstanceId> getStackAsIdentities()
const;
87 MCNAPI
void mergePackReports(::std::unordered_map<::PackInstanceId, ::PackReport>& packReports);
89 MCNAPI
void serialize(::std::ostream& fileStream)
const;
91 MCNAPI
bool supportsVibrantVisuals()
const;
98 MCAPI
static void _populateDependencies(
99 ::std::vector<::PackInstance>& packStack,
101 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository const>
const& repo,
103 ::std::optional<::std::string>
const& levelId
106 MCAPI static ::std::unique_ptr<::ResourcePackStack> deserialize(
107 ::std::string_view fileData,
108 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository const>
const& repo,
109 ::std::optional<::std::string> levelId
113 MCNAPI static ::std::unique_ptr<::ResourcePackStack> deserialize(
114 ::std::vector<::PackInstanceId>
const& ids,
115 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository const>
const& repo,
116 ::std::optional<::std::string> levelId
126 ::std::vector<::PackInstance>
const& packs,
127 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository const>
const& repo
132 ::std::vector<::PackInstanceId>
const& identities,
133 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository const>
const& repo,
Definition ContentIdentity.h:8
Definition ContentTierInfo.h:12