Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
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
10
class
Option
;
11
namespace
Bedrock::PubSub {
class
Subscription
; }
12
// clang-format on
13
14
namespace
OreUI {
15
16
class
Feature
:
public
::OreUI::IFeature {
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::TypedStorage<8, 8, ::Option*> mMainToggle;
21
// NOLINTEND
22
23
public
:
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
// NOLINTEND
31
};
32
33
}
// namespace OreUI
Bedrock::PubSub::Subscription
Definition
Subscription.h:10
Option
Definition
Option.h:22
OreUI::Feature
Definition
Feature.h:7
src-client
mc
client
gui
oreui
Feature.h
Generated on
for LeviLamina by
1.16.1