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
StackResultStorageEntity.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/ecs/gamerefs_entity/EntityContext.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
WeakStorageEntity
;
11
// clang-format on
12
13
class
Actor
;
14
15
class
StackResultStorageEntity :
public
::std::optional<::EntityContext> {
16
public
:
17
template
<
class
Entity = Actor,
bool
IncludeRemoved = false>
18
[[nodiscard]]
optional_ref<Entity>
tryUnwrap()
const
{
19
if
(*
this
) {
20
return
Entity::tryGetFromEntity(
const_cast<
EntityContext
&
>
(**
this
), IncludeRemoved);
21
}
22
return
nullptr
;
23
}
24
25
public
:
26
// prevent constructor by default
27
StackResultStorageEntity();
28
29
public
:
30
// member functions
31
// NOLINTBEGIN
32
MCAPI
explicit
StackResultStorageEntity(
::WeakStorageEntity
const
& weakStorage);
33
// NOLINTEND
34
35
public
:
36
// constructor thunks
37
// NOLINTBEGIN
38
MCAPI
void
* $ctor(
::WeakStorageEntity
const
& weakStorage);
39
// NOLINTEND
40
};
Actor
Definition
Actor.h:116
EntityContext
Definition
EntityContext.h:15
WeakStorageEntity
Definition
WeakStorageEntity.h:18
optional_ref
Definition
optional_ref.h:10
src
mc
deps
ecs
gamerefs_entity
StackResultStorageEntity.h
Generated on
for LeviLamina by
1.16.1