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;
18// clang-format on
19
20class WorldHistoryPackSource : public ::PackSource {
21public:
22 // member variables
23 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 WorldHistoryPackSource& operator=(WorldHistoryPackSource const&);
33 WorldHistoryPackSource(WorldHistoryPackSource const&);
34 WorldHistoryPackSource();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual ~WorldHistoryPackSource() /*override*/ = default;
40
41 virtual ::PackOrigin getPackOrigin() const /*override*/;
42
43 virtual ::PackType getPackType() const /*override*/;
44
45 virtual ::PackSourceLoadResult _loadImpl(::PackSourceLoadOptions&& options) /*override*/;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
52
53#ifdef LL_PLAT_C
54 MCNAPI void _addPackFromHistoryPack(
55 ::std::vector<::gsl::not_null<::std::shared_ptr<::Pack>>>& packs,
56 ::WorldPackHistory const& worldPackHistory
57 ) const;
58
59 MCNAPI ::Bedrock::Threading::Async<void> saveHistoryFile();
60
61 MCNAPI ::Bedrock::Threading::Async<void>
62 trackNewPacksIfNotTracked(::std::vector<::WorldPackHistory>&& worldPackHistory);
63#endif
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCNAPI ::PackOrigin $getPackOrigin() const;
76
77 MCNAPI ::PackType $getPackType() const;
78
79 MCNAPI ::PackSourceLoadResult $_loadImpl(::PackSourceLoadOptions&& options);
80
81
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftable();
88 // NOLINTEND
89};
Definition Pack.h:27
MCAPI void * $ctor(::WorldHistoryPackSourceOptions options)
MCAPI::PackSourceLoadResult $_loadImpl(::PackSourceLoadOptions &&options)
static MCAPI void ** $vftable()
MCAPI WorldHistoryPackSource(::WorldHistoryPackSourceOptions options)
MCAPI::PackType $getPackType() const
MCAPI::PackOrigin $getPackOrigin() const
Definition WorldPackHistory.h:11
Definition PackSourceLoadOptions.h:5
Definition PackSourceLoadResult.h:5
Definition WorldHistoryPackSourceOptions.h:5
Definition Alias.h:14