LeviLamina
Loading...
Searching...
No Matches
BlockVolume.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/Pos.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11// clang-format on
12
14public:
15 // BlockVolume inner types declare
16 // clang-format off
17 struct BlockVolumeIter;
18 // clang-format on
19
20 // BlockVolume inner types define
22 public:
23 // BlockVolumeIter inner types define
24 using iterator_category = ::std::forward_iterator_tag;
25
26 using reference = ::std::pair<::Block const*, ::Pos> const&;
27
28 using value_type = ::std::pair<::Block const*, ::Pos> const;
29
30 using pointer = ::std::pair<::Block const*, ::Pos> const*;
31
32 using difference_type = int64;
33
34 public:
35 // member variables
36 // NOLINTBEGIN
37 ::ll::TypedStorage<4, 12, ::Pos> pos;
38 ::ll::TypedStorage<4, 12, ::Pos> dims;
39 ::ll::TypedStorage<8, 8, ::buffer_span_mut<::Block const*>::iterator> blockIter;
40 // NOLINTEND
41 };
42
43public:
44 // member variables
45 // NOLINTBEGIN
46 ::ll::TypedStorage<8, 16, ::buffer_span_mut<::Block const*>> mBlocks;
47 ::ll::TypedStorage<4, 4, uint> mWidth;
48 ::ll::TypedStorage<4, 4, uint> mHeight;
49 ::ll::TypedStorage<4, 4, uint> mDepth;
50 ::ll::TypedStorage<4, 4, int> mDimensionBottom;
51 ::ll::TypedStorage<8, 8, ::Block const*> mInitBlock;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI ::std::unique_ptr<::std::vector<short>> computeHeightMap() const;
58 // NOLINTEND
59};
Definition BlockVolume.h:13
Definition Block.h:38
Definition BlockVolume.h:21