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