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 // virtual functions
35 // NOLINTBEGIN
36 virtual ~BannerComponent() /*override*/ = default;
37
38 virtual ::Settings::ComponentState getDefaultState() const /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI ::std::optional<::std::string> getCtaText() const;
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50 MCFOLD ::Settings::ComponentState $getDefaultState() const;
51 // NOLINTEND
52};
53
54} // namespace Settings
Definition BannerComponent.h:7
Definition IDataProvider.h:7