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
BatteryMonitorInterface.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/platform/battery/BatterySaverMode.h"
7
#include "mc/platform/battery/BatteryStatus.h"
8
9
class
BatteryMonitorInterface
{
10
public
:
11
// virtual functions
12
// NOLINTBEGIN
13
virtual
~BatteryMonitorInterface
() =
default
;
14
15
virtual ::BatteryStatus getBatteryStatus()
const
= 0;
16
17
virtual
float
getBatteryLevel()
const
= 0;
18
19
virtual ::BatterySaverMode getBatterySaverMode()
const
;
20
// NOLINTEND
21
22
public
:
23
// virtual function thunks
24
// NOLINTBEGIN
25
#ifdef LL_PLAT_C
26
MCNAPI ::BatterySaverMode $getBatterySaverMode()
const
;
27
#endif
28
29
30
// NOLINTEND
31
};
BatteryMonitorInterface
Definition
BatteryMonitorInterface.h:9
src
mc
platform
battery
BatteryMonitorInterface.h
Generated on
for LeviLamina by
1.16.1