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