LeviLamina
Loading...
Searching...
No Matches
TickingAreaListBase.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class BlockPos;
8class ITickingArea;
9class LevelStorage;
10class Vec3;
11struct ActorUniqueID;
13// clang-format on
14
16public:
17 // TickingAreaListBase inner types define
18 using RequeueAreaFunc = ::std::function<void(::ITickingArea const&)>;
19
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::ITickingArea>>> mTickingAreas;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ~TickingAreaListBase() = default;
30
31 virtual bool removeDistantEntityAreasAndCheckForRemoved(
32 ::std::vector<::Vec3> const& playerPositions,
33 ::std::function<void(::ITickingArea const&)> requeue,
34 ::LevelStorage& levelStorage
35 );
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI ::std::vector<::std::shared_ptr<::ITickingArea>> findStandaloneAreasContaining(::BlockPos const& position);
42
43 MCAPI ::std::vector<::std::shared_ptr<::ITickingArea>> findStandaloneAreasNamed(::std::string const& name) const;
44
45 MCAPI ::std::shared_ptr<::ITickingArea> getAreaFor(::ActorUniqueID const& entityId) const;
46
47 MCAPI ::std::vector<::TickingAreaDescription> getStandaloneTickingAreaDescriptions() const;
48
49 MCAPI bool hasTickingAreaNamed(::std::string const& name) const;
50
51 MCAPI void processRemoves();
52
53 MCAPI ::std::vector<::TickingAreaDescription> removeAllStandaloneAreas(::LevelStorage& levelStorage);
54
55 MCAPI ::std::vector<::TickingAreaDescription>
56 removeAreas(::std::vector<::std::shared_ptr<::ITickingArea>> const& areasToRemove, ::LevelStorage& levelStorage);
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCAPI bool $removeDistantEntityAreasAndCheckForRemoved(
63 ::std::vector<::Vec3> const& playerPositions,
64 ::std::function<void(::ITickingArea const&)> requeue,
65 ::LevelStorage& levelStorage
66 );
67
68
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftable();
75 // NOLINTEND
76};
Definition BlockPos.h:19
Definition ITickingArea.h:25
Definition LevelStorage.h:25
Definition TickingAreaListBase.h:15
static MCAPI void ** $vftable()
Definition Vec3.h:10
Definition ActorUniqueID.h:5
Definition TickingAreaDescription.h:9