LeviLamina
Loading...
Searching...
No Matches
SkinBanCheckProgressHandler.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 // SkinBanCheckProgressHandler inner types define
17 enum class State : int {
18 Pending = 0,
19 LoadingPersona = 1,
20 InPopup = 2,
21 Done = 3,
22 Cancelling = 4,
23 Cancelled = 5,
24 };
25
26public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<4, 4, ::SkinBanCheckProgressHandler::State> mState;
30 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mInitTime;
31 ::ll::TypedStorage<8, 8, ::std::chrono::seconds> mTimeoutTime;
32 // NOLINTEND
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual void onStart(::MinecraftScreenModel& minecraftScreenModel) /*override*/;
38
39 virtual void tick(::MinecraftScreenModel& minecraftScreenModel) /*override*/;
40
41 virtual void onCancel(::MinecraftScreenModel&) /*override*/;
42
43 virtual void onExit(::MinecraftScreenModel&) /*override*/;
44
45 virtual ::LoadingState getLoadingState(::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 SkinBanCheckProgressHandler();
58
59 MCAPI bool _shouldSkipCheck(::MinecraftScreenModel& minecraftScreenModel) const;
60
61 MCAPI void _verifySkin(::MinecraftScreenModel& minecraftScreenModel);
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor();
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCAPI void $onStart(::MinecraftScreenModel& minecraftScreenModel);
74
75 MCAPI void $tick(::MinecraftScreenModel& minecraftScreenModel);
76
77 MCFOLD void $onCancel(::MinecraftScreenModel&);
78
79 MCFOLD void $onExit(::MinecraftScreenModel&);
80
81 MCAPI ::LoadingState $getLoadingState(::MinecraftScreenModel&) const;
82
83 MCFOLD ::std::string $getProgressMessage(::MinecraftScreenModel&) const;
84
85 MCFOLD ::std::string $getTitleText() const;
86
87 MCAPI ::std::string $getName() const;
88 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCNAPI static void** $vftable();
94 // NOLINTEND
95};
Definition MinecraftScreenModel.h:5
Definition ProgressHandler.h:5
Definition SkinBanCheckProgressHandler.h:5
static MCAPI void ** $vftable()