CommonLibVR
ExtraStartingPosition.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSExtraData.h"
4 #include "RE/E/ExtraDataTypes.h"
5 #include "RE/N/NiPoint3.h"
6 
7 namespace RE
8 {
9  class BGSLocation;
10 
11  struct FILE_POS_ROT
12  {
13  NiPoint3 pos; // 00
14  NiPoint3 rot; // 0C
15  };
16  static_assert(sizeof(FILE_POS_ROT) == 0x18);
17 
19  {
20  public:
21  inline static constexpr auto RTTI = RTTI_ExtraStartingPosition;
22  inline static constexpr auto VTABLE = VTABLE_ExtraStartingPosition;
23  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kStartingPosition;
24 
25  virtual ~ExtraStartingPosition(); // 00
26 
27  // override (BSExtraData)
28  virtual ExtraDataType GetType() const override; // 01 - { return kStartingPosition; }
29  virtual bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02 - { return location != a_rhs->location || startPosition.pos != a_rhs->startPosition.pos || startPosition.rot != a_rhs->startPosition.rot; }
30 
31  // members
34  private:
35  KEEP_FOR_RE()
36  };
37  static_assert(sizeof(ExtraStartingPosition) == 0x30);
38 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BGSLocation.h:68
Definition: BSExtraData.h:9
Definition: ExtraStartingPosition.h:19
static constexpr auto VTABLE
Definition: ExtraStartingPosition.h:22
virtual ExtraDataType GetType() const override
virtual bool IsNotEqual(const BSExtraData *a_rhs) const override
static constexpr auto RTTI
Definition: ExtraStartingPosition.h:21
FILE_POS_ROT startPosition
Definition: ExtraStartingPosition.h:32
static constexpr auto EXTRADATATYPE
Definition: ExtraStartingPosition.h:23
BGSLocation * location
Definition: ExtraStartingPosition.h:33
Definition: NiPoint3.h:6
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_ExtraStartingPosition(static_cast< std::uint64_t >(684645))
constexpr std::array< REL::ID, 1 > VTABLE_ExtraStartingPosition
Definition: Offsets_VTABLE.h:11623
ExtraDataType
Definition: ExtraDataTypes.h:173
Definition: ExtraStartingPosition.h:12
NiPoint3 rot
Definition: ExtraStartingPosition.h:14
NiPoint3 pos
Definition: ExtraStartingPosition.h:13