CommonLibSSE (Parapets fork)
CombatUtilities.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
RE/N/NiPoint3.h
"
4
5
namespace
RE
6
{
7
class
TESObjectREFR;
8
9
enum class
ACTOR_LOS_LOCATION
10
{
11
kOrigin
= 0,
12
kEye
= 1,
13
kHead
= 2,
14
kTorso
= 3,
15
kFeet
= 4
16
};
17
18
struct
CombatUtilities
19
{
20
[[nodiscard]]
static
RE::NiPoint3
GetAngleToProjectedTarget
(
RE::NiPoint3
a_origin,
RE::TESObjectREFR
* a_target,
float
a_speed,
float
a_gravity,
RE::ACTOR_LOS_LOCATION
a_location);
21
};
22
}
NiPoint3.h
RE::NiPoint3
Definition:
NiPoint3.h:6
RE::TESObjectREFR
Definition:
TESObjectREFR.h:105
RE
Definition:
AbsorbEffect.h:6
RE::ACTOR_LOS_LOCATION
ACTOR_LOS_LOCATION
Definition:
CombatUtilities.h:10
RE::ACTOR_LOS_LOCATION::kOrigin
@ kOrigin
RE::ACTOR_LOS_LOCATION::kTorso
@ kTorso
RE::ACTOR_LOS_LOCATION::kFeet
@ kFeet
RE::ACTOR_LOS_LOCATION::kEye
@ kEye
RE::ACTOR_LOS_LOCATION::kHead
@ kHead
RE::CombatUtilities
Definition:
CombatUtilities.h:19
RE::CombatUtilities::GetAngleToProjectedTarget
static RE::NiPoint3 GetAngleToProjectedTarget(RE::NiPoint3 a_origin, RE::TESObjectREFR *a_target, float a_speed, float a_gravity, RE::ACTOR_LOS_LOCATION a_location)
CommonLibSSE
include
RE
C
CombatUtilities.h
Generated by
1.9.1