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
PlayerInteractionSystem.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/item/HandSlot.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Actor
;
11
class
Interaction
;
12
class
Player
;
13
// clang-format on
14
15
class
PlayerInteractionSystem
{
16
public
:
17
// PlayerInteractionSystem inner types declare
18
// clang-format off
19
struct
InteractionMappingBase
;
20
template
<
typename
T0>
struct
InteractionMapping
;
21
// clang-format on
22
23
// PlayerInteractionSystem inner types define
24
struct
InteractionMappingBase
{
25
public
:
26
// virtual functions
27
// NOLINTBEGIN
28
virtual
~InteractionMappingBase
() =
default
;
29
30
virtual ::Interaction getInteraction(
::Actor
&,
::Player
&, ::HandSlot)
const
= 0;
31
// NOLINTEND
32
};
33
34
template
<
typename
T0>
35
struct
InteractionMapping
{};
36
37
public
:
38
// member variables
39
// NOLINTBEGIN
40
::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::PlayerInteractionSystem::InteractionMappingBase>>>
41
mInteractionMappings;
42
// NOLINTEND
43
};
Actor
Definition
Actor.h:116
Interaction
Definition
Interaction.h:9
PlayerInteractionSystem
Definition
PlayerInteractionSystem.h:15
Player
Definition
Player.h:131
PlayerInteractionSystem::InteractionMappingBase
Definition
PlayerInteractionSystem.h:24
PlayerInteractionSystem::InteractionMapping
Definition
PlayerInteractionSystem.h:35
src
mc
entity
systems
PlayerInteractionSystem.h
Generated on
for LeviLamina by
1.16.1