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
10// auto generated forward declare list
11// clang-format off
17class OnFallOnTrigger;
19class OnPlacedTrigger;
23class OnStepOnTrigger;
51// clang-format on
52
54public:
55 // BlockComponentStorage inner types declare
56 // clang-format off
57 struct ComponentBase;
58 template<typename T0> struct ComponentInstance;
59 // clang-format on
60
61 // BlockComponentStorage inner types define
63 public:
64 // virtual functions
65 // NOLINTBEGIN
66 // vIndex: 0
67 virtual ~ComponentBase() = default;
68 // NOLINTEND
69 };
70
71 template <typename T0>
73
74public:
75 // member variables
76 // NOLINTBEGIN
77 ::ll::TypedStorage<
78 8,
79 56,
82 ::std::unique_ptr<::BlockComponentStorage::ComponentBase>,
83 ::std::less<::Bedrock::typeid_t<void>>,
84 ::std::vector<::Bedrock::typeid_t<void>>,
85 ::std::vector<::std::unique_ptr<::BlockComponentStorage::ComponentBase>>>>
86 mComponents;
87 ::ll::TypedStorage<
88 8,
89 40,
92 ::std::less<::Bedrock::typeid_t<void>>,
93 ::std::vector<::Bedrock::typeid_t<void>>>>
94 mStatelessComponents;
95 ::ll::TypedStorage<1, 1, bool> mAllowModifyingComponents;
96 ::ll::TypedStorage<1, 1, bool> mAllowComponentReplacement;
97 ::ll::TypedStorage<1, 1, bool> mAllowTryGetComponentBeforeFinalization;
98 // NOLINTEND
99
100public:
101 // member functions
102 // NOLINTBEGIN
103 MCAPI void _addStatelessComponent(::Bedrock::typeid_t<void> typeId);
104
106 // NOLINTEND
107
108public:
109 // destructor thunk
110 // NOLINTBEGIN
111 MCFOLD void $dtor();
112 // NOLINTEND
113};
Definition typeid_t.h:25
Definition BlockComponentStorage.h:53
Definition BlockCustomComponentsComponent.h:19
Definition BlockEntityFallOnConfigurationComponent.h:5
Definition BlockRandomOffsetComponent.h:14
Definition BlockTickConfigurationComponent.h:5
Definition BlockTransformationComponent.h:9
Definition OnFallOnTrigger.h:15
Definition OnInteractTrigger.h:15
Definition OnPlacedTrigger.h:15
Definition OnPlayerDestroyedTrigger.h:15
Definition OnPlayerPlacingTrigger.h:15
Definition OnStepOffTrigger.h:15
Definition OnStepOnTrigger.h:15
Definition flat_map.h:8
Definition flat_set.h:8
Definition BlockAmbientSoundComponent.h:14
Definition BlockBakedMaterialDataComponent.h:8
Definition BlockCollisionBoxComponent.h:8
Definition BlockComponentStorage.h:62
Definition BlockComponentStorage.h:72
Definition BlockCraftingTableComponent.h:5
Definition BlockDestructibleByExplosionComponent.h:5
Definition BlockDestructibleByMiningComponent.h:10
Definition BlockDestructionParticlesComponent.h:8
Definition BlockDisplayNameComponent.h:5
Definition BlockEmbeddedVisualComponent.h:15
Definition BlockFlammableComponent.h:10
Definition BlockFrictionComponent.h:5
Definition BlockGeometryComponent.h:16
Definition BlockItemVisualComponent.h:12
Definition BlockLightDampeningComponent.h:8
Definition BlockLightEmissionComponent.h:8
Definition BlockLiquidDetectionComponent.h:14
Definition BlockLootComponent.h:5
Definition BlockMapColorComponent.h:9
Definition BlockMaterialInstancesComponent.h:12
Definition BlockMovableComponent.h:9
Definition BlockPlacementFilterComponent.h:12
Definition BlockQueuedTickingComponent.h:17
Definition BlockRandomTickingComponent.h:17
Definition BlockRedstoneComponent.h:5
Definition BlockRedstoneProducerComponent.h:21
Definition BlockSelectionBoxComponent.h:8
Definition BlockVoxelShapesCullingComponent.h:10