LeviLamina
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:113
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