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
// prevent constructor by default
28
StackResultStorageEntity
();
29
30
public
:
31
// member functions
32
// NOLINTBEGIN
33
MCAPI
explicit
StackResultStorageEntity
(
::WeakStorageEntity
const
& weakStorage);
34
// NOLINTEND
35
36
public
:
37
// constructor thunks
38
// NOLINTBEGIN
39
MCAPI
void
* $ctor(
::WeakStorageEntity
const
& weakStorage);
40
// NOLINTEND
41
};
Actor
Definition
Actor.h:103
EntityContext
Definition
EntityContext.h:16
StackResultStorageEntity
Definition
StackResultStorageEntity.h:16
WeakStorageEntity
Definition
WeakStorageEntity.h:18
optional_ref
Definition
optional_ref.h:10
src
mc
deps
ecs
gamerefs_entity
StackResultStorageEntity.h
Generated on Fri Jun 13 2025 05:04:24 for LeviLamina by
1.12.0