LeviLamina
Loading...
Searching...
No Matches
BlockComponentStorage.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/typeid_t.h"
7#include "mc/platform/brstd/flat_map.h"
8#include "mc/platform/brstd/flat_set.h"
9
11public:
12 // BlockComponentStorage inner types declare
13 // clang-format off
14 struct ComponentBase;
15 template<typename T0> struct ComponentInstance;
16 // clang-format on
17
18 // BlockComponentStorage inner types define
20 public:
21 // virtual functions
22 // NOLINTBEGIN
23 // vIndex: 0
24 virtual ~ComponentBase() = default;
25 // NOLINTEND
26 };
27
28 template <typename T0>
30
31public:
32 // member variables
33 // NOLINTBEGIN
34 ::ll::TypedStorage<
35 8,
36 56,
39 ::std::unique_ptr<::BlockComponentStorage::ComponentBase>,
40 ::std::less<::Bedrock::typeid_t<void>>,
41 ::std::vector<::Bedrock::typeid_t<void>>,
42 ::std::vector<::std::unique_ptr<::BlockComponentStorage::ComponentBase>>>>
43 mComponents;
44 ::ll::TypedStorage<
45 8,
46 40,
49 ::std::less<::Bedrock::typeid_t<void>>,
50 ::std::vector<::Bedrock::typeid_t<void>>>>
51 mStatelessComponents;
52 ::ll::TypedStorage<1, 1, bool> mAllowModifyingComponents;
53 ::ll::TypedStorage<1, 1, bool> mAllowComponentReplacement;
54 ::ll::TypedStorage<1, 1, bool> mAllowTryGetComponentBeforeFinalization;
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
60 MCAPI void _addStatelessComponent(::Bedrock::typeid_t<void> typeId);
61
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68 MCFOLD void $dtor();
69 // NOLINTEND
70};
Definition typeid_t.h:25
Definition BlockComponentStorage.h:10
Definition flat_map.h:8
Definition flat_set.h:8
Definition BlockComponentStorage.h:19
Definition BlockComponentStorage.h:29