LeviLamina
Loading...
Searching...
No Matches
ITickingArea.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/game_refs/WeakRef.h"
7#include "mc/world/level/ticking/TickingAreaLoadMode.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class BlockSource;
13class CompoundTag;
15class LevelStorage;
16class Random;
17class Vec3;
18struct ActorUniqueID;
19struct Bounds;
20struct Tick;
22namespace mce { class UUID; }
23// clang-format on
24
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ~ITickingArea();
30
31 virtual ::mce::UUID const& getId() const = 0;
32
33 virtual ::std::string const& getName() const = 0;
34
35 virtual ::ActorUniqueID const& getEntityId() const = 0;
36
37 virtual bool isEntityOwned() const = 0;
38
39 virtual ::WeakRef<::BlockSource> const getBlockSource() const = 0;
40
41 virtual ::WeakRef<::BlockSource> getBlockSource() = 0;
42
43 virtual ::Bounds const& getBounds() const = 0;
44
45 virtual bool isAlwaysActive() const = 0;
46
47 virtual float getMaxDistToPlayers() const = 0;
48
49 virtual ::ITickingAreaView const& getView() const = 0;
50
51 virtual ::ITickingAreaView& getView() = 0;
52
53 virtual ::TickingAreaDescription getDescription() const = 0;
54
55 virtual ::TickingAreaLoadMode getLoadMode() const = 0;
56
57 virtual void setLoadMode(::TickingAreaLoadMode loadMode, ::LevelStorage& levelStorage) = 0;
58
59 virtual bool isPreloadDone() const = 0;
60
61 virtual void tick(::Tick const& currentTick, bool randomize) = 0;
62
63 virtual void tickSeasons(::Random& random) = 0;
64
65 virtual void updatePosition(::Vec3 const& pos) = 0;
66
67 virtual void updateAndCenter(::LevelStorage& levelStorage, ::Tick currentLevelTick) = 0;
68
69 virtual ::Actor* findOwner(uchar& pendingChunks) = 0;
70
71 virtual bool entityHasBeenFound() const = 0;
72
73 virtual void setEntityFound() = 0;
74
75 virtual bool isRemoved() = 0;
76
77 virtual void remove(::LevelStorage& levelStorage) = 0;
78
79 virtual void
80 onComponentChanged(uint radius, float maxDistToPlayers, bool alwaysActive, ::LevelStorage& levelStorage) = 0;
81
82 virtual bool isScoped() const = 0;
83
84 virtual ::std::optional<uint64> const& getScope() const = 0;
85
86 virtual bool isDoneLoadingScoped() const = 0;
87
88 virtual bool isStandalone() const = 0;
89 // NOLINTEND
90
91public:
92 // member functions
93 // NOLINTBEGIN
94 MCAPI ::CompoundTag serialize() const;
95 // NOLINTEND
96
97public:
98 // destructor thunk
99 // NOLINTBEGIN
100 MCAPI void $dtor();
101 // NOLINTEND
102
103public:
104 // virtual function thunks
105 // NOLINTBEGIN
106
107 // NOLINTEND
108
109public:
110 // vftables
111 // NOLINTBEGIN
112 MCNAPI static void** $vftable();
113 // NOLINTEND
114};
Definition Actor.h:106
Definition BlockSource.h:71
Definition CompoundTag.h:23
Definition ITickingAreaView.h:20
Definition ITickingArea.h:25
static MCAPI void ** $vftable()
Definition LevelStorage.h:25
Definition Random.h:10
Definition Vec3.h:10
Definition UUID.h:7
Definition ActorUniqueID.h:5
Definition Bounds.h:8
Definition Tick.h:5
Definition TickingAreaDescription.h:9