LeviLamina
Loading...
Searching...
No Matches
ChunksLoadedInfo.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/chunk/ChunksLoadedStatus.h"
7
8// auto generated forward declare list
9// clang-format off
10class ChunkSource;
11class ChunkViewSource;
12class Dimension;
14class Player;
15struct Bounds;
16struct Tick;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<1, 1, ::ChunksLoadedStatus> mStatus;
24 ::ll::TypedStorage<8, 8, ::Player*> mPlayer;
25 ::ll::TypedStorage<8, 8, ::ITickingAreaView*> mTickingAreaView;
26 // NOLINTEND
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI ::std::unique_ptr<::ChunkViewSource> getChunkViewSource() const;
32
33 MCFOLD ::ChunksLoadedStatus getChunksLoadedStatus() const;
34 // NOLINTEND
35
36public:
37 // static functions
38 // NOLINTBEGIN
39 MCAPI static ::ChunksLoadedStatus areAllChunksLoadedAndTicking(
40 ::Dimension const& dimension,
41 ::ChunkSource& source,
42 ::Bounds const& bounds,
43 bool isCircleArea,
44 ::Tick currentLevelTick,
45 bool allowNonTickingPlayerAndTickingAreaChunks
46 );
47
48 MCAPI static ::ChunksLoadedInfo calculateChunksLoadedInfo(
49 ::Dimension const& dimension,
50 ::ChunkSource& source,
51 ::Bounds const& bounds,
52 bool isCircleArea,
53 ::Tick currentLevelTick,
54 bool allowUnloadedChunks,
55 bool allowNonTickingPlayerAndTickingAreaChunks,
56 bool allowPlayerChunks
57 );
58 // NOLINTEND
59};
Definition ChunkSource.h:37
Definition ChunkViewSource.h:23
Definition Dimension.h:89
Definition ITickingAreaView.h:17
Definition Player.h:137
Definition Bounds.h:8
Definition ChunksLoadedInfo.h:19
Definition Tick.h:5