LeviLamina
Loading...
Searching...
No Matches
Feature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/oreui/interface/IFeature.h"
7
8// auto generated forward declare list
9// clang-format off
10class Option;
11namespace Bedrock::PubSub { class Subscription; }
12// clang-format on
13
14namespace OreUI {
15
16class Feature : public ::OreUI::IFeature {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::Option*> mMainToggle;
21 // NOLINTEND
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual bool isEnabled() const /*override*/;
27
28 virtual void
29 registerIsEnabledChangedCallback(::Bedrock::PubSub::Subscription&, ::std::function<void(bool)>) /*override*/;
30
31 virtual ~Feature() /*override*/ = default;
32 // NOLINTEND
33
34public:
35 // virtual function thunks
36 // NOLINTBEGIN
37
38 // NOLINTEND
39};
40
41} // namespace OreUI
Definition Subscription.h:10
Definition Option.h:22
Definition Feature.h:7