LeviLamina
Loading...
Searching...
No Matches
NetworkChunkSubscriber.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/BlockPos.h"
7
8// auto generated forward declare list
9// clang-format off
10class ChunkPos;
11class ChunkSource;
12class ChunkViewSource;
13class Vec3;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 12, ::BlockPos> mLastChunkUpdatePosition;
21 ::ll::TypedStorage<4, 4, uint> mHandleForChunkBuildOrderUpdates;
22 ::ll::TypedStorage<4, 4, uint> mBlockRadiusLimit;
23 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ChunkViewSource>> mSource;
24 // NOLINTEND
25
26public:
27 // member functions
28 // NOLINTBEGIN
29#ifdef LL_PLAT_C
31
32 MCAPI void clearRegion();
33
34 MCAPI void destroyRegion();
35
36 MCFOLD ::ChunkSource& getChunkSource() const;
37
38 MCAPI bool moveRegion(::BlockPos const& position, uint blockRadius, ::Vec3 const& direction, float minDistance);
39
40 MCAPI void prepareRegion(::ChunkSource& mainChunkSource, ::ChunkPos& center);
41
42 MCAPI void updateRadiusLimit(uint requestedChunkRadius);
43#endif
44 // NOLINTEND
45
46public:
47 // constructor thunks
48 // NOLINTBEGIN
49#ifdef LL_PLAT_C
50 MCAPI void* $ctor();
51#endif
52 // NOLINTEND
53};
Definition BlockPos.h:21
Definition ChunkPos.h:11
Definition ChunkSource.h:37
Definition ChunkViewSource.h:23
Definition NetworkChunkSubscriber.h:16
Definition Vec3.h:10