LeviLamina
Loading...
Searching...
No Matches
ScriptBlockVolumeBase.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/lifetime_registry/WeakHandleFromThis.h"
8#include "mc/deps/scripting/runtime/Result_deprecated.h"
9#include "mc/scripting/modules/minecraft/ScriptBlockVolumeIterable.h"
10
11// auto generated forward declare list
12// clang-format off
14class BlockPos;
15class BlockVolumeBase;
16class BoundingBox;
17class Vec3;
18namespace ScriptModuleMinecraft { class ScriptBlockLocationIterator; }
19namespace Scripting { class WeakLifetimeScope; }
20namespace Scripting { struct ClassBinding; }
21// clang-format on
22
23namespace ScriptModuleMinecraft {
24
26 public ::Scripting::WeakHandleFromThis<::ScriptModuleMinecraft::ScriptBlockVolumeBase> {
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::BlockVolumeBase>>> mBlockVolumeBase;
31 // NOLINTEND
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ~ScriptBlockVolumeBase() /*override*/ = default;
37
38 virtual ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockLocationIterator>
39 getBlockLocationIterator(::Scripting::WeakLifetimeScope) = 0;
40
41 virtual ::std::unique_ptr<::BaseBlockLocationIterator> createBlockLocationIterator() = 0;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI void forEach(::std::function<bool(::BlockPos const&)> callback) const;
48
49 MCAPI ::Scripting::Result_deprecated<::BoundingBox> getBoundingBox() const;
50
51 MCFOLD int getCapacity() const;
52
53 MCAPI ::Scripting::Result_deprecated<::Vec3> getMax() const;
54
55 MCAPI ::Scripting::Result_deprecated<::Vec3> getMin() const;
56
57 MCAPI ::Vec3 getSpan() const;
58
59 MCAPI bool isInside(::Vec3 const& location) const;
60
61 MCAPI void translate(::Vec3 const& delta);
62 // NOLINTEND
63
64public:
65 // static functions
66 // NOLINTBEGIN
67 MCAPI static ::Scripting::ClassBinding bind();
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCNAPI static void** $vftable();
80 // NOLINTEND
81};
82
83} // namespace ScriptModuleMinecraft
Definition BaseBlockLocationIterator.h:8
Definition BlockPos.h:19
Definition BlockVolumeBase.h:13
Definition BoundingBox.h:13
Definition ScriptBlockLocationIterator.h:21
Definition ScriptBlockVolumeBase.h:26
Definition ScriptBlockVolumeIterable.h:7
Definition WeakHandleFromThis.h:8
Definition WeakLifetimeScope.h:7
Definition Vec3.h:10
Definition ClassBinding.h:19