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 
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 
31  float heading; // 0C
34  };
35 
37  {
38  public:
39  inline static constexpr auto RTTI = RTTI_BSFurnitureMarkerNode;
40  inline static constexpr auto NiRTTI = NiRTTI_BSFurnitureMarkerNode;
41 
43  [[nodiscard]] static std::uint32_t GetNumFurnitureMarkers(NiObjectNET* a_object);
44 
45  // members
47  };
48 }
Definition: BSFurnitureMarkerNode.h:37
BSTArray< BSFurnitureMarker > markers
Definition: BSFurnitureMarkerNode.h:46
static BSFurnitureMarkerNode * FindBSFurnitureMarkerNode(NiObjectNET *a_object)
static std::uint32_t GetNumFurnitureMarkers(NiObjectNET *a_object)
static constexpr auto RTTI
Definition: BSFurnitureMarkerNode.h:39
Definition: BSFurnitureMarkerNode.h:12
EntryProperties
Definition: BSFurnitureMarkerNode.h:22
stl::enumeration< EntryProperties, std::uint16_t > entryProperties
Definition: BSFurnitureMarkerNode.h:33
float heading
Definition: BSFurnitureMarkerNode.h:31
AnimationType
Definition: BSFurnitureMarkerNode.h:15
stl::enumeration< AnimationType, std::uint16_t > animationType
Definition: BSFurnitureMarkerNode.h:32
NiPoint3 offset
Definition: BSFurnitureMarkerNode.h:30
Definition: BSTArray.h:377
Definition: NiExtraData.h:9
Definition: NiObjectNET.h:13
Definition: NiPoint3.h:6
Definition: NiRTTI.h:6
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSFurnitureMarkerNode
Definition: Offsets_RTTI.h:1715
constexpr REL::ID NiRTTI_BSFurnitureMarkerNode
Definition: Offsets_NiRTTI.h:48