LeviLamina
Loading...
Searching...
No Matches
EntityRegistry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/game_refs/EnableGetWeakRef.h"
7#include "mc/deps/game_refs/WeakRef.h"
8
9// auto generated forward declare list
10// clang-format off
11class EntityId;
12// clang-format on
13
14class EntityRegistry : public ::EnableGetWeakRef<::EntityRegistry>,
15 public ::std::enable_shared_from_this<::EntityRegistry> {
16public:
17 // EntityRegistry inner types define
18 using Base = ::entt::basic_registry<::EntityId>;
19
21
22 using BaseShared = ::std::enable_shared_from_this<::EntityRegistry>;
23
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 32, ::std::string> mDebugName;
28 ::ll::TypedStorage<8, 304, ::entt::basic_registry<::EntityId>> mRegistry;
29 ::ll::TypedStorage<4, 4, uint> mId;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI explicit EntityRegistry(::std::string identifier);
36
37 MCAPI ::WeakRef<::EntityRegistry> getWeakRef();
38 // NOLINTEND
39
40public:
41 // static variables
42 // NOLINTBEGIN
43 MCAPI static ::std::atomic<uint>& mRegistryCount();
44 // NOLINTEND
45
46public:
47 // constructor thunks
48 // NOLINTBEGIN
49 MCAPI void* $ctor(::std::string identifier);
50 // NOLINTEND
51};
Definition EnableGetWeakRef.h:6
Definition EntityId.h:12
Definition EntityRegistry.h:15