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 // member variables
18 // NOLINTBEGIN
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 0
32 virtual ~TickingAreaListBase() = default;
33
34 // vIndex: 1
35 virtual bool removeDistantEntityAreasAndCheckForRemoved(
36 ::std::vector<::Vec3> const& playerPositions,
37 ::std::function<void(::ITickingArea const&)> requeue,
38 ::LevelStorage& levelStorage
39 );
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI uint countEntityTickingAreas() const;
46
47 MCAPI ::std::vector<::std::shared_ptr<::ITickingArea>> findStandaloneAreasContaining(::BlockPos const& position);
48
49 MCAPI ::std::vector<::std::shared_ptr<::ITickingArea>> findStandaloneAreasNamed(::std::string const& name) const;
50
51 MCAPI ::std::shared_ptr<::ITickingArea> getAreaFor(::ActorUniqueID const& entityId) const;
52
53 MCAPI ::std::vector<::TickingAreaDescription> getStandaloneTickingAreaDescriptions() const;
54
55 MCAPI bool hasTickingAreaNamed(::std::string const& name) const;
56
57 MCAPI void processRemoves();
58
59 MCAPI ::std::vector<::TickingAreaDescription> removeAllStandaloneAreas(::LevelStorage& levelStorage);
60
61 MCAPI ::std::vector<::TickingAreaDescription>
62 removeAreas(::std::vector<::std::shared_ptr<::ITickingArea>> const& areasToRemove, ::LevelStorage& levelStorage);
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCAPI bool $removeDistantEntityAreasAndCheckForRemoved(
75 ::std::vector<::Vec3> const& playerPositions,
76 ::std::function<void(::ITickingArea const&)> requeue,
77 ::LevelStorage& levelStorage
78 );
79 // NOLINTEND
80
81public:
82 // vftables
83 // NOLINTBEGIN
84 MCAPI static void** $vftable();
85 // NOLINTEND
86};
Definition BlockPos.h:18
Definition ITickingArea.h:25
Definition LevelStorage.h:24
Definition TickingAreaListBase.h:15
Definition Vec3.h:10
Definition ActorUniqueID.h:5
Definition TickingAreaDescription.h:5
Definition Alias.h:14