LeviLamina
Loading...
Searching...
No Matches
ExperienceJoinProgressHandler.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<1, 1, bool> mInitialized;
19 ::ll::TypedStorage<1, 1, bool> mRequestCanceled;
20 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mInitTime;
21 ::ll::TypedStorage<8, 8, ::std::chrono::seconds> mTimeoutTime;
22 ::ll::TypedStorage<8, 64, ::std::function<void()>> mOnStart;
23 ::ll::TypedStorage<8, 64, ::std::function<void()>> mOnCancel;
24 ::ll::TypedStorage<8, 16, ::std::shared_ptr<bool const>> mJoinRequestComplete;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 ExperienceJoinProgressHandler();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ~ExperienceJoinProgressHandler() /*override*/ = default;
35
36 virtual void onStart(::MinecraftScreenModel&) /*override*/;
37
38 virtual void tick(::MinecraftScreenModel& minecraftScreenModel) /*override*/;
39
40 virtual void onCancel(::MinecraftScreenModel&) /*override*/;
41
42 virtual void onExit(::MinecraftScreenModel& minecraftScreenModel) /*override*/;
43
44 virtual ::LoadingState getLoadingState(::MinecraftScreenModel&) const /*override*/;
45
46 virtual ::std::string getProgressMessage(::MinecraftScreenModel&) const /*override*/;
47
48 virtual ::std::string getTitleText() const /*override*/;
49
50 virtual ::std::string getName() const /*override*/;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI ExperienceJoinProgressHandler(
57 ::std::function<void()> startCallback,
58 ::std::function<void()> cancelCallback,
59 ::std::shared_ptr<bool const> joinRequestComplete
60 );
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCAPI void* $ctor(
67 ::std::function<void()> startCallback,
68 ::std::function<void()> cancelCallback,
69 ::std::shared_ptr<bool const> joinRequestComplete
70 );
71 // NOLINTEND
72
73public:
74 // virtual function thunks
75 // NOLINTBEGIN
76 MCAPI void $onStart(::MinecraftScreenModel&);
77
78 MCAPI void $tick(::MinecraftScreenModel& minecraftScreenModel);
79
80 MCAPI void $onCancel(::MinecraftScreenModel&);
81
82 MCAPI void $onExit(::MinecraftScreenModel& minecraftScreenModel);
83
84 MCAPI ::LoadingState $getLoadingState(::MinecraftScreenModel&) const;
85
86 MCFOLD ::std::string $getProgressMessage(::MinecraftScreenModel&) const;
87
88 MCAPI ::std::string $getTitleText() const;
89
90 MCAPI ::std::string $getName() const;
91 // NOLINTEND
92};
Definition ExperienceJoinProgressHandler.h:5
Definition MinecraftScreenModel.h:5
Definition ProgressHandler.h:5