LeviLamina
Loading...
Searching...
No Matches
ScriptIntBlockProperty.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/binding_type/ClassBindingBuilder.h"
7#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
8#include "mc/deps/scripting/runtime/Result.h"
9#include "mc/deps/scripting/runtime/Result_deprecated.h"
10#include "mc/scripting/modules/minecraft/block/property/IScriptBlockProperty.h"
11
12// auto generated forward declare list
13// clang-format off
14class BlockState;
15namespace ScriptModuleMinecraft { class ScriptBlockPermutation; }
16// clang-format on
17
18namespace ScriptModuleMinecraft {
19
21public:
22 // member variables
23 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 0
37 virtual ~ScriptIntBlockProperty() /*override*/ = default;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
44 ::std::string name,
45 ::BlockState const& blockState,
46 ::std::vector<int> validValues,
48 );
49
50 MCAPI ::Scripting::Result_deprecated<int> getState() const;
51
52 MCAPI ::ScriptModuleMinecraft::ScriptIntBlockProperty& operator=(::ScriptModuleMinecraft::ScriptIntBlockProperty&&);
53
54 MCAPI ::Scripting::Result<void> setState(int state);
55 // NOLINTEND
56
57public:
58 // static functions
59 // NOLINTBEGIN
60 MCAPI static ::Scripting::ClassBindingBuilder<::ScriptModuleMinecraft::ScriptIntBlockProperty> bind();
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCAPI void* $ctor(
67 ::std::string name,
68 ::BlockState const& blockState,
69 ::std::vector<int> validValues,
71 );
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCAPI static void** $vftable();
84 // NOLINTEND
85};
86
87} // namespace ScriptModuleMinecraft
Definition BlockState.h:11
Definition IScriptBlockProperty.h:17
Definition ScriptIntBlockProperty.h:20
Definition StrongTypedObjectHandle.h:8
Definition Alias.h:14