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
10
class
Actor
;
11
class
Mob
;
12
class
Vec3
;
13
// clang-format on
14
15
class
SensingComponent
{
16
public
:
17
// SensingComponent inner types define
18
using
ActorSet = ::std::unordered_set<::ActorUniqueID>;
19
20
public
:
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
27
public
:
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
34
MCNAPI
~SensingComponent
();
35
// NOLINTEND
36
37
public
:
38
// destructor thunk
39
// NOLINTBEGIN
40
MCNAPI
void
$dtor
();
41
// NOLINTEND
42
};
Actor
Definition
Actor.h:103
Mob
Definition
Mob.h:47
SensingComponent
Definition
SensingComponent.h:15
SensingComponent::$dtor
MCAPI void $dtor()
SensingComponent::~SensingComponent
MCAPI ~SensingComponent()
SensingComponent::canSee
MCAPI bool canSee(::Mob &owner, ::Actor const &target)
SensingComponent::withinFOV
MCAPI bool withinFOV(::Mob &owner, ::Vec3 const &targetPosition, float fov)
Vec3
Definition
Vec3.h:10
src
mc
entity
components
SensingComponent.h
Generated on Fri Jun 13 2025 05:04:32 for LeviLamina by
1.12.0