LeviLamina
Loading...
Searching...
No Matches
IFeature.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
namespace
Bedrock::PubSub {
class
Subscription
; }
8
// clang-format on
9
10
namespace
OreUI {
11
12
class
IFeature
{
13
public
:
14
// IFeature inner types define
15
using
OnEnabledChangedCallback = ::std::function<void(
bool
)>;
16
17
public
:
18
// virtual functions
19
// NOLINTBEGIN
20
virtual
~IFeature() =
default
;
21
22
virtual
bool
isEnabled()
const
= 0;
23
24
virtual
void
registerIsEnabledChangedCallback(::Bedrock::PubSub::Subscription&, ::std::function<
void
(
bool
)>) = 0;
25
// NOLINTEND
26
27
public
:
28
// virtual function thunks
29
// NOLINTBEGIN
30
31
// NOLINTEND
32
};
33
34
}
// namespace OreUI
Bedrock::PubSub::Subscription
Definition
Subscription.h:10
OreUI::IFeature
Definition
IFeature.h:7
src-client
mc
client
gui
oreui
interface
IFeature.h
Generated on
for LeviLamina by
1.16.1