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
OwnerStorageEntity.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
class
Actor
;
9
10
class
OwnerStorageEntity
:
public
::std::optional<::EntityContext> {
11
public
:
12
template
<
class
Entity = Actor,
bool
IncludeRemoved = false>
13
[[nodiscard]]
optional_ref<Entity>
tryUnwrap()
const
{
14
if
(*
this
) {
15
return
Entity::tryGetFromEntity(
const_cast<
EntityContext
&
>
(**
this
), IncludeRemoved);
16
}
17
return
nullptr
;
18
}
19
};
Actor
Definition
Actor.h:116
EntityContext
Definition
EntityContext.h:15
OwnerStorageEntity
Definition
OwnerStorageEntity.h:10
optional_ref
Definition
optional_ref.h:10
src
mc
deps
ecs
gamerefs_entity
OwnerStorageEntity.h
Generated on
for LeviLamina by
1.16.1