CommonLibSSE (Parapets fork)
BSFurnitureMarkerNode.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
RE/B/BSTArray.h
"
4
#include "
RE/N/NiExtraData.h
"
5
#include "
RE/N/NiPoint3.h
"
6
7
namespace
RE
8
{
9
class
NiObjectNET;
10
11
class
BSFurnitureMarker
12
{
13
public
:
14
enum class
AnimationType
15
{
16
kSit
= 1 << 0,
17
kSleep
= 1 << 1,
18
kLean
= 1 << 2
19
};
20
21
enum class
EntryProperties
22
{
23
kFront
= 1 << 0,
24
kBehind
= 1 << 1,
25
kRight
= 1 << 2,
26
kLeft
= 1 << 3,
27
kUp
= 1 << 4
28
};
29
30
NiPoint3
offset
;
// 00
31
float
heading
;
// 0C
32
stl::enumeration<AnimationType, std::uint16_t>
animationType
;
// 10
33
stl::enumeration<EntryProperties, std::uint16_t>
entryProperties
;
// 12
34
};
35
36
class
BSFurnitureMarkerNode
:
public
NiExtraData
37
{
38
public
:
39
inline
static
constexpr
auto
RTTI
=
RTTI_BSFurnitureMarkerNode
;
40
inline
static
constexpr
auto
NiRTTI
=
NiRTTI_BSFurnitureMarkerNode
;
41
42
[[nodiscard]]
static
BSFurnitureMarkerNode
*
FindBSFurnitureMarkerNode
(
NiObjectNET
* a_object);
43
[[nodiscard]]
static
std::uint32_t
GetNumFurnitureMarkers
(
NiObjectNET
* a_object);
44
45
// members
46
BSTArray<BSFurnitureMarker>
markers
;
// 18
47
};
48
}
BSTArray.h
NiExtraData.h
NiPoint3.h
RE::BSFurnitureMarkerNode
Definition:
BSFurnitureMarkerNode.h:37
RE::BSFurnitureMarkerNode::markers
BSTArray< BSFurnitureMarker > markers
Definition:
BSFurnitureMarkerNode.h:46
RE::BSFurnitureMarkerNode::FindBSFurnitureMarkerNode
static BSFurnitureMarkerNode * FindBSFurnitureMarkerNode(NiObjectNET *a_object)
RE::BSFurnitureMarkerNode::GetNumFurnitureMarkers
static std::uint32_t GetNumFurnitureMarkers(NiObjectNET *a_object)
RE::BSFurnitureMarkerNode::RTTI
static constexpr auto RTTI
Definition:
BSFurnitureMarkerNode.h:39
RE::BSFurnitureMarker
Definition:
BSFurnitureMarkerNode.h:12
RE::BSFurnitureMarker::EntryProperties
EntryProperties
Definition:
BSFurnitureMarkerNode.h:22
RE::BSFurnitureMarker::EntryProperties::kLeft
@ kLeft
RE::BSFurnitureMarker::EntryProperties::kRight
@ kRight
RE::BSFurnitureMarker::EntryProperties::kFront
@ kFront
RE::BSFurnitureMarker::EntryProperties::kBehind
@ kBehind
RE::BSFurnitureMarker::EntryProperties::kUp
@ kUp
RE::BSFurnitureMarker::entryProperties
stl::enumeration< EntryProperties, std::uint16_t > entryProperties
Definition:
BSFurnitureMarkerNode.h:33
RE::BSFurnitureMarker::heading
float heading
Definition:
BSFurnitureMarkerNode.h:31
RE::BSFurnitureMarker::AnimationType
AnimationType
Definition:
BSFurnitureMarkerNode.h:15
RE::BSFurnitureMarker::AnimationType::kLean
@ kLean
RE::BSFurnitureMarker::AnimationType::kSit
@ kSit
RE::BSFurnitureMarker::AnimationType::kSleep
@ kSleep
RE::BSFurnitureMarker::animationType
stl::enumeration< AnimationType, std::uint16_t > animationType
Definition:
BSFurnitureMarkerNode.h:32
RE::BSFurnitureMarker::offset
NiPoint3 offset
Definition:
BSFurnitureMarkerNode.h:30
RE::BSTArray
Definition:
BSTArray.h:377
RE::NiExtraData
Definition:
NiExtraData.h:9
RE::NiObjectNET
Definition:
NiObjectNET.h:13
RE::NiPoint3
Definition:
NiPoint3.h:6
RE::NiRTTI
Definition:
NiRTTI.h:6
SKSE::stl::enumeration< AnimationType, std::uint16_t >
RE
Definition:
AbsorbEffect.h:6
RE::RTTI_BSFurnitureMarkerNode
constexpr REL::ID RTTI_BSFurnitureMarkerNode
Definition:
Offsets_RTTI.h:1715
RE::NiRTTI_BSFurnitureMarkerNode
constexpr REL::ID NiRTTI_BSFurnitureMarkerNode
Definition:
Offsets_NiRTTI.h:48
CommonLibSSE
include
RE
B
BSFurnitureMarkerNode.h
Generated by
1.9.1