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/lifetime_registry/StrongTypedObjectHandle.h"
7#include "mc/deps/scripting/runtime/Result_deprecated.h"
8#include "mc/scripting/modules/minecraft/block/property/IScriptBlockProperty.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockState;
13namespace ScriptModuleMinecraft { class ScriptBlockPermutation; }
14namespace Scripting { struct ClassBinding; }
15// clang-format on
16
17namespace ScriptModuleMinecraft {
18
20public:
21 // member variables
22 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 0
36 virtual ~ScriptIntBlockProperty() /*override*/ = default;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
43 ::std::string name,
44 ::BlockState const& blockState,
45 ::std::vector<int> validValues,
47 );
48
49 MCNAPI ::Scripting::Result_deprecated<int> getState() const;
50
51 MCNAPI ::ScriptModuleMinecraft::ScriptIntBlockProperty&
53
54 MCNAPI ::Scripting::Result_deprecated<void> setState(int state);
55 // NOLINTEND
56
57public:
58 // static functions
59 // NOLINTBEGIN
60 MCNAPI static ::Scripting::ClassBinding bind();
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCNAPI void* $ctor(
67 ::std::string name,
68 ::BlockState const& blockState,
69 ::std::vector<int> validValues,
71 );
72 // NOLINTEND
73
74public:
75 // vftables
76 // NOLINTBEGIN
77 MCNAPI static void** $vftable();
78 // NOLINTEND
79};
80
81} // namespace ScriptModuleMinecraft
Definition BlockState.h:13
Definition IScriptBlockProperty.h:17
Definition ScriptIntBlockProperty.h:19
MCAPI void * $ctor(::std::string name, ::BlockState const &blockState, ::std::vector< int > validValues, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockPermutation > blockPermutation)
MCAPI ::Scripting::Result_deprecated< void > setState(int state)
MCAPI::ScriptModuleMinecraft::ScriptIntBlockProperty & operator=(::ScriptModuleMinecraft::ScriptIntBlockProperty &&)
MCAPI ScriptIntBlockProperty(::std::string name, ::BlockState const &blockState, ::std::vector< int > validValues, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockPermutation > blockPermutation)
MCAPI ::Scripting::Result_deprecated< int > getState() const
static MCAPI ::Scripting::ClassBinding bind()
Definition StrongTypedObjectHandle.h:8
Definition Alias.h:14