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
12// clang-format on
13
14class Actor;
15
16class StackResultStorageEntity : public ::std::optional<::EntityContext> {
17public:
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
26public:
27 // prevent constructor by default
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI explicit StackResultStorageEntity(::WeakStorageEntity const& weakStorage);
34 // NOLINTEND
35
36public:
37 // constructor thunks
38 // NOLINTBEGIN
39 MCAPI void* $ctor(::WeakStorageEntity const& weakStorage);
40 // NOLINTEND
41};
Definition Actor.h:103
Definition EntityContext.h:16
Definition StackResultStorageEntity.h:16
Definition WeakStorageEntity.h:18
Definition optional_ref.h:10