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();
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 ::std::vector<::TickingAreaDescription> removeAllStandaloneAreas(::LevelStorage& levelStorage);
50
51 MCAPI ::std::vector<::TickingAreaDescription>
52 removeAreas(::std::vector<::std::shared_ptr<::ITickingArea>> const& areasToRemove, ::LevelStorage& levelStorage);
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCAPI void $dtor();
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCAPI bool $removeDistantEntityAreasAndCheckForRemoved(
65 ::std::vector<::Vec3> const& playerPositions,
66 ::std::function<void(::ITickingArea const&)> requeue,
67 ::LevelStorage& levelStorage
68 );
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
Definition BlockPos.h:17
Definition ITickingArea.h:24
Definition LevelStorage.h:25
Definition TickingAreaListBase.h:15
static MCAPI void ** $vftable()
Definition Vec3.h:10
Definition ActorUniqueID.h:5
Definition TickingAreaDescription.h:9