LeviLamina
Loading...
Searching...
No Matches
ScriptBlockComponents.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/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockPos;
12class BlockSource;
13namespace ScriptModuleMinecraft { class BaseScriptBlockComponent; }
14namespace ScriptModuleMinecraft { class IScriptBlockCustomComponentReader; }
15namespace ScriptModuleMinecraft { class ScriptComponentTypeEnumBuilder; }
16namespace Scripting { class ModuleBindingBuilder; }
17namespace Scripting { class WeakLifetimeScope; }
18// clang-format on
19
20namespace ScriptModuleMinecraft {
21
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 16, ::WeakRef<::ScriptModuleMinecraft::IScriptBlockCustomComponentReader const>>
27 mCustomComponentReader;
28 // NOLINTEND
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::BaseScriptBlockComponent>>
34 createV010(
35 ::std::string const& componentName,
36 ::BlockSource& region,
37 ::BlockPos position,
39 ) const;
40
41 MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::BaseScriptBlockComponent>>
42 createV1(
43 ::std::string const& componentName,
44 ::BlockSource& region,
45 ::BlockPos position,
47 ) const;
48
49 MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::BaseScriptBlockComponent>>
50 createV2(
51 ::std::string const& componentName,
52 ::BlockSource& region,
53 ::BlockPos position,
55 ) const;
56 // NOLINTEND
57
58public:
59 // static functions
60 // NOLINTBEGIN
61 MCAPI static void bind(
64 );
65 // NOLINTEND
66};
67
68} // namespace ScriptModuleMinecraft
Definition BlockPos.h:19
Definition BlockSource.h:68
Definition BaseScriptBlockComponent.h:19
Definition IScriptBlockCustomComponentReader.h:18
Definition ScriptBlockComponents.h:22
Definition ScriptComponentTypeEnumBuilder.h:17
Definition ModuleBindingBuilder.h:27
Definition WeakLifetimeScope.h:7