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