LeviLamina
Loading...
Searching...
No Matches
IOTaskProgressHandler.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
12class TaskGroup;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 32, ::std::string> mTitle;
20 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::std::function<void()>>> mIOTaskWorkCallbackSharedPtr;
21 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mIOTaskGroup;
22 ::ll::TypedStorage<1, 1, bool> mComplete;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 IOTaskProgressHandler();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ~IOTaskProgressHandler() /*override*/;
33
34 virtual void onStart(::MinecraftScreenModel&) /*override*/;
35
36 virtual void tick(::MinecraftScreenModel&) /*override*/;
37
38 virtual void onCancel(::MinecraftScreenModel&) /*override*/;
39
40 virtual void onExit(::MinecraftScreenModel&) /*override*/;
41
42 virtual ::LoadingState getLoadingState(::MinecraftScreenModel&) const /*override*/;
43
44 virtual ::std::string getProgressMessage(::MinecraftScreenModel&) const /*override*/;
45
46 virtual ::std::string getTitleText() const /*override*/;
47
48 virtual ::std::string getName() const /*override*/;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI IOTaskProgressHandler(::std::string const& title, ::std::function<void()> ioTaskWorkCallback);
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCAPI void* $ctor(::std::string const& title, ::std::function<void()> ioTaskWorkCallback);
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCAPI void $dtor();
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72 MCAPI void $onStart(::MinecraftScreenModel&);
73
74 MCFOLD void $tick(::MinecraftScreenModel&);
75
76 MCFOLD void $onCancel(::MinecraftScreenModel&);
77
78 MCFOLD void $onExit(::MinecraftScreenModel&);
79
80 MCAPI ::LoadingState $getLoadingState(::MinecraftScreenModel&) const;
81
82 MCFOLD ::std::string $getProgressMessage(::MinecraftScreenModel&) const;
83
84 MCFOLD ::std::string $getTitleText() const;
85
86 MCAPI ::std::string $getName() const;
87 // NOLINTEND
88
89public:
90 // vftables
91 // NOLINTBEGIN
92 MCNAPI static void** $vftable();
93 // NOLINTEND
94};
Definition IOTaskProgressHandler.h:5
static MCAPI void ** $vftable()
Definition MinecraftScreenModel.h:5
Definition ProgressHandler.h:5
Definition TaskGroup.h:55