LeviLamina
Loading...
Searching...
No Matches
BlockCustomComponentsComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/game_refs/WeakRef.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockLegacy;
12namespace ScriptModuleMinecraft { class ScriptBlockCustomComponentInterface; }
13namespace ScriptModuleMinecraft { class ScriptBlockCustomComponentsRegistry; }
14// clang-format on
15
17public:
18 // BlockCustomComponentsComponent inner types declare
19 // clang-format off
21 // clang-format on
22
23 // BlockCustomComponentsComponent inner types define
25 public:
26 // member variables
27 // NOLINTBEGIN
30 // NOLINTEND
31
32 public:
33 // prevent constructor by default
37 };
38
39public:
40 // member variables
41 // NOLINTBEGIN
42 ::ll::TypedStorage<1, 1, bool> mIsCustomComponentsV1;
43 ::ll::TypedStorage<1, 1, bool> mHasPlayerInteractEvent;
44 ::ll::TypedStorage<1, 1, bool> mHasPlayerPlacingEvent;
45 ::ll::TypedStorage<8, 16, ::WeakRef<::ScriptModuleMinecraft::ScriptBlockCustomComponentsRegistry>> mScriptRegistry;
46 ::ll::TypedStorage<8, 24, ::std::vector<::BlockCustomComponentData>> mCustomComponentData;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI ::std::vector<::BlockCustomComponentsComponent::ExecutableComponent> _gatherComponentsToExecute() const;
53
54 MCAPI ::std::vector<::gsl::not_null<::ScriptModuleMinecraft::ScriptBlockCustomComponentInterface const*>>
55 tryGetComponentsToExecute(::BlockLegacy const& baseBlock) const;
56 // NOLINTEND
57};
Definition BlockCustomComponentsComponent.h:16
Definition BlockLegacy.h:88
Definition BlockCustomComponentData.h:5
Definition BlockCustomComponentsComponent.h:24
Definition Alias.h:14