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 MCNAPI uint countEntityTickingAreas() const;
46
47 MCNAPI ::std::vector<::std::shared_ptr<::ITickingArea>> findStandaloneAreasContaining(::BlockPos const& position);
48
49 MCNAPI ::std::vector<::std::shared_ptr<::ITickingArea>> findStandaloneAreasNamed(::std::string const& name) const;
50
51 MCNAPI ::std::shared_ptr<::ITickingArea> getAreaFor(::ActorUniqueID const& entityId) const;
52
53 MCNAPI ::std::vector<::TickingAreaDescription> getStandaloneTickingAreaDescriptions() const;
54
55 MCNAPI bool hasTickingAreaNamed(::std::string const& name) const;
56
57 MCNAPI void processRemoves();
58
59 MCNAPI ::std::vector<::TickingAreaDescription> removeAllStandaloneAreas(::LevelStorage& levelStorage);
60
61 MCNAPI ::std::vector<::TickingAreaDescription>
62 removeAreas(::std::vector<::std::shared_ptr<::ITickingArea>> const& areasToRemove, ::LevelStorage& levelStorage);
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
69 ::std::vector<::Vec3> const& playerPositions,
70 ::std::function<void(::ITickingArea const&)> requeue,
71 ::LevelStorage& levelStorage
72 );
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80};
Definition BlockPos.h:18
Definition ITickingArea.h:25
Definition LevelStorage.h:25
Definition TickingAreaListBase.h:15
MCAPI uint countEntityTickingAreas() const
MCAPI ::std::shared_ptr<::ITickingArea > getAreaFor(::ActorUniqueID const &entityId) const
MCAPI ::std::vector<::std::shared_ptr<::ITickingArea > > findStandaloneAreasContaining(::BlockPos const &position)
MCAPI bool $removeDistantEntityAreasAndCheckForRemoved(::std::vector<::Vec3 > const &playerPositions, ::std::function< void(::ITickingArea const &)> requeue, ::LevelStorage &levelStorage)
MCAPI void processRemoves()
static MCAPI void ** $vftable()
MCAPI ::std::vector<::TickingAreaDescription > removeAllStandaloneAreas(::LevelStorage &levelStorage)
MCAPI ::std::vector<::TickingAreaDescription > getStandaloneTickingAreaDescriptions() const
MCAPI ::std::vector<::std::shared_ptr<::ITickingArea > > findStandaloneAreasNamed(::std::string const &name) const
MCAPI ::std::vector<::TickingAreaDescription > removeAreas(::std::vector<::std::shared_ptr<::ITickingArea > > const &areasToRemove, ::LevelStorage &levelStorage)
MCAPI bool hasTickingAreaNamed(::std::string const &name) const
Definition Vec3.h:10
Definition ActorUniqueID.h:5
Definition TickingAreaDescription.h:5
Definition Alias.h:14