LeviLamina
Loading...
Searching...
No Matches
WorldTemplatePackSource.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/DirectoryPackSource.h"
9#include "mc/resources/PackSource.h"
10
11// auto generated forward declare list
12// clang-format off
19namespace mce { class UUID; }
20// clang-format on
21
22class WorldTemplatePackSource : public ::DirectoryPackSource {
23public:
24 // member variables
25 // NOLINTBEGIN
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 WorldTemplatePackSource& operator=(WorldTemplatePackSource const&);
34 WorldTemplatePackSource(WorldTemplatePackSource const&);
35 WorldTemplatePackSource();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual ~WorldTemplatePackSource() /*override*/ = default;
41
42 virtual ::PackSourceLoadResult _loadImpl(::PackSourceLoadOptions&& options) /*override*/;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
49
50 MCNAPI ::PackSourceReport _tryLoadFromZip(
51 ::std::shared_ptr<::PackSource::PackTaskData> data,
52 ::IPackManifestFactory& manifestFactory,
53 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const> const& keyProvider,
54 ::Core::PathBuffer<::std::string> const& worldTemplatePath,
55 ::std::string const& subDir
56 );
57
58#ifdef LL_PLAT_C
59 MCNAPI ::mce::UUID const& getWorldTemplateId() const;
60#endif
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72 MCNAPI ::PackSourceLoadResult $_loadImpl(::PackSourceLoadOptions&& options);
73
74
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
80 MCNAPI static void** $vftable();
81 // NOLINTEND
82};
Definition PathBuffer.h:8
Definition IContentKeyProvider.h:13
Definition IPackManifestFactory.h:17
Definition PackSourceReport.h:11
MCAPI WorldTemplatePackSource(::WorldTemplatePackSourceOptions options)
static MCAPI void ** $vftable()
MCAPI void * $ctor(::WorldTemplatePackSourceOptions options)
MCAPI::PackSourceLoadResult $_loadImpl(::PackSourceLoadOptions &&options)
MCAPI::PackSourceReport _tryLoadFromZip(::std::shared_ptr<::PackSource::PackTaskData > data, ::IPackManifestFactory &manifestFactory, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > const &keyProvider, ::Core::PathBuffer<::std::string > const &worldTemplatePath, ::std::string const &subDir)
Definition UUID.h:7
Definition PackSourceLoadOptions.h:5
Definition PackSourceLoadResult.h:5
Definition WorldTemplatePackSourceOptions.h:5
Definition Alias.h:14