LeviLamina
Loading...
Searching...
No Matches
EntitySubsensor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec2.h"
7#include "mc/world/actor/ActorFilterGroup.h"
8#include "mc/world/level/Tick.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class Vec3;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 8, ::Vec2> mRange;
21 ::ll::TypedStorage<4, 4, float> mYOffset;
22 ::ll::TypedStorage<1, 1, bool> mRequireAll;
23 ::ll::TypedStorage<4, 4, int> mMinimumCount;
24 ::ll::TypedStorage<4, 4, int> mMaximumCount;
25 ::ll::TypedStorage<8, 8, uint64> mCooldownInTicks;
26 ::ll::TypedStorage<8, 32, ::std::string> mEvent;
27 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mFilter;
28 ::ll::TypedStorage<8, 16, ::std::optional<::Tick>> mNextSensingTick;
29 // NOLINTEND
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI void senseEntities(
35 ::Actor& actor,
36 ::gsl::span<::gsl::not_null<::Actor*>> const& nearbyActors,
37 ::Tick const& currentTick,
38 ::Vec3 const& searchAreaPos,
39 ::Vec3 const& searchAreaGrowth,
40 bool canFireEventWithNoEntities
41 );
42
43 MCAPI ~EntitySubsensor();
44 // NOLINTEND
45
46public:
47 // destructor thunk
48 // NOLINTBEGIN
49 MCFOLD void $dtor();
50 // NOLINTEND
51};
Definition Actor.h:106
Definition EntitySubsensor.h:16
Definition Vec3.h:10
Definition Tick.h:5