CommonLibSSE (powerof3)
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 EXTRADATATYPE = ExtraDataType::kTeleport;
26 
27  ~ExtraTeleport() override; // 00
28 
29  // override (BSExtraData)
30  ExtraDataType GetType() const override; // 01 - { return kTeleport; }
31  bool IsNotEqual(const BSExtraData* a_rhs) const override; // 02
32 
33  // members
35  };
36  static_assert(sizeof(ExtraTeleport) == 0x18);
37 }
Definition: BSExtraData.h:9
Definition: ExtraTeleport.h:22
DoorTeleportData * teleportData
Definition: ExtraTeleport.h:34
static constexpr auto RTTI
Definition: ExtraTeleport.h:24
static constexpr auto EXTRADATATYPE
Definition: ExtraTeleport.h:25
~ExtraTeleport() override
ExtraDataType GetType() const override
bool IsNotEqual(const BSExtraData *a_rhs) const override
Definition: NiPoint3.h:6
Definition: AbsorbEffect.h:6
ExtraDataType
Definition: ExtraDataTypes.h:173
constexpr REL::ID RTTI_ExtraTeleport
Definition: Offsets_RTTI.h:4770
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