LeviLamina
Loading...
Searching...
No Matches
SensingComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Actor;
8class Mob;
9class Vec3;
10struct ActorUniqueID;
11// clang-format on
12
14public:
15 // SensingComponent inner types define
16 using ActorSet = ::std::unordered_set<::ActorUniqueID>;
17
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 64, ::std::unordered_set<::ActorUniqueID>> mSeen;
22 ::ll::TypedStorage<8, 64, ::std::unordered_set<::ActorUniqueID>> mUnseen;
23 // NOLINTEND
24
25public:
26 // member functions
27 // NOLINTBEGIN
28 MCAPI bool canSee(::Mob& owner, ::Actor const& target);
29
30 MCAPI bool withinFOV(::Mob& owner, ::Vec3 const& targetPosition, float fov);
31
32 MCAPI ~SensingComponent();
33 // NOLINTEND
34
35public:
36 // destructor thunk
37 // NOLINTBEGIN
38 MCAPI void $dtor();
39 // NOLINTEND
40};
Definition Actor.h:104
Definition Mob.h:47
Definition SensingComponent.h:13
Definition Vec3.h:10
Definition ActorUniqueID.h:5