LeviLamina
Loading...
Searching...
No Matches
EntitySystemsManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/SubClientId.h"
7#include "mc/deps/game_refs/StackRefResult.h"
8#include "mc/deps/game_refs/WeakRef.h"
9
10// auto generated forward declare list
11// clang-format off
12class EntityRegistry;
13class EntitySystems;
14class PauseManager;
15// clang-format on
16
17class EntitySystemsManager {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::EntitySystems>> mEntitySystems;
22 ::ll::TypedStorage<1, 1, bool const> mIsClientSide;
23 ::ll::TypedStorage<1, 1, ::SubClientId const> mSubClientId;
24 ::ll::TypedStorage<8, 16, ::WeakRef<::EntityRegistry>> mEntityRegistry;
25 ::ll::TypedStorage<8, 16, ::WeakRef<::PauseManager>> mPauseManager;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 EntitySystemsManager();
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI EntitySystemsManager(
36 bool isClientSide,
37 ::SubClientId subClientId,
38 ::gsl::not_null<::StackRefResult<::EntityRegistry>> const& entityRegistry,
39 ::gsl::not_null<::StackRefResult<::PauseManager>> const& pauseManager
40 );
41
42 MCFOLD ::EntitySystems& getEntitySystems();
43
44 MCAPI void tickEntitySystems();
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCAPI void* $ctor(
51 bool isClientSide,
52 ::SubClientId subClientId,
53 ::gsl::not_null<::StackRefResult<::EntityRegistry>> const& entityRegistry,
54 ::gsl::not_null<::StackRefResult<::PauseManager>> const& pauseManager
55 );
56 // NOLINTEND
57};
Definition EntityRegistry.h:11
Definition EntitySystems.h:29
Definition PauseManager.h:18
Definition StackRefResult.h:7