CommonLibVR
ExtraTeleport.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSExtraData.h"
4 #include "RE/B/BSPointerHandle.h"
5 #include "RE/E/ExtraDataTypes.h"
6 #include "RE/N/NiPoint3.h"
7 
8 namespace RE
9 {
11  {
15  std::int8_t flags; // 1C
16  std::uint8_t pad1D; // 1D
17  std::uint16_t pad1E; // 1E
18  };
19  static_assert(sizeof(DoorTeleportData) == 0x20);
20 
21  class ExtraTeleport : public BSExtraData
22  {
23  public:
24  inline static constexpr auto RTTI = RTTI_ExtraTeleport;
25  inline static constexpr auto VTABLE = VTABLE_ExtraTeleport;
26  inline static constexpr auto EXTRADATATYPE = ExtraDataType::kTeleport;
27 
28  ~ExtraTeleport() override; // 00
29 
30  // override (BSExtraData)
31  ExtraDataType GetType() const override; // 01 - { return kTeleport; }
32  bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02
33 
34  // members
36  private:
37  KEEP_FOR_RE()
38  };
39  static_assert(sizeof(ExtraTeleport) == 0x18);
40 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BSExtraData.h:9
Definition: ExtraTeleport.h:22
DoorTeleportData * teleportData
Definition: ExtraTeleport.h:35
static constexpr auto RTTI
Definition: ExtraTeleport.h:24
static constexpr auto VTABLE
Definition: ExtraTeleport.h:25
static constexpr auto EXTRADATATYPE
Definition: ExtraTeleport.h:26
~ExtraTeleport() override
ExtraDataType GetType() const override
bool IsNotEqual(const BSExtraData *a_rhs) const override
Definition: NiPoint3.h:6
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_ExtraTeleport
Definition: Offsets_VTABLE.h:11625
constexpr REL::ID RTTI_ExtraTeleport(static_cast< std::uint64_t >(513885))
ExtraDataType
Definition: ExtraDataTypes.h:173
Definition: ExtraTeleport.h:11
NiPoint3 rotation
Definition: ExtraTeleport.h:14
std::uint8_t pad1D
Definition: ExtraTeleport.h:16
NiPoint3 position
Definition: ExtraTeleport.h:13
ObjectRefHandle linkedDoor
Definition: ExtraTeleport.h:12
std::uint16_t pad1E
Definition: ExtraTeleport.h:17
std::int8_t flags
Definition: ExtraTeleport.h:15