LeviLamina
Loading...
Searching...
No Matches
TickingAreaView.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/AutomaticID.h"
7#include "mc/world/level/ticking/ITickingAreaView.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockSource;
12class ChunkPos;
13class ChunkViewSource;
14class Dimension;
15class Level;
16class LevelChunk;
17class Random;
18struct Bounds;
19struct Tick;
20namespace LevelChunkTicking { struct Registry; }
21// clang-format on
22
24public:
25 // member variables
26 // NOLINTBEGIN
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 TickingAreaView& operator=(TickingAreaView const&);
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 // vIndex: 0
43 virtual ~TickingAreaView() /*override*/;
44
45 // vIndex: 1
46 virtual void init(::Bounds const& bounds, bool isCircle) /*override*/;
47
48 // vIndex: 2
49 virtual void tick(::Tick const& currentTick, ::BlockSource& region, bool preload, bool randomize) /*override*/;
50
51 // vIndex: 3
52 virtual void tickSeasons(::BlockSource& region, ::Random& random) /*override*/;
53
54 // vIndex: 4
55 virtual ::DimensionType getDimensionId() const /*override*/;
56
57 // vIndex: 5
58 virtual ::Bounds const& getBounds() const /*override*/;
59
60 // vIndex: 6
61 virtual bool isCircle() const /*override*/;
62
63 // vIndex: 7
64 virtual bool isDoneLoading() const /*override*/;
65
66 // vIndex: 8
67 virtual bool checkInitialLoadDone(::Tick currentLevelTick) /*override*/;
68
69 // vIndex: 9
70 virtual bool checkLoadedChunkNeighborsDone(::BlockSource const& region, bool useDoneLoading) const /*override*/;
71
72 // vIndex: 10
73 virtual void move(::Bounds const& bounds) /*override*/;
74
75 // vIndex: 11
76 virtual ::std::unique_ptr<::ChunkViewSource> createChildSource() /*override*/;
77
78 // vIndex: 12
79 virtual ::std::shared_ptr<::LevelChunk> getAvailableChunk(::ChunkPos const& cp) /*override*/;
80 // NOLINTEND
81
82public:
83 // member functions
84 // NOLINTBEGIN
85 MCAPI bool _tickChunk(
86 ::Tick const& currentTick,
87 ::BlockSource& region,
88 ::Level& level,
89 ::ChunkPos const& cp,
91 );
92 // NOLINTEND
93
94public:
95 // destructor thunk
96 // NOLINTBEGIN
97 MCAPI void $dtor();
98 // NOLINTEND
99
100public:
101 // virtual function thunks
102 // NOLINTBEGIN
103 MCAPI void $init(::Bounds const& bounds, bool isCircle);
104
105 MCAPI void $tick(::Tick const& currentTick, ::BlockSource& region, bool preload, bool randomize);
106
107 MCAPI void $tickSeasons(::BlockSource& region, ::Random& random);
108
109 MCAPI ::DimensionType $getDimensionId() const;
110
111 MCAPI ::Bounds const& $getBounds() const;
112
113 MCAPI bool $isCircle() const;
114
115 MCAPI bool $isDoneLoading() const;
116
117 MCAPI bool $checkInitialLoadDone(::Tick currentLevelTick);
118
119 MCAPI bool $checkLoadedChunkNeighborsDone(::BlockSource const& region, bool useDoneLoading) const;
120
121 MCAPI void $move(::Bounds const& bounds);
122
123 MCAPI ::std::unique_ptr<::ChunkViewSource> $createChildSource();
124
125 MCAPI ::std::shared_ptr<::LevelChunk> $getAvailableChunk(::ChunkPos const& cp);
126 // NOLINTEND
127
128public:
129 // vftables
130 // NOLINTBEGIN
131 MCAPI static void** $vftable();
132 // NOLINTEND
133};
Definition BlockSource.h:67
Definition ChunkPos.h:11
Definition ChunkViewSource.h:22
Definition Dimension.h:83
Definition ITickingAreaView.h:20
Definition LevelChunk.h:73
Definition Level.h:234
Definition Random.h:16
Definition TickingAreaView.h:23
Definition Bounds.h:10
Definition Registry.h:10
Definition Tick.h:5
Definition Alias.h:14