LeviLamina
Loading...
Searching...
No Matches
FileDeleteProgressHandler.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/ProgressHandler.h"
7#include "mc/world/actor/player/LoadingState.h"
8
9// auto generated forward declare list
10// clang-format off
11class IContentManager;
13class TaskGroup;
14struct ContentItem;
15// clang-format on
16
18public:
19 // FileDeleteProgressHandler inner types define
20 using DeleteContentItemVector = ::std::vector<::std::shared_ptr<::ContentItem const>>;
21
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 8, ::IContentManager&> mContentManager;
26 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::ContentItem const>>> mToDelete;
27 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mIOTaskGroup;
28 ::ll::TypedStorage<1, 1, bool> mDeleteComplete;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 FileDeleteProgressHandler& operator=(FileDeleteProgressHandler const&);
34 FileDeleteProgressHandler(FileDeleteProgressHandler const&);
35 FileDeleteProgressHandler();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual ~FileDeleteProgressHandler() /*override*/;
41
42 virtual void onStart(::MinecraftScreenModel& minecraftScreenModel) /*override*/;
43
44 virtual void tick(::MinecraftScreenModel&) /*override*/;
45
46 virtual void onCancel(::MinecraftScreenModel&) /*override*/;
47
48 virtual void onExit(::MinecraftScreenModel&) /*override*/;
49
50 virtual ::LoadingState getLoadingState(::MinecraftScreenModel&) const /*override*/;
51
52 virtual ::std::string getProgressMessage(::MinecraftScreenModel&) const /*override*/;
53
54 virtual ::std::string getTitleText() const /*override*/;
55
56 virtual ::std::string getName() const /*override*/;
57 // NOLINTEND
58
59public:
60 // member functions
61 // NOLINTBEGIN
62 MCAPI FileDeleteProgressHandler(
63 ::IContentManager& contentManager,
64 ::std::vector<::std::shared_ptr<::ContentItem const>>&& itemsToDelete
65 );
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI void*
72 $ctor(::IContentManager& contentManager, ::std::vector<::std::shared_ptr<::ContentItem const>>&& itemsToDelete);
73 // NOLINTEND
74
75public:
76 // destructor thunk
77 // NOLINTBEGIN
78 MCAPI void $dtor();
79 // NOLINTEND
80
81public:
82 // virtual function thunks
83 // NOLINTBEGIN
84 MCAPI void $onStart(::MinecraftScreenModel& minecraftScreenModel);
85
86 MCFOLD void $tick(::MinecraftScreenModel&);
87
88 MCFOLD void $onCancel(::MinecraftScreenModel&);
89
90 MCFOLD void $onExit(::MinecraftScreenModel&);
91
92 MCAPI ::LoadingState $getLoadingState(::MinecraftScreenModel&) const;
93
94 MCFOLD ::std::string $getProgressMessage(::MinecraftScreenModel&) const;
95
96 MCAPI ::std::string $getTitleText() const;
97
98 MCAPI ::std::string $getName() const;
99 // NOLINTEND
100
101public:
102 // vftables
103 // NOLINTBEGIN
104 MCNAPI static void** $vftable();
105 // NOLINTEND
106};
Definition FileDeleteProgressHandler.h:5
static MCAPI void ** $vftable()
Definition IContentManager.h:5
Definition MinecraftScreenModel.h:5
Definition ProgressHandler.h:5
Definition TaskGroup.h:55
Definition ContentItem.h:5