LeviLamina
Loading...
Searching...
No Matches
WorldHistoryPackSource.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/resource/PackOrigin.h"
7#include "mc/deps/core/resource/PackType.h"
8#include "mc/deps/core/threading/Async.h"
9#include "mc/resources/PackSource.h"
10
11// auto generated forward declare list
12// clang-format off
13class Pack;
19// clang-format on
20
21class WorldHistoryPackSource : public ::PackSource {
22public:
23 // member variables
24 // NOLINTBEGIN
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 WorldHistoryPackSource& operator=(WorldHistoryPackSource const&);
34 WorldHistoryPackSource(WorldHistoryPackSource const&);
35 WorldHistoryPackSource();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual ~WorldHistoryPackSource() /*override*/ = default;
41
42 virtual ::PackOrigin getPackOrigin() const /*override*/;
43
44 virtual ::PackType getPackType() const /*override*/;
45
46 virtual ::PackSourceLoadResult _loadImpl(::PackSourceLoadOptions&& options) /*override*/;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
53
55 ::std::vector<::gsl::not_null<::std::shared_ptr<::Pack>>>& packs,
56 ::WorldPackHistory const& worldPackHistory
57 ) const;
58
59 MCNAPI ::std::unique_ptr<::Pack> _createPackFromHistoryPack(::WorldPackHistory const& worldPackHistory) const;
60
62
63#ifdef LL_PLAT_C
64 MCNAPI ::Bedrock::Threading::Async<void> saveHistoryFile();
65#endif
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77 MCNAPI ::PackOrigin $getPackOrigin() const;
78
79 MCNAPI ::PackType $getPackType() const;
80
81 MCNAPI ::PackSourceLoadResult $_loadImpl(::PackSourceLoadOptions&& options);
82
83
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftable();
90 // NOLINTEND
91};
Definition Pack.h:27
MCAPI void * $ctor(::WorldHistoryPackSourceOptions options)
MCAPI::PackSourceLoadResult $_loadImpl(::PackSourceLoadOptions &&options)
MCAPI bool _readWorldHistoryFile(::WorldPacksHistoryFile &file) const
MCAPI ::std::unique_ptr<::Pack > _createPackFromHistoryPack(::WorldPackHistory const &worldPackHistory) const
static MCAPI void ** $vftable()
MCAPI void _addPackFromHistoryPack(::std::vector<::gsl::not_null<::std::shared_ptr<::Pack > > > &packs, ::WorldPackHistory const &worldPackHistory) const
MCAPI WorldHistoryPackSource(::WorldHistoryPackSourceOptions options)
MCAPI::PackType $getPackType() const
MCAPI::PackOrigin $getPackOrigin() const
Definition WorldPackHistory.h:10
Definition WorldPacksHistoryFile.h:12
Definition PackSourceLoadOptions.h:5
Definition PackSourceLoadResult.h:5
Definition WorldHistoryPackSourceOptions.h:5
Definition Alias.h:14