LeviLamina
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:123
EntityContext
Definition
EntityContext.h:17
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