Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ActorFOVUtility.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ActorType.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class Player;
12class Vec3;
14// clang-format on
15
16namespace ActorFOVUtility {
17// functions
18// NOLINTBEGIN
19MCNAPI bool canSee(::VisibilityCacheComponent& visibilityCacheComponent, ::Actor const& owner, ::Actor const& target);
20
21MCNAPI bool isPlayerHiddenFrom(::Player const& player, ::ActorType actorType);
22
23MCNAPI bool withinFOV(::Actor const& owner, ::Vec3 const& targetPosition, float fov);
24// NOLINTEND
25
26} // namespace ActorFOVUtility
Definition Actor.h:116
Definition Player.h:131
Definition Vec3.h:10
Definition VisibilityCacheComponent.h:8