LeviLamina
Loading...
Searching...
No Matches
ScriptBlockType.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7#include "mc/deps/scripting/runtime/Result_deprecated.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockType;
12namespace ScriptModuleMinecraft { class ScriptBlockPermutation; }
13namespace Scripting { class WeakLifetimeScope; }
14namespace Scripting { struct ClassBinding; }
15// clang-format on
16
17namespace ScriptModuleMinecraft {
18
20public:
21 // ScriptBlockType inner types declare
22 // clang-format off
23 struct Key;
24 // clang-format on
25
26 // ScriptBlockType inner types define
27 struct Key {
28 public:
29 // member variables
30 // NOLINTBEGIN
32 // NOLINTEND
33
34 public:
35 // prevent constructor by default
36 Key& operator=(Key const&);
37 Key(Key const&);
38 Key();
39 };
40
41public:
42 // member variables
43 // NOLINTBEGIN
46 // NOLINTEND
47
48public:
49 // prevent constructor by default
50 ScriptBlockType& operator=(ScriptBlockType const&);
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCNAPI ::Scripting::Result_deprecated<
60
61 MCNAPI ::std::string getId() const;
62 // NOLINTEND
63
64public:
65 // static functions
66 // NOLINTBEGIN
67 MCNAPI static ::Scripting::ClassBinding bind();
68
69 MCNAPI static ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockType>
71
72 MCNAPI static ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockType>>
74 // NOLINTEND
75};
76
77} // namespace ScriptModuleMinecraft
Definition BlockType.h:84
Definition ScriptBlockType.h:19
static MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockType > getOrCreateHandle(::Scripting::WeakLifetimeScope const &scope, ::BlockType const &block)
static MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockType > > tryGetHandle(::Scripting::WeakLifetimeScope const &scope, ::BlockType const &block)
MCAPI ::Scripting::Result_deprecated< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockPermutation > > createDefaultBlockPermutationV010() const
MCAPI::std::string getId() const
static MCAPI ::Scripting::ClassBinding bind()
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:7
Definition ScriptBlockType.h:27
Definition Alias.h:14