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
BlockGameplayHandler.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/gameplayhandlers/CoordinatorResult.h"
7
#include "mc/gameplayhandlers/GameplayHandler.h"
8
#include "mc/gameplayhandlers/GameplayHandlerResult.h"
9
#include "mc/gameplayhandlers/HandlerResult.h"
10
#include "mc/world/events/BlockGameplayEvent.h"
11
#include "mc/world/events/MutableBlockGameplayEvent.h"
12
13
class
BlockGameplayHandler
:
public
::GameplayHandler
{
14
public
:
15
// virtual functions
16
// NOLINTBEGIN
17
virtual
~BlockGameplayHandler
()
/*override*/
=
default
;
18
19
virtual ::HandlerResult handleEvent(
::BlockGameplayEvent<void>
const
&) = 0;
20
21
virtual ::GameplayHandlerResult<::CoordinatorResult>
22
handleEvent(
::BlockGameplayEvent<::CoordinatorResult>
const
&) = 0;
23
24
virtual ::GameplayHandlerResult<::std::optional<::std::string>>
25
handleEvent(
::BlockGameplayEvent
<::std::optional<::std::string>>
const
&) = 0;
26
27
virtual ::GameplayHandlerResult<::CoordinatorResult>
28
handleEvent(
::MutableBlockGameplayEvent<::CoordinatorResult>
& event) = 0;
29
// NOLINTEND
30
};
BlockGameplayHandler
Definition
BlockGameplayHandler.h:13
GameplayHandler
Definition
GameplayHandler.h:5
BlockGameplayEvent
Definition
BlockGameplayEvent.h:23
MutableBlockGameplayEvent
Definition
MutableBlockGameplayEvent.h:9
src
mc
gameplayhandlers
BlockGameplayHandler.h
Generated on
for LeviLamina by
1.16.1