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