LeviLamina
Loading...
Searching...
No Matches
BaseBlockLocationIterator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/BlockPos.h"
7
8class BaseBlockLocationIterator {
9public:
10 // BaseBlockLocationIterator inner types define
11 using difference_type = int64;
12
13 using iterator_category = ::std::input_iterator_tag;
14
15 using pointer = ::BlockPos*;
16
17 using reference = ::BlockPos;
18
19 using value_type = ::BlockPos;
20
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 12, ::BlockPos> mMin;
25 ::ll::TypedStorage<4, 12, ::BlockPos> mMax;
26 ::ll::TypedStorage<4, 12, ::BlockPos> mCurrent;
27 ::ll::TypedStorage<1, 1, bool> mDone;
28 // NOLINTEND
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~BaseBlockLocationIterator() = default;
34
35 virtual bool operator==(::BaseBlockLocationIterator const&) const;
36
37 virtual bool operator!=(::BaseBlockLocationIterator const& rhs) const;
38
39 virtual ::BaseBlockLocationIterator& operator++();
40
41 virtual bool isValid() const = 0;
42
43 virtual void _begin();
44
45 virtual void _end();
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCAPI BaseBlockLocationIterator();
52
53 MCAPI BaseBlockLocationIterator(::BlockPos const& min, ::BlockPos const& max, bool begin);
54
55 MCFOLD bool done() const;
56
57 MCFOLD ::BlockPos operator*() const;
58
59 MCAPI void reset();
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCAPI void* $ctor();
66
67 MCAPI void* $ctor(::BlockPos const& min, ::BlockPos const& max, bool begin);
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCAPI void $_begin();
74
75 MCAPI void $_end();
76
77
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCNAPI static void** $vftable();
84 // NOLINTEND
85};
static MCAPI void ** $vftable()
Definition BlockPos.h:21