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
Interaction.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/string/StaticOptimizedString.h"
7
#include "mc/platform/brstd/move_only_function.h"
8
9
class
Interaction
{
10
public
:
11
// Interaction inner types define
12
using
ExecutionCallback =
::brstd::move_only_function
<void() &&>;
13
14
public
:
15
// member variables
16
// NOLINTBEGIN
17
::ll::TypedStorage<8, 8, ::Bedrock::StaticOptimizedString> mInteractText;
18
::ll::TypedStorage<8, 64,
::brstd::move_only_function
<void() &&>> mCallback;
19
bool
mSwing : 1;
20
// NOLINTEND
21
22
public
:
23
// static functions
24
// NOLINTBEGIN
25
MCNAPI static ::Interaction
26
Success
(
::Bedrock::StaticOptimizedString
interactText,
::brstd::move_only_function
<
void
() &&> callback);
27
// NOLINTEND
28
};
Bedrock::StaticOptimizedString
Definition
StaticOptimizedString.h:10
Interaction
Definition
Interaction.h:9
Interaction::Success
static MCAPI ::Interaction Success(::Bedrock::StaticOptimizedString interactText, ::brstd::move_only_function< void() && > callback)
brstd::move_only_function
Definition
move_only_function.h:9
src
mc
entity
components_json_legacy
Interaction.h
Generated on
for LeviLamina by
1.16.1