LeviLamina
Loading...
Searching...
No Matches
StackResultStorageEntity.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
// auto generated forward declare list
10
// clang-format off
11
class
WeakStorageEntity
;
12
// clang-format on
13
14
class
Actor
;
15
16
class
StackResultStorageEntity :
public
::std::optional<::EntityContext> {
17
public
:
18
template
<
class
Entity = Actor,
bool
IncludeRemoved = false>
19
[[nodiscard]]
optional_ref<Entity>
tryUnwrap()
const
{
20
if
(*
this
) {
21
return
Entity::tryGetFromEntity(
const_cast<
EntityContext
&
>
(**
this
), IncludeRemoved);
22
}
23
return
nullptr
;
24
}
25
26
public
:
27
StackResultStorageEntity() =
default
;
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:106
EntityContext
Definition
EntityContext.h:16
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