LeviLamina
Loading...
Searching...
No Matches
OwnerStorageEntity.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
#include "mc/deps/ecs/gamerefs_entity/EntityContext.h"
5
6
// auto generated inclusion list
7
#include "mc/deps/ecs/gamerefs_entity/EntityContext.h"
8
9
class
Actor
;
10
11
class
OwnerStorageEntity
:
public
::std::optional<::EntityContext> {
12
public
:
13
template
<
class
Entity = Actor,
bool
IncludeRemoved = false>
14
[[nodiscard]]
optional_ref<Entity>
tryUnwrap()
const
{
15
if
(*
this
) {
16
return
Entity::tryGetFromEntity(
const_cast<
EntityContext
&
>
(**
this
), IncludeRemoved);
17
}
18
return
nullptr
;
19
}
20
};
Actor
Definition
Actor.h:103
EntityContext
Definition
EntityContext.h:16
OwnerStorageEntity
Definition
OwnerStorageEntity.h:11
optional_ref
Definition
optional_ref.h:10
src
mc
deps
ecs
gamerefs_entity
OwnerStorageEntity.h
Generated on Fri Jun 13 2025 05:04:24 for LeviLamina by
1.12.0