LeviLamina
Loading...
Searching...
No Matches
LevelChunkBuilderData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/chunk/ChunkState.h"
7#include "mc/world/level/chunk/LevelChunkGridAreaElement.h"
8
9// auto generated forward declare list
10// clang-format off
11class ChunkPos;
12class LevelChunk;
13class SpinLockImpl;
14// clang-format on
15
17public:
18 // LevelChunkBuilderData inner types declare
19 // clang-format off
21 // clang-format on
22
23 // LevelChunkBuilderData inner types define
25 public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 16, ::std::pair<::ChunkPos, ::ChunkState>> mChunkPosAndExpectedState;
29 ::ll::TypedStorage<4, 4, int> mPriority;
30 // NOLINTEND
31 };
32
33public:
34 // member variables
35 // NOLINTBEGIN
36 ::ll::TypedStorage<8, 32, ::SpinLockImpl> mChunkGenerationGridMapSpinLock;
37 ::ll::TypedStorage<
38 8,
39 64,
40 ::std::unordered_map<::ChunkPos, ::std::shared_ptr<::LevelChunkGridAreaElement<::std::weak_ptr<::LevelChunk>>>>>
41 mChunkGenerationGridMap;
42 ::ll::TypedStorage<8, 32, ::SpinLockImpl> mChunksToAddToProcessingSpinLock;
43 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<::ChunkPos, ::ChunkState>>> mChunksToAddToProcessing;
44 ::ll::TypedStorage<8, 32, ::SpinLockImpl> mChunksReadyForProcessingSpinLock;
45 ::ll::TypedStorage<8, 64, ::std::unordered_set<::std::pair<::ChunkPos, ::ChunkState>>> mChunksReadyForProcessing;
46 ::ll::TypedStorage<8, 24, ::std::vector<::LevelChunkBuilderData::ChunkReadyForProcessingElement>> mChunkSortVector;
47 ::ll::TypedStorage<4, 4, ::std::atomic<int>> mChunkGenerationTasksInFlight;
48 ::ll::TypedStorage<8, 32, ::SpinLockImpl> mSpawnTasksLock;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
55
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor();
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68 MCAPI void $dtor();
69 // NOLINTEND
70};
Definition ChunkPos.h:11
Definition LevelChunkBuilderData.h:16
Definition LevelChunk.h:73
Definition SpinLockImpl.h:5
Definition LevelChunkBuilderData.h:24