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
19class OnFallOnTrigger;
21class OnPlacedTrigger;
25class OnStepOnTrigger;
56// clang-format on
57
59public:
60 // BlockComponentStorage inner types declare
61 // clang-format off
62 struct ComponentBase;
63 template<typename T0> struct ComponentInstance;
64 // clang-format on
65
66 // BlockComponentStorage inner types define
68 public:
69 // virtual functions
70 // NOLINTBEGIN
71 virtual ~ComponentBase() = default;
72 // NOLINTEND
73 };
74
75 template <typename T0>
77
78public:
79 // member variables
80 // NOLINTBEGIN
81 ::ll::TypedStorage<
82 8,
83 56,
86 ::std::unique_ptr<::BlockComponentStorage::ComponentBase>,
87 ::std::less<::Bedrock::typeid_t<void>>,
88 ::std::vector<::Bedrock::typeid_t<void>>,
89 ::std::vector<::std::unique_ptr<::BlockComponentStorage::ComponentBase>>>>
90 mComponents;
91 ::ll::TypedStorage<
92 8,
93 40,
96 ::std::less<::Bedrock::typeid_t<void>>,
97 ::std::vector<::Bedrock::typeid_t<void>>>>
98 mStatelessComponents;
99 ::ll::TypedStorage<1, 1, bool> mAllowModifyingComponents;
100 ::ll::TypedStorage<1, 1, bool> mAllowComponentReplacement;
101 ::ll::TypedStorage<1, 1, bool> mAllowTryGetComponentBeforeFinalization;
102 // NOLINTEND
103
104public:
105 // member functions
106 // NOLINTBEGIN
107 MCAPI void _addStatelessComponent(::Bedrock::typeid_t<void> typeId);
108
110 // NOLINTEND
111
112public:
113 // destructor thunk
114 // NOLINTBEGIN
115 MCFOLD void $dtor();
116 // NOLINTEND
117};
Definition typeid_t.h:25
Definition BlockComponentStorage.h:58
Definition BlockConnectionComponent.h:17
Definition BlockCustomComponentsComponent.h:19
Definition BlockEntityFallOnConfigurationComponent.h:5
Definition BlockRandomOffsetComponent.h:14
Definition BlockRedstoneConsumerComponent.h:17
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 BlockCollisionBoxComponent.h:8
Definition BlockComponentStorage.h:67
Definition BlockComponentStorage.h:76
Definition BlockConnectionRuleComponent.h:15
Definition BlockCraftingTableComponent.h:5
Definition BlockDestructibleByExplosionComponent.h:5
Definition BlockDestructibleByMiningComponent.h:10
Definition BlockDestructionParticlesComponent.h:13
Definition BlockDisplayNameComponent.h:5
Definition BlockEmbeddedVisualComponent.h:11
Definition BlockFlammableComponent.h:10
Definition BlockFrictionComponent.h:5
Definition BlockGeometryComponent.h:16
Definition BlockItemVisualComponent.h:11
Definition BlockLeashableComponent.h:17
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 BlockPrecipitationInteractionsComponent.h:8
Definition BlockQueuedTickingComponent.h:17
Definition BlockRandomTickingComponent.h:17
Definition BlockRedstoneComponent.h:5
Definition BlockRedstoneProducerComponent.h:21
Definition BlockSelectionBoxComponent.h:8
Definition BlockSupportComponent.h:13
Definition BlockVoxelShapesCullingComponent.h:10