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 // vIndex: 0
30 virtual ~TickingAreaListBase() = default;
31
32 // vIndex: 1
33 virtual bool removeDistantEntityAreasAndCheckForRemoved(
34 ::std::vector<::Vec3> const& playerPositions,
35 ::std::function<void(::ITickingArea const&)> requeue,
36 ::LevelStorage& levelStorage
37 );
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI uint countEntityTickingAreas() const;
44
45 MCAPI ::std::vector<::std::shared_ptr<::ITickingArea>> findStandaloneAreasContaining(::BlockPos const& position);
46
47 MCAPI ::std::vector<::std::shared_ptr<::ITickingArea>> findStandaloneAreasNamed(::std::string const& name) const;
48
49 MCAPI ::std::shared_ptr<::ITickingArea> getAreaFor(::ActorUniqueID const& entityId) const;
50
51 MCAPI ::std::vector<::TickingAreaDescription> getStandaloneTickingAreaDescriptions() const;
52
53 MCAPI bool hasTickingAreaNamed(::std::string const& name) const;
54
55 MCAPI void processRemoves();
56
57 MCAPI ::std::vector<::TickingAreaDescription> removeAllStandaloneAreas(::LevelStorage& levelStorage);
58
59 MCAPI ::std::vector<::TickingAreaDescription>
60 removeAreas(::std::vector<::std::shared_ptr<::ITickingArea>> const& areasToRemove, ::LevelStorage& levelStorage);
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCAPI bool $removeDistantEntityAreasAndCheckForRemoved(
67 ::std::vector<::Vec3> const& playerPositions,
68 ::std::function<void(::ITickingArea const&)> requeue,
69 ::LevelStorage& levelStorage
70 );
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
Definition BlockPos.h:17
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