LeviLamina
Loading...
Searching...
No Matches
BooleanComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/settings/Component.h"
7#include "mc/client/settings/ComponentState.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace Settings { class IBooleanDataProvider; }
12namespace Settings { struct BooleanConfirmationRequest; }
13// clang-format on
14
15namespace Settings {
16
17class BooleanComponent : public ::Settings::Component<::Settings::BooleanComponent> {
18public:
19 // BooleanComponent inner types define
20 using DataProvider = ::Settings::IBooleanDataProvider;
21
22 using ConfirmationRequestsProvider = ::std::function<::std::vector<::Settings::BooleanConfirmationRequest>()>;
23
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Settings::IBooleanDataProvider>> mDataProvider;
28 ::ll::TypedStorage<8, 64, ::std::function<::std::vector<::Settings::BooleanConfirmationRequest>()>>
29 mConfirmationRequestsProvider;
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 BooleanComponent();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual ~BooleanComponent() /*override*/ = default;
40
41 virtual ::Settings::ComponentState getDefaultState() const /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI BooleanComponent(
48 ::std::string_view id,
49 ::std::string_view name,
50 ::std::optional<::std::string> description,
51 ::std::unique_ptr<::Settings::IBooleanDataProvider> dataProvider
52 );
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI void* $ctor(
59 ::std::string_view id,
60 ::std::string_view name,
61 ::std::optional<::std::string> description,
62 ::std::unique_ptr<::Settings::IBooleanDataProvider> dataProvider
63 );
64 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
69 MCFOLD ::Settings::ComponentState $getDefaultState() const;
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCNAPI static void** $vftable();
76 // NOLINTEND
77};
78
79} // namespace Settings
Definition BooleanComponent.h:7
static MCAPI void ** $vftable()
Definition IBooleanDataProvider.h:7
Definition BooleanConfirmationRequest.h:7