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, ::LevelStorage&) = 0;
58
59 virtual bool isPreloadDone() const = 0;
60
61 virtual void tick(::Tick const&, bool) = 0;
62
63 virtual void tickSeasons(::Random&) = 0;
64
65 virtual void updatePosition(::Vec3 const&) = 0;
66
67 virtual void updateAndCenter(::LevelStorage&, ::Tick) = 0;
68
69 virtual ::Actor* findOwner(uchar&) = 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&) = 0;
78
79 virtual void onComponentChanged(uint, float, bool, ::LevelStorage&) = 0;
80
81 virtual bool isScoped() const = 0;
82
83 virtual ::std::optional<uint64> const& getScope() const = 0;
84
85 virtual bool isDoneLoadingScoped() const = 0;
86
87 virtual bool isStandalone() const = 0;
88 // NOLINTEND
89
90public:
91 // member functions
92 // NOLINTBEGIN
93 MCAPI ::CompoundTag serialize() const;
94 // NOLINTEND
95
96public:
97 // destructor thunk
98 // NOLINTBEGIN
99 MCAPI void $dtor();
100 // NOLINTEND
101
102public:
103 // virtual function thunks
104 // NOLINTBEGIN
105
106 // NOLINTEND
107
108public:
109 // vftables
110 // NOLINTBEGIN
111 MCNAPI static void** $vftable();
112 // NOLINTEND
113};
Definition Actor.h:105
Definition BlockSource.h:68
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