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/ecs/EntityId.h"
7#include "mc/deps/game_refs/EnableGetWeakRef.h"
8#include "mc/deps/game_refs/WeakRef.h"
9
10class EntityRegistry : public ::EnableGetWeakRef<::EntityRegistry>,
11 public ::std::enable_shared_from_this<::EntityRegistry> {
12public:
13 // EntityRegistry inner types define
14 using Base = ::entt::basic_registry<::EntityId>;
15
17
18 using BaseShared = ::std::enable_shared_from_this<::EntityRegistry>;
19
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 32, ::std::string> mDebugName;
24 ::ll::TypedStorage<8, 304, ::entt::basic_registry<::EntityId>> mRegistry;
25 ::ll::TypedStorage<4, 4, uint> mId;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCNAPI explicit EntityRegistry(::std::string identifier);
36
37 MCNAPI ::WeakRef<::EntityRegistry> getWeakRef();
38 // NOLINTEND
39
40public:
41 // static variables
42 // NOLINTBEGIN
43 MCNAPI static ::std::atomic<uint>& mRegistryCount();
44 // NOLINTEND
45
46public:
47 // constructor thunks
48 // NOLINTBEGIN
49 MCNAPI void* $ctor(::std::string identifier);
50 // NOLINTEND
51};
Definition EnableGetWeakRef.h:6
Definition EntityRegistry.h:11
MCAPI ::WeakRef<::EntityRegistry > getWeakRef()
MCAPI void * $ctor(::std::string identifier)
static MCAPI ::std::atomic< uint > & mRegistryCount()
MCAPI EntityRegistry(::std::string identifier)