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#include "mc/scripting/modules/minecraft/ScriptCustomComponentParameterCacheHandle.h"
8#include "mc/scripting/modules/minecraft/events/ScriptCustomComponentToExecute.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockType;
13class HashedString;
15namespace ScriptModuleMinecraft { class ScriptBlockCustomComponentInterface; }
16namespace ScriptModuleMinecraft { class ScriptBlockCustomComponentsRegistry; }
17// clang-format on
18
20public:
21 // BlockCustomComponentsComponent inner types declare
22 // clang-format off
24 // clang-format on
25
26 // BlockCustomComponentsComponent inner types define
28 public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<8, 8, ::HashedString const&> mName;
32 ::ll::TypedStorage<8, 16, ::ScriptModuleMinecraft::ScriptCustomComponentParameterCacheHandle const> mData;
33 ::ll::TypedStorage<8, 8, ::gsl::not_null<::ScriptModuleMinecraft::ScriptBlockCustomComponentInterface const*>>
34 mComponent;
35 // NOLINTEND
36
37 public:
38 // prevent constructor by default
42 };
43
44public:
45 // member variables
46 // NOLINTBEGIN
47 ::ll::TypedStorage<1, 1, bool> mIsCustomComponentsV1;
48 ::ll::TypedStorage<1, 1, bool> mHasPlayerInteractEvent;
49 ::ll::TypedStorage<1, 1, bool> mHasPlayerPlacingEvent;
50 ::ll::TypedStorage<8, 16, ::WeakRef<::ScriptModuleMinecraft::ScriptBlockCustomComponentsRegistry>> mScriptRegistry;
51 ::ll::TypedStorage<8, 24, ::std::vector<::BlockCustomComponentData>> mCustomComponentData;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI ::std::vector<::BlockCustomComponentsComponent::ExecutableComponent> _gatherComponentsToExecute() const;
58
61 void>>
62 tryGetComponentsToExecute(::BlockType const& baseBlock) const;
63 // NOLINTEND
64};
Definition BlockCustomComponentsComponent.h:19
Definition BlockType.h:84
Definition HashedString.h:5
Definition ScriptBlockCustomComponentInterface.h:10
Definition ScriptCustomComponentToExecute.h:8
Definition BlockCustomComponentData.h:10
Definition BlockCustomComponentsComponent.h:27