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
27 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ChunkViewSource>> mTickingArea;
28 ::ll::TypedStorage<4, 4, uint> mPolicyHandle;
29 ::ll::TypedStorage<1, 1, bool> mInfluenceDirty;
30 ::ll::TypedStorage<1, 1, bool> mDoneLoading;
31 // NOLINTEND
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 0
37 virtual ~TickingAreaView() /*override*/;
38
39 // vIndex: 1
40 virtual void init(::Bounds const& bounds, bool isCircle) /*override*/;
41
42 // vIndex: 2
43 virtual void tick(::Tick const& currentTick, ::BlockSource& region, bool preload, bool randomize) /*override*/;
44
45 // vIndex: 3
46 virtual void tickSeasons(::BlockSource& region, ::Random& random) /*override*/;
47
48 // vIndex: 4
49 virtual ::DimensionType getDimensionId() const /*override*/;
50
51 // vIndex: 5
52 virtual ::Bounds const& getBounds() const /*override*/;
53
54 // vIndex: 6
55 virtual bool isCircle() const /*override*/;
56
57 // vIndex: 7
58 virtual bool isDoneLoading() const /*override*/;
59
60 // vIndex: 8
61 virtual bool checkInitialLoadDone(::Tick currentLevelTick) /*override*/;
62
63 // vIndex: 9
64 virtual bool checkLoadedChunkNeighborsDone(::BlockSource const& region, bool useDoneLoading) const /*override*/;
65
66 // vIndex: 10
67 virtual void move(::Bounds const& bounds) /*override*/;
68
69 // vIndex: 11
70 virtual ::std::unique_ptr<::ChunkViewSource> createChildSource() /*override*/;
71
72 // vIndex: 12
73 virtual ::std::shared_ptr<::LevelChunk> getAvailableChunk(::ChunkPos const& cp) /*override*/;
74 // NOLINTEND
75
76public:
77 // member functions
78 // NOLINTBEGIN
79 MCAPI bool _tickChunk(
80 ::Tick const& currentTick,
81 ::BlockSource& region,
82 ::Level& level,
83 ::ChunkPos const& cp,
85 );
86 // NOLINTEND
87
88public:
89 // destructor thunk
90 // NOLINTBEGIN
91 MCAPI void $dtor();
92 // NOLINTEND
93
94public:
95 // virtual function thunks
96 // NOLINTBEGIN
97 MCAPI void $init(::Bounds const& bounds, bool isCircle);
98
99 MCAPI void $tick(::Tick const& currentTick, ::BlockSource& region, bool preload, bool randomize);
100
101 MCAPI void $tickSeasons(::BlockSource& region, ::Random& random);
102
103 MCAPI ::DimensionType $getDimensionId() const;
104
105 MCAPI ::Bounds const& $getBounds() const;
106
107 MCAPI bool $isCircle() const;
108
109 MCAPI bool $isDoneLoading() const;
110
111 MCAPI bool $checkInitialLoadDone(::Tick currentLevelTick);
112
113 MCAPI bool $checkLoadedChunkNeighborsDone(::BlockSource const& region, bool useDoneLoading) const;
114
115 MCAPI void $move(::Bounds const& bounds);
116
117 MCAPI ::std::unique_ptr<::ChunkViewSource> $createChildSource();
118
119 MCAPI ::std::shared_ptr<::LevelChunk> $getAvailableChunk(::ChunkPos const& cp);
120 // NOLINTEND
121
122public:
123 // vftables
124 // NOLINTBEGIN
125 MCNAPI static void** $vftable();
126 // NOLINTEND
127};
Definition BlockSource.h:66
Definition ChunkPos.h:11
Definition ChunkViewSource.h:22
Definition Dimension.h:83
Definition ITickingAreaView.h:20
Definition LevelChunk.h:77
Definition Level.h:243
Definition Random.h:10
Definition TickingAreaView.h:23
static MCAPI void ** $vftable()
Definition Bounds.h:8
Definition Registry.h:10
Definition Tick.h:5