LeviLamina
Loading...
Searching...
No Matches
ITickingAreaView.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
8// auto generated forward declare list
9// clang-format off
10class BlockSource;
11class ChunkPos;
12class ChunkViewSource;
13class Dimension;
14class LevelChunk;
15class Random;
16struct Bounds;
17struct Tick;
18// clang-format on
19
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 virtual ~ITickingAreaView();
25
26 virtual void init(::Bounds const&, bool) = 0;
27
28 virtual void tick(::Tick const&, ::BlockSource&, bool, bool) = 0;
29
30 virtual void tickSeasons(::BlockSource&, ::Random&) = 0;
31
32 virtual ::DimensionType getDimensionId() const = 0;
33
34 virtual ::Bounds const& getBounds() const = 0;
35
36 virtual bool isCircle() const = 0;
37
38 virtual bool isDoneLoading() const = 0;
39
40 virtual bool checkInitialLoadDone(::Tick) = 0;
41
42 virtual bool checkLoadedChunkNeighborsDone(::BlockSource const&, bool) const = 0;
43
44 virtual void move(::Bounds const&) = 0;
45
46 virtual ::std::unique_ptr<::ChunkViewSource> createChildSource() = 0;
47
48 virtual ::std::shared_ptr<::LevelChunk> getAvailableChunk(::ChunkPos const&) = 0;
49 // NOLINTEND
50
51public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCAPI void $dtor();
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68};
Definition BlockSource.h:68
Definition ChunkPos.h:11
Definition ChunkViewSource.h:22
Definition Dimension.h:85
Definition ITickingAreaView.h:20
static MCAPI void ** $vftable()
Definition LevelChunk.h:79
Definition Random.h:10
Definition Bounds.h:8
Definition Tick.h:5