Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
StructureNeighborChangedQueueRestorer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/Mirror.h"
7#include "mc/util/Rotation.h"
8#include "mc/world/level/ChunkBlockPos.h"
9#include "mc/world/level/ChunkPos.h"
10#include "mc/world/level/levelgen/structure/StructureBlockPalette.h"
11
12// auto generated forward declare list
13// clang-format off
14class BlockPos;
15class CompoundTag;
16class DataLoadHelper;
18// clang-format on
19
21public:
22 // StructureNeighborChangedQueueRestorer inner types declare
23 // clang-format off
24 struct PendingRecord;
25 struct QueueData;
26 // clang-format on
27
28 // StructureNeighborChangedQueueRestorer inner types define
30 public:
31 // member variables
32 // NOLINTBEGIN
33 ::ll::TypedStorage<8, 8, ::NeighborChangedQueue*> mQueue;
34 ::ll::TypedStorage<8, 8, ::CompoundTag const*> mPayload;
35 ::ll::TypedStorage<2, 4, ::ChunkBlockPos> mNotifiedPos;
36 ::ll::TypedStorage<8, 8, int64> mSequence;
37 // NOLINTEND
38 };
39
40 struct QueueData {
41 public:
42 // member variables
43 // NOLINTBEGIN
44 ::ll::TypedStorage<8, 8, ::NeighborChangedQueue*> mQueue;
45 ::ll::TypedStorage<2, 2, short> mChunkMinHeight;
46 // NOLINTEND
47 };
48
49public:
50 // member variables
51 // NOLINTBEGIN
52 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ChunkPos, ::StructureNeighborChangedQueueRestorer::QueueData>>
53 mQueues;
54 ::ll::TypedStorage<8, 24, ::std::vector<::StructureNeighborChangedQueueRestorer::PendingRecord>> mPendingRecords;
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
60 MCNAPI void enqueueStagedRecords(::DataLoadHelper& dataLoadHelper, ::Rotation rotation, ::Mirror mirror);
61
63 ::BlockPos const& notifiedPos,
64 ::StructureBlockPalette::BlockPositionData const& blockPositionData
65 );
66
68 // NOLINTEND
69
70public:
71 // destructor thunk
72 // NOLINTBEGIN
73 MCNAPI void $dtor();
74 // NOLINTEND
75};
Definition BlockPos.h:14
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20
Definition NeighborChangedQueue.h:15
Definition StructureNeighborChangedQueueRestorer.h:20
MCAPI void enqueueStagedRecords(::DataLoadHelper &dataLoadHelper, ::Rotation rotation, ::Mirror mirror)
MCAPI void stageCapturedRecords(::BlockPos const &notifiedPos, ::StructureBlockPalette::BlockPositionData const &blockPositionData)
Definition StructureBlockPalette.h:45
Definition StructureNeighborChangedQueueRestorer.h:29
Definition StructureNeighborChangedQueueRestorer.h:40