LeviLamina
Loading...
Searching...
No Matches
LevelChunkVolumeData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/BlockPos.h"
7#include "mc/world/level/ChunkPos.h"
8#include "mc/world/level/chunk/LevelChunkDataRegistry.h"
9
10// auto generated forward declare list
11// clang-format off
12class IDataInput;
14class StructureStart;
15namespace br::worldgen { class StructureInstance; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::br::worldgen::StructureInstance const>>> mStructures;
23 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::br::worldgen::StructureInstance const>>>
24 mStructureReferences;
25 ::ll::TypedStorage<8, 768, ::br::LevelChunkDataRegistry> mDataRegistry;
26 ::ll::TypedStorage<4, 12, ::BlockPos> mMin;
27 ::ll::TypedStorage<4, 12, ::BlockPos> mMax;
28 ::ll::TypedStorage<8, 8, ::ChunkPos> mChunkPos;
29 ::ll::TypedStorage<8, 8, ::StructureSpawnRegistry const&> mStructureSpawnRegistry;
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI void addStructure(::std::shared_ptr<::br::worldgen::StructureInstance const> instance);
42
43 MCFOLD void addStructure(::StructureStart const& start);
44
45 MCAPI void addStructureReference(::std::shared_ptr<::br::worldgen::StructureInstance const> instance);
46
47 MCFOLD void addStructureReference(::StructureStart const& start);
48
49 MCAPI void deserializeAabbVolumes(::IDataInput& stream);
50
51 MCAPI void deserializeHardcodedSpawners(::IDataInput& stream);
52
53 MCAPI ::std::vector<::BlockPos> structureSpawnPos() const;
54
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCAPI void $dtor();
62 // NOLINTEND
63};
Definition IDataInput.h:8
Definition LevelChunkVolumeData.h:18
Definition StructureSpawnRegistry.h:14
Definition StructureStart.h:15